diff options
| author | Pieter Wuille <[email protected]> | 2018-06-17 16:28:04 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2018-06-17 16:28:04 -0700 |
| commit | e6b9730c49da6a0219453dec8f4df351292e6e07 (patch) | |
| tree | 62548d5f7b1b681626de9b07d40a122a0548426b /src/script/ismine.h | |
| parent | Merge #13488: Docs: Improve readability of "Squashing commits" (diff) | |
| download | discoin-e6b9730c49da6a0219453dec8f4df351292e6e07.tar.xz discoin-e6b9730c49da6a0219453dec8f4df351292e6e07.zip | |
Do not expose invalidity from IsMine
Diffstat (limited to 'src/script/ismine.h')
| -rw-r--r-- | src/script/ismine.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/script/ismine.h b/src/script/ismine.h index a15768aec..4246da49f 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); |