forex.pm forex forum binary options trade

 Сryptocurrency exchanges => Binance - Сryptocurrency exchanges => Topic started by: Bitcoin on May 03, 2022, 04:48 am

Title: Parsing bitcoin blockchain, get input (vin)
Post by: Bitcoin on May 03, 2022, 04:48 am
Parsing bitcoin blockchain, get input (vin)

I downloaded the bitcoin blockchain. I have a full node and I would like to do some parsing. I use RPC to send commands to bitcoin core from my Python program. When I get a block it works fine but the input is missing. I am forced to look for the associated transaction to "discover" the address and the value. For the output no problem, it's a known problem; the problem is that making an extra request for each input slows down my program a lot, for the moment I haven't found a solution so I'm relying on you a bit.


I tried to find a solution on the UTXO side with the gettxout command but I have to think again, not sure it does what I want.


My goal is to get a result like the one of blockchain.info. Addresses don't interest me, the HEX script is enough, the input address, the output address, and the associated value.


Source: Parsing bitcoin blockchain, get input (vin) (https://bitcoin.stackexchange.com/questions/113521/parsing-bitcoin-blockchain-get-input-vin)