Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coinbase transaction output scriptPubKey formate ? #881

Open
changliang0931 opened this issue Dec 24, 2020 · 1 comment
Open

coinbase transaction output scriptPubKey formate ? #881

changliang0931 opened this issue Dec 24, 2020 · 1 comment

Comments

@changliang0931
Copy link

{
"txid": "00a98b0e581e3e8324b43de13f19a758b43b9e71a256b6a3f094245f71971959",
"hash": "41969d82d8d65d981c1af373ec8043ae3087b7f5ed6c11ea977cf9b632a48722",
"version": 2,
"size": 148,
"vsize": 121,
"weight": 484,
"locktime": 0,
"vin": [
{
"coinbase": "03d7920b00",
"sequence": 4294967295
}
],
"vout": [
{
"value": 0.00000000,
"n": 0,
"scriptPubKey": {
"asm": "",
"hex": "",
"type": "nonstandard"
}
},
{
"value": 0.00000000,
"n": 1,
"scriptPubKey": {
"asm": "OP_RETURN aa21a9ed4499a2706e5556ad282efa18382720a24a3fd87dbc7cb5676b7ee25a094a552e",
"hex": "6a24aa21a9ed4499a2706e5556ad282efa18382720a24a3fd87dbc7cb5676b7ee25a094a552e",
"type": "nulldata"
}
}
],
"hex": "020000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff0503d7920b00ffffffff020000000000000000000000000000000000266a24aa21a9ed4499a2706e5556ad282efa18382720a24a3fd87dbc7cb5676b7ee25a094a552e0120000000000000000000000000000000000000000000000000000000000000000000000000"
}

6a 24aa21a9ed 4499a2706e5556ad282efa18382720a24a3fd87dbc7cb5676b7ee25a094a552e
4499a2706e5556ad282efa18382720a24a3fd87dbc7cb5676b7ee25a094a552e is pubkey ? or ...................

@JB395
Copy link
Contributor

JB395 commented Jan 20, 2021

The coinbase transaction is for proof-of-work blocks, and is not used after Qtum chain block 5,000. Starting with block 5001 the coinstake transaction conveys the subsidy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants