diff options
| author | Matt Corallo <[email protected]> | 2015-04-23 21:42:49 -0700 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2015-07-20 16:01:38 -0700 |
| commit | 6bdb474dc9dd34e1a5b13ce9494a936cba77e027 (patch) | |
| tree | 9f48399117d4b22be76ac33b046437da77045615 /src/coincontrol.h | |
| parent | Add logic to track pubkeys as watch-only, not just scripts (diff) | |
| download | discoin-6bdb474dc9dd34e1a5b13ce9494a936cba77e027.tar.xz discoin-6bdb474dc9dd34e1a5b13ce9494a936cba77e027.zip | |
Implement watchonly support in fundrawtransaction
Some code and test cases stolen from
Bryan Bishop <[email protected]> (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 3e8de83c3..74d524c0a 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(); } |