shayzluf
|
6c1740eefc
|
Add Caching to Tree Hashing Algorithm (#1929)
* added todo to hash file in ssz
* params and copy of block cache
* start hash cache
* Hash cache implementation
* fixed some comments
* fixed promatheus duplicate counter name
* removed TODO
* change to use special expiration cache
* function name fixes junk object generator
* naming changes
* gazzle fix
* added pruning last read data test
* fixed gometallinter errors
* fix benchmarks and no int64 not serializable
* move struct from test
* add feature flag
* fix merge issues
* add featureflag to beacon and validator
* featureflag init for tests
* added feature flag to all ssz dependent tests
* remove setter func
* replace k8s tweaked expiration cache to https://github.com/karlseguin/ccache
* remove else
* change request by preston
* added init featureflags to genesis_test
* Update shared/ssz/hash_cache.go
add dot
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/ssz/hash_cache.go
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/ssz/hash_cache.go
remove extra space
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/params/config.go
add dot
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/featureconfig/config.go
remove dot
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/featureconfig/config.go
remove dot
Co-Authored-By: shayzluf <thezluf@gmail.com>
* remove powchain from prometheus hash cache name
* fixes fron change requests
* fix change requests
* remove faulty merge test
* gazelle fix
* fix fmt.sprintf
* remove debug binary
* fix gazelle
|
2019-04-24 13:39:02 +08:00 |
|
Jie Hou
|
52a21b6314
|
Support Encode/Decode of Nil Pointer (#1553)
* Support encoding/decoding against nil pointer
* Fix comments
* Small fix
|
2019-02-12 09:17:56 +05:30 |
|
Jie Hou
|
4a383de5b4
|
More Strict Input Length Check when Decoding Struct (#1409)
|
2019-01-28 11:41:11 +01:00 |
|
Nishant Das
|
7ff544fddf
|
Fix travis and Other Linter Errors (#1356)
* fix travis and other linter errors
* remove megacheck
|
2019-01-21 13:35:34 +08:00 |
|
Jie Hou
|
247e8a5f8c
|
SSZ: Switch to Little Endian (#1354)
* Change encode to little endian
* Fix decode
|
2019-01-21 12:44:17 +08:00 |
|
Jie Hou
|
b82b80a216
|
Remove Struct Fields Ordering for SSZ Encoding/Decoding (#1214)
|
2018-12-30 17:02:06 -08:00 |
|
Jie Hou
|
337f6ae58c
|
SSZ: Support Pointer and Array (#1114)
|
2018-12-20 06:51:12 -08:00 |
|
Jie Hou
|
d38f3be8b9
|
SSZ: Support More Types (#1079)
* Add uint32 and uint64 support
* Add sample usage and its test
* BUILD file fix
* Add period in go doc comments.
|
2018-12-14 12:35:32 -06:00 |
|
Jie Hou
|
258fba8d45
|
Preliminary Implementation of SSZ (#1039)
* WIP: support uint8 and uint16
* WIP: Supports encode/decode for bytes
* WIP: Add encode/decode for slice
* WIP: Add struct encoding
* WIP: Add decoder for struct
* WIP: fix tests
* WIP: Aggregating tests
* WIP: data driven test
* WIP: implemented more decode tests
* WIP: Clean code and add more error check
* WIP: more polishing
* WIP: Added optional encode size calculation pass
* WIP: Improve error message reporting
* WIP: Add encoderDecoderCache
* Fix bazel
* Rearrange code
* Fix lint
* Address Nishant's comment
* Fix comments
|
2018-12-11 10:15:37 +08:00 |
|