Make IsMine stop distinguishing solvable/unsolvable

This commit is contained in:
Pieter Wuille
2018-05-01 12:19:47 -07:00
parent 6d714c3419
commit 4e91820531
2 changed files with 14 additions and 16 deletions

View File

@@ -17,12 +17,8 @@ class CScript;
enum isminetype
{
ISMINE_NO = 0,
//! Indicates that we don't know how to create a scriptSig that would solve this if we were given the appropriate private keys
ISMINE_WATCH_UNSOLVABLE = 1,
//! Indicates that we know how to create a scriptSig that would solve this if we were given the appropriate private keys
ISMINE_WATCH_SOLVABLE = 2,
ISMINE_WATCH_ONLY = ISMINE_WATCH_SOLVABLE | ISMINE_WATCH_UNSOLVABLE,
ISMINE_SPENDABLE = 4,
ISMINE_WATCH_ONLY = 1,
ISMINE_SPENDABLE = 2,
ISMINE_ALL = ISMINE_WATCH_ONLY | ISMINE_SPENDABLE
};
/** used for bitflags of isminetype */