Commit Graph

2844 Commits

Author SHA1 Message Date
Raul Jordan
81d7334660 sharding: edit READINGS.md
Former-commit-id: a7e15ca8d1c5d746241c242c0534db120c1b3b81 [formerly 34f29f9ae62ad489b21fb69357b4d66e3b4000f8]
Former-commit-id: 6455610454d092cf991e7983609db490ff381217
2018-05-29 16:42:44 -06:00
Raul Jordan
2625c8728a sharding: added contributing.md and readings.md
Former-commit-id: c34ad3ffa9d2f5a92aab53f93ece82a1e6a15657 [formerly c10eec7a57773a322c996fb6275af6053f3d0a06]
Former-commit-id: b3dd4cc565a35ed4310d36ed20b158d3f6dad93e
2018-05-29 16:26:13 -06:00
Eli
af13c7d162 Merge branch 'master' into construct-collation
Former-commit-id: 13de306a6b74804286e73977e145778752150a42 [formerly c8aaf8d66b20d471b1ce54c56f6dec388f343cb1]
Former-commit-id: beb36dc6509ae35360475e0ec774409d46b63a60
2018-05-28 17:37:31 -07:00
Preston Van Loon
689800d065 Quick fixes (#141)
Sharding:

* Sharding: add actor flag to sharding group for app help

* Sharding: ensure rpcClient is not nil before calling Close()

* Sharding: revert shardingcmd.go comments

* Sharding: more address Str() fixes

Former-commit-id: 0b3d8b73ac1b20eb5c018a71be1d935a1fb860ef [formerly 6cd1df472713e95f6b9f8a0a7b6bbd88a5dd2ca2]
Former-commit-id: 90c7e1a70d46c1f889576a7f2f253a02414c3654
2018-05-28 20:32:10 -04: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
Eli
3aaddfa1ad sharding: removed redundant condition
Former-commit-id: 3299e8e09451d25d7c9ee9ab97e843763817d72e [formerly 308f56bd420bbb5ff4e1d7934cd53d10c09f8e29]
Former-commit-id: 2b95d922a39f7fdf097b1e48647a2bc09558775c
2018-05-28 00:10:19 -07:00
Eli
3792068c36 sharding: gofmt
Former-commit-id: 717c8aad401a5ce6804adc06c6167f720d7c3c2e [formerly 76af064718e71b12c4fb49ef318d9712dc60ce37]
Former-commit-id: e13a61671f85699493aef6ba524b1a1baa01a591
2018-05-27 23:50:46 -07:00
Eli
e8224cd71a sharding: comments
Former-commit-id: b29911129f820422182914d7f9ebb0fdd9c02b91 [formerly e3b08d27926b957c87b2dee7d15ae0b2c9159f82]
Former-commit-id: 29a6fc4bf4a8b351ba2e0b0175817e5ecaedec04
2018-05-27 23:46:54 -07:00
Eli
20e15edce9 Merge branch 'construct-collation' of https://www.github.com/elihanover/go-ethereum into construct-collation
Former-commit-id: 606267f06f413ec7986c7396739dc6c2085d7e7a [formerly 3a5bcfbdf5aa9695abde4fa240b4b999597d8f15]
Former-commit-id: 619110315f32441215a15443546d74d90fedf1fe
2018-05-27 20:20:51 -07:00
Eli
ac3c34f17f sharding: correct deserialize function used
Former-commit-id: 6de1a755321f040b69e8cfa9764ac7fc9afd4201 [formerly c7dfb82bd0958b8806ca1f5d4771d31bcc76f072]
Former-commit-id: 08718f359c098fd2bdc95553dbe6e72005efac7a
2018-05-27 20:20:27 -07:00
Eli
2f29abe80b Merge branch 'master' of https://github.com/prysmaticlabs/geth-sharding into construct-collation
Former-commit-id: 4a66f00e905933cb97a9367995fc8cb14eb72800 [formerly ca1e7fbea061ca1ba65ace333b7715ed972c543d]
Former-commit-id: dd568c9bcae37424de8c407deb17a96f841e4b15
2018-05-27 17:57:24 -07:00
Eli
5a4583bd40 Merge branch 'master' into construct-collation
Former-commit-id: 5bdab81651fed98bd808185d11c20bb035a9d682 [formerly 1e2af1a0ae1460b632cd7ab8090c793181e55ed4]
Former-commit-id: 7fd70e87403d5d7d1f6c014cb8d53593129a6679
2018-05-27 17:51:25 -07:00
Raul Jordan
25eb11f30e Merge pull request #137 from rauljordan/shard-storage
Use Persistent Key-Val DB for Shard Node Collation Storage

Former-commit-id: fc2ffdda9a790ff200448091937bad71c391ba5b [formerly 9df3f94fe721b5d75f2a4b27f752477af598b719]
Former-commit-id: c1eb4f1c6c9557ee9b7730927ad76343bd929c24
2018-05-27 17:40:25 -06:00
Raul Jordan
90d376e467 sharding: merge from master
Former-commit-id: ea1b3440d83392728508844f72eb31fdbbf43923 [formerly 1513192be18b4012f429efbed8c5ab1ab7d473ed]
Former-commit-id: 388f490d16d8365ff303356710053ee72440c360
2018-05-27 17:04:41 -06:00
Eli
a68805cd47 sharding: chunkRoot based on seralized blobs across package and tests
Former-commit-id: 7f561afc7750fff716db08162285d40eddb6567e [formerly 80e9bcfaa3de4bb03ec2dc74eb3f419dd0796b23]
Former-commit-id: 95aec9183147ccaa08bc2a2f001a19c69cbb6bd5
2018-05-27 15:03:09 -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
54cf3c9a4f sharding: fix comment
Former-commit-id: 58eb9982deb7122f6f1890f2e25aeb8259cb8d76 [formerly d28feb35046373f36c3be3543156e1b12c7c595f]
Former-commit-id: 842b7609b844df8e282cce43f13a1c94515933af
2018-05-25 21:19:04 -06: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
94cd02a7c8 set gometallinter deadline to 10m
Former-commit-id: 203373bdacbb3744d87b2129e87e3810118a7799 [formerly 5cb84fc36db4bc7ed52d321aa7e65b0e9da3fc29]
Former-commit-id: 511cee5a295c170244381974c4be19270bc77f91
2018-05-25 15:22:30 -07:00
Terence Tsao
bac0c74b6b sharding/contracts: hash digest instead of byte array
Former-commit-id: e6d1149f737e0c21b8ef45712c30265ee699ec96 [formerly 72863268f45b7ca71d9990422cc3bd5b0a75b24d]
Former-commit-id: 9059a3971e64abda1939a5aaa6fee8b2e8e7e605
2018-05-25 10:20:51 -07: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
Raul Jordan
aa8734ea56 sharding: refactor all tests, travis passes
Former-commit-id: 979b3f3f7424ed9c2855f37acfbb36e1cb05bb3a [formerly 638fb7ddd3e39f136d5d1eb32ddc01d23bac5729]
Former-commit-id: 47be397ed0173b73eaeb2ffb7b194689e76be7a5
2018-05-25 09:06:39 -06:00
Nishant Das
2904a0a8f0 Merge pull request #138 from prestonvanloon/benchmark-dat-serializer
Benchmarking Serializer

Former-commit-id: 15e19fc351b301beea895f6f135a4bfb7d97c5ff [formerly 0fb1ab8e8ae8d8713f87d558b89e0718837dd3c3]
Former-commit-id: 4aa813f4fb23f61edeb4abab07b757bbaf8c578a
2018-05-25 21:39:28 +08:00
Preston Van Loon
8aa97e2c59 Sharding: 10 -> numTransactions. Oops!
Former-commit-id: 7cb1a1332b05a25a14f26e05c85b7a0e5ccc7f49 [formerly ec5c5da346eea40bbb7a88b43dd07b281a593898]
Former-commit-id: 58dc62b926658b526c0453c8f1cbe4a734b46317
2018-05-25 08:23:14 -04:00
Preston Van Loon
1274411784 Sharding: update comment.
Former-commit-id: d8b8e76e71595932e0ce5fd55e11c132cb11e515 [formerly 9a91d6d683d7a80af87a962caee6f3de000e5214]
Former-commit-id: 103eb788b04f38e11b1d1e21730e34cdce33be83
2018-05-25 08:22:14 -04:00
Terence Tsao
bd4671ad72 Merge branch 'master' into proposer-phase1
Former-commit-id: 986622f6488e88c2fa9a7d21ad7a077c3509766c [formerly 4d51a81a3bd60fb1fc715ad9ee9498ddc5f4aafd]
Former-commit-id: 0e82fa446ebb0a10e0bcba4a388421f39aa24c78
2018-05-24 20:59:59 -07:00
Preston Van Loon
9b1b5364c2 Merge branch 'master' into benchmark-dat-serializer
Former-commit-id: c5141aa4ab8fda76df681aa4492f45f8f8449cd4 [formerly 10d727317a3686293f25a25902ccb13494abb435]
Former-commit-id: dce91c97c0421ec6b0700235de4ef8a6453cf2f9
2018-05-24 22:15:49 -04:00
Preston Van Loon
bbb496f757 Add basic benchmark tests
Former-commit-id: 062c2a5bc8c849b13e72b49fd4896cf071355b9c [formerly 8af0305d687dc8588f4b7e15a869e58514a0d520]
Former-commit-id: c90e4d03ff42198f8b4579aa8c7d1adcda2a1280
2018-05-24 20:45:50 -04:00
Terence Tsao
1ac4d1c8c4 sharding: fixed starting name to comply with GoDoc
Former-commit-id: 076448c1fd955cef2dd9f89bcdd33fb008531074 [formerly 0e6f4dd63cdce5508f2e3c261874893de49a21e9]
Former-commit-id: 7e105ab6ee97ca5cb2c521e752ddd13808754364
2018-05-24 17:24:58 -07:00
Terence Tsao
f77842dc9e sharding: changed names to be sharding specific
Former-commit-id: a10d8edaf1e636f6e7b607d4707f922efb2f53dc [formerly 285d77512ccffc837bd2030800f497178d39df15]
Former-commit-id: 92c2300e6efd75cc7fa7dfeb0210c86a561ba82b
2018-05-24 17:18:55 -07:00
Raul Jordan
b813c4b33e sharding: refactor shard.go for new interface changes
Former-commit-id: 7b507d71c2e1dd4b19b5d9895458fb090b6ca6f6 [formerly af227af2ce595eda9cfb0a7b930c66654ce9cc46]
Former-commit-id: 5fcc1fad7f3a85e05d78818e1abe37408b78de9a
2018-05-24 18:09:42 -06:00
Raul Jordan
52cc968c57 sharding: generalized shardbackend, refactor database package and tests
Former-commit-id: 806e44466e6484a0028fa39f364c2ee63e828983 [formerly 89d7697ddc25156265f8f49622a775c879e3bd88]
Former-commit-id: 8cf56c2760f2b9fcf1121a94967276c2a34cae58
2018-05-24 18:03:24 -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
60d88b561a sharding: Serialize function shouldn't take pointer receiver
Former-commit-id: d8e4dc907322ec0c8e48009b388d6b15308f269d [formerly 54001b3d03307606542956759709f4b592e54d2d]
Former-commit-id: 46d67285c8c47093452c3aa915fcc13aa492a285
2018-05-24 14:58:44 -07: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
Eli
e1f09b0a28 Merge branch 'construct-collation' of https://www.github.com/elihanover/go-ethereum into construct-collation
Former-commit-id: 558e80553d4566ecded16bd4b468532c1566dc14 [formerly ccd0ec5ea1cadf389e16b950e7aef7ee533897e4]
Former-commit-id: 92ad7d0e739dd1fe21e6ab71ce63156e140766d7
2018-05-23 10:52:19 -07:00
Eli
4bbaa445dd sharding: error and comment formatting
Former-commit-id: 0c6f6897381ef5f52ae05ad6152f8a55ffb94a2f [formerly b5088fd6f495eafe5f88d7aa2f7bc229bba61c66]
Former-commit-id: 213b3052de118e45c67000d510e91f185e057007
2018-05-23 10:51:54 -07:00
Eli
5dcf2520be Merge branch 'master' into construct-collation
Former-commit-id: b26de72a521781d88726cb71348efaf695e24b82 [formerly 5f78eb074cb5acdc15d7b974763ff66135ca1521]
Former-commit-id: bb9efa9307c5cfac60ae575fa2a46b061180f2fd
2018-05-23 10:36:10 -07:00
Eli
1c3387fca7 sharding: merklize body into chunkroot and save in db
Former-commit-id: 30327145ac18f8822bdfc661c50591aa33917547 [formerly bc513e68023723a4d848d2e773e77efeb7ddc9df]
Former-commit-id: 3da18bf84b164cab555f5bde8f3cf5ae19b18b26
2018-05-23 10:22:49 -07:00
Raul Jordan
8b19dd7ac5 Merge pull request #127 from rauljordan/client-revamp
Rearchitecting the Sharding Node, its Lifecycle, and Services

Former-commit-id: a19a24106107c24b665c2a76240c7841fb270109 [formerly f3cda0159b1e169c16b71d30706be5f116704828]
Former-commit-id: 6932c9317d72675159245c35741c9ee7f0aa422e
2018-05-23 08:45:29 -06:00
Terence Tsao
fd2124d6c0 sharding/contracts: comment for comparison
Former-commit-id: f1d5319758ab85bd5cfe63a66e0e8b960bab56a4 [formerly 4b80f9ccb7ce74b702774fc40af2e8cdf35ebb04]
Former-commit-id: fe5be3e1449f47bd73b50ea7db2418ec1dd1b16a
2018-05-22 21:20:56 -07:00
Terence Tsao
3a39e4a58a sharding/contracts: tests for event logs
Former-commit-id: 22adee68bad19ba219792eb4f7e91b89999979f7 [formerly 632857d61c53191ea4cc54a25706a4b2b14da39a]
Former-commit-id: 17bcf754eb5a14aeaa16407e8c1c0d90579cc209
2018-05-22 20:36:38 -07:00
Raul Jordan
f84244afbb sharding: return err
Former-commit-id: e199ba76199c07bac43d7cc77b77d087e20fcdd7 [formerly ee2cfe9c3b7f2c491ca5f66198aec401eed9c433]
Former-commit-id: 4a78b1b1326e235f5d83792b5176b69cf75c2de3
2018-05-22 18:36:35 -06:00
Raul Jordan
f2770fb5ff sharding: address comments, elim string references
Former-commit-id: 5d9f88908d94b4742424faa3a30862235ef4b073 [formerly 69a4d0eede29578ad645039d167f215b17224e32]
Former-commit-id: a1663091ce3d12e82c8fbd3d1ca5ffcffcad1c49
2018-05-22 18:35:03 -06:00
Raul Jordan
c67274b58d sharding: fetch master changes
Former-commit-id: eb5730d3bbaf8421bb98ee755a8df44044661b37 [formerly e28c9feb553a0ab8f90dd845b02e99956f369b23]
Former-commit-id: 223743f4df6ee8bc385d0de0855213089e699a64
2018-05-22 16:53:25 -06:00
Raul Jordan
5f6e966f35 sharding: address terence comment
Former-commit-id: 5ecdffa175208f5c469d850c0f8aae3344e3c5fc [formerly aa14c1974609d2c361888948ae3dbe072a5c9152]
Former-commit-id: 08420bb8112b9f985cd2d8facae3868471b82d24
2018-05-22 16:20:37 -06:00