Better docs for getblocktemplate #306

Open
opened 11 months ago by duke · 1 comments
duke commented 11 months ago
Owner

The rpc docs for getblocktemplate have no details for what is inside the coinbasetxn key of the output, which looks like this :

  "coinbasetxn": {
    "data": "0400008085202f89010000000000000000000000000000000000000000000000000000000000000000ffffffff050320651500
ffffffff02d088c31000000000232102710a0e48c8504c6dec3ac22286c59dd685d333175fa6180ec8c5627de0e986d4ac50d6dc01000000001
976a9145eb10cf64f2bab1b457f1f25e658526155928fac88acf8029364000000000000000000000000000000",
    "hash": "cbb9b9116d7c643f8e49a66d7ad01aeee568725b296fbe878d6d16a16344b26f",
    "depends": [
    ],
    "fee": 0,
    "sigops": 2,
    "foundersreward": 31250000,
    "coinbasevalue": 281250000,
    "required": true
  },
The rpc docs for getblocktemplate have no details for what is inside the `coinbasetxn` key of the output, which looks like this : ``` "coinbasetxn": { "data": "0400008085202f89010000000000000000000000000000000000000000000000000000000000000000ffffffff050320651500 ffffffff02d088c31000000000232102710a0e48c8504c6dec3ac22286c59dd685d333175fa6180ec8c5627de0e986d4ac50d6dc01000000001 976a9145eb10cf64f2bab1b457f1f25e658526155928fac88acf8029364000000000000000000000000000000", "hash": "cbb9b9116d7c643f8e49a66d7ad01aeee568725b296fbe878d6d16a16344b26f", "depends": [ ], "fee": 0, "sigops": 2, "foundersreward": 31250000, "coinbasevalue": 281250000, "required": true }, ```
duke added the
beginners
documentation
bug
labels 11 months ago
Poster
Owner

The danger branch adds 2 more keys to the output :

foundersrewardaddress and foundersrewardscriptpub

The danger branch adds 2 more keys to the output : `foundersrewardaddress` and `foundersrewardscriptpub`
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.