prepare for sweep
This commit is contained in:
@@ -1109,8 +1109,12 @@ void* MONERO_Wallet_createTransaction(void* wallet_ptr, const char* dst_addr, co
|
||||
int pendingTransactionPriority,
|
||||
uint32_t subaddr_account) {
|
||||
Monero::Wallet *wallet = reinterpret_cast<Monero::Wallet*>(wallet_ptr);
|
||||
Monero::optional<uint64_t> optAmount;
|
||||
if (amount != 0) {
|
||||
optAmount = amount;
|
||||
}
|
||||
return wallet->createTransaction(std::string(dst_addr), std::string(payment_id),
|
||||
amount, mixin_count,
|
||||
optAmount, mixin_count,
|
||||
Monero::PendingTransaction::Priority_Low,
|
||||
subaddr_account /*, subaddr_indices */);
|
||||
}
|
||||
|
||||
@@ -573,7 +573,7 @@ uint64_t MONERO_Wallet_estimateBlockChainHeight(void* wallet_ptr);
|
||||
// virtual uint64_t daemonBlockChainHeight() const = 0;
|
||||
uint64_t MONERO_Wallet_daemonBlockChainHeight(void* wallet_ptr);
|
||||
uint64_t MONERO_Wallet_daemonBlockChainHeight_cached(void* wallet_ptr);
|
||||
bool MONERO_Wallet_daemonBlockChainHeight_enableRefresh(void* wallet_ptr, int seconds);
|
||||
void MONERO_Wallet_daemonBlockChainHeight_runThread(void* wallet_ptr, int seconds);
|
||||
// virtual uint64_t daemonBlockChainTargetHeight() const = 0;
|
||||
uint64_t MONERO_Wallet_daemonBlockChainTargetHeight(void* wallet_ptr);
|
||||
// virtual bool synchronized() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user