Skip to content

add list of transactions concerning account to chainstate (block_hash, tx_hash) #91

Description

@thepiwo
  • Keep the chain_state as it is. %{acc => %{balance: balance, latest_nonce: latest nonce}}
  • make a txs_index which is %{acc => [{block_hash, tx_hash}]} this gets updated on add_block but is not kept in the block itself

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions