Skip to content

Page about block approval mechanic #82

@matheusd

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"

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