Documentation ¶
Index ¶
- func CalculateReceiptsRoot(receipts []*types.Receipt) types.Hash
- func CalculateRoot(num int, h func(indx int) []byte) types.Hash
- func CalculateTransactionsRoot(transactions []*types.Transaction, blockNumber uint64) types.Hash
- func CalculateUncleRoot(uncles []*types.Header) types.Hash
- type FastHasher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateReceiptsRoot ¶
CalculateReceiptsRoot calculates the root of a list of receipts
func CalculateRoot ¶
CalculateRoot calculates a root with a callback
func CalculateTransactionsRoot ¶
func CalculateTransactionsRoot(transactions []*types.Transaction, blockNumber uint64) types.Hash
CalculateTransactionsRoot calculates the root of a list of transactions
Types ¶
type FastHasher ¶
type FastHasher struct {
// contains filtered or unexported fields
}
FastHasher is a fast hasher for the derive sha
Click to show internal directories.
Click to hide internal directories.