Commit Graph

3511 Commits

Author SHA1 Message Date
Terence Tsao
9dbf1936b4 sharding: added submitVote test
Former-commit-id: 969f64168aea10d5b812919bf5a3d4f534a90922 [formerly 03a49e09f1ffbfe52858d89ddcbbac34f848ba19]
Former-commit-id: f1f57db412f0ae9bc22c31a5aabd5f4e4df3491c
2018-05-08 17:55:50 -07:00
Terence Tsao
6fb4d23c5d sharding: addressed SMC review feedback, refactored bitwise ops to be more readable
Former-commit-id: 55f263bd66cc76f14aba0862670a7189cc53153f [formerly bbef8789c0cb4155185f09de12388dd05f60d3c7]
Former-commit-id: 365d81184578e1d6bf55ec24d01d3c1b91348173
2018-05-08 14:55:18 -07:00
Raul Jordan
a617eba960 sharding: tests get collation header by hash passes
Former-commit-id: 59a0eee266d7a76b09258fcf8009f80049b60be0 [formerly 75c6a22893328306b18d4da1137455847fe85872]
Former-commit-id: 3ec5bc054413b21426d339c4a76832958a0858d4
2018-05-07 18:00:02 -04:00
Raul Jordan
02bcbbbd73 sharding: add test for get collation by hash
Former-commit-id: 9a715b24b4d04ef7a9bd006cb4f90cbdae55624b [formerly 3fd25eec8d68b7cf5b8f56ab7db86e9e92bed8ae]
Former-commit-id: d878d4578faf7053b914428a12ee3d7eeff83b3c
2018-05-07 17:33:35 -04:00
Raul Jordan
b56056668c sharding: added tests for get header by hash
Former-commit-id: b880b352c90326e0c3649b5fa932f77f4938a26e [formerly 37d96a59e637f2f7348b6be0fe1d12889ae272f7]
Former-commit-id: 557473d2699b0a29a127fd0994887f5d87328463
2018-05-07 17:29:51 -04:00
Raul Jordan
191568b957 sharding: test validate shard id
Former-commit-id: 4d83cbd308332a40187191501836e92d3973367c [formerly d5b64486b85afd0c215399b8de520b2d48e8e773]
Former-commit-id: 4a06d18566b3f76eb67405c0e27e78ec06c2144f
2018-05-07 16:51:27 -04:00
Raul Jordan
1e31653514 sharding: fully functional receiver methods for shard. pre-tests
Former-commit-id: 8964a0d79f57aaef5599f6647e39fe15fdd24b9f [formerly 1c8bf6c78834b8829acdaf8a21c5ab088696a890]
Former-commit-id: e56cffa5e4884b287292bf3338f2612ed1a57ecb
2018-05-07 16:30:06 -04:00
Raul Jordan
b6fe3141da sharding: merge from master and fix collation.go conflicts
Former-commit-id: 1b36c995ff866f71c265c00f12bd67ae4cd9ea7f [formerly 8d527c11b771956e5b8fde3e3edada3a5dcb7777]
Former-commit-id: 90b1e63f696d31757f25dd4a714b89e95b4a3bcf
2018-05-04 14:20:38 -05:00
Raul Jordan
e79e9f43a3 sharding: fix shard methods and lookup keys
Former-commit-id: 5cba9cefd8d480ec9856ce3059b089f32ca4efce [formerly 24ec21a5989261e155d88b19c4df07b501b97942]
Former-commit-id: 97a654f56e99a83eb4aeb11349e5c0ac9ad0caec
2018-05-04 14:18:48 -05:00
Eli
3d03dc07a8 signer: fix golint errors (#16653)
* signer/*: golint fixes

Specifically naming and comment formatting for documentation

* signer/*: fixed naming error crashing build

* signer/*: corrected error

* signer/core: fix tiny error whitespace

* signer/rules: fix test refactor


Former-commit-id: e5aa4376db0bb59d577d0fc62b0d5e5766ce445e [formerly 8161f1ac395ffd49126597cb640ca9fff5e3a8df]
Former-commit-id: 4b759f413a22175b9bd0b6d47a9878a3e5440b17
2018-05-04 11:04:17 +03:00
Preston Van Loon
f192d00165 Merge pull request #105 from rauljordan/tests-fix
Fixing #104 By Removing Outdated Tests

Former-commit-id: c7961ce97d0539965083649275eb8785a7aa859d [formerly 18910123893b2c53c93f4d642896bee32f65f233]
Former-commit-id: 61a545015294a2f9c91b70366ac2855a394d6e5c
2018-05-03 18:13:45 -04:00
Raul Jordan
039c2e3453 sharding: readded tx added test, travis passes
Former-commit-id: 4bd71e699dfe2515c6b472fd41df1ab51b1cb017 [formerly d9475982b5f6ed7249fb2c4470b3a3889ccb430f]
Former-commit-id: d6c56cc922a93cf33c22f7650061463c064583b9
2018-05-03 16:32:42 -05:00
Raul Jordan
b524c0eab5 sharding: make shard func
Former-commit-id: bbb2c9cf92add01dd21480ddf76d14d93c5ca193 [formerly 8a52bd1e5370434ac174968a4767f47ae310a35f]
Former-commit-id: 31256de9b910d8e4131b19ef69d7815df025f362
2018-05-03 16:31:28 -05:00
Raul Jordan
f0c7f6c76b sharding: fix tests issue breaking travis
Former-commit-id: 1532326cb9ca304bc996593bb0b34b5cb64b7306 [formerly 0b8d319fbdde381d335cd4b0c6ef6bdf1fab66b2]
Former-commit-id: 5c728cf6e5a538498834c2771f9ed265239b7f62
2018-05-03 15:37:28 -05:00
Preston Van Loon
4b13b443c7 Merge pull request #103 from prysmaticlabs/limit-travis
Only run travis tests on go 1.10

Former-commit-id: 68f39b28735d6992ac38ae54e06adc81db2d41ce [formerly 8e07ff0a22749787835e2ab0c383f9aeddf320e9]
Former-commit-id: 7aebc03683e4edfefeee6fdfc63188ccf4dc57a6
2018-05-03 16:16:07 -04:00
Preston Van Loon
43eb0e6187 Only run travis tests on go 1.10
Former-commit-id: 2ee7fe6d48d1936fec489c2018e89e84bccba50f [formerly a0e110a5a4563fee0ff9eaeef3695cce3cd84e76]
Former-commit-id: 0d75e8025a355cbe757f0bf01daba8640dbfe114
2018-05-03 13:04:11 -04:00
Raul Jordan
780779f51e Merge pull request #95 from rauljordan/documentation
Updating Documentation for Minimal Sharding Protocol

Former-commit-id: 70c6f3d4be795e4a64c298989367e58b4ce66a1c [formerly 2b5d35e81b98e60ba10ff15b2d1f431ce9a5b258]
Former-commit-id: 767d07f1605ae319378183529c1902ba078a1031
2018-05-03 11:55:07 -05:00
Raul Jordan
1793e7d21d sharding: fetch body by chunk root
Former-commit-id: 5021890d223501bf163d6beae4e4e732673950d2 [formerly 92e89aed0c61909971cf9262cd3002bf2ae2328a]
Former-commit-id: 0fd4497f880213878965107de3f782b44c33f065
2018-05-03 11:54:05 -05:00
Raul Jordan
84a2cb08d7 sharding: collation header hash and shard receiver methods
Former-commit-id: 4cbacc539c2ef7c273c926d989449def39bf7b9a [formerly 7930332c151ad370317590556169411f875c84f9]
Former-commit-id: 7533fcba8e6c6739ccb8ade408654e2b18e50c83
2018-05-03 10:48:25 -05:00
Raul Jordan
887b72ff11 sharding: beginning receiver methods for shard type
Former-commit-id: fc39828fa985074ec20fd3ec1a99c612630b8b1f [formerly 89a47cea8d6d4c2ab1aa77d1d713680394dc823e]
Former-commit-id: 44edff25e19c39aeefbf08f260373c0976248f74
2018-05-03 10:22:28 -05:00
Raul Jordan
7b8417ba4b sharding: fixes review comments on docs
Former-commit-id: 867c2be5c15640d8d71a396c224689df060e931b [formerly 4ad129e22ad24b29a6d5038ba9f4350133211b46]
Former-commit-id: a2d6cd11c05f58a728be8210734d1dce94be3bd3
2018-05-03 09:19:12 -05: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
7dca604900 sharding: merge latest changes from master
Former-commit-id: b3544dbd18d90f5a74144ffd736603f06e213f27 [formerly 50e7040547ef0a6432dc15d74758d8cace1eae17]
Former-commit-id: 68effa7c70be7ce685c6f4f925e7a8100a1d3547
2018-05-02 20:09:20 -05:00
Raul Jordan
b5a8ed01f5 sharding: merge some changes to docs
Former-commit-id: 2944efe703619f5b9ee4d50de488a6f57cb14ac5 [formerly b5d1d6210291ccc04bc20e6c1377b353b80b6b4e]
Former-commit-id: 2ae6f1536689596b9c94bffc76792f38f8ac8500
2018-05-02 20:04:46 -05:00
Raul Jordan
3a4c884eba sharding: finish updating sharding/README.md
Former-commit-id: d57abafa27284eac3c01171d89e3971470ab158b [formerly 99ad1402ba7ea6d5094e47996c09f9636dc569f4]
Former-commit-id: 69811441dc773f00af3b1991789ad27c0d095475
2018-05-02 20:04:19 -05:00
Raul Jordan
c10a02d799 sharding: update half of sharding README
Former-commit-id: c1361950a7379cced87c16cd0ab054d963f083e8 [formerly a13aa2636ca4795ef862a41a3f350973c75112ed]
Former-commit-id: d5a173b258e6ffd2ec3f221031de9c2d93ca0f8c
2018-05-02 19:19:59 -05:00
Terence Tsao
86820bbe13 Merge branch 'master' into add-header
Former-commit-id: b6291004938d0f49089e596156564ab3a7d096a9 [formerly d2fee7edb819cbe0ad847647a31af8f4fe8da208]
Former-commit-id: 9d062b79f83e3cdbb6eac9ccbf2fa55ce05b17a3
2018-05-02 13:10:40 -07:00
Terence Tsao
c163c9618b sharding: finished add_header test cases, fixed linting
Former-commit-id: 3e1166190c9d244b3a11be98c762a964a828ded2 [formerly 813229ff3719a04e606f7999f61135c944b67b3c]
Former-commit-id: b91db465aa3e9bd221aae5bb17165bbe45a9be9d
2018-05-02 13:00:12 -07:00
Terence Tsao
6dd7261bd1 sharding: test for adding header at the wrong period
Former-commit-id: af8d4bebd7d9d9478d543482a43f450444893b50 [formerly 4913424a3a91032b3fee76ccd805c3b6a8926271]
Former-commit-id: a48c6f7a508549f89ec66a9bc8ba72ecac03e784
2018-05-02 12:29:08 -07:00
Terence Tsao
ea13800459 sharding: test for adding multiple headers within same period
Former-commit-id: fc458cbf2960c15c0fa689b22b03614578ab8be3 [formerly 715efa2aeaf765dcab6fc87e1c3da729f2447f8a]
Former-commit-id: 420db139f99b7cb667ea3d5113d36037a88e0904
2018-05-02 11:50:31 -07:00
Raul Jordan
e51ef0be87 Merge pull request #98 from rauljordan/formatting
Fixing Comment Formatting According to Best Linter Practices

Former-commit-id: 9cea91282e4f4abb12452789170508c6948513c1 [formerly 07a948d06466be9ae694cf10b06fc5e1edff07f9]
Former-commit-id: a779adf197484b50af077ecc2217c0af4e8de62b
2018-05-02 11:43:30 -05:00
Raul Jordan
9a259f7f48 sharding: added missing comment
Former-commit-id: 4b3a87bae0997905cf7ef4085094356bb8c53c1f [formerly d0eafdcffbdc0fa18af281dadb13b8a7745b5f72]
Former-commit-id: 6a7e0a5328eecbdbbd61005a3b73ab297e5fa2f0
2018-05-02 11:39:07 -05:00
Raul Jordan
69408136ff sharding: beginning the shard interface
Former-commit-id: ba302afa3fac69fd4ccd3253a5e2a62728d1ffa5 [formerly 7bf1d53b8710efde5ab98460893632196547cd46]
Former-commit-id: 0cbdd232baf17fa348af742e18d8b4c533a9fc63
2018-05-02 11:15:24 -05:00
Raul Jordan
cad5710590 sharding: fix return type of NewClient in client.go to return interface
Former-commit-id: c00c1905d427948185c354651ba223d445ffd801 [formerly 89f4058a8774ac7a996f7f28e1c0f973dd92ef84]
Former-commit-id: 1e54ceb3fd9e47864779b4ea132382f0a15aa3eb
2018-05-02 10:39:08 -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
Eli
89f0a45668 trie: golint iterator fixes (#16639)
Former-commit-id: fe3d7c1e0956ba6ce2dc5b2e4a8142e3753c9b7c [formerly cbd57f04bdfc7105341b7c0286a0d2f432373fc1]
Former-commit-id: e2c38a0175a5f52a75e44b373a6d35de6cc3f58f
2018-05-02 11:24:34 +03:00
Eli
113c4a5711 tests: golint fixes for tests directory (#16640)
Former-commit-id: cef7afc0f6bc8b89a0c94bb0ece1c4992d8a455a [formerly 09f38dc0ed6735f7b21993d462a70de57cdaaea8]
Former-commit-id: c0c5fc2fc3d829175942cfaf69ccc3075dd8dbde
2018-05-02 11:20:19 +03:00
Eli
1cf6747d06 whisper: Golint fixes in whisper packages (#16637)
Former-commit-id: 6a2a7c34e451465eae5d78f76e310e36a412d848 [formerly 6294fcfb3a206061cc8f9309f945f9b0c5a332a2]
Former-commit-id: e2d352442cc4b45620454ac6ece0f8d3d564ed11
2018-05-02 08:17:17 +02:00
Terence Tsao
48a6306127 sharding: test for add_header with normal usage
Former-commit-id: 63f6cf891ff13d1ea88126793ad73e0ef458ef6c [formerly 16966f2d6e2054b432852e46758c12a06108e6e3]
Former-commit-id: 7d6ff2b31b31f59c171552043b6bb181dec0eaa7
2018-05-01 21:33:40 -07:00
Terence Tsao
3b7c5bf64c sharding: notary casts votes
Former-commit-id: 8c0007eaf2de0d36c69ea346f85234dee6af89ee [formerly c9ed2d6063398edf0734a6d48a6cc88b6afd637b]
Former-commit-id: f508bacaab3632fa4d3d05c26eea3c6b155c2ab1
2018-04-30 17:31:44 -07:00
Terence Tsao
668bbc7478 sharding: check bit in bytes for notary votes
Former-commit-id: 4c38295fbf89008dda9c43ee6a60472e15726064 [formerly b6594988cb3353751f09ac69863813ca106467df]
Former-commit-id: d2196e99231a1cb0f43d0f5380bb2fdc645a8949
2018-04-29 16:31:30 -07:00
Terence Tsao
3bc4acd4e3 sharding: finished addHeader, started submitVote
Former-commit-id: ed38e8621204fa276328cfe8dfbf989294a28519 [formerly 10bbd9cc3990c0922e73eeba138bab7d016e9fde]
Former-commit-id: 8d0d2407ab547a8f5e2022d85361dd74d3328da9
2018-04-28 14:55:27 -07:00
Terence Tsao
8bed2909f1 sharding: initial commit for add header in SMC
Former-commit-id: 71e0b082ddca84797d04ffd07a2904eef013a7fc [formerly c9e0bf0453a0c60b3f327731bd58ef62a7cd5915]
Former-commit-id: f07a9c7590d715abc41f0c2fdb64c46e553af0b4
2018-04-28 10:11:42 -07:00
Terence Tsao
66de62a85e sharding: fixed sharding cmds
Former-commit-id: 84365d981a292b44d38468c37367f8c0ed44705d [formerly c0b601ccd621170fce6f2c43ef2a285fd712d272]
Former-commit-id: f49352c4985317271d073edec7d0d520c4a56684
2018-04-27 18:10:37 -07: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
84389b219b sharding: fixed return bool for functions in sol
Former-commit-id: 33624e189e073aa862f2e33f8fd5ebea919d6368 [formerly c7c40d11c99abd923eeee641866e73ea26d7ca13]
Former-commit-id: 7d307bc09f0f46d31be20560879954eb8b2a9215
2018-04-27 16:38:24 -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
Terence Tsao
791576b204 sharding: \collator\notary\ on all files
Former-commit-id: 859723690bc327d7df9ffdd8f7ae247c05e1e1bf [formerly e2603e530217645b3f1fa180613ba27dca74e2f3]
Former-commit-id: c812bd611996a0a8a344064199163aa709ee3f24
2018-04-26 11:10:31 -07:00
Terence Tsao
150f0ae58d sharding: latest round of feedback
Former-commit-id: e37429c965bb98a0155f85351f76e0db2d0e2a07 [formerly 1d3ad1e172e1d0a80c66a2bd44a8fac7414d439a]
Former-commit-id: addf37b75b2c9952da0274bbb57df27b096455fb
2018-04-24 21:55:32 -07:00