Skip to content

Research: Using Bitcoin::Crypto to verify the blockchain #22

@bbrtj

Description

@bbrtj

The module may be at the stage where we can start thinking about verifying Bitcoin blockchain with it, starting with the genesis block up. Of course this won't work out of the box, even if we assume a library for connecting with other node was already written. To keep it simple we can fetch raw blocks from Bitcoin Core. This needs research and more additions to Bitcoin::Crypto. I'm looking for people willing to look into it.

List of tasks to do is sure to contain:

  • verifying blocks as a whole
  • calculating target difficulty of blocks (proof of work)
  • tracking consensus changes (versionbits, super majority, etc) and activating transaction validation flags
  • storing UTXOs away from memory
  • adding a rule for coinbase transaction output to only be spendable after 100 blocks
  • possibly more

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions