TrieNode retrieves a blob of data associated with a trie node (or code hash) either from ephemeral in-memory cache, or from persistent storage.
(hash common.Hash)
| 773 | // TrieNode retrieves a blob of data associated with a trie node (or code hash) |
| 774 | // either from ephemeral in-memory cache, or from persistent storage. |
| 775 | func (bc *BlockChain) TrieNode(hash common.Hash) ([]byte, error) { |
| 776 | return bc.stateCache.TrieDB().Node(hash) |
| 777 | } |
| 778 | |
| 779 | // Stop stops the blockchain service. If any imports are currently in progress |
| 780 | // it will abort them using the procInterrupt. |