Michael Sproul
|
7dda85e87e
|
hashing: Keccak -> SHA256
|
2019-05-07 18:27:24 +10:00 |
|
Johns Beharry
|
06362d32d3
|
chore(hashing/merkle_root): remove semi colon on returns
Signed-off-by: Johns Beharry <johns@peakshift.com>
|
2019-04-30 08:24:28 +03:00 |
|
Johns Beharry
|
725401d2e1
|
test(hashing/merkle_root): write test for empty vector and odd leaf count
Signed-off-by: Johns Beharry <johns@peakshift.com>
|
2019-04-30 08:24:27 +03:00 |
|
Johns Beharry
|
8429f3bff1
|
chore(hashing): update comments of fn merkle_root
Signed-off-by: Johns Beharry <johns@peakshift.com>
|
2019-04-30 08:24:27 +03:00 |
|
Johns Beharry
|
9fbacbf967
|
chore(merkle_root): move function into lib.rs
Signed-off-by: Johns Beharry <johns@peakshift.com>
|
2019-04-30 08:24:27 +03:00 |
|
Johns Beharry
|
5f9e93d338
|
chore(merkle_root): split function to it's own file
Signed-off-by: Johns Beharry <johns@peakshift.com>
|
2019-04-30 08:24:26 +03:00 |
|
Johns Beharry
|
80ac60cc0e
|
feat(merkle_root): calculate merkle root from leaves
Signed-off-by: Johns Beharry <johns@peakshift.com>
|
2019-04-30 08:24:26 +03:00 |
|
Johns Beharry
|
af87fbf203
|
feat(merkle_root): hash vector of leafs to get merkle_root
Signed-off-by: Johns Beharry <johns@peakshift.com>
|
2019-04-30 08:24:26 +03:00 |
|
Kirk Baird
|
ab1dc7bfce
|
Add simple fuzz tests for hashing and boolean-bitfield
|
2019-02-22 16:50:14 +11:00 |
|
Paul Hauner
|
35c914baa6
|
Revert "Merge pull request #200 from sigp/new-structure"
This reverts commit d7a3545be1 , reversing
changes made to 1da06c156c .
|
2019-02-14 12:09:18 +11:00 |
|
Paul Hauner
|
1d5ff4359a
|
Strip out old code
All of these files have been moved to either:
- https://github.com/sigp/lighthouse-beacon
- https://github.com/sigp/lighthouse-validator
- https://github.com/sigp/lighthouse-common
For rationale, see: https://github.com/sigp/lighthouse/issues/197
|
2019-02-13 14:15:53 +11:00 |
|
Paul Hauner
|
f9acc42aca
|
Rename canonical_hash to `hash
|
2019-01-25 17:40:22 +11:00 |
|
Paul Hauner
|
6b4c0fe1a3
|
Merge branch 'master' into lmd-ghost
|
2019-01-25 17:23:14 +11:00 |
|
Paul Hauner
|
138fcd6275
|
Fix issues with old state information
|
2019-01-25 16:47:24 +11:00 |
|
Paul Hauner
|
e16f9e0aec
|
Rename beacon_chain/ -> eth2/
|
2019-01-22 16:16:02 +11:00 |
|