摘要: 以太坊区块哈希详解:Block.Hash() vs Header.Hash() vs TxHash 概述 在以太坊中,区块哈希是一个核心概念,但经常容易混淆不同的哈希值。本文将详细解释四个关键哈希变量的含义、区别和等价关系。 四个哈希变量对比 变量 类型 含义 计算内容 等价关系 block.Has 阅读全文
posted @ 2025-08-27 16:25 若-飞 阅读(52) 评论(0) 推荐(0)
摘要: func (p *Parlia) verifyHeader(chain consensus.ChainHeaderReader, header *types.Header, parents []*types.Header) error { // Ensure that the extra-data 阅读全文
posted @ 2025-08-27 16:04 若-飞 阅读(6) 评论(0) 推荐(0)
摘要: // calculateEpochRootHash calculates the root hash of the epoch func (p *Parlia) calculateEpochRootHash(chain consensus.ChainHeaderReader, epoch uint6 阅读全文
posted @ 2025-08-27 10:55 若-飞 阅读(9) 评论(0) 推荐(0)