Commit Graph

584 Commits

Author SHA1 Message Date
Paul Hauner
54f28df5b1 Improve testing for Store impls 2019-05-21 16:37:15 +10:00
Paul Hauner
b3a94de086 Remove unnecessary RwLock from LevelDB 2019-05-21 16:36:06 +10:00
Paul Hauner
7d067926dd Replace RocksDB with LevelDB 2019-05-21 16:29:34 +10:00
Paul Hauner
f1584dada4 Update BeaconChain struct to use new store 2019-05-21 13:36:14 +10:00
Paul Hauner
f8c425d6b4 Fix and add tests for db get block at slot 2019-05-21 12:58:11 +10:00
Paul Hauner
182135b832 Remove old DB crates, start fixing fork_choice 2019-05-20 18:01:51 +10:00
Paul Hauner
658b425cce Merge branch 'master' into disk-db 2019-05-20 16:56:04 +10:00
Paul Hauner
6660311b2b Rename EpochCache to CommitteeCache 2019-05-20 14:36:54 +10:00
Paul Hauner
8222ac17cf Merge branch 'master' into sos 2019-05-13 15:17:56 +10:00
Paul Hauner
a0148b5aae Rename SSZ traits (Encodable -> Encode) 2019-05-13 15:12:19 +10:00
Paul Hauner
fcabef91da Use E for EthSpec trait, instead of B 2019-05-13 14:44:43 +10:00
Paul Hauner
40c6be294b Fix warnings in rpc 2019-05-13 12:33:46 +10:00
Paul Hauner
eb62b5842d Update beacon node crates for new SSZ 2019-05-13 12:07:32 +10:00
Paul Hauner
d9bfbc2657 Add macros for easy SSZ impl via From trait 2019-05-13 09:25:37 +10:00
Paul Hauner
8d3ef273a7 Fix db crate so it compiles under new ssz 2019-05-10 16:53:53 +10:00
Paul Hauner
3ef46c03d1 Merge branch 'fixed-vec' into sos 2019-05-10 15:27:21 +10:00
Paul Hauner
ce8ebeccbc Rename BeaconStateTypes to EthSpec 2019-05-10 14:47:09 +10:00
Paul Hauner
2a938f2fd5 Fix clippy lints 2019-05-09 13:35:00 +10:00
Paul Hauner
0ac278f44d Update validator_client for BeaconStateTypes 2019-05-09 12:19:52 +10:00
Paul Hauner
49c92ef167 Remove attester, block_producer & test_harness 2019-05-09 11:48:14 +10:00
Paul Hauner
4c0c93f0c9 Update beacon_node to work w/ BeaconStateTypes 2019-05-09 09:40:32 +10:00
Paul Hauner
42b7aa89d4 Update network and rpc to BeaconStateTypes 2019-05-08 19:38:18 +10:00
Paul Hauner
51dc97ee42 Allow fork_choice and beacon_chain to compile 2019-05-08 18:18:17 +10:00
Paul Hauner
ae09a00090 Update db crate for new BeaconStateTypes 2019-05-08 17:06:39 +10:00
Paul Hauner
759d0250c5 Clean out some occurances of SszStream 2019-05-06 19:50:05 +10:00
Paul Hauner
cf8a24c2bd Add enc/decode traits to store 2019-05-01 14:29:03 +10:00
Paul Hauner
157d4900aa Rename DB traits 2019-05-01 11:59:18 +10:00
Paul Hauner
85266f8db0 Trim db2 down to basic new parts 2019-05-01 11:42:18 +10:00
Paul Hauner
05df7702d3 Merge branch 'master' into disk-db 2019-04-30 16:02:23 +10:00
Paul Hauner
a76b24e274 Disable running docs example for test harness 2019-04-25 12:25:01 +10:00
Paul Hauner
2527252248 Merge branch 'master' into 0.5.1-tests 2019-04-17 21:21:07 +10:00
Michael Sproul
32547373e5 spec: simplify cache_state
The `latest_block_root` input argument was unnecessary as we were always setting it to something
almost equivalent to `state.latest_block_root` anyway, and more importantly, it was messing up the
caching of the state root. Previously it was possible for the function to update the state's latest
block root, and then hash the outdated block root that was passed in as an argument.
2019-04-17 12:00:23 +10:00
Paul Hauner
f69b56ad60 Add new tree_hash crate project wide. 2019-04-16 14:25:43 +10:00
Paul Hauner
b8c4c3308a Update types to new tree_hash crate 2019-04-16 14:14:38 +10:00
Paul Hauner
89bc15f77e Move some long-running tests to release-only 2019-04-15 09:59:35 +10:00
Paul Hauner
1913be0c6f Fix clippy lints 2019-04-03 16:23:09 +11:00
Paul Hauner
3fe7dd80e2 Merge branch 'validator-enhancements' into testnet-client 2019-04-02 14:29:43 +11:00
Paul Hauner
206f651895 Merge pull request #293 from michaelsproul/operation-pool
Implement Operation Pool
2019-04-02 13:53:22 +11:00
Paul Hauner
d6664cb4ac Implement all methods on Store 2019-04-02 13:41:04 +11:00
Age Manning
3f160d3b99 Correct bootnodes cli parameter 2019-04-01 16:29:11 +11:00
Age Manning
8e5829c0ba Merge remote-tracking branch 'origin/paul-gossip-test' into validator-enhancements 2019-04-01 15:53:51 +11:00
Paul Hauner
5e80b90301 Extend queue stale time, queue more blocks 2019-04-01 15:51:48 +11:00
Age Manning
4fec387047 Merge remote-tracking branch 'origin/paul-gossip-test' into validator-enhancements 2019-04-01 15:40:33 +11:00
Paul Hauner
a7df4f1800 Add log when block not processed in queue 2019-04-01 15:38:22 +11:00
Age Manning
d84f95fe8a Merge remote-tracking branch 'origin/paul-gossip-test' into validator-enhancements 2019-04-01 15:33:42 +11:00
Paul Hauner
a3ca3ec50d Break block proc. loop if we get a bad block 2019-04-01 15:32:04 +11:00
Age Manning
c117659b2d Merge remote-tracking branch 'origin/paul-gossip-test' into validator-enhancements 2019-04-01 15:25:49 +11:00
Paul Hauner
111c81f428 Add ParentUnknown block processing to SimpleSync 2019-04-01 15:23:38 +11:00
Paul Hauner
ebe47a5b34 Add Store and db_encode_derive.
Implementation is not complete, but what is here works.
2019-04-01 14:56:32 +11:00
Age Manning
9f8850d0a1 Adds bootnode CLI parameter 2019-04-01 12:14:44 +11:00