blockSignature2 (13)

Finalized

The blockSignature2 message is used by a node to broadcast its validation of a specific block. As part of the Proof of Collaborative Work (PoCW) consensus, nodes that validate a block and are eligible to sign it will generate and broadcast this message.

Other nodes collect these signatures. Once a block gathers a sufficient number of valid signatures, it becomes accepted and is considered a permanent part of the blockchain.

Core Data Types

Payload Structure

FieldData TypeMinMaxDescription
blockNumIxiVarUInt1The block number that this signature is for.
blockHashIxiBytesThe checksum (hash) of the block being signed.
signerAddressIxiBytesThe address or public key of the node that created the signature.
powSolutionIxiBytesThe Proof of Work solution that makes this node eligible to sign the block.
signatureIxiBytesThe digital signature over the blockHash, created with the signer's private key.

For the precise logic, please consult the canonical Block Signatures documentation.

Behavioral Notes

  • Signature Validation: Upon receiving this message, a node must verify the signature. The signature is a standard digital signature of the blockHash field, and it must be verifiable using the public key associated with the signerAddress.
  • Consensus Role: Valid signatures are collected for their respective blocks. The number of signatures is a critical factor in block finality.
  • PoW Eligibility: The powSolution provides the proof that the signer was eligible to participate in the consensus for this specific block, preventing spam and ensuring fair participation.