Commit Graph

3493 Commits

Author SHA1 Message Date
Paul Hauner
3399b02393 Expand sync works 2018-09-09 18:28:36 +02:00
Paul Hauner
c33d3689a7 Begin sync framework 2018-09-09 16:36:00 +02:00
Mehdi Zerouali
071041a03a
Merge pull request #6 from sigp/v2.1-helpers
[WIP] v2.1 helpers
2018-09-02 16:13:50 +01:00
Paul Hauner
b4ca8cbde8 Remove get_new_shuffling
I am not sure it is designed correctly
2018-08-31 02:20:10 +10:00
Paul Hauner
2277273caa Fix get_new_shuffling, add functioning test. 2018-08-29 16:57:25 +10:00
Paul Hauner
c1a0df8c17 Implement get_new_shuffling w/o tests 2018-08-28 17:51:57 +10:00
Paul Hauner
d57f86c9ad Add readme for shuffling 2018-08-28 17:51:23 +10:00
Paul Hauner
133769e6e5 Expose function directly in transition 2018-08-24 16:01:57 +10:00
Paul Hauner
6f08700ea0 Move shuffling mod into state/transition 2018-08-24 16:01:24 +10:00
Paul Hauner
1a00f5b429 Rename helpers -> attestation_parent_hashes 2018-08-24 15:48:43 +10:00
Paul Hauner
d0c020db9d Rename "get_signed_parent_hashes" 2018-08-24 15:41:00 +10:00
Paul Hauner
1a3da944e5 Add comment to get_signed_parent_hashes 2018-08-24 15:36:26 +10:00
Paul Hauner
4ec0de6f5e Use borrows for get_signed_parent_hases, add tests 2018-08-24 15:26:27 +10:00
Paul Hauner
859c48d5e5 Progress on parent hash selection. Add test. 2018-08-24 14:33:05 +10:00
Paul Hauner
8ba7601ab3 Add get_signed_parent_hashes (untested) 2018-08-23 18:32:18 +10:00
Paul Hauner
c4f9f927f3 Rename "state" to "chain_state" 2018-08-23 18:31:58 +10:00
Paul Hauner
b81ffd0781 Merge branch 'master' of github.com:sigp/lighthouse 2018-08-23 15:20:36 +10:00
Paul Hauner
fd1eea561e Move boolean_bitfield into own crate 2018-08-23 15:20:10 +10:00
Paul Hauner
9808d5c209 Clear out old state config 2018-08-23 15:12:50 +10:00
Paul Hauner
abefec8ed8 Tidy "sync" module 2018-08-23 15:11:59 +10:00
Paul Hauner
366dca710f Tidy config struct 2018-08-23 15:11:15 +10:00
Paul Hauner
121bff725e Tidy client struct 2018-08-23 15:11:02 +10:00
Paul Hauner
e80cf2ff5b
Merge pull request #5 from sigp/add-license-1
Create LICENSE
2018-08-18 09:19:30 +10:00
Paul Hauner
83c98f8915
Create LICENSE 2018-08-18 09:19:07 +10:00
Paul Hauner
9689142883 Add "Client" concept and RocksDB 2018-08-16 14:17:28 +10:00
Paul Hauner
3372583c18 Rename "src/" to "lighthouse/" 2018-08-15 13:41:16 +10:00
Paul Hauner
51be1f0ca4 Update readme 2018-08-15 13:27:07 +10:00
Paul Hauner
2256f52a44 Remove old transition functions 2018-08-15 13:25:51 +10:00
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