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
{{ message }}
Repository navigation
getrawtransaction fails only on transaction in genesis block #133
getrawtransaction e0028eb9648db56b1ac77cf090b99048a8007e2bb64b68f092c03c7f56a662c7 returns with "No information available".
I ran with txindex=1 and -reindex, so far all other transactions seem to be available. Before I start to sync with a completely new data folder from network, is this happening to others too or is this just an error on my end that I need to debug further? I use v0.11.0.13-g90ad641-beta, seems to be the latest version at the moment.
Anyways, as far as I understand it, while the merkle root in the genesis block of course can be used to calculate a theoretical TXID, the value in the genesis merkle root actually is not pointing to any valid transaction at all for bootstrapping reasons. Right? The I'll just mask out this specific "TXID" and move on...
Activity
schinzelh commentedon Jan 24, 2015
e0028eb9648db56b1ac77cf090b99048a8007e2bb64b68f092c03c7f56a662c7 is the coinbase transaction of the genesis block, which does not exist by design
So the error message should be read as
{'message': 'Genesis block coinbase transaction is not indexed-- yes, that is weird. No, we are not going to change that.', 'code': -5}
See also bitcoin#3303
MarkusTeufelberger commentedon Jan 25, 2015
http://explorer.darkcoin.io/block/00000ffd590b1485b3caadc19b22e6379c733355108f107a430458cdf3407ab6 seems to have been able to retrieve + decode (?!) this transaction:
http://explorer.darkcoin.io/tx/e0028eb9648db56b1ac77cf090b99048a8007e2bb64b68f092c03c7f56a662c7
Anyways, as far as I understand it, while the merkle root in the genesis block of course can be used to calculate a theoretical TXID, the value in the genesis merkle root actually is not pointing to any valid transaction at all for bootstrapping reasons. Right? The I'll just mask out this specific "TXID" and move on...
schinzelh commentedon Jan 25, 2015
explorer is only able to decode it because the tx is hardcoded in the abe code - it bypasses 'getrawtransaction' that way.
https://github.com/bitcoin-abe/bitcoin-abe/blob/master/Abe/genesis_tx.py#L52-L54
""
Given the hexadecimal hash of the genesis transaction (as shown
by, e.g., "bitcoind getblock 0") return the hexadecimal raw
transaction. This works around a Bitcoind limitation described at
https://bitcointalk.org/index.php?topic=119530.0
""
My understanding of the genesis block bootstrapping matches yours.
Squashed 'src/dashbls/' changes from 6169ee9c91..dbd61e6a4e