Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,343 Lines • ▼ Show 20 Lines | public: | ||||
* Submit the transaction to the node's mempool and then relay to peers. | * Submit the transaction to the node's mempool and then relay to peers. | ||||
* Should be called after CreateTransaction unless you want to abort | * Should be called after CreateTransaction unless you want to abort | ||||
* broadcasting the transaction. | * broadcasting the transaction. | ||||
* | * | ||||
* @param tx[in] The transaction to be broadcast. | * @param tx[in] The transaction to be broadcast. | ||||
* @param mapValue[in] key-values to be set on the transaction. | * @param mapValue[in] key-values to be set on the transaction. | ||||
* @param orderForm[in] BIP 70 / BIP 21 order form details to be set on the | * @param orderForm[in] BIP 70 / BIP 21 order form details to be set on the | ||||
* transaction. | * transaction. | ||||
* @param state[in,out] TxValidationState object returning information about | |||||
* whether the transaction was accepted | |||||
*/ | */ | ||||
void CommitTransaction( | void CommitTransaction( | ||||
CTransactionRef tx, mapValue_t mapValue, | CTransactionRef tx, mapValue_t mapValue, | ||||
std::vector<std::pair<std::string, std::string>> orderForm, | std::vector<std::pair<std::string, std::string>> orderForm); | ||||
TxValidationState &state); | |||||
bool DummySignTx(CMutableTransaction &txNew, const std::set<CTxOut> &txouts, | bool DummySignTx(CMutableTransaction &txNew, const std::set<CTxOut> &txouts, | ||||
bool use_max_sig = false) const { | bool use_max_sig = false) const { | ||||
std::vector<CTxOut> v_txouts(txouts.size()); | std::vector<CTxOut> v_txouts(txouts.size()); | ||||
std::copy(txouts.begin(), txouts.end(), v_txouts.begin()); | std::copy(txouts.begin(), txouts.end(), v_txouts.begin()); | ||||
return DummySignTx(txNew, v_txouts, use_max_sig); | return DummySignTx(txNew, v_txouts, use_max_sig); | ||||
} | } | ||||
bool DummySignTx(CMutableTransaction &txNew, | bool DummySignTx(CMutableTransaction &txNew, | ||||
▲ Show 20 Lines • Show All 392 Lines • Show Last 20 Lines |