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
These objects in JSON contain a poorly-named field prevout which is the REVEAL's actual outpoint. However, this object does not contain the actual prevout being spent in the linked input, i.e. the corresponding BID. This would be trivial to add to the BidReveal object, serialize and store in the txdb and it would give hsd users enough data to connect BIDs and REVEALs.
Bob Wallet does this in the UI but relies on --tx-index to retrieve the parent transaction for every BID and REVEAL, look up the outpoint and get the address. Then it attempts to link BIDs and REVEALs by matching addresses. This, of course, is not a garuntee because there could be multiple BID/REVEAL pairs using the same address! The best method is to link by actual prevout in the REVEAL.
The text was updated successfully, but these errors were encountered:
It is possible to use the wallet tx index to link our own bids and reveals, but not other users. In Palm Reader, the table looks a bit confusing for now:
When the wallet encounters a REVEAL for a name it is watching, it saves it as a specific object in a specific bucket in the txdb:
BidReveal
This object is indexed by its outpoint, and contains these data:
hsd/lib/wallet/txdb.js
Lines 3984 to 3988 in 35ea46d
Saving a
BidReveal
for a non-wallet REVEAL:hsd/lib/wallet/txdb.js
Lines 2005 to 2014 in 35ea46d
NOT storing the entire transaction for a non-wallet REVEAL:
hsd/lib/wallet/txdb.js
Lines 1044 to 1047 in 35ea46d
These objects in JSON contain a poorly-named field
prevout
which is the REVEAL's actual outpoint. However, this object does not contain the actual prevout being spent in the linked input, i.e. the corresponding BID. This would be trivial to add to theBidReveal
object, serialize and store in the txdb and it would give hsd users enough data to connect BIDs and REVEALs.Bob Wallet does this in the UI but relies on
--tx-index
to retrieve the parent transaction for every BID and REVEAL, look up the outpoint and get the address. Then it attempts to link BIDs and REVEALs by matching addresses. This, of course, is not a garuntee because there could be multiple BID/REVEAL pairs using the same address! The best method is to link by actualprevout
in the REVEAL.The text was updated successfully, but these errors were encountered: