#include <base58.h>
#include <chain.h>
#include <coins.h>
#include <consensus/amount.h>
#include <consensus/validation.h>
#include <core_io.h>
#include <index/txindex.h>
#include <key_io.h>
#include <node/blockstorage.h>
#include <node/coin.h>
#include <node/context.h>
#include <node/psbt.h>
#include <node/transaction.h>
#include <node/types.h>
#include <policy/packages.h>
#include <policy/policy.h>
#include <policy/rbf.h>
#include <primitives/transaction.h>
#include <psbt.h>
#include <random.h>
#include <rpc/blockchain.h>
#include <rpc/rawtransaction_util.h>
#include <rpc/server.h>
#include <rpc/server_util.h>
#include <rpc/util.h>
#include <script/script.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <script/solver.h>
#include <uint256.h>
#include <undo.h>
#include <util/bip32.h>
#include <util/check.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/vector.h>
#include <validation.h>
#include <validationinterface.h>
#include <cstdint>
#include <numeric>
#include <univalue.h>
Go to the source code of this file.
|
| static void | TxToJSON (const CTransaction &tx, const uint256 hashBlock, UniValue &entry, Chainstate &active_chainstate, const CTxUndo *txundo=nullptr, TxVerbosity verbosity=TxVerbosity::SHOW_DETAILS) |
| static std::vector< RPCArg > | CreateTxDoc () |
| PartiallySignedTransaction | ProcessPSBT (const std::string &psbt_string, const std::any &context, const HidingSigningProvider &provider, std::optional< int > sighash_type, bool finalize) |
| static RPCHelpMan | getrawtransaction () |
| static RPCHelpMan | createrawtransaction () |
| static RPCHelpMan | decoderawtransaction () |
| static RPCHelpMan | decodescript () |
| static RPCHelpMan | combinerawtransaction () |
| static RPCHelpMan | signrawtransactionwithkey () |
| static RPCHelpMan | decodepsbt () |
| static RPCHelpMan | combinepsbt () |
| static RPCHelpMan | finalizepsbt () |
| static RPCHelpMan | createpsbt () |
| static RPCHelpMan | converttopsbt () |
| static RPCHelpMan | utxoupdatepsbt () |
| static RPCHelpMan | joinpsbts () |
| static RPCHelpMan | analyzepsbt () |
| RPCHelpMan | descriptorprocesspsbt () |
| void | RegisterRawTransactionRPCCommands (CRPCTable &t) |
| PSBTAnalysis | AnalyzePSBT (PartiallySignedTransaction psbtx) |
| | Provides helpful miscellaneous information about where a PSBT is in the signing workflow.
|
| void | FindCoins (const node::NodeContext &node, std::map< COutPoint, Coin > &coins) |
| | Look up unspent output information.
|
| CTransactionRef | GetTransaction (const CBlockIndex *block_index, const CTxMemPool *mempool, const Txid &hash, const BlockManager &blockman, uint256 &hashBlock) |
| | Return transaction with a given hash.
|
◆ AnalyzePSBT()
Provides helpful miscellaneous information about where a PSBT is in the signing workflow.
- Parameters
-
| [in] | psbtx | the PSBT to analyze |
- Returns
- A PSBTAnalysis with information about the provided PSBT.
Definition at line 16 of file psbt.cpp.
◆ analyzepsbt()
◆ combinepsbt()
◆ combinerawtransaction()
◆ converttopsbt()
◆ createpsbt()
◆ createrawtransaction()
◆ CreateTxDoc()
| std::vector< RPCArg > CreateTxDoc |
( |
| ) |
|
|
static |
◆ decodepsbt()
◆ decoderawtransaction()
◆ decodescript()
◆ descriptorprocesspsbt()
◆ finalizepsbt()
◆ FindCoins()
Look up unspent output information.
Returns coins in the mempool and in the current chain UTXO set. Iterates through all the keys in the map and populates the values.
- Parameters
-
| [in] | node | The node context to use for lookup |
| [in,out] | coins | map to fill |
Definition at line 12 of file coin.cpp.
◆ getrawtransaction()
◆ GetTransaction()
Return transaction with a given hash.
If mempool is provided and block_index is not provided, check it first for the tx. If -txindex is available, check it next for the tx. Finally, if block_index is provided, check for tx by reading entire block from disk.
- Parameters
-
| [in] | block_index | The block to read from disk, or nullptr |
| [in] | mempool | If provided, check mempool for tx |
| [in] | hash | The txid |
| [in] | blockman | Used to access and read blocks from disk |
| [out] | hashBlock | The block hash, if the tx was found via -txindex or block_index |
- Returns
- The tx if found, otherwise nullptr
Definition at line 143 of file transaction.cpp.
◆ joinpsbts()
◆ ProcessPSBT()
◆ RegisterRawTransactionRPCCommands()
| void RegisterRawTransactionRPCCommands |
( |
CRPCTable & | t | ) |
|
◆ signrawtransactionwithkey()
◆ TxToJSON()
◆ utxoupdatepsbt()
◆ decodepsbt_inputs
◆ decodepsbt_outputs
◆ DEFAULT_RAWTX_VERSION