Commit Graph

515 Commits

Author SHA1 Message Date
Paul Hauner
486865e803 Add new shuffling function 2018-08-14 16:23:38 +10:00
Paul Hauner
c36e00a1f6 Clear out old v2.0 objects 2018-08-10 11:22:15 +10:00
Paul Hauner
123c6d7088 Draft in new 2.1 objects 2018-08-10 10:48:03 +10:00
Paul Hauner
fd775e3252 Add WIP ssz module 2018-08-09 13:56:58 +10:00
Paul Hauner
f276151c58 Tidy core deps 2018-08-07 10:15:11 +10:00
Paul Hauner
fe423c1346 Add libp2p readme 2018-08-07 10:11:41 +10:00
Paul Hauner
0064efc402 Restructure heavily 2018-08-07 10:08:39 +10:00
Paul Hauner
819527038e Restructure network and config 2018-08-07 09:13:24 +10:00
Paul Hauner
e6d4f28133 Add comments to Network, add mpsc 2018-08-04 13:45:02 +10:00
Paul Hauner
09822e42b6 Remove floodsub upgrade 2018-08-02 23:06:25 +10:00
Paul Hauner
44bcd1b40e Add cmd line options to allow for bootstrap nodes 2018-08-02 22:38:54 +10:00
Paul Hauner
b10b422b2a Update README 2018-08-02 19:31:37 +10:00
Paul Hauner
2d23cd5b52 Update README 2018-08-02 19:29:33 +10:00
Paul Hauner
dc18765512 Add notice to floodsub 2018-08-01 10:30:00 +10:00
Paul Hauner
ba38cef25e Introduce NetworkConfig and NetworkState 2018-08-01 10:27:05 +10:00
Paul Hauner
c1d93d073d Tidy up p2p code somewhat 2018-07-29 15:06:42 +10:00
Paul Hauner
68af2011b5 Update to closer match @tomaka demo 2018-07-29 10:11:37 +10:00
Paul Hauner
b96bf6e3de Fix incorrect multiaddr, add logs 2018-07-28 18:36:44 +10:00
Paul Hauner
9dcf02e499 Add WIP libp2p floodsub 2018-07-28 10:02:45 +10:00
Paul Hauner
407946cfea Add comments to epoch.rs 2018-07-28 09:29:52 +10:00
Paul Hauner
9a0a106dca Add comments to main transition fn 2018-07-21 13:42:32 +10:00
Paul Hauner
c4559a5912 Tidy up new_active_state 2018-07-21 13:42:09 +10:00
Paul Hauner
f56b91f1ae Update epoch to fix height increment bug 2018-07-21 13:41:12 +10:00
Paul Hauner
ae9aef5bce Add pubkeystore mod 2018-07-21 13:40:49 +10:00
Paul Hauner
594c34388e Update version in cargo 2018-07-20 17:50:34 +10:00
Paul Hauner
56734aff72 Remove scrap test 2018-07-20 17:49:25 +10:00
Paul Hauner
c2c456201f Ensure active state height is incrememented 2018-07-20 17:49:09 +10:00
Paul Hauner
751658b2be Add saturating sub for deposits 2018-07-20 17:48:51 +10:00
Paul Hauner
1cf1682a9b Add message to assert in attesters 2018-07-20 17:48:29 +10:00
Paul Hauner
ac0546baa0 Tidy get_attesters_and_proposers 2018-07-20 17:47:58 +10:00
Paul Hauner
e3005efb3d Add zero() method for Block 2018-07-20 17:47:29 +10:00
Paul Hauner
e353102e32 Implement slog 2018-07-20 17:47:10 +10:00
Paul Hauner
9779aa1f81 Update package name 2018-07-20 17:44:54 +10:00
Paul Hauner
0ae97eea5c Update travis logo 2018-07-19 09:51:28 +10:00
Paul Hauner
4977e431d1 Update README 2018-07-18 10:28:23 +10:00
Paul Hauner
ac561a4684 Update readme 2018-07-18 10:26:47 +10:00
Paul Hauner
84239a7276 Update README 2018-07-17 18:25:09 +10:00
Paul Hauner
fc935f936a Update README 2018-07-17 18:23:52 +10:00
Paul Hauner
73efb053f6 Update readme 2018-07-17 18:13:22 +10:00
Paul Hauner
1c2613eb2b Implement compute_state_transition() 2018-07-17 18:08:10 +10:00
Paul Hauner
1fa54a60fb Implement compute_new_active_state() 2018-07-17 18:07:57 +10:00
Paul Hauner
3bca5e1d0f Implement initialize_new_epoch() 2018-07-17 18:06:53 +10:00
Paul Hauner
c2ffb1a396 Implement process_recent_attesters() 2018-07-17 18:04:34 +10:00
Paul Hauner
8b320ab24f Implement process_recent_proposers() 2018-07-17 17:54:14 +10:00
Paul Hauner
a6d0a0f85e Shift around some types in ActiveState, RecentProp 2018-07-17 17:35:32 +10:00
Paul Hauner
c79db16ffb Add fields to config 2018-07-17 17:34:57 +10:00
Paul Hauner
e5979ddca3 Derive clone for several struct 2018-07-17 17:32:55 +10:00
NatoliChris
5b922c7b41
Add tests for shuffle uniqueness and large validators. 2018-07-17 16:12:48 +10:00
Age
9be81b138f
Add simple test for deposits 2018-07-17 16:07:34 +10:00
Paul Hauner
ecf0ad1534 Implement update_ffg_and_crosslink_process() 2018-07-17 13:21:58 +10:00