Skip to content

Include Chainstate in checking Transaction validity #10

Description

@thepiwo
  • check if one account from the chainstate has enough balance available that should be spend in the transaction, if the balance minus the available balance is below 0 the transaction should be considered invalid
  • check validity when mining considering the transactions to be added to the new block, to do so use a temporary clone of the chainstate when checking each transaction and add each transaction there. The issue could be that there are more transactions originating from one account inside a block to be mined that when added up exceed the accounts balance, in this case the first transactions not exceeding the balance are considered valid, the others invalid.

Activity

  1. self-assigned this
    on Oct 9, 2017
  2. added a commit that references this issue on Oct 19, 2017
  3. added 4 commits that reference this issue on Oct 19, 2017
  4. added 2 commits that reference this issue on Oct 20, 2017
  5. added a commit that references this issue on Oct 23, 2017
  6. added a commit that references this issue on Oct 23, 2017
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