Skip to content

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

Closed
@thepiwo

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

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