Raul Jordan
50c69a6571
Simplify Interfaces Into Smaller, Useful Ones ( #184 )
...
sharding: simplified all interfaces, into smaller, more useful ones
Former-commit-id: c49a98c4c57bcce710d91034804fe270b2567645 [formerly fe0fb3f69dff87c40a98da4a5e7f52d0ac1106aa]
Former-commit-id: 73f6b5c33b5c3197bf76096cf18cc490acb16462
2018-06-17 12:39:42 -05:00
Terence Tsao
ff79950641
sharding: fixed lint
...
Former-commit-id: 52c3570cba9b5b78d853807b10a7ee599c5c059b [formerly c4e2137e7de6c3fa6b921f8bb1a630cde1ce5ca5]
Former-commit-id: 973d4e99f27a6411386ef91ee84ea92faf72fa4c
2018-06-13 12:07:15 -07:00
Raul Jordan
886cf9e607
Merge branch 'master' into remove-interfaces
...
Former-commit-id: a6527d7858355b3de4df270d00d9a94031fdc892 [formerly 4a5eaa82a48de4cc0112424fde2a17c49fba4a10]
Former-commit-id: 4e91334e6c5fce26e408a083a69b8533dd76cf7b
2018-06-13 12:41:46 -05:00
Terence Tsao
1bd464aade
updated shardConfig to config
...
Former-commit-id: ec3595f6111b15e2ea6a3ecd35e6a3934314a662 [formerly df7289f224ce6bc35ef9dd2ec6e129662aad3489]
Former-commit-id: ae8e1f1b95b113767cb3fa0e0835e59043ceca32
2018-06-13 10:37:23 -07:00
Preston Van Loon
67c37cde39
Remove unnecessary interface. Remove "shard" prefix from many places
...
Former-commit-id: 3782465be416107779942a03984ae0b77e5efd20 [formerly 6ef8e5ea1b51845a9510e0597681a001f602076d]
Former-commit-id: 0bd84c0478896264737f96ec4d08e9587dd2172c
2018-06-13 08:44:33 -04:00
Terence Tsao
6c17f3c430
sharding: sync with master
...
Former-commit-id: e9e3daacc36c75fb87fe86dc0f17f92989defd38 [formerly 9efd4db17012e6c35911e293aafa8937711a5fdd]
Former-commit-id: d7f24230c673a4801abe71b21acf2acaba8f85fc
2018-06-12 16:12:59 -07:00
Terence Tsao
75015adc8a
sharding: use shardConfig across shard codebase
...
Former-commit-id: a1a8597ff0d5249056feed2f1f888d46b35eccda [formerly 4da30c5de1366f140374410ff700043a778e9f97]
Former-commit-id: 9125d61ab20e9a6cedc3f63f69b6bdd152687190
2018-06-12 16:03:20 -07:00
Raul Jordan
ed1200b1a0
sharding: fix merge confs
...
Former-commit-id: 6016b3f659b6d325061f7862e2b0b7d9c882df93 [formerly 64aa7c188428e5f0415062d22f65093be73cf20a]
Former-commit-id: ba6af02c1a8cffbc36edaa04685ac7a456c03919
2018-06-12 00:14:25 -05:00
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
7858e9abfc
sharding/node: get shardID from cli, pass it to actor services
...
Former-commit-id: 0220101381cf92180c1003997e514260290548d5 [formerly 5ca29b99f069db4169d98508aeb10b9ea88b679b]
Former-commit-id: 23ce869125865eb86eea1ef20587b475f39f2ed5
2018-06-11 11:00:31 -07:00
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
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
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
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
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
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
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
Terence Tsao
c9463e1b65
sharding/proposer: test for createCollation
...
Former-commit-id: b08e10466884e5616c7e76de949d70d8173e27d0 [formerly ec5bb3df2c49038fd4226cd8642af681730aa742]
Former-commit-id: 9cf1e25c08d917fbde4516f56280d854c097c001
2018-05-28 08:18:14 -07: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
84c8c58c3d
sharding: revert master changes - travis was broken
...
Former-commit-id: 726c06eb4248536e23b143f8e0af51cc91a8f19f [formerly 305291115def673a9b862d4701da1f1d6b4439d4]
Former-commit-id: 643294b138f2ff848b32319f8e60fad93e81095b
2018-05-25 20:16:29 -06:00
Terence Tsao
ba4a5532b0
sharding/proposer: function to construct collation
...
Former-commit-id: fb616312b285b3aafd342c8de741948ff4c2b554 [formerly 61e59b90876ddc7798ed05801cc46e19b0be0a76]
Former-commit-id: 02d65584d6cc2314a13c9ef1a9a6f300e0de08e7
2018-05-25 09:15:13 -07: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
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
2163001a05
sharding: elim unnecessary comment
...
Former-commit-id: df6bf42ddbd5880982c46a6f64231e1f7473e879 [formerly 1a1fb36d9bc05a67ddb652d3228614df612c00bb]
Former-commit-id: 0fe3ffb9fb2947015bcac53a75a440866884b3b5
2018-05-22 11:37:06 -04: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
Raul Jordan
65c7c390a5
sharding: refactor proposers
...
Former-commit-id: 27b5dfe6a36681e873a11887690428e255df1d97 [formerly 6394a809217dc1450fdfb1d6de7f91153afd6eaf]
Former-commit-id: 57f44262b2223ddefa48558d0b4e9cfa6b85d00c
2018-05-22 06:34:12 -05:00
Terence Tsao
848a46efe7
sharding/proposer: sync implementation w/ latest master
...
Former-commit-id: 4d8862ce8ddb66c4abae746cafbf8c7f5588982b [formerly 837f54daae9575bc08a9ac32bf5cf1c86aa800f3]
Former-commit-id: 43d7b466ac5ca717499d4d0f0391f009800086a6
2018-05-20 19:28:37 -07:00
Terence Tsao
57f5595eb5
sharding/proposer: beginning addHeader test
...
Former-commit-id: 02b04a635b1f54c6a6bf76bcfea779a83f0439e7 [formerly 0741baedf7ca864162bf61796242c78adba4cc60]
Former-commit-id: 68fe8324ba9bd1f03355632262be1d1e47162505
2018-05-12 15:54:17 -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
Terence Tsao
506c634889
sharding: beginning the proposer design of phase1
...
Former-commit-id: ed977c3f8afb314b9694a0d3c4b5bb3ae7eede71 [formerly 648cd3008963a37212220f8f92227ea4caa5041f]
Former-commit-id: 21125d87cdb54bdd172da0329dfd98e8e69a3550
2018-05-10 09:33:18 -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
Preston Van Loon
72bd785a2e
sharding: Package comments and responding to PR feedback
...
Former-commit-id: 970a229ed8d1cce8c5383a40e313092828c1be69 [formerly 0f30c11d3352946caccc1d325a0551f43dc8439c]
Former-commit-id: 6ca7badf14c01fabf6a63db26214b6a0179aa8f2
2018-04-01 15:46:02 -04:00
Preston Van Loon
ae1dfbbaf9
Refactor proposer
...
Former-commit-id: 2c934014a8624f84a33850a748dc41227f6a64e8 [formerly eebbc1a6350e0895f770c89efee80204cfd63fba]
Former-commit-id: 74dca03e825ee2a5af2f8e4bce21c8ae0cae70ee
2018-03-31 17:04:22 -04:00