Commit Graph

3162 Commits

Author SHA1 Message Date
NatoliChris
8e2c1a9f18
Update ToC on README 2018-09-20 00:34:05 +10:00
NatoliChris
7b4f72439e
Update README with deserialize 2018-09-20 00:22:29 +10:00
Paul Hauner
a1b826906a
Fix SszBlock tests 2018-09-19 17:54:14 +10:00
Paul Hauner
24312f445e
Merge branch 'ssz-ints' into block_processing 2018-09-19 17:50:20 +10:00
Paul Hauner
e88686e4f4
Remove Result from list encoding, panic instead 2018-09-19 17:48:52 +10:00
Paul Hauner
148fdf2ae9
Merge branch 'ssz-ints' into block_processing 2018-09-19 17:44:46 +10:00
Paul Hauner
53692caeb3
Roughly implement ssz list encoding 2018-09-19 17:44:12 +10:00
Paul Hauner
1dd1714444
Half update some ssz indexes for ssz_block 2018-09-19 17:15:54 +10:00
Paul Hauner
ca951d0361
Move ssz block min length into block.rs, add tests 2018-09-19 16:57:21 +10:00
Paul Hauner
d0d336c341
Update AttestationRecord fields 2018-09-19 16:55:18 +10:00
Paul Hauner
928bafb3da
Ensure an empty bitfield serializes to 1 byte 2018-09-19 16:46:33 +10:00
Age
048f8b6f01
slight corrections to attestation validation 2018-09-19 16:29:29 +10:00
Age
7e1819f693
add helpers - implement get_block_hash 2018-09-19 16:27:19 +10:00
Age
27581c0ff4
Implement generalised error ParameterError 2018-09-19 16:25:39 +10:00
Paul Hauner
61fddb2660
Implement basics for ssz_block 2018-09-19 16:15:05 +10:00
Paul Hauner
3dea40abe0
Add temporary (incomplete) aggsig serialization
It just sets them to 64 zeros. This needs to be fixed.
2018-09-19 16:14:31 +10:00
Paul Hauner
4d9b53478f
Add SszBlock comment 2018-09-19 15:24:06 +10:00
Paul Hauner
fe2127ea31 Update SszBlock to use new SSZ API 2018-09-19 14:52:36 +10:00
Paul Hauner
a8a49a4e2f Merge branch 'ssz-ints' into block_processing 2018-09-19 14:49:40 +10:00
Paul Hauner
1f74200129 Change visibility so you can export decode_length 2018-09-19 14:48:42 +10:00
Paul Hauner
718b9ed7de Move to blake2b, start adding validate_block fn 2018-09-19 14:46:58 +10:00
Paul Hauner
6c8c4d9b1e Move state/block.rs into own mod, add SszBlock 2018-09-19 14:45:55 +10:00
Paul Hauner
693d635f8c Add canonical hash function 2018-09-19 14:45:03 +10:00
Paul Hauner
7adc2ddd63 Merge remote-tracking branch 'origin/ssz-ints' into block_processing 2018-09-19 14:43:03 +10:00
Paul Hauner
fa6c750c24
Merge pull request #17 from terenc3t/patch-1
Fixed SSZ link for Markdown
2018-09-19 14:20:22 +10:00
Age
815180d88c
Adds assert_error macro 2018-09-19 14:00:35 +10:00
terence tsao
c5062bc4c4
Fixed SSZ link 2018-09-18 11:20:43 -07:00
NatoliChris
0fed1997a2
Add 'decode_ssz_list', update 'decode_length' to take index 2018-09-18 23:19:45 +10:00
NatoliChris
199b7490b3
Begin decode_ssz_list for serialized lists of elements 2018-09-18 18:48:09 +10:00
NatoliChris
94d21c78cd
Add new index to return of decode 2018-09-18 18:47:25 +10:00
Paul Hauner
39cacd9521
Update README.md 2018-09-18 18:03:32 +10:00
Paul Hauner
6ab6c3dc40
Merge pull request #14 from sigp/db_trait
[WIP] Build abstract database trait
2018-09-18 17:50:02 +10:00
Paul Hauner
446e8ae53e Add doc comments to the db module 2018-09-18 17:40:07 +10:00
Paul Hauner
c077e8dbb9 Use different directory for rocksdb database 2018-09-18 17:39:50 +10:00
Paul Hauner
b6197ce04d Move db traits into own file 2018-09-18 17:39:38 +10:00
NatoliChris
04b02854bc
Update readme syntax; Add explicit table for checks to be performed 2018-09-18 17:32:51 +10:00
Paul Hauner
9b7463f68a Update ClientDB trait 2018-09-18 15:59:44 +10:00
NatoliChris
6802bbf407
Remove decode_ssz_list_element unused function. 2018-09-18 15:59:29 +10:00
NatoliChris
92ebe5da0d
Add decode_ssz function for general deserialization 2018-09-18 15:53:53 +10:00
NatoliChris
15ec33e790
Update ToC with dependencies (Forgot in last commit) 2018-09-18 13:11:22 +10:00
NatoliChris
c024e7fd7d
Add detailed dependencies 2018-09-18 12:12:35 +10:00
NatoliChris
79ef5200b2
Add ToC; Add Interface; Add Usage 2018-09-18 12:01:48 +10:00
Paul Hauner
3876c0261a Implement get and put on ClientDB trait 2018-09-18 10:27:29 +10:00
Paul Hauner
33b1e6ddf4 Partially implemented db wrapper
Addresses issue #12
2018-09-17 17:52:32 +10:00
NatoliChris
cc1fc5c0cc
Update ssz implementation of int types 2018-09-17 16:54:51 +10:00
NatoliChris
fd119840a3
Update README with overview 2018-09-17 16:53:46 +10:00
Age
b8ca18f87b
correct attestation warnings, add unit test 2018-09-15 23:22:05 +10:00
Age
b6f4d1c968
add initial attestation validation structure 2018-09-15 22:53:45 +10:00
Paul Hauner
513972b75c Add more plumbing for block processing 2018-09-14 15:52:49 +10:00
Paul Hauner
16bc6ba82a Remove commented-out function 2018-09-13 13:06:41 +10:00