behavior of getblocktemplate regarding segwit
Author: BrannonKingCreated Jul 30, 2021Updated Jul 6, 2026
It seems that the present implementation of getblocktemplate ignores the "rules" input completely. How does that affect its output? Does it produce segwit'd output if segwit is active, regardless of the rules? Should it return an error if there is no segwit rule passed in but segwit is active?
Source: btcsuite/btcd