mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
Enable merkle branch verification for deposits
This commit is contained in:
@@ -29,9 +29,7 @@ mod verify_proposer_slashing;
|
|||||||
mod verify_transfer;
|
mod verify_transfer;
|
||||||
|
|
||||||
// Set to `true` to check the merkle proof that a deposit is in the eth1 deposit root.
|
// Set to `true` to check the merkle proof that a deposit is in the eth1 deposit root.
|
||||||
//
|
const VERIFY_DEPOSIT_MERKLE_PROOFS: bool = true;
|
||||||
// Presently disabled to make testing easier.
|
|
||||||
const VERIFY_DEPOSIT_MERKLE_PROOFS: bool = false;
|
|
||||||
|
|
||||||
/// Updates the state for a new block, whilst validating that the block is valid.
|
/// Updates the state for a new block, whilst validating that the block is valid.
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user