Commit Graph

852 Commits

Author SHA1 Message Date
Preston Van Loon
d33836b48e shared: Move p2p Library to Shared (#317) 2018-07-24 10:21:58 -05:00
Nishant Das
3ee3b15c47
Fix for Proposer Bug (#305)
* Adding fix for proposer bug

* Adding full client

* Removing timeouts

* Fixing Tests

* Remove debug.test file

* lint

* Making Requested Changes

* Fix lint

* Adding check for period

* Add comment

* Change comment

* Making tests shorter

* CollationsizeLimit Fix for tests

* running gazelle

* Comment out tests

* Add comment

* gazelle
2018-07-23 12:55:11 -04:00
Raul Jordan
d46f1f6502
beacon: Block Processing Validity Conditions (#310) 2018-07-23 12:54:41 -04:00
Preston Van Loon
48b047fd61
Add Docker Container Images for beacon-chain and client (#314)
* Add docker container images for beacon-chain and client

* Add docker section to README
2018-07-22 13:31:43 -04:00
terence tsao
3abfb77b87
Outline for Active State Transition Function (#309) 2018-07-22 13:00:10 -04:00
Preston Van Loon
226d219480
Fix period calculation for dev chains where blockNumber < period length (#313) 2018-07-22 10:55:54 -04:00
Federico Gimenez
49d23d60fd
Update readme and contributing links (#312) 2018-07-22 08:36:42 -04:00
Federico Gimenez
637e8ccdab
fix example genesis.json (#299) 2018-07-22 08:33:49 -04:00
Kushagra Sharma
f5447817ba Fixed broken links in contributing doc (#308)
Former-commit-id: 80907203d0fee19fc39ec8ab1321002bfb728bfb [formerly d51d360e33532d6ad682d9a7767f25b83044f75d]
Former-commit-id: a93e945b020ffcd74f3d307d9209c70b0af43c42
2018-07-21 13:15:43 -05:00
Raul Jordan
b6cd890a67 Log Verbosity Flags + Logrus Package Level Logs With Fields (#304)
Former-commit-id: f7344b7d3fb2fa07f0fd421c5ed3721f6c7a9258 [formerly e678ab2f1681d9492c0e1b142cd06ee08a462fdb]
Former-commit-id: d942da3d5cfcde921bebb149c26edd5c4ed178dd
2018-07-21 12:51:18 -05:00
Raul Jordan
59fc2e13e7 client: Fix P2P Linter Error (#307)
Former-commit-id: 5f673dffed4267c1aca8ebfb4fe182798b9b2d2a [formerly 3fd494231ba5a350ab59a86fcf60ae9f56f1da00]
Former-commit-id: 1506dd418121884a8c7a727f8cf03c12e4c93cc3
2018-07-21 12:20:00 -05:00
Raul Jordan
92af8bc351 Rename Entire Project to Repo, Change Import Paths and Readmes (#298)
Former-commit-id: b7b8bbd10777012ae6f7d30eb6b05c3b1c3ec5d3 [formerly 06e1112fa0e1092a7137186d3a386972daa2effe]
Former-commit-id: ff2bc760c9dafb6250f056606eb2cbf96b6afa5b
2018-07-20 16:31:26 -05:00
Raul Jordan
dbdd8f14bd Remove Bad CLABot (#302)
Former-commit-id: c84b0f192c6536418e344ff7d2cd7bd559343bc6 [formerly 42fab4db3bb20147042defad59e892c5f6edd3a1]
Former-commit-id: 8a2129ddfe6fb9f66d9371f684fcbeb9da69a3e1
2018-07-20 14:23:40 -05:00
Raul Jordan
06542e3e05 added clabot file (#301)
Former-commit-id: b482b21e3e0f1157b993befa231d78f187063cbe [formerly a99658c0bf0205e26bb910d58fb1784d18436c5c]
Former-commit-id: 4a42fdd2620aa19c98bc367657c2f5e9a0f33d9f
2018-07-20 13:30:36 -05:00
Raul Jordan
abed3dcb6d update to GPLv3 (#297)
Former-commit-id: cc6b67b7391c407d2f830ae46e6765e097c50c57 [formerly cb2dc8a0ea96b92897dd8f797eb632c941d9f653]
Former-commit-id: 600e28af6901b19b8d191cf3153343d94670f9d0
2018-07-20 10:23:48 -05:00
Raul Jordan
4d5d229f0f beacon: Define a Core Blockchain Package and Persisted Structure for Beacon (#278)
Former-commit-id: bbd5b46e7f64f762350d6fb496492207e70d7130 [formerly 43a37f7139b7d1d90f0c27a7406b63bdf390ad96]
Former-commit-id: bb7a2ff0a7619f8de0bd38cd2c9eb0de7c189edb
2018-07-19 11:31:50 -05:00
Preston Van Loon
e9773bca90 Update README.md (#292)
Former-commit-id: 6a975f58702ffae8f8e76e40ef571600766fe172 [formerly b16300ef75c1deb135ef1e75c45dac0174ee6a51]
Former-commit-id: 8bea7a65e249d0df7df1059a59fe87aa3e394c2f
2018-07-18 10:17:54 +08:00
Preston Van Loon
9ac88d11da sharding: Local networked P2P! (#222)
Former-commit-id: d22d05529bb0050b8a03053a28d876e3e458bbff [formerly 284a04699110aa285a42f5b0ad244ca9bd77d2df]
Former-commit-id: 83cd9c8a48fb5ce9c57ff8ef6c2b1741a4d05130
2018-07-17 13:39:04 -05:00
Preston Van Loon
77267169ea Add More Lint Rules With gometalinter (#284)
* turn up linter to 11

* Added extra linting rules and fixed all lint issues

* add deadline of 10m


Former-commit-id: 632999fcaa8370516d6fe76c28c503cb2e3319b7 [formerly d4354f631b1eb4f7918cde28bf063f756ae92a54]
Former-commit-id: 3aaf78a56b76850b0123d61551ac554ccecfe9ad
2018-07-15 15:06:36 -04:00
Preston Van Loon
fa15f552b1 Disable Remote Execution For Now (#283)
* Disable remote execution for now

Will be addressed in #282

* fix typo

* Update .travis.yml


Former-commit-id: 5fc014164e759968db5193e1a07169283734f2bc [formerly d19ffd0ad589160d55b2303d92e9496f12fcd1ee]
Former-commit-id: 87e1067efc929ac7ca46036ec6b600f4a11e4e91
2018-07-15 13:28:38 -04:00
Preston Van Loon
ad68cd0937 Update go-ethereum with fix for mac OS builds (#281)
Former-commit-id: daad7a0a2588bfaa5402a4b49e1c37db0a50c22d [formerly 70f92288a0838362495d4b30a3a2c57268fa7b5a]
Former-commit-id: fdbc53b780970d32cb786bcb12b2e07b06b9ee6e
2018-07-15 11:39:57 -04:00
Preston Van Loon
bc2f4e1131 update rules_go and gazelle (#279)
Former-commit-id: 41644206a58f240d1d287997661122d675efd97f [formerly aaedd03127aeaf7c013b22dd7ff4f82d6979f154]
Former-commit-id: 6ecaa6f62e8c31bdf6fc27f774418d7dcb1fb1d7
2018-07-15 00:32:10 -04:00
Raul Jordan
ce5fde1f57 sharding: Fix Concurrency Issues, Fix Simulator/Proposer/Syncer Runtime Problems (#276)
Former-commit-id: 2547a60befd85276fb4fb702a4277f3e1dbd9c48 [formerly 9d23a567fbf09e8a19dcbb2ca39b8c8678ce879f]
Former-commit-id: 8c1a555faf070f4070c50dae4913bdd615c66ee7
2018-07-14 15:23:07 -05:00
Raul Jordan
878a332913 beacon: Create a Subscription to Mainchain Head Events Via RPC as a Service in Beacon Node (#273)
Former-commit-id: a4677d647a959cbbbe9c4046e16fa6fa761133ac [formerly f775f6e9529e64cb1392a22f8ef15b186efa14ed]
Former-commit-id: 42350204f72fcba4626a39e61b6e64b6f0afba32
2018-07-14 14:48:42 -05:00
Raul Jordan
e305d58355 shared: reinclude debug.Exit() usefulness (#275)
Former-commit-id: 423052bc5858f3e5772b37bb9d0b4a05f9b131ac [formerly 869ca9c92bc215b0583953bb5ab2479927b15256]
Former-commit-id: bfd9353f0234864c9823ad3ee10d152d59af791c
2018-07-13 22:35:15 -05:00
Raul Jordan
83569f1342 shared: Abstract Service Registry Into Shared Folder, Add Beacon Node and Beacon Entry Point (#268)
Former-commit-id: 406ba2f1e65ec58e822fcf1b9d54c44ba51a559c [formerly 52aebe050663c4dc73fc56e5e4c6846620267f1f]
Former-commit-id: c959a9fda119e4403136ac4f8d1b345d464ab5df
2018-07-13 21:15:37 -05:00
Raul Jordan
739f34f26c sharding: Test for Node Fetch and Register Service, 100% Simulator Coverage (#254)
Former-commit-id: 2fe6fdb393917f90c9a8a0c6dfb866738736803e [formerly 03d3519c59eb7f78e20ff08c081031d9b1f673bc]
Former-commit-id: a1cba8b7ec0517748d5df0bab458b2466f7b6329
2018-07-13 11:47:57 -05:00
Raul Jordan
0444ee81c4 Update Documentation to Reflect Beacon Chain Research (#247)
Former-commit-id: 91dea499d9e27b0ca9e22769582eae6f8d042a98 [formerly 9bfb7f7fef2b8e4802cfd5d99be561378a5ada65]
Former-commit-id: 5a2a52d440d9d67857f5ecac173aa721ce46d12c
2018-07-12 12:12:11 -05:00
Raul Jordan
923e727819 Fix Bazel Build Rules for Visibility, Move LICENSE to Top-Level (#253)
Former-commit-id: 4857afb2c25835b643cd58dd90b114695154b50f [formerly 5d2c723def807289eb72e6c35ce7036ef70f837e]
Former-commit-id: 79c8f081748e29e00b61ace851f74c2252865729
2018-07-12 12:00:37 -05:00
Nishant Das
620564cd61 beacon: move beacon-chain to geth-sharding repo (#250)
Former-commit-id: 689de6935d724226eb9125d597831d7b274d79c1 [formerly 4e0c0d671c4e6284cd33300231cc0f7aba99d314]
Former-commit-id: c3079b352bc938c12708b81cdc0130909456ea27
2018-07-11 17:29:31 -05:00
Raul Jordan
f5e5287082 sharding: Remove Dependency on Geth: Replace Log With Logrus Package (#242)
Former-commit-id: 2ec35880b3aa30d3c217815c9a474e8d81ee1fa8 [formerly c20da02cf9149990f8b7913cfe426b8036992c16]
Former-commit-id: 4851374829557f1523f5994b1d97e08e46979aed
2018-07-09 21:27:23 -05:00
Raul Jordan
2624cd2b3c sharding: Completely Remove Geth, Create a Single Sharding Entry Point That Builds (#238)
Former-commit-id: b853fd1c3ea2284d30d7f3032cf83287c7198c10 [formerly c012daacceec9cb3497f1d066ee3ca2d20aa5b14]
Former-commit-id: 0a5a60c296f878c7057b25fc759dec2487363d30
2018-07-08 21:40:34 -05:00
Preston Van Loon
aae781531a Use remote config for travis builds when possible (#241)
* use remote config

* fix bash


Former-commit-id: 2a7b342baea6168970088d547313d7517ec0d6d9 [formerly d1adf6e65b1bb505eea12cf65499a72713621ca2]
Former-commit-id: e0dba82a206e174178373561d497152e47300aaf
2018-07-08 17:23:24 -04:00
Preston Van Loon
516d136e97 disable remote caching for now (#240)
Former-commit-id: 2fcd48a28367afb72cfbd1b1efdfe913b8ef24f9 [formerly 87e93c6ab928e2e0e099d30b8f89821d1af7b4ae]
Former-commit-id: 0a4d862e7c19f4c2f283b19da775acc55d18bbd7
2018-07-08 15:37:11 -04:00
Preston Van Loon
20e9af4532 fix travis (#239)
Former-commit-id: 898c0ae1194d1f17811086d8ef5f68f15b478184 [formerly 97babbfad351e385c24c59a50d0a3d42dc7717c5]
Former-commit-id: ee689e2c8a8a246df40fdc14dfceb6ca2b5b2a5f
2018-07-08 15:22:41 -04:00
Yutaro Mori
136a630809 sharding: fix race condition in simulator tests (#237)
Former-commit-id: d53651fc87d713f29b458544eec8f060c0f2a284 [formerly 64adf38c5615fd6b833361e8836f2f97d089b78c]
Former-commit-id: 896ca03a66d8fa727897eedb970c5088db2e53b9
2018-07-08 13:40:49 -05:00
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