aboutsummaryrefslogtreecommitdiff
path: root/src/script/ismine.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-06-17 16:28:04 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-06-17 16:28:04 -0700
commite6b9730c49da6a0219453dec8f4df351292e6e07 (patch)
tree62548d5f7b1b681626de9b07d40a122a0548426b /src/script/ismine.h
parentd6cf4bd7eb3b675cdffec9884a6033f41033ad82 (diff)
Do not expose invalidity from IsMine
Diffstat (limited to 'src/script/ismine.h')
-rw-r--r--src/script/ismine.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/script/ismine.h b/src/script/ismine.h
index a15768aecb..4246da49fe 100644
--- a/src/script/ismine.h
+++ b/src/script/ismine.h
@@ -24,12 +24,6 @@ enum isminetype
/** used for bitflags of isminetype */
typedef uint8_t isminefilter;
-/* isInvalid becomes true when the script is found invalid by consensus or policy. This will terminate the recursion
- * and return ISMINE_NO immediately, as an invalid script should never be considered as "mine". This is needed as
- * different SIGVERSION may have different network rules. Currently the only use of isInvalid is indicate uncompressed
- * keys in SigVersion::WITNESS_V0 script, but could also be used in similar cases in the future
- */
-isminetype IsMine(const CKeyStore& keystore, const CScript& scriptPubKey, bool& isInvalid);
isminetype IsMine(const CKeyStore& keystore, const CScript& scriptPubKey);
isminetype IsMine(const CKeyStore& keystore, const CTxDestination& dest);