HomePhabricator

RPC: getblocktemplate does not require a key, to create a block template
7bb0f6c5e89aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

RPC: getblocktemplate does not require a key, to create a block template

getblocktemplate only uses certain portions of the coinbase transaction,
notably ignoring the coinbase TX output entirely.

Use CreateNewBlock() rather than CreateNewBlockWithKey(), eliminating
the needless key passing.

Should be zero behavior changes.

Details

Provenance
Jeff Garzik <jgarzik@bitpay.com>Authored on Aug 24 2013, 04:45
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING7e1701899534: CreateNewBlock() now takes scriptPubKey argument, rather than a key.
Branches
Unknown
Tags
Unknown

Event Timeline