txtrie

package
v0.0.0-...-1b15b10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2022 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Copyright 2020 ChainSafe Systems SPDX-License-Identifier: LGPL-3.0-only

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNewTrie

func CreateNewTrie(root common.Hash, transactions types.Transactions) (*ethtrie.Trie, error)

func GetTransactions1

func GetTransactions1() types.Transactions

func GetTransactions2

func GetTransactions2() types.Transactions

func GetTransactions3

func GetTransactions3() types.Transactions

func RetrieveProof

func RetrieveProof(trie *ethtrie.Trie, key []byte) ([]byte, []byte, error)

func VerifyProof

func VerifyProof(root common.Hash, key []byte, proof ethdb.KeyValueStore) (bool, error)

VerifyProof verifies merkle proof on path key against the provided root

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL