Fix Komodo interest when z_sendmany uses builder. Sapling spend of time locked coinbases. Cheat catcher

This commit is contained in:
miketout
2018-10-29 01:38:07 -07:00
parent a8a4e37b5f
commit 90cc70ccb4
7 changed files with 39 additions and 10 deletions

View File

@@ -92,7 +92,7 @@ public:
std::array<unsigned char, ZC_MEMO_SIZE> memo = {{0}});
// Assumes that the value correctly corresponds to the provided UTXO.
void AddTransparentInput(COutPoint utxo, CScript scriptPubKey, CAmount value);
void AddTransparentInput(COutPoint utxo, CScript scriptPubKey, CAmount value, uint32_t nSequence = 0xffffffff);
bool AddTransparentOutput(CTxDestination& to, CAmount value);
@@ -104,6 +104,8 @@ public:
bool SendChangeTo(CTxDestination& changeAddr);
void SetLockTime(uint32_t time) { this->mtx.nLockTime = time; }
boost::optional<CTransaction> Build();
};