Commit Graph

666 Commits

Author SHA1 Message Date
Preston Van Loon
7229db3271 Bazel cache for travis (#236)
* use google cloud storage for remote caching

* install gcloud

* poke readme to kick travis

* Remove cache thing

* unpoke README

* remove tabs from copy paste

* fix more tabs... what happened?

* fix formatting i think

* parsable yml

* try to cache the cloud sdk tools

* add gcloud to path

* dont need gcloud

* move service account to home directory

* lets try tmp directory


Former-commit-id: 0e844dc112bf6a78e0f3c24eb1ca4ce1ba4f376a [formerly c8106e91a46e7db40710f637bab3658fa9686cc4]
Former-commit-id: f9c69ca80a9a110568bf932eb913f3408f953e56
2018-07-07 16:01:58 -04:00
Preston Van Loon
68eba02cc2 Remove most of the remaining geth code and set up bazel (#235)
* Remove most of the remaining geth code and set up bazel for this

* chmod +x

* Add flake check

* better flake detection


Former-commit-id: 5c332ecbf2923943f646f1fe40befa95be883329 [formerly 99590fc354514584700e5ce8d7d30a8a7d541f29]
Former-commit-id: e5f919b553fe698e98090965d34eb721990b5693
2018-07-07 13:23:19 -04:00
Raul Jordan
6918dc483b Eliminate More Unnecessary Dependencies: Whisper, Etc. (#229)
sharding: eliminate unnecessary dependencies

Former-commit-id: 0b6c06f979f1daa72557b79251f83a40356d6936 [formerly 22a70de8740e5a82a1db94070bbe7d8903f0a987]
Former-commit-id: a5ea8ad58f2e3302f773a308b7584ef3f4e79e02
2018-07-02 17:39:56 -05:00
Raul Jordan
324be9e556 sharding: eliminate contracts, swarm (#228)
Former-commit-id: 376a40f1e44b357287e186d75c23597239b71b7d [formerly 26860cf26e491ebd89ac3704f26256c4e94339ce]
Former-commit-id: c52a291c2f8a26274061a3897361a04eda740468
2018-07-02 15:22:55 -05:00
Raul Jordan
dafcfb2e18 Upstream Merge (#227)
sharding: merge upstream
Former-commit-id: 5129a4d5bc4395cd7c115b7f8db23541a512df3f [formerly e4f2b25a4277464c51b4c45384114a305464d3c4]
Former-commit-id: 2b4f0e356d3823889466d0f6ff22d5632f827f48
2018-07-02 14:25:06 -05:00
Raul Jordan
f3f5b8e5a6 Simplify Service Registry, Pass in References as Dependencies to Prevent Nil Pointer Errors (#217)
sharding: simplify service registry to prevent nil pointer errors
Former-commit-id: ba4833c385e5212723932491810baad62e3ff0f9 [formerly c550c6d0837999f46a6de55a36fb1ae92d2ecd6f]
Former-commit-id: 80e9e13bc811444b461dad6bdf9eec633b911bec
2018-06-28 20:56:51 -04:00
Raul Jordan
f8d4cdda84 Simplify Goroutines for Better Testing (#216)
sharding: goroutine for better testing (#216)
Former-commit-id: 2c70ee0892b1e36d5b4473f1e5bba5f151ee449c [formerly 3d91ae5c4288ab27fbf09347d5b12164802726bc]
Former-commit-id: 24085acd2b045f549a3356ef0da219cb91149650
2018-06-27 13:19:36 -05:00
Preston Van Loon
60a5fc7f9b sharding: add debug flags to sharding (#218)
Former-commit-id: d5ae247e0cf4228f227b325812966ff3c0435a6f [formerly 288cbd8546d5d3715f5a948fc0d4a85851d8152b]
Former-commit-id: 27bb304720de6dc4a69603a5fae2917828a06ffc
2018-06-26 11:04:27 -05:00
Raul Jordan
263cd71104 sharding: use small interfaces to fix nil pointer errors in tests
Former-commit-id: 61f93b839d44d63506441ebdd747c141efd6e472 [formerly 74e21cf43fa0ce38d410ca483274c4903562b49a]
Former-commit-id: eec8ee4e9a5a2b3d1c8f6d534ac716ecceab3b85
2018-06-24 16:16:54 -05:00
Raul Jordan
f009381a83 Refactor MockClient Into Internal Package (#210)
sharding: refactor mockClient into internal package

Former-commit-id: 5bb5142c92cffe0aeca0da06fdf0467d0570daee [formerly 4f9a27b0c3ddbbd578bf4d13f7818c7871d3d376]
Former-commit-id: b4164ac956933babeeb3918ac2a5c37613c67377
2018-06-21 16:17:14 -07:00
Raul Jordan
1ddb19bba6 Handle and Simulate Collation Body Requests/Responses (#172)
sharding: create a syncer and a simulator package

Former-commit-id: b392885510ba5a96e61278cbbe2c0ec6f9722ee8 [formerly 3a435eaf6805d02beae55656f155b2c3a66ee663]
Former-commit-id: 0f6f3f2053ae77711e2072848b727b0dc9b92276
2018-06-20 22:03:02 -05:00
Nishant Das
1eb7451266 Implementation for the Notary to Vote on Collations (#131)
sharding: notary functionality for voting on collations

Former-commit-id: 3ac6bb4a7a269966dd8d526c13cce4d0f1aea680 [formerly 2d527347f708a462bfbc206a581bd9b79963ad4c]
Former-commit-id: 68ac7bb8cffc3211a78e15a733101ef035ca50d4
2018-06-20 14:15:05 -05:00
Nishant Das
ed9db010ea Separating out Transaction Receipt functionality (#186)
sharding: separating out transaction receipt functionality
Former-commit-id: 1f581a36e282a5a7579f14f613a44946abbdf93d [formerly 58f934a8fb5f23c3e594d70039fc5d99815bc90c]
Former-commit-id: f0c9265a84c1f7a09ae3d37a2d4a8f74e2e25b96
2018-06-20 07:22:56 -07:00
Yutaro Mori
346b9ae8aa Random transaction generator (#171)
sharding: random transaction generator
Former-commit-id: b41891c474372ab54cbf1e3fa34dc7399f42c6d4 [formerly 69b7da173694490fa44748fe3cb3b2aa84f36b46]
Former-commit-id: b642be5e1b7b4aad59011983bacda4a9b1166463
2018-06-19 20:59:02 -07:00
Yutaro Mori
ad291e93f6 perf improvements to CalculatePOC (#182)
Sharding: proof of custody performance improvements
Former-commit-id: 6a41b5031298579c78d848277fbdff77de27b5f3 [formerly 31a818a367d311f8c7021b9a6b5cad986e53baf3]
Former-commit-id: 2c992bf3b2c98573db021f46680a48ccc632f25b
2018-06-18 07:06:02 -07:00
Preston Van Loon
f32f7ba36c sharding: Internal helper package (#189)
* move log helper to internal package

* move log helper

* Add readme


Former-commit-id: cc9eaa1e87415c031841f367c30dc3b20cd54858 [formerly 60a22abaff65803fbad00a089f842e6e23e9ec9f]
Former-commit-id: 62769aedb094e51fb87757d174b7c6fc77464f96
2018-06-17 14:57:50 -04:00
Preston Van Loon
ab2954a693 Add a log handler helper (#188)
sharding: add a log-handler helper for tests

Former-commit-id: fb083848d8615f36786f5c6b96a2182a8be21b9d [formerly 1c62e207943d9265a59f0ff6577479c6a2eaf76b]
Former-commit-id: 0677762c40db862185c7b951e419473949b761c9
2018-06-17 12:40:35 -05:00
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
Preston Van Loon
912b3b65bd FIx start/stop of ShardEthereum (#185)
* sharding: Fix mainchain.Client starting RPC connections during ShardEthereum.New. Fix graceful stop

* sharding: Just pass the cli.Context rather than keeping it on the shardEthereum

* sharding: add doc

* sharding: add doc

* Sharding: remove exgtra newline

* sharding:fix lint


Former-commit-id: fdaf8160245d9233b693f685ba6078e4b15fa279 [formerly f7fa71912b7d8340ede6cd08b357056fafbab014]
Former-commit-id: 0e8bfbbc579451178f76263364fdbcd00a91d651
2018-06-16 22:26:03 -04:00
Raul Jordan
9e1c76e693 Merge pull request #133 from elihanover/construct-collation
Construct Collation and Merklize Chunks into chunkRoot

Former-commit-id: d4ed64c3d3802f1bfc330d6d4c7ee18109cd3f85 [formerly 1c70ba631e08220189b16315f28b477172d07d55]
Former-commit-id: 1ab7be7a53c31ee96b9c3abdbdc198eff874207f
2018-06-13 21:10:12 -05:00
Eli
5f7237a468 Merge branch 'master' into construct-collation
Former-commit-id: 74b350ce5e3ff691d96619841d8c79dd8bb3fc31 [formerly 74164493417986920fe40d0543335046d85fd9fd]
Former-commit-id: b487569e8cf816856c37d9d7c74244cf1e9a057c
2018-06-13 15:31:32 -07: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
Eli
b92ce331fa Merge branch 'master' into construct-collation
Former-commit-id: 53a154aaaf9e1fc47d578c8755393d6bc37aa3a8 [formerly c2ec003f8e3948f4d5ed80821fafb6a24e8f7948]
Former-commit-id: f568728bbc65af284e4d417f92343e4c82fc9f25
2018-06-13 08:38:26 -07:00
Eli
8752d76677 sharding: corrected error type
Former-commit-id: 30968e4992b491fc7ebeac4abba65cd4338d6785 [formerly 47e1c6c092170002d46d2513c23af44fd81f5e92]
Former-commit-id: 385f981d0ecd7d658b74c7de55ea90946df313e8
2018-06-13 08:21:53 -07:00
Raul Jordan
6889eedcd1 Merge pull request #174 from prysmaticlabs/p2p-feed-api
Peer to Peer Feed API

Former-commit-id: 7a38354c89c2c0d85f52c5bfb2f59b11c8615f1f [formerly 7c73afa67bf0296a565991f85f207e857385e4f7]
Former-commit-id: d85cde67fdc27e55ecd3962108771c320b14c41a
2018-06-13 10:16:58 -05:00
Raul Jordan
3ac72f079f Merge branch 'master' into p2p-feed-api
Former-commit-id: faabf714ec639427d33022c67456fc53fd97e6b8 [formerly a7ceba7cb6ae65b1f8b49f11b27cbbe0373be033]
Former-commit-id: 3113062927fafdbca335748eea40796437ae0612
2018-06-13 09:19:51 -05: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
Preston Van Loon
9ab76dc1f6 add TODO issues, fix typo
Former-commit-id: 797bc1cf3a759f2a55dbf1ce790c3f599682448c [formerly 8f4e5d953c3e553944db263a76c142ffccad516d]
Former-commit-id: c7c1e3e2d340c8cd5f97e4549fa46a7959be06c6
2018-06-13 07:44:45 -04:00
Terence Tsao
b41b8c823a sharding: use pointer for default config
Former-commit-id: 47354dddbeb7c5db47c79c5b929524d221f35814 [formerly 570a02de295c3d30c1b03327615dcb3d47c8c363]
Former-commit-id: 329af4b67168e0a58b7bae38c16cae4354fbf808
2018-06-12 20:11:07 -07:00
Preston Van Loon
240e6da7c9 better docs
Former-commit-id: baccf088d88578ae6e13d0091c06420cc8f78199 [formerly 07d1b108fb118ab4cd0cf6fc8fefad70431d3409]
Former-commit-id: d1bac4c0b5faf5a21b111af0d6ed45b245272e7d
2018-06-12 23:03:13 -04:00
Preston Van Loon
b4702f9966 Typo
Former-commit-id: f40d1c783e9196c769c6dd5132de2175edfda64e [formerly b67787261f69ede4c8a6763cc31832d0005011ad]
Former-commit-id: 041b9dcf7a86f3966ce85dfdfe048aa9973e46bb
2018-06-12 23:02:07 -04:00
Preston Van Loon
5fa1090821 Add feed example
Former-commit-id: c2752225dd7c5aa19b8e1bd79f4513493e4cfbda [formerly cb091e596b79767eee5b312df94054d13be0f698]
Former-commit-id: 2471f1863d552209ee48324b2d26710b9ea246d8
2018-06-12 22:43:19 -04:00
Preston Van Loon
489eb89f2e Fix typo
Former-commit-id: 04ec02588f6f38a4dcc737126449998fb4f01e29 [formerly c6580d7eb8565c615e3684615e2d87cb101d5ce7]
Former-commit-id: ec51ad69a7ad5062bf285b18e04d4a716f4d04c0
2018-06-12 22:23:12 -04:00
Preston Van Loon
ddf419d029 merge conflict
Former-commit-id: 4efc6f5db110d81c745c090e9c171e6b8b90f00d [formerly 0d786d9e9890ff5182e9b78176b04fe05432a8d8]
Former-commit-id: 1d23ef11a165596a3ef28c6ffc6d0458e008a749
2018-06-12 22:15:12 -04:00
Preston Van Loon
7abcc195ed Add placeholder methods for Send and Broadcast
Former-commit-id: fd78c149bb1b19439ed3a6b1f6036d8f381f2879 [formerly cdcc33a37eea0c297dbe05d21f2fcbbf38b1503e]
Former-commit-id: ee7a588c5eecdf3cf5b2e05191359d8cb7a8798c
2018-06-12 22:13:24 -04:00
Preston Van Loon
5b70c21731 Add link to design doc
Former-commit-id: c9fbe47ad80943eb96194433e843769f19bb8cf3 [formerly 2a24667a14daa6cb6ef96b1c56529acf09844277]
Former-commit-id: 58090a839fc4c8b73531c3124e25835b87aa0809
2018-06-12 22:10:16 -04:00
Preston Van Loon
c17db32069 Better documentation, add p2p message container type
Former-commit-id: 2790cf05b6dbae32cc8ced818e0af70bb20f8582 [formerly 782d2cbb05d9fe391f867d33c9ae0820b3fda203]
Former-commit-id: 78a21d732a68267fae930858f9e09b26ea9419b8
2018-06-12 22:06:59 -04:00
Terence Tsao
7c08587d4c sharding: fixed comments
Former-commit-id: cfdbfb5f1fc3ef087f6e9551a4009fa19e8dbc3c [formerly 05cefa891ccddeb2045cc3ca4fd205d904288a44]
Former-commit-id: d4bc6b0dd7b894fb85f654c6de5106353b9dce60
2018-06-12 16:30:43 -07: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
Eli
aa3fac8afb Merge branch 'master' into construct-collation
Former-commit-id: 82fc04606512ed4cbcdbe6f171b924bc2829c735 [formerly fd97529a0f197eebe6d11b9bb22dd24da48610cf]
Former-commit-id: bc91eba3e01b45041ee76332bb973f5b0c1f0a9c
2018-06-12 13:37:53 -07:00
Raul Jordan
b60e56c0b2 Merge pull request #170 from rauljordan/interrupt
Graceful Shutdown on SIGINT and Non-Blocking Services

Former-commit-id: e6bfb2edb4d6533fd54fcbbe0d7f0f8ad53a35e3 [formerly cbcfc39b526fccfd138fdeb85ffe103ad39fdc1c]
Former-commit-id: 6784684479c9ead9763c9747a9f6e7aefe732650
2018-06-12 14:40:04 -05:00
Eli
14bcc31a75 Merge branch 'construct-collation' of https://www.github.com/elihanover/go-ethereum into construct-collation
Former-commit-id: 2350014d778d48dbecd01544b77c7abab0a0108f [formerly b8c4e09c184385e5834d3549dae5261d5b617937]
Former-commit-id: 47647ce88e2f0fefa6b62b7d8b5d2f8db16db60a
2018-06-12 10:22:32 -07:00
Eli
dde6e70756 Merge branch 'master' into construct-collation
Former-commit-id: d4fc305467544cd1a3d95ee5a338aa211b1e73f2 [formerly 87b957424793737b6324bdf63af936bfdc36f099]
Former-commit-id: b3bab328bb947ddac5e0dcf48616479456b73d83
2018-06-12 10:22:16 -07:00
Eli
2bcaab972f Merge branch 'construct-collation' of https://www.github.com/elihanover/go-ethereum into construct-collation
Former-commit-id: b18199efa96246befae0b90dc67e267f817aa019 [formerly 304c44533e327efb223e82e09d3af0575b30d007]
Former-commit-id: 2dc7a33ac6c12ad7d72a7a358ada611416984238
2018-06-12 10:16:43 -07:00
Eli
a1cbd11339 sharding: fix merge conflict
Former-commit-id: cfc34323ade884f101679888f92eeedd6e51ad98 [formerly 54d350b1c2a2b2af794a699ea1c41a8438e7003c]
Former-commit-id: 8b3f63e0e3e968de0e97aed4ef6ab851d0ec3778
2018-06-12 10:16:25 -07:00
Eli
fb3e26159b sharding: treated rlp error similar to transactions
Former-commit-id: fe1aa2a4427d8cc68a8f3b91d1c4f08b2f41b4b6 [formerly e1202f47345cb9aa3b37663573e2a07703b29c47]
Former-commit-id: 324cc86345ff6666c94914b30cadbf136b4a3cee
2018-06-12 10:11:22 -07:00
Preston Van Loon
0b50d2778e fix bug found by test, yay
Former-commit-id: d785fe8737d7b514e1104fe3853d1c77356a7449 [formerly e4514806763853f9ea7e449aa7397bd4b208f043]
Former-commit-id: e52fdf8806cf01c3f79cf86a06c16dd91f302c2e
2018-06-12 08:49:03 -04:00