wallet: Change IsLockedNote to take a JSOutPoint

This removes the uint64_t -> size_t -> uint64_t round trip, as well as the
JSOutPoint -> parts -> JSOutPoint round trip.
This commit is contained in:
Jack Grigg
2018-05-07 21:56:57 +01:00
parent daed9ba7cc
commit b87e271a9a
3 changed files with 10 additions and 11 deletions

View File

@@ -907,7 +907,7 @@ public:
void ListLockedCoins(std::vector<COutPoint>& vOutpts);
bool IsLockedNote(uint256 hash, size_t js, uint8_t n) const;
bool IsLockedNote(JSOutPoint& outpt) const;
void LockNote(JSOutPoint& output);
void UnlockNote(JSOutPoint& output);
void UnlockAllNotes();