Commit Graph

41 Commits

Author SHA1 Message Date
Raul Jordan
f37d6d58d0 sharding: interrupt working, actor services nonblocking
Former-commit-id: b27ac69451c09f605f38989b3efd2a43cc5d0fae [formerly d97bf308d74e0769c402b01c2bc0fdd82f8a70ad]
Former-commit-id: 0e787677d5d125f6552c88668a667041a35d2510
2018-06-11 17:21:24 -05: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
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
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
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
1057d8bf6a sharding: fix lint
Former-commit-id: b57c5bfe397d13556f34ea1884482b2ca4bbe975 [formerly 849061b6ea1ceac3688f3f2085ecf626c7e5f006]
Former-commit-id: fbab77903733ce35bb82e3684ed2ebe020431c8e
2018-06-04 17:25:59 -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
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
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
91cc76f186 sharding: beginning proposer service tests
sharding: beginning proposer service tests

Former-commit-id: 40ced960afcf8f07fd946780a2bbcd4a5f057d40 [formerly bbe6aa3bf36354edcbeb998417c490ee82df56c3]
Former-commit-id: 518cfdb51459b4b450d4b14666edf656414894ae
2018-05-28 08:12:47 -07:00
Terence Tsao
00f3d283dd sharding: merge with master
Former-commit-id: 052354e664c38c5460d76e6d5a9365bf5b50bf42 [formerly 8042ebf83183b44ecbee4b42bb0577f6ab686d37]
Former-commit-id: 7b21355de4d7ff7f3b8bd01118513728afbb7af2
2018-05-28 07:22:00 -07:00
Raul Jordan
50811bcd8f sharding: fix lint
Former-commit-id: f820d6e22ebe00f68cb7b6a210d9a2a4bb6ee027 [formerly 3d492416a550b77a7cf5565e54588310b758bb40]
Former-commit-id: 6be1b4da840c8c77a227043fef7fe655f7ab2ad7
2018-05-26 12:25:43 -06:00
Raul Jordan
1c0d4e848e sharding: tests pass, services updated to include shardDB
Former-commit-id: 8b8b695ddc0a39bfe6a536fd7b7f40d74c4105da [formerly 829d481af0eebd1647a34006018761e3e64c5e3e]
Former-commit-id: 1d607fcb8fae1327c346bdf3557ec40a8816a09b
2018-05-25 09:52:18 -06:00
Raul Jordan
407a112ec0 sharding: fix datadir and import cycle
Former-commit-id: 787b53e195a8ffde14f18139516ff510e03969a7 [formerly e7d0d7c28711060a8f2545de3218dd5a06e53e4e]
Former-commit-id: 0eb1bbe8fa5c9ad0b7a42d6c1043641ca3542016
2018-05-24 17:36:20 -06:00
Raul Jordan
08eb16eecb sharding: use leveldb backend for shard state storage
Former-commit-id: 2b402c6cce64f0c38d6d3ce48b4818c839bec19d [formerly e3ea64a3e937d89f586af617f3b899bb950e30b7]
Former-commit-id: ddd9e507e1e49758152ddf6e8827864df700dad7
2018-05-24 17:14:52 -06:00
Terence Tsao
34f9e2f0e9 sharding/proposer: merge with master
Former-commit-id: da82f7f8fd756168d99957ce555cf37bebb81209 [formerly 67e5e7376b69544e680dd15b67a2de159abd6ac9]
Former-commit-id: c502c63ad819d5fa914dec338f08898503679d06
2018-05-24 08:25:09 -07:00
Raul Jordan
a363175bbc sharding: addressed comments, linters pass
Former-commit-id: af2dcc65c4c3891a67d4dcf06946537a94901a0a [formerly fe1c017c119100b522a5edcf674f11a8edab9eca]
Former-commit-id: e4dbbeb226d9ead45c244717f56deae2edd29bf1
2018-05-22 16:12:02 -06:00
Raul Jordan
0f27660b18 sharding: using eth leveldb, interface mismatch
Former-commit-id: 127630fadb68deff3418e499f303f7eab16e775f [formerly 20bf39d9d62f72857512b505cfac7e122002c4ab]
Former-commit-id: d3baf1deac782fa9ee4bcceae658723b65d1b08d
2018-05-22 14:49:59 -04:00
Raul Jordan
8c58ffc333 sharding: begin shard local storage
Former-commit-id: 92fbba3d64ae6543595dd3270d5c3a75a8f54175 [formerly 5782e4c437022bb6827617ab05d7417afb9ceec3]
Former-commit-id: 030ef0240481a764c549d7cc323d30a958447413
2018-05-22 14:36:55 -04:00
Raul Jordan
404a1ddad0 sharding: address review comments, add observer package
Former-commit-id: 05b8804e0ba81e1fe22f7d930dc16f9e84e1c44c [formerly 52dd670a71f1abdfeb5dfd42c25b9f3ba9e64224]
Former-commit-id: 78bd95882d71a1cd28f442dac17fe8c1bbc34ccb
2018-05-22 12:42:49 -04:00
Raul Jordan
3b19aa7c03 sharding: fully functional start func in notary service
Former-commit-id: 0755ae70512ad06ee0710f20136883ecacc8cf63 [formerly 7d558c0b4d2dd5302eaf2b8e9f8d51224ffc3858]
Former-commit-id: 3c6b00e5d5e3547260e6e0c1122ef64be08a40c1
2018-05-22 07:56:56 -05:00
Raul Jordan
49dc0dc4a5 sharding: fixed main entry point, linter errors
Former-commit-id: 705e95b849818683ab610b80f101278e6241b4d6 [formerly 925da4e8a6ef6d8e9d82ba9073666c2a26cd6c77]
Former-commit-id: a43a26be717cb63a0a8c03165e865d875ca11ed4
2018-05-22 07:47:35 -05:00
Raul Jordan
44ad64ffa5 sharding: tests pass
Former-commit-id: 8fbbb08b62c3ca59d5a74ecdc12944c9facc6ad6 [formerly 564ebef7667c7c3e5e2476046027961dbe900e4d]
Former-commit-id: ac1af4f69f41c54afc520259285dfb68775be966
2018-05-22 06:53:15 -05:00
Terence Tsao
2bb3404489 sharding/proposer: getting latest master
Former-commit-id: cede343cd746f22e1f6c4b26170feee1ccb08279 [formerly 8b0c5079006abc7d1f1c96163a88d3b3bb861ebe]
Former-commit-id: 4a1d301c8f56b22daae4ed618636234600e62cb3
2018-05-20 18:18:49 -07:00
Terence Tsao
8bff6099c6 sharding/contracts: merge with master
Former-commit-id: 251eebf6cb46497e3afda66e0496ebd04593a741 [formerly 3399601d0fd7263f99ad2a6c0e9935e1ad0139a9]
Former-commit-id: e92aa0f01cd90b73684d5f3b3d8b127ae5130b1b
2018-05-13 15:53:52 -07:00
Terence Tsao
16c5158cb9 sharding/contracts: collator -> notary
Former-commit-id: baa704eda89c6f51e8a8419550bd1f40ef378625 [formerly 277726a6ee2d899ae2f9cc428213205531356d0a]
Former-commit-id: 8ef9b8fe4bdbf4e0f7591c458b4cb7f37b81db61
2018-05-13 15:49:06 -07:00
Terence Tsao
c545df41be sharding/contracts: fixed getNotaryInCommittee not fetching latest notary sample size
Former-commit-id: 0591d5c65d5e8b165f9ca442391e5af0644b3e4d [formerly ae1d540ca879d6a72032462b880892c7dcdec179]
Former-commit-id: bd310578fb6afafab3f9485e70be1dacdfcf3f1b
2018-05-13 10:13:25 -07:00
Terence Tsao
df211116c0 sharding: addHeader and checkHeader functions
Former-commit-id: cca3337844e469eec619103be79891631f2a1472 [formerly 08815fe23f67a1553dcadc039aedc2e11bbd9b4d]
Former-commit-id: 8f558a42773ed8f27295d2951719ac3cbe7b7133
2018-05-11 14:40:23 -07:00
Raul Jordan
b6ec6d8b23 sharding: update comments across packages for punctuation
Former-commit-id: ab617ef43f369476a4ca863e9ab6f732cec9ed7e [formerly 221795c5c6f43cf0550cdf9ba37345e09e91f47d]
Former-commit-id: 6462269b88180c6f09dc3c633e4104c3cf8efb4d
2018-05-02 20:16:07 -05:00
Raul Jordan
701a33caec sharding: fix exported type warnings by adding corresponding comments. Cleaned up comment formatting across our packages
Former-commit-id: 74b60e1bdacfa4889a4b7a36e22698e7bc8a6084 [formerly 6f5d01b919d58ebffa7d5c1d197d2236c2f906f7]
Former-commit-id: 3ad090ec4170cc2bc901caae17f1eb4895af2c42
2018-05-02 10:37:44 -05:00
Terence Tsao
9f791f20a1 sharding: merge with master
Former-commit-id: e48146fdad0808ff828bf53a039ee9cffba0b9a4 [formerly 4c6b0a3d19a582949b1542837c6132768df86da7]
Former-commit-id: 4a83a6533243b5d7afa24767777164e18defd7af
2018-04-27 17:23:42 -07:00
Terence Tsao
f308706680 sharding: \notarys\notaries
Former-commit-id: 7eb970515405983d0d0d8f805fdff5c5a3317f93 [formerly 664a9e0acbccebda143006e8063389884efae880]
Former-commit-id: 61c048015002bf92da708f80365dfc38d11671ef
2018-04-27 14:14:55 -07:00
Terence Tsao
2732187e64 sharding: file name changes
Former-commit-id: add615ca3874397fc04d935b15d0913dcd2b4e18 [formerly 32f4e81a98e3084c1a9c7d277862a04f541f4cbb]
Former-commit-id: 63a1630e1f679a7a341d0194c16c9cf9d11cc342
2018-04-26 15:44:34 -07:00