You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
* #254 checkpoint: added badger db initialization code
* #254 checkpoint: added insert and get wrapper for badgerdb
* #254 checkpoint: inject KVDb to block core service
* #254 add new config for badger db path
* #254 add new blocker typefor duplicate data detection
* #254 add constant for block reminder receipt in kvdb
* #254 generate receipt code for transaction and block data broadcasting
* #254 kvdb integration for receipt
* #254 add badger db test
* #254 add testdata directory for database tests
* #254 exclude sync.noCopy rule from govet for test files
* #254 tests for generating block and transaction receipt
* #254 add expiration to inserted kvdb record
Uh oh!
There was an error while loading. Please reload this page.
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 referencedrmr
as criteria for picking receipts to publish when it's its turn to smith.Breakdown
receipts
published.rmr
so that we know what are thermr
that have been published in the blocks and we can pick the correct receipt to getlinked 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.
The text was updated successfully, but these errors were encountered: