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
|
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
|
8b4970ed51
|
Implement SSZ decode for H256
|
2018-09-22 12:11:10 +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
|
8439094a8d
|
Fix H256 encoding, remove U256 encoding
Addresses #20
|
2018-09-21 18:57:33 +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 |
|
Paul Hauner
|
cc2e210364
|
Move from tomaka/libp2p-rs to sigp/libp2p-rs
tomaka removed the zksummit branch that we were (lazily) relying upon.
|
2018-09-20 14:09:03 +10:00 |
|
Paul Hauner
|
e88686e4f4
|
Remove Result from list encoding, panic instead
|
2018-09-19 17:48:52 +10:00 |
|
Paul Hauner
|
53692caeb3
|
Roughly implement ssz list encoding
|
2018-09-19 17:44:12 +10:00 |
|
Paul Hauner
|
1f74200129
|
Change visibility so you can export decode_length
|
2018-09-19 14:48:42 +10: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 |
|
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 |
|
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 |
|
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 |
|
Paul Hauner
|
88f9295e10
|
Merge branch 'sync'
|
2018-09-13 13:05:19 +10:00 |
|
Paul Hauner
|
6116ee66e3
|
Add ssz Encodable trait for usize
|
2018-09-13 13:02:51 +10:00 |
|
Paul Hauner
|
cd7aa21d36
|
Ensure ssz 0 vals are encoded correctly
|
2018-09-13 13:02:36 +10:00 |
|
Paul Hauner
|
5db0af59d7
|
Fix ssz typos and unused import
|
2018-09-13 13:02:15 +10:00 |
|
Paul Hauner
|
b6cfceb470
|
Add new ssz fn for getting highest set bit
|
2018-09-13 12:44:26 +10:00 |
|
Paul Hauner
|
e75905421d
|
Change length bytes to 3, add decode stuff
|
2018-09-12 17:57:07 +10:00 |
|
Paul Hauner
|
dfae0acd06
|
Add comments to ssz decode
|
2018-09-11 13:32:23 +02:00 |
|
Paul Hauner
|
c205208b63
|
Fix bug in decoding, add more tests
|
2018-09-11 13:26:45 +02:00 |
|
Paul Hauner
|
176c6f5cb6
|
Tidy ssz lib; add comments, remove dup func.
|
2018-09-11 12:39:20 +02:00 |
|
Paul Hauner
|
3d3b1fcdda
|
Break ssz encode into its own file.
|
2018-09-11 12:25:49 +02:00 |
|
Paul Hauner
|
51352c4657
|
Break decode out into own file
|
2018-09-11 12:17:54 +02:00 |
|
Paul Hauner
|
2d29c34892
|
Add (untested) ssz decode macro
|
2018-09-11 00:13:44 +02:00 |
|
Paul Hauner
|
fe95a0cce2
|
Implement ssz length decoding
|
2018-09-10 13:36:42 +02:00 |
|
Paul Hauner
|
0566d18153
|
Break impls out into own file
|
2018-09-10 09:13:08 +02:00 |
|
Paul Hauner
|
ffaffbcd90
|
Change ssz to use extend_from_slice()
This is instead of `append` which empties the source vector. This
doens't really ssem suitable for what we're doing.
|
2018-09-10 08:52:21 +02:00 |
|
Paul Hauner
|
e12a93783d
|
Tidy up boolean_bitfield
|
2018-09-10 08:51:51 +02:00 |
|
Paul Hauner
|
cbaee765e3
|
Update ssz for Block
|
2018-09-10 07:51:57 +02:00 |
|
Paul Hauner
|
976e3a717e
|
Add ssz for AttestationRecord
|
2018-09-10 07:51:44 +02:00 |
|