Commit Graph

568 Commits

Author SHA1 Message Date
Age Manning
cf459b60a9 Updates for latest master 2019-06-25 18:02:50 +10:00
Age Manning
fc8dc6dfa7 Update to lastest libp2p 2019-06-25 18:02:50 +10:00
Age Manning
f7c2e4c5af Initial core grouping of libp2p behaviours 2019-06-25 18:02:50 +10:00
Age Manning
75959cc9a2 Discovery and gossip bug fixes 2019-06-25 18:02:50 +10:00
Age Manning
25f37ad967 Builds on discovery. Adds identify to discovery 2019-06-25 18:02:50 +10:00
Age Manning
89282c1e09 Adds env logger to output libp2p logs 2019-06-25 18:02:49 +10:00
Age Manning
ad1438db53 Adds verbosity cli flag 2019-06-25 18:02:49 +10:00
Age Manning
8d5d228270 Adds Kademlia for peer discovery 2019-06-25 18:02:49 +10:00
Age Manning
dea6ac7923 Add custom inactivity timeout to gossipsub 2019-06-25 18:02:49 +10:00
Age Manning
7ad9805f02 Update to latest libp2p 2019-06-25 18:02:49 +10:00
Age Manning
c1d609902a Complete moving network logc into beacon node 2019-06-25 18:02:49 +10:00
Age Manning
dd3a4f0b43 Removes network parameters from chain spec 2019-06-25 18:02:49 +10:00
Age Manning
f54bd79f84 RPC methods get pubsub topics from chain spec 2019-06-25 18:02:48 +10:00
Age Manning
e9181e120c Add topics to chain id 2019-06-25 18:02:48 +10:00
Age Manning
95ce8ca6e6 Propogate valid attestations accross the network 2019-06-25 18:02:48 +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
Paul Hauner
059699736b Return errors instead of panic in libp2p 2019-06-10 21:37:41 -04:00
Paul Hauner
e550c0218f Add various fixes to clippy lints
Thou shalt appease clippy
2019-06-10 11:01:25 -04:00