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
Hi, I've seemingly discovered a bug in SLPDB.
When doing an NFT child genesis SLPDB does not check for parent token burns until a new block arrives.
This results in the queries to SlpServe to return stale results about parent token amounts and lead to a double spend attempts.
On my regtest node I do following:
Create a parent token with the quantity 1
Ask slpdb about the parent token to prepare the input
Create child token by spending the parent token as BCH
Ask slpdb about the parent token to check it was burned
Steps 2 and 4 yield the same result from graph database. Unless there is a block mined between 3. and 4, then I see burnSearch-xxx in the SLPDB logs and graphItemsUpsert updates the graph db.
pat.
The text was updated successfully, but these errors were encountered:
Hi, I've seemingly discovered a bug in SLPDB.
When doing an NFT child genesis SLPDB does not check for parent token burns until a new block arrives.
This results in the queries to SlpServe to return stale results about parent token amounts and lead to a double spend attempts.
On my regtest node I do following:
Steps 2 and 4 yield the same result from graph database. Unless there is a block mined between 3. and 4, then I see
burnSearch
-xxx in the SLPDB logs andgraphItemsUpsert
updates the graph db.pat.
The text was updated successfully, but these errors were encountered: