Interface TrieLogAccumulator


public interface TrieLogAccumulator
Accumulator interface for providing trie updates for creating TrieLogs.
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<org.hyperledger.besu.datatypes.Address, ? extends TrieLog.LogTuple<? extends org.hyperledger.besu.datatypes.AccountValue>>
    Returns the state trie accounts which have been updated.
    Map<org.hyperledger.besu.datatypes.Address, ? extends TrieLog.LogTuple<org.apache.tuweni.bytes.Bytes>>
    Returns code which has been updated.
    Map<org.hyperledger.besu.datatypes.Address, ? extends Map<org.hyperledger.besu.datatypes.StorageSlotKey, ? extends TrieLog.LogTuple<org.apache.tuweni.units.bigints.UInt256>>>
    Returns storage which has been updated.
  • Method Details

    • getAccountsToUpdate

      Map<org.hyperledger.besu.datatypes.Address, ? extends TrieLog.LogTuple<? extends org.hyperledger.besu.datatypes.AccountValue>> getAccountsToUpdate()
      Returns the state trie accounts which have been updated.
      Returns:
      the accounts to update
    • getCodeToUpdate

      Map<org.hyperledger.besu.datatypes.Address, ? extends TrieLog.LogTuple<org.apache.tuweni.bytes.Bytes>> getCodeToUpdate()
      Returns code which has been updated.
      Returns:
      the code to update
    • getStorageToUpdate

      Map<org.hyperledger.besu.datatypes.Address, ? extends Map<org.hyperledger.besu.datatypes.StorageSlotKey, ? extends TrieLog.LogTuple<org.apache.tuweni.units.bigints.UInt256>>> getStorageToUpdate()
      Returns storage which has been updated.
      Returns:
      the storage to update