New answers tagged

3 votes

What is the data format layout for txindex LevelDB values?

You are confusing the VarInt and CompactSize encoding. CompactSize encoding (also confusingly referred to as "varint" outside Bitcoin Core) is used in the Bitcoin protocol. VarInt encoding ...
Antoine Poinsot's user avatar
1 vote
Accepted

Bitcoin API for getting an input script?

See https://developer.bitcoin.org/reference/rpc/getrawtransaction.html and note the comment about -txindex The description of the verbose result shows the unlocking script (scriptsig) for each input. ...
RedGrittyBrick's user avatar

Top 50 recent answers are included