The remaining isminetypes are ISMINE_SPENDABLE
and ISMINE_USED
.
ISMINE_USED
is only used as a filter for caching balances and is never actually returned from IsMine
. Since we do still want this behavior, This PR changes the caching to utilize bools and explicit members variables to account for the avoid_reuse case. This allows us to remove ISMINE_USED
.
ISMINE_SPENDABLE
and ISMINE_NO
are the only things that are returned by IsMine
. This is a bool, so it can be replaced as such.
After removing ISMINE_USED
and ISMINE_SPENDABLE
, we are able to remove isminetypes altogether.