forked from btcsuite/btcd
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement some BIP0023 getblocktemplate mutations.
This commit implements a portion of the mutations section of BIP0023. In particular, it adds the mutable, mintime, maxtime, and noncerange keys to the returned block template along with indicating support for the time, transactions/add, prevblock, and coinbase/append mutations. Also, the addition of the mintime and maxtime fields imply support for the time/decrement and time/increment mutations. Further, if the caller indicates the coinbasevalue capability, the coinbasetxn field will be omitted thereby implying support for the coinbase and generation mutations. Closes btcsuite#124.
- Loading branch information
Showing
1 changed file
with
49 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters