diff options
author | Matt Corallo <git@bluematt.me> | 2015-04-23 21:42:49 -0700 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2015-07-20 16:01:38 -0700 |
commit | 6bdb474dc9dd34e1a5b13ce9494a936cba77e027 (patch) | |
tree | 9f48399117d4b22be76ac33b046437da77045615 /src/coincontrol.h | |
parent | f5813bdd3eb93a2a8d7ba01989eef5b299fcbca4 (diff) |
Implement watchonly support in fundrawtransaction
Some code and test cases stolen from
Bryan Bishop <bryan@ledgerx.com> (pull #5524).
Diffstat (limited to 'src/coincontrol.h')
-rw-r--r-- | src/coincontrol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/coincontrol.h b/src/coincontrol.h index 3e8de83c39..74d524c0a2 100644 --- a/src/coincontrol.h +++ b/src/coincontrol.h @@ -14,6 +14,8 @@ public: CTxDestination destChange; //! If false, allows unselected inputs, but requires all selected inputs be used bool fAllowOtherInputs; + //! Includes watch only addresses which match the ISMINE_WATCH_PUBKEY criteria + bool fAllowWatchOnly; CCoinControl() { @@ -24,6 +26,7 @@ public: { destChange = CNoDestination(); fAllowOtherInputs = false; + fAllowWatchOnly = false; setSelected.clear(); } |