MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / createTransaction

Method createTransaction

src/wallet/interfaces.cpp:260–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258 return m_wallet->ListLockedCoins(outputs);
259 }
260 util::Result<wallet::CreatedTransactionResult> createTransaction(const std::vector<CRecipient>& recipients,
261 const CCoinControl& coin_control,
262 bool sign,
263 std::optional<unsigned int> change_pos) override
264 {
265 LOCK(m_wallet->cs_wallet);
266 return CreateTransaction(*m_wallet, recipients, change_pos, coin_control, sign);
267 }
268 void commitTransaction(CTransactionRef tx,
269 WalletValueMap value_map,
270 WalletOrderForm order_form) override

Callers 1

prepareTransactionMethod · 0.80

Calls 1

CreateTransactionFunction · 0.85

Tested by

no test coverage detected