Skip to content

Page about block approval mechanic #82

Description

@matheusd

Recently I had to explain how the block approval/disapproval mechanic works and its consequences on Decred's blockchain.

It would be useful to have a dev doc page explaining it clearly and with more details and links to appropriate code.

Things I think are relevant to present:

  • That voting on block approval is (only) a part of the whole PoS process
  • That votes are for the previous block
  • That a block that disapproves the parent undoes the utxo set changes made by the regular transaction tree
  • How that is encoded in votes
  • Consequences for applications
    • Needs to handle the case where txs are "reversed"

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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