Commit Graph

570 Commits

Author SHA1 Message Date
Age Manning
d2f80e3b2a Adds env logger to output libp2p logs 2019-07-04 14:11:17 +10:00
Age Manning
e36fa3152d Adds verbosity cli flag 2019-07-04 14:11:17 +10:00
Age Manning
a38f4c4cd1 Adds Kademlia for peer discovery 2019-07-04 14:08:48 +10:00
Age Manning
be6ebb5ffa Add custom inactivity timeout to gossipsub 2019-07-04 14:08:48 +10:00
Age Manning
2d710f19fc Update to latest libp2p 2019-07-04 14:08:48 +10:00
Age Manning
7920f8098f Complete moving network logc into beacon node 2019-07-04 14:07:26 +10:00
Age Manning
64abd0bc5b Removes network parameters from chain spec 2019-07-04 14:07:26 +10:00
Age Manning
a31d6bcb22 RPC methods get pubsub topics from chain spec 2019-07-04 14:07:26 +10:00
Age Manning
4e24c8e651 Add topics to chain id 2019-07-04 14:07:26 +10:00
Age Manning
c7bd02caaf Propogate valid attestations accross the network 2019-07-04 14:07:26 +10:00
Paul Hauner
027f0a539d Prepare ssz for publishing on crates.io 2019-07-03 16:06:20 +10:00
Paul Hauner
d395feb027 Merge pull request #418 from sigp/fix-syncing
Improve syncing, fix bugs
2019-07-03 13:48:44 +10:00
Michael Sproul
73c4171b52 op_pool: finish persistence support 2019-07-01 10:55:55 +10:00
Michael Sproul
7fe458af45 op_pool: re-jig deposit handling (needs more work) 2019-07-01 10:55:55 +10:00
Michael Sproul
604fe2d97f op_pool: partial persistence support 2019-07-01 10:55:55 +10:00
Paul Hauner
2a7122beaf Partially refactor simple_sync, makes improvement 2019-06-27 18:05:03 +10:00
Paul Hauner
906580be15 Attempt to catch edge case in syncing 2019-06-25 16:05:26 +10:00
Paul Hauner
8afe8b3569 Implement fixes from PR review 2019-06-24 15:31:36 +10:00
Paul Hauner
3a196f3fdc Tidy, fix clippy lints 2019-06-24 09:34:56 +10:00
Paul Hauner
8e13237b7f Only perform beacon chain tests on release 2019-06-24 09:34:56 +10:00
Paul Hauner
075c989375 Remove old fork_choice crate 2019-06-24 09:34:56 +10:00
Paul Hauner
77fba0b98e Fix bugs in fork choice, add more tests 2019-06-24 09:34:56 +10:00
Paul Hauner
f8fb011d6c Finish fork test for beacon chain 2019-06-24 09:34:55 +10:00
Paul Hauner
8ed03e391d Allow harness to produce fork blocks 2019-06-24 09:34:55 +10:00
Paul Hauner
e904e0a5a8 Fix bug in operations for block production 2019-06-24 09:34:55 +10:00
Paul Hauner
fbb40485c1 Add additional chain tests 2019-06-24 09:34:55 +10:00
Paul Hauner
299b4cb207 Document beacon chain harness 2019-06-24 09:34:55 +10:00
Paul Hauner
723283bd01 Add attestation strategy to chain harness 2019-06-24 09:34:55 +10:00
Paul Hauner
46c0e17682 Add arbitrary attestation for beacon chain harness 2019-06-24 09:34:55 +10:00
Paul Hauner
7a4c3e26ac Fix bug in reduced tree fork choice 2019-06-24 09:34:54 +10:00
Paul Hauner
0b2ad4d0a1 Mark reduced_tree fork choice as incomplete 2019-06-24 09:34:54 +10:00
Paul Hauner
d0037f49d8 Add progress on debugging fork choice 2019-06-24 09:34:54 +10:00
Paul Hauner
85b23f9f1b Add incomplete progress on fork choice 2019-06-24 09:34:54 +10:00
Paul Hauner
41a36da765 Update BeaconChain tests 2019-06-24 09:34:54 +10:00
Paul Hauner
55818e285a Refactor block prod. to produce for forks 2019-06-24 09:34:53 +10:00
Paul Hauner
55196dff64 Remove iter mod from beacon chain
Now the iter mod in store is the only implementation
2019-06-24 09:34:53 +10:00
Paul Hauner
952e08ba38 Add state roots iter to store 2019-06-24 09:34:53 +10:00
Paul Hauner
c6e24572c7 Improve chain harness tests 2019-06-24 09:34:53 +10:00
Paul Hauner
9c2bbb6c05 Add stubbed-out block processing to fork choice 2019-06-24 09:34:52 +10:00
Paul Hauner
f6c86d0f7f Add attestations to beacon chain harness 2019-06-24 09:34:52 +10:00
Paul Hauner
1638a7aa62 Alias zero hash to genesis in find head 2019-06-24 09:34:52 +10:00
Paul Hauner
8fb6ffffe2 Add new beacon chain test harness 2019-06-24 09:34:52 +10:00
Paul Hauner
1128de535d Ignore attestations to zero hash 2019-06-24 09:34:52 +10:00
Paul Hauner
f4621a9f1a Improve reduced tree fork choice 2019-06-24 09:34:52 +10:00
Paul Hauner
7756a658a7 Update fork choice find head fn 2019-06-24 09:34:51 +10:00
Paul Hauner
2ee71aa808 Add new fork choice struct to beacon chain 2019-06-24 09:34:51 +10:00
Paul Hauner
4a3d54761a Add progress on reduced tree fork choice 2019-06-24 09:34:51 +10:00
Paul Hauner
25e93f60fd Tidy comments 2019-06-17 10:01:23 -04:00
Paul Hauner
cf3d8b0688 Run cargo fmt --all 2019-06-13 12:21:09 -04:00
Paul Hauner
4c0724fba6 Refactor block processing results, some sync logic 2019-06-12 23:54:16 -04:00