Nishant Das
0355bd8847
Fix Hashing of Beacon Blocks ( #2138 )
2019-04-01 08:45:15 -07:00
Nishant Das
2f9de6f93c
Clean Up Batched Request ( #1932 )
...
* goimports
* do not log empty batches
* invalid request
2019-03-07 16:43:48 -06:00
Preston Van Loon
1f550a0da9
Handle nil protos ( #1927 )
...
* Handle hash nil pointers
* handle in hash beacon block
* add recovery when broadcasting p2p messages
* cmt
* gazelle
2019-03-07 11:32:01 -05:00
Raul Jordan
20803b4c9d
Revert Usage of ssz.TreeHash Across Repo ( #1711 )
...
* revert using ssz.TreeHash
* gazelle
2019-02-25 21:42:31 -06:00
Cayman
e3ba3e181c
Remove leaf hashing in MerkleRoot function ( #1653 )
...
* Remove leaf hashing in MerkleRoot function
See https://github.com/ethereum/eth2.0-specs/pull/646 for clarification.
* Add comment clarifying leaf hashing removal
2019-02-20 23:51:35 +05:30
Raul Jordan
ae13bb5c83
Use Tree Hashing Algorithm Everywhere for Block Roots and State Root ( #1577 )
...
* begin using tree hash instead of hash for state and blocks
* replace with ssz
* rem references to vote cache
* replace all instances of state/block hash with root
* goimports
* almost every test in the world fails
* goimports
* all tests pass, tree hash across repo
2019-02-14 14:04:47 -06:00
Raul Jordan
cec6c8de83
Standardize Naming of Shared Packages, Remove Deprecated Packages ( #1435 )
...
* rem txpool
* standardize repo shared utils, remove deprecated items
* complete
* package lvl godoc
2019-01-31 10:53:58 +08:00
Raul Jordan
ed1c440e0d
Hash Proto Helper Function ( #1414 )
...
* hashproto
* fix hash proto
* lint
2019-01-28 17:08:27 +01:00
Raul Jordan
f89fce9bd7
Implement Basic LMD Ghost Fork Choice Skeleton + Helper Funcs ( #1310 )
...
* add fork choice helpers
* LMD GHOST basic implementation
* add todos
* add in the initial test and finalize rest of functions
* added tests
* more simulation, adding trivial case with only one option for a head
* panics
* begin helper function tests
* more helper tests
* higher vote wins
* LMD Ghost full test
* comment
* add types
* optimize
* prepared
* deposits for chain
* lint
* use the hash beacon block util
* rem unnecessary db methods
* comments
* setup works
2019-01-19 10:57:51 +08:00
Preston Van Loon
592c5c3d92
Refactor hashing of beaconblock to shared ( #1315 )
...
* Add beacon block hash function
* Refactor/remove old hash method
* gazelle
2019-01-15 00:41:20 +08:00
terence tsao
e313e97666
Implement Validator Rotation Logic ( #1279 )
2019-01-13 12:52:31 -08:00
Andrei Ivasko
b29188128d
ToBytes32 ( #1306 )
2019-01-13 09:04:14 -05:00
Raul Jordan
4bb6196f4f
Wrap Up Data Structure Renaming ( #1270 )
...
* spec renames
* fix goimports
* fix items
2019-01-09 03:49:17 -06:00
Nishant Das
2138e1a838
fix helper ( #1198 )
2018-12-30 11:03:36 +08:00
Raul Jordan
f5abc780ab
Verify Block Proposer RANDAO ( #1104 )
2018-12-27 23:19:32 -06:00
Nishant Das
e95e3ed517
Update State Transitions to Process Block Roots ( #1176 )
...
* Adding block root updating functions
* Adding block root updating functions
* Commiting stuff
* Updating test
* permissions
* adding tests
* fixing tests and gazelle
* Revert randao changes
* Comment
* Addressing review
* indenting
2018-12-27 14:48:09 +08:00
Nishant Das
954af67882
Change to Golang Crypto Library ( #1054 )
...
* deprecate hashutil
* Revert "deprecate hashutil"
This reverts commit 6ee40f916c6fcf73fe372b980ba5645fe0456f9d.
* changing to golang crypto lib
* Add comment
* add test
2018-12-07 01:01:51 +08:00
terence tsao
52a987ee44
Change Hashing Function from Blake2b to Sha3 ( #1045 )
...
* switched from blake2b to sha3
* fixed test
* use sha3 from eth1.0
2018-12-05 12:13:33 +08:00
terence tsao
5b09bfa777
Fixed broken reference link to eth2.0 spec ( #784 )
...
* Fixed broken link
* updated more broken links
2018-11-16 11:14:33 +08:00
Ivan Martinez
6d46dda33c
Make blake2b hash util in shared/ ( #649 )
2018-10-13 21:32:29 -05:00