Skip to content

Tech: Block Receipts Reminder #254

Closed
@andy-shi88

Description

@andy-shi88

Description

When receiving a block, pay attention to the receipt merkle root that is in the block. If the receiving node has the merkle root that are included in the block, take note somewhere (could be in memory [as array of rmr]) and use those referenced rmr as criteria for picking receipts to publish when it's its turn to smith.

Breakdown

  • In receive block, check the receipts published.
  • If one or few of the receipts, memorize the rmr so that we know what are the rmr that have been published in the blocks and we can pick the correct receipt to get linked receipt point later.

*note: the block structure should have already has the receipts fields.

need #255 to be finished first, since we need to take look at the receipt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    COREcore functionalitiesFEATURENew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions