4
I've grabbed "Abe" and have started processing the blockchain into a database, but I can't really find documentation on what the various tables mean / are / contain.
Here's the list:
abe_lock
block
block_next
block_tx
block_txin
chain
chain_candidate
configvar
datadir
magic
orphan_block
policy
pubkey
tx
txin
txout
unlinked_txin
I can make some guesses, but documentation would be better. Can anyone explain what's in each of these, or point me to some documentation?
Thank you, if you can help!
Do you know how to parse the data content of tx-hash, after a MySQL query in python ? – pratiklodha – 2017-09-04T16:31:16.890
I'm not sure I understand your question... There is no information you can get out of the tx hash itself, it's merely a unique 32bytes cryptographic hash that identifies this transaction. If your storage engine is configured to use the binary format, you can get a readable hash with
SELECT HEX(tx_hash) .... The actual TX informations is contained within all txin's txin_scriptSig and txout's txout_scriptPubKey fields for the transaction, if enabled. Those may be binary too, and are parseable according to Bitcoin's own pseudo language specifications. – Thomas Guyot-Sionnest – 2017-09-06T05:16:54.513