Documentation
¶
Overview ¶
Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
rlp-verify decodes every block of a C-Chain RLP export and verifies:
- the genesis hash matches a provided genesis JSON (luxfi/evm Genesis)
- each subsequent block's ParentHash matches the previous block's Hash
- the stream terminates cleanly at EOF
This is what admin.importChain does (sans state execution), so a clean verify here is sufficient to prove the RLP+genesis pair is wireable to a luxd boot — the eth state will be rebuilt from genesis state root + the transactions in each block during InsertChain.
Click to show internal directories.
Click to hide internal directories.