|
|
|
@ -18,8 +18,9 @@
|
|
|
|
|
#include <wallet/feebumper.h>
|
|
|
|
|
#include <wallet/fees.h>
|
|
|
|
|
#include <wallet/ismine.h>
|
|
|
|
|
#include <wallet/rpcwallet.h>
|
|
|
|
|
#include <wallet/load.h>
|
|
|
|
|
#include <wallet/psbtwallet.h>
|
|
|
|
|
#include <wallet/rpcwallet.h>
|
|
|
|
|
#include <wallet/wallet.h>
|
|
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
@ -343,6 +344,14 @@ public:
|
|
|
|
|
}
|
|
|
|
|
return {};
|
|
|
|
|
}
|
|
|
|
|
TransactionError fillPSBT(PartiallySignedTransaction& psbtx,
|
|
|
|
|
bool& complete,
|
|
|
|
|
int sighash_type = 1 /* SIGHASH_ALL */,
|
|
|
|
|
bool sign = true,
|
|
|
|
|
bool bip32derivs = false) override
|
|
|
|
|
{
|
|
|
|
|
return FillPSBT(m_wallet.get(), psbtx, complete, sighash_type, sign, bip32derivs);
|
|
|
|
|
}
|
|
|
|
|
WalletBalances getBalances() override
|
|
|
|
|
{
|
|
|
|
|
const auto bal = m_wallet->GetBalance();
|
|
|
|
|