Commit Graph

2469 Commits

Author SHA1 Message Date
Paul Hauner
69c97745d2
Set MemoryDB to use constant DB columns
This is instead of needing to be passed them each time open() is called.
2018-09-24 14:15:59 +10:00
Paul Hauner
7f01ec7c27
Extend validator_store 2018-09-24 13:16:39 +10:00
Paul Hauner
2acf141ba3
Tidy up main.rs and attestation_validation.rs 2018-09-24 09:49:26 +10:00
Paul Hauner
67b11a394e
Add new bls-aggregates crates 2018-09-23 20:19:30 +10:00
Paul Hauner
0b661c5b11
Implement ssz::Decodable for u8 2018-09-23 17:22:27 +10:00
Paul Hauner
3968aaa0e0
Derive debug for some error enum 2018-09-22 22:07:39 +10:00
Paul Hauner
75031f5e69
Progress on attestation validation 2018-09-22 22:00:11 +10:00
Paul Hauner
30bf97539c
Create unique errors for att. parent hashes 2018-09-22 21:59:44 +10:00
Paul Hauner
890aaf7335
Add num_bytes() to bitfield 2018-09-22 21:58:54 +10:00
Paul Hauner
c6ab27973a
Merge branch 'master' of github.com:sigp/lighthouse 2018-09-22 20:23:19 +10:00
Paul Hauner
3cac88e0b5
Merge pull request #13 from sigp/ssz-readme
README Updates - Addresses #8
2018-09-22 16:39:26 +10:00
Paul Hauner
78de4e43e2
Add SSZ decoding for AttRec, fix length mistake 2018-09-22 15:54:25 +10:00
Paul Hauner
4d3422d332
Remove warnings, restructure validation files 2018-09-22 15:53:31 +10:00
Paul Hauner
67f2850d37
Fix bug on BooleanBitfield decoding 2018-09-22 15:52:10 +10:00
Paul Hauner
1bbf4a86cb
Merge branch 'master' into validate_block 2018-09-22 14:11:27 +10:00
Paul Hauner
681c1247ad
Add SSZ and fixes for BooleanBitfield
Related to #22
2018-09-22 14:07:14 +10:00
Paul Hauner
c203c3b415
Merge pull request #16 from sigp/ssz-ints
[WIP] Update ssz uint serialization/deserialization
2018-09-22 14:06:18 +10:00
Paul Hauner
5034089398
Merge branch 'block_processing' into validate_block 2018-09-22 12:30:23 +10:00
Paul Hauner
ecc6352962
Merge branch 'ssz-ints' into validate_block 2018-09-22 12:20:16 +10:00
Paul Hauner
235a049555
Specify ethereum-types version in SSZ 2018-09-22 12:19:43 +10:00
Paul Hauner
2080368cf2
Merge branch 'master' into ssz-ints 2018-09-22 12:19:35 +10:00
Paul Hauner
2559c5458f
Merge branch 'ssz-ints' into validate_block 2018-09-22 12:16:35 +10:00
Paul Hauner
8b4970ed51
Implement SSZ decode for H256 2018-09-22 12:11:10 +10:00
Paul Hauner
5c0690d39c
Merge branch 'v2.1-spec' into validate_block 2018-09-22 11:25:56 +10:00
Paul Hauner
bbf640c40d
Add progress to validate_block 2018-09-22 11:13:55 +10:00
Paul Hauner
af2ba7eebf
Fix clippy lint in MemoryDB 2018-09-22 11:13:10 +10:00
Paul Hauner
2c2d270f5c
Merge branch 'master' into validate_block 2018-09-22 08:18:43 +10:00
Paul Hauner
616cc616db
Fix some clippy lints 2018-09-22 08:17:31 +10:00
Paul Hauner
091379f011
Replace env::dir with dirs crate 2018-09-22 07:45:40 +10:00
Paul Hauner
d00d109fa6
Update as per changes to SSZ
32-byte hashes are no longer prefixed with a length sequence.
2018-09-22 07:37:25 +10:00
Paul Hauner
a222218c5b
Merge branch 'ssz-ints' into block_processing 2018-09-22 06:56:25 +10:00
Paul Hauner
8439094a8d
Fix H256 encoding, remove U256 encoding
Addresses #20
2018-09-21 18:57:33 +10:00
Paul Hauner
f0b432d81c
Add ValidatorStore 2018-09-21 18:52:03 +10:00
Paul Hauner
8cbd4f47a0
Move BlockStore test across to MemoryDB 2018-09-21 15:02:28 +10:00
Paul Hauner
e6a693b89c
Add exists() function for MemoryDB 2018-09-21 15:02:00 +10:00
Paul Hauner
76f7922929
Merge branch 'master' into validate_block 2018-09-21 14:39:02 +10:00
Paul Hauner
4b527227c9
Merge pull request #21 from sigp/memory-db
Memory db
2018-09-21 14:38:25 +10:00
Paul Hauner
f80d5ff0bd
Remove create_col from ClientDB trait 2018-09-21 14:12:53 +10:00
Paul Hauner
5b177a80b9
Add comments, fix warning in MemoryDB 2018-09-21 14:08:07 +10:00
Paul Hauner
66dc073c9b
Add basic memorydb implementation 2018-09-21 14:01:48 +10:00
NatoliChris
b0cce139e0
Rewrite first paragraph, fix remaining example block syntax 2018-09-21 13:14:34 +10:00
NatoliChris
2add249f8f
Address comments from #13 in ssz README 2018-09-21 13:05:26 +10:00
Paul Hauner
51c842c236
Begin basics of block validation 2018-09-21 11:14:28 +10:00
Paul Hauner
d4e6f12ded
Add basic PoW chain db store 2018-09-21 11:13:07 +10:00
Paul Hauner
1065554216
Add BlockStore basics 2018-09-20 17:36:49 +10:00
Paul Hauner
f6330ce967
Add ClientDB exists() method 2018-09-20 17:36:23 +10:00
Paul Hauner
f64b8e30a1
Update SszBlock doc comments 2018-09-20 15:24:51 +10:00
NatoliChris
25e89063b7 Merge branch 'master' into ssz-readme 2018-09-20 15:24:28 +10:00
Paul Hauner
43394c074c
Remove some dangling deps causing warnings 2018-09-20 15:17:34 +10:00
Paul Hauner
0866d47cc1
Merge pull request #19 from terenc3t/patch-2
Fixed one more ssz.py broken link
2018-09-20 14:48:47 +10:00