Commit Graph

581 Commits

Author SHA1 Message Date
Terence Tsao
437dca85db sharding: merge with master
Former-commit-id: 50ac63913eb22eb6a9358a8f8c48bb68037ecf66 [formerly 95a0e6812a0291532ac1213e2f7b97472dcce0a0]
Former-commit-id: 0234a523ca0ca1c195e56cd3d0eb6bcb170b2469
2018-06-11 08:44:39 -07:00
Terence Tsao
c654446290 sharding/node: starting to parse shardID from cli
Former-commit-id: df0167b1675268a36b2293c8951ea282ee383c78 [formerly 6410dee77b426976e5d685f854f11e6837985c3c]
Former-commit-id: b29cc11669b443fb90dc27f99f7f8e1680e1debb
2018-06-11 08:41:59 -07:00
Terence Tsao
f3517ee338 sharding/proposer: resolve merge conflicts
Former-commit-id: 928ef8cac10f54f82f3afdcf6ae80f98695d8f80 [formerly 0f29fa1b85f089e561004fb2699891d8d17b536e]
Former-commit-id: af058dcd40c5aff1f3a27492d33c704e2d77be20
2018-06-10 09:13:57 -07:00
Terence Tsao
035d0fb669 sharding/node: use ethdb.Database, remove database.ShardBackend
Former-commit-id: 44c0c5682c0296d94943b354171e69b4c8cf5312 [formerly 54da5cb45b098f0737fb3c37964e612dfe93c751]
Former-commit-id: 5d84d3c5038a01c4108e519d5a5c69033ace8ae2
2018-06-08 14:45:26 -07:00
Terence Tsao
9969f7e9bf sharding/node: shardDB is a property not a service
Former-commit-id: 7d85080fc0d3b82a0bcf5b60546f22d0e78cd9e3 [formerly 7b659786136a9451a7980cb447128ad4f059efd1]
Former-commit-id: 9844823e588bf0d9127fb4019bd66812b6527411
2018-06-08 13:15:18 -07:00
Terence Tsao
86b349f137 sharding/node: start integrating shardDB to shardEthereum
Former-commit-id: c2faefc69d8784c25a1416e274128402456e4382 [formerly 88a632e96bf12d02470545933b0ee9ac90622b23]
Former-commit-id: 6a33bb1dec693439b459f6399dba14f58a9e1723
2018-06-08 11:24:06 -07:00
Terence Tsao
2c0b90725a sharding/proposer: added todos
Former-commit-id: b8262c7980dc6234aeac59e502372d0081477aa7 [formerly 4800a3568317699caf17af0c8bacf528cbee6cfd]
Former-commit-id: 786b683be96f2bbee96782deb08c0a56b7144f72
2018-06-07 15:16:34 -07:00
Terence Tsao
a49a98ef80 sharding/proposer: refactor based on new architecture
Former-commit-id: a91b7f2811d53f52bd729bf21c4a39fe6643d7ed [formerly 76199bc18fbb484cf8eb2e21082b3e948c12674c]
Former-commit-id: f6967b3f9f5bc5f55f2825521553dc1a1699d979
2018-06-06 23:03:54 -07:00
Terence Tsao
431dbe521a merge with master
Former-commit-id: be6dd63cd6331e8e4dfcb75e588a21a4a1eb1ac1 [formerly 3eb428951073367dfdfb940f337b267f99b04a88]
Former-commit-id: ecec29608b437876d75422bd30c1d70c88da9a01
2018-06-06 21:59:11 -07:00
Raul Jordan
18ccccf21c Merge pull request #149 from rauljordan/node
Refactor Sharding Node According to New Design

Former-commit-id: 370719264192a27347680f63be59cf6f835fca5e [formerly 3a57dd9fbd8cdabf97db83a5031340bc93a838aa]
Former-commit-id: 56ed9e58dc958204e09bb2888e424dc4366f5199
2018-06-06 15:15:42 -04:00
Raul Jordan
d3d509fcda sharding: info level comment
Former-commit-id: 14cb9f40fba2121c04dd35b32e4871abf295b2cf [formerly 41f30d808a5b326175fc1ca2cfe6c21b507518b1]
Former-commit-id: 633f9a8216310ac16a0070f0b5eeb33fd99014bb
2018-06-06 14:53:24 -04:00
Raul Jordan
5e73a0705f sharding: comments
Former-commit-id: 96f657456147bf7d982d45af46dfd49d2ce47444 [formerly 7c21efd8264d66e80b6b3749d271c0ce57229a76]
Former-commit-id: a11ac85e2123a173dfb38ef7ae46cde9ec990fab
2018-06-06 14:46:26 -04:00
Raul Jordan
af35efe4a3 sharding: rm todo
Former-commit-id: 6e934460d846f8ce8b9c5115391b8fa9c6d857cb [formerly e9712cf6a9d76c3c0140888f69525e7f37f555e4]
Former-commit-id: 60cbb34750ac612cb5edfc7bef99377640674d08
2018-06-06 14:39:59 -04:00
Raul Jordan
005409dd49 sharding: fix lint
Former-commit-id: 4da1be96e52fb098581f975995c116d8812b0361 [formerly 2202c858dda5d35aaac4931b637f43569153f507]
Former-commit-id: bf9ee6ba99a21cc82b3e044d50b109e850db1560
2018-06-06 14:22:48 -04:00
Raul Jordan
c3e9750309 sharding: remove error from close and log on service fail
Former-commit-id: d26cede2713f223996de9dccb869fccf40d43f97 [formerly 1808d0364a2adc7bdb55965290379a03da2046b3]
Former-commit-id: 630fde9ad0b91586ab55e58ffb8add50219e043a
2018-06-06 14:04:00 -04:00
Raul Jordan
e17900ac18 sharding: graceful shutdown of all services
Former-commit-id: 47da16d4915e10d9755d641c5c4102eb8c90beed [formerly 0b3e95b7037fb7c3e00b0460e615cff64ac1844f]
Former-commit-id: da75e9d2766922d6fe375f8770795f2d6dde113c
2018-06-06 13:22:21 -04:00
Raul Jordan
eca02ffa99 sharding: fix lint
Former-commit-id: 22d4a531da13984b7b8eb64c186f9102a3344f78 [formerly 60f4fc1b8ed37d5e6b1166b55f9505f197b72be5]
Former-commit-id: ce8b543acedf4719a525c5704ea36c551448a311
2018-06-06 12:10:42 -04:00
Raul Jordan
27d8338c1c sharding: rename service method to retrieveservice (less confusing)
Former-commit-id: a09da925434f3644338fb7ee59c96cf558e3c1ec [formerly 0b465fde9ac197d4cde232f4fc2f177141c2c621]
Former-commit-id: 75a1eaf42978c9c2b035bbe57949195c69615b63
2018-06-06 11:12:03 -04:00
Raul Jordan
cb15bac394 sharding: stopping sharding node log at end
Former-commit-id: 48ec046f14bc75976d3ef78403226c07a5a34ca0 [formerly 7d36228f2165a1fd9ae8b4edab7d2709df85e1f5]
Former-commit-id: 6e6eb9a09e9c67a7bc92f929e01ae010726591d6
2018-06-06 11:07:49 -04:00
Raul Jordan
7b41757654 sharding: sync with master
Former-commit-id: 53c92a9cbae6c604d0edf429e0fd0c8d22f70825 [formerly 02d09912b46393fd29930ae7d04ecf7ff6e2861c]
Former-commit-id: c1d5b8f21d9f7bc35820a231fa74a87456fb6360
2018-06-06 11:06:01 -04:00
Raul Jordan
5c68bfa381 sharding: nicer error messages on service start, stop problems
Former-commit-id: 0a8cf796dae889b4ee1a49d71d22a668905e109b [formerly e3e4a8844b1a0544b927d0ebfeff1b735e9ec957]
Former-commit-id: 89f0dcc554cac78900b43f64924f3fcea967f541
2018-06-06 11:04:20 -04:00
Raul Jordan
ef368d2b2d sharding: address review comments
Former-commit-id: 33820dfb5ed6a3e04e924d5c7cdf454ce4385780 [formerly 1c839832bf48281d3067d90e9a15d2cacc5d17f1]
Former-commit-id: a9d747b7d7bfecb5e8718df6f6ed54161f34b759
2018-06-06 10:30:43 -04:00
Raul Jordan
5bfb1e42d9 sharding: added interface tests
Former-commit-id: 69cd77645d47bcc4eaa6f2850e1741afc29e0958 [formerly 6211c61f013386b5eababade9d7bfeafcde69b63]
Former-commit-id: 1cfc772c16423123718ce36aee06242e09a4bca9
2018-06-05 22:38:16 -04:00
Raul Jordan
12d35d3e92 sharding: fixed runtime errors, addressed review comments
Former-commit-id: 941b7f13b58758d0290481b23fae292fee7d078d [formerly 020042b380b63527163c41a37a14022e61f844c8]
Former-commit-id: 183ed3603fc3fd0cbf964ae468acad4fa850f0fd
2018-06-05 22:03:58 -04:00
Raul Jordan
581883bd9b sharding: fixed import cycle
Former-commit-id: 7aa2c458e37fe4fd5b340d2da0bbc7fa44778258 [formerly e71c11cd82b059dfb0d589e42fdba763cf9cadf1]
Former-commit-id: d02e7567fb5bd8c08fed0e9735f08dab95544b2b
2018-06-05 19:03:15 -04:00
Raul Jordan
3861c0cf06 sharding: ensure godoc for every package
Former-commit-id: 0ecc597de035e61ca219f4f30695cb8db59c129b [formerly da9312c1c9d69010083f94f387fe6a52aa817683]
Former-commit-id: 8c8c218e16ef248ae8954168cf7bf5aa6ed6839d
2018-06-05 17:28:57 -04:00
Terence Tsao
075f61c9b2 sharding/proposer: add TransactionReceipt for tests
Former-commit-id: 997e5a24bc253a598604bd6aa2f57b6eb6acdf12 [formerly 6193eb4b4951621d88c1e00251ded83bc77353a3]
Former-commit-id: c07a284a63d8f951068136005497255f78402860
2018-06-04 15:21:07 -07:00
Raul Jordan
8685b0a201 sharding: register p2p and txpool in order
Former-commit-id: cd4ebad4a45c3f02d9fb14134bdcd3e85187241e [formerly 507ca92b4728a695d67dd416c71b77f0fa4d33e3]
Former-commit-id: c1350c2143ebdfb4e17f19f7ffb77351a854db91
2018-06-04 18:02:34 -04:00
Raul Jordan
1057d8bf6a sharding: fix lint
Former-commit-id: b57c5bfe397d13556f34ea1884482b2ca4bbe975 [formerly 849061b6ea1ceac3688f3f2085ecf626c7e5f006]
Former-commit-id: fbab77903733ce35bb82e3684ed2ebe020431c8e
2018-06-04 17:25:59 -04:00
Raul Jordan
9d584d334d sharding: fix interface errors
Former-commit-id: 3714c5c46fdeafeaf1c0d64f70989fdd0913fce6 [formerly 1f9ff85f10520e409e787c6be644682ea8b4bb93]
Former-commit-id: 21214d113530fe5ef67961358a291f7a5ca974b8
2018-06-04 17:19:16 -04:00
Raul Jordan
fc40d603c0 sharding: define empty p2p and txpool services
Former-commit-id: e95f66b509da5b24054415c15642fd952728a193 [formerly 1f8c4e6ad036cddb162a5588696d44d648f7d5eb]
Former-commit-id: 2897e7c38f227a4f8cd0456cb6fc904ecddeb71f
2018-06-04 17:10:59 -04:00
Raul Jordan
cbfdd4807e sharding: register actor services, modularize services
Former-commit-id: 2513b3150392096adf0ac8e43349a1ff046f941c [formerly ddfe2a5c70a4b28c60d4321d87dc4a2a512fdb72]
Former-commit-id: 07ffa1c5adf2ab34760d975110d08ddabf2c3d95
2018-06-04 16:34:48 -04:00
Raul Jordan
0d85d18726 sharding: implement node register func
Former-commit-id: 808d9952e0dcb15c191ed4cd0ae6274e402beb46 [formerly 1b4c863ebccfed99d018b63f15a3df3de653ff50]
Former-commit-id: 83ca14b18bd098667452d0c563a336a75a4f2f5a
2018-06-04 16:00:47 -04:00
Raul Jordan
cfd48c4fdd sharding: add service constructors and modularize interfaces
Former-commit-id: 5e6b6a977966e9a3bd351aad0e8d4bc0aa65c4e1 [formerly 5412223a4474b3dc865e58ad9c07e460dbc90e71]
Former-commit-id: ef999d3bd806a580932459338fc0920473ddc0f2
2018-06-04 15:58:02 -04:00
Raul Jordan
28d9f553ae sharding: fixed tests to pass with refactor
Former-commit-id: a0cee6739e623199f57752272da9b2372be856c9 [formerly c016afddd2cc56db8b47e161c444d47fe7bfa2f2]
Former-commit-id: f8d790ea8040c67641f6241a7c9886e8983352bf
2018-06-04 15:31:42 -04:00
Raul Jordan
e24440332b sharding: defined creation of shardethereum
Former-commit-id: b027414132b6e145763d4a09b2860f65f30b6001 [formerly 087007d33ea99af703886fdbce7aa600b678f761]
Former-commit-id: d7a2ef4c822ca4779451b32f98ab9eae47babb6e
2018-06-03 19:24:31 -04:00
Raul Jordan
61c6827867 sharding: created smcclient service
Former-commit-id: 2a1e8638990672fbac754cc1fb8a65dfefe69a11 [formerly 5695c392f8b1b42e980c5b4e0992ebafe782eb5b]
Former-commit-id: a6c753b3843409f72472fdd0f41e5af401af8fa3
2018-06-03 19:13:09 -04:00
Terence Tsao
4cd863e352 sharding/proposer: addressed review feedback
Former-commit-id: 3dacbcd7ee49f2413f4c3c13c5f1c418801f456f [formerly 3721f35da9de60d98ebe7c20df0aa21359598612]
Former-commit-id: e8768196a1c7a6291bcbdd68b05f0948772d4abc
2018-06-02 23:21:42 -07:00
Yutaro Mori
01dc3e8b9b sharding :Serialization Perf (#147)
* Serialization performance improvements

* Rename BlobOnly benchmark tests to NoRLP

* Refactor Serialize method

* Add additional tests to serialize

* Formatting

* address PR comments

* doc comments

* linter

* More pr comments


Former-commit-id: 9b01e1cd76eab2dcc9570683c42f578fbfbb2553 [formerly 722f61729adae8236f3cfefde3fdbd0ec66222bb]
Former-commit-id: 26093b4f9d4473a7f7740f6bc66976e0218a7722
2018-06-02 21:14:17 -04:00
Raul Jordan
dd384d3a22 sharding: refactor based on new design doc
Former-commit-id: b2defb3e277217d0d5bef86f1d4078668791d251 [formerly 6a6bd5c309442805ccac942325e0feef69dd17ab]
Former-commit-id: 2a26568478ed072db7c8e299eb40644b1c7c10d2
2018-06-02 18:29:35 -04:00
Terence Tsao
85e22add7f sharding/proposer: Done with tests. 6 more test cases added
Former-commit-id: e8c5e0a26986efc32623fe77fc0323ddac0add53 [formerly d0b8da69783a0bf5ef6cf70e0919ea8d6cd8a80e]
Former-commit-id: eb3a4b43b91a55a743896c42d9636f9efa1369e5
2018-06-01 16:04:42 -07:00
Nishant Das
d34bd2192c Merge pull request #146 from prysmaticlabs/addr-logging
Sharding/node: Address Logging To Hex

Former-commit-id: 54982880241beaa5dda8e582c26ee3b906d40c09 [formerly 73cc9ef2e632f631a962bff6ccf7bad26f57108d]
Former-commit-id: 44413819667020e1e3e1e3a1e19df4ac07dfbec8
2018-06-01 14:11:32 +08:00
Raul Jordan
f945f3f447 Merge pull request #145 from rauljordan/contributions
Quick Fix to CONTRIBUTING.md

Former-commit-id: ede007aa91e1641f810f25f8dfe7a0f534b6be23 [formerly 9e030d2a65a0f6d06e78265bd8a75dc581354554]
Former-commit-id: 945120d03dec0ef4016586ab0fc056421e58edbe
2018-05-30 15:19:48 -06:00
Raul Jordan
656d2a407a sharding: quick fix to contributing
Former-commit-id: 8ae571908e4910611b7416ee7d0a803b7dd17e25 [formerly 4609c6b161234a8247e4fd8daf650726149b29ed]
Former-commit-id: 73b6e8882138f9fd9908b9c74aaf9bbadd8ccc6a
2018-05-30 15:18:30 -06:00
Raul Jordan
53206f0f04 Merge pull request #142 from rauljordan/contributions
Editing Our Contribution Guidelines and Required Readings

Former-commit-id: 774a3428e87d58b7fdccc70e8cd79f7a9c9aadb8 [formerly 0bc8db0f837e463571b1a421d059f94ba55bb4e2]
Former-commit-id: 8f4b5543410bd073fd96ecbc99e50868f31a8895
2018-05-30 15:06:54 -06:00
Raul Jordan
a278cceb96 sharding: merge master
Former-commit-id: e182bb374419163f7e971e18716ac31291d6113a [formerly d796b1730d08d8eb56e3ec77f14f895c2bbf1d0f]
Former-commit-id: 028f1a8904ae5830db3a1d3d7314c4e68ad834f0
2018-05-30 14:50:22 -06:00
Raul Jordan
20a4cebe28 sharding: quick edit
Former-commit-id: af1c64a812994fd7936c074f2a836273ed3134e8 [formerly f1b83e7497cec5a4863b3d5c23e7f9781ae18d9b]
Former-commit-id: 0f5b82d214af598f381c39bee7f50a5a04a65f26
2018-05-30 14:49:08 -06:00
Raul Jordan
50fb16ce74 sharding: finished readings.md
Former-commit-id: 34c19e6feb370e126054e14a7919a421683dd0a3 [formerly 0140dc0971d34c11e5d82a4ae11a792ff4291626]
Former-commit-id: f7b5a3716cf3a5d3a1bf2947cbaec17a2d702af4
2018-05-30 14:47:44 -06:00
Raul Jordan
820b90ce72 sharding: added all go resources
Former-commit-id: c2f3e3609260fc0afa8b4e8e44122bb7415bd004 [formerly 30b1686359de4c4cca677f1f6be496e35120d037]
Former-commit-id: 79dedd7a4854788d059da0152971279b17d450c9
2018-05-30 14:32:12 -06:00
Raul Jordan
a7e7f72fb2 sharding: added most resources
Former-commit-id: 3a3ec310f8d12b7e10be97a3f93d0b61f22ab77e [formerly fdb569cb941f80c0f060518f316c6862e2b0eb85]
Former-commit-id: 6f88829c185ed36734b1c556903f992f2a133c18
2018-05-30 14:09:56 -06:00