chainbridge ethereum trie 源码
链桥以太坊 该程序包公开了以太坊的交易特里,因此可用于(重新)构造尝试和计算证明。 用法示例 这是如何使用此库的示例。 // assume trieDB is some already instantiated leveldb instance // assume the listener has retrieved the transactions root (txRoot), transactions (txList), and key of the transaction of interest (txPath) for some block while polling // instantiate new instance of TxTries object txTries := NewTxTries ( 3 ) // add new trie to the txtries ob
用户评论