![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include "base58.h"
#include "chain.h"
#include "coins.h"
#include "consensus/validation.h"
#include "core_io.h"
#include "init.h"
#include "keystore.h"
#include "validation.h"
#include "merkleblock.h"
#include "net.h"
#include "policy/policy.h"
#include "primitives/transaction.h"
#include "rpc/server.h"
#include "script/script.h"
#include "script/script_error.h"
#include "script/sign.h"
#include "script/standard.h"
#include "txmempool.h"
#include "uint256.h"
#include "utilstrencodings.h"
#include "instantx.h"
#include <stdint.h>
#include <boost/assign/list_of.hpp>
#include <univalue.h>
Go to the source code of this file.
Functions | |
void | ScriptPubKeyToJSON (const CScript &scriptPubKey, UniValue &out, bool fIncludeHex) |
void | TxToJSON (const CTransaction &tx, const uint256 hashBlock, UniValue &entry) |
UniValue | getrawtransaction (const UniValue ¶ms, bool fHelp) |
UniValue | gettxoutproof (const UniValue ¶ms, bool fHelp) |
UniValue | verifytxoutproof (const UniValue ¶ms, bool fHelp) |
UniValue | createrawtransaction (const UniValue ¶ms, bool fHelp) |
UniValue | decoderawtransaction (const UniValue ¶ms, bool fHelp) |
UniValue | decodescript (const UniValue ¶ms, bool fHelp) |
static void | TxInErrorToJSON (const CTxIn &txin, UniValue &vErrorsRet, const std::string &strMessage) |
UniValue | signrawtransaction (const UniValue ¶ms, bool fHelp) |
UniValue | sendrawtransaction (const UniValue ¶ms, bool fHelp) |
Definition at line 358 of file rawtransaction.cpp.
Referenced by listtransactions.ListTransactionsTest::run_rbf_opt_in_test(), abandonconflict.AbandonConflictTest::run_test(), txn_clone.TxnMallTest::run_test(), txn_doublespend.TxnMallTest::run_test(), fundrawtransaction.RawTransactionsTest::run_test(), mempool_limit.MempoolLimitTest::run_test(), fundrawtransaction-hd.RawTransactionsTest::run_test(), mempool_reorg.MempoolCoinbaseTest::run_test(), prioritise_transaction.PrioritiseTransactionTest::run_test(), merkle_blocks.MerkleBlockTest::run_test(), wallet.WalletTest::run_test(), rawtransactions.RawTransactionsTest::run_test(), mempool_packages.MempoolPackagesTest::run_test(), signrawtransactions.SignRawTransactionsTest::script_verification_error_test(), signrawtransactions.SignRawTransactionsTest::successful_signing_test(), and bip68-sequence.BIP68Test::test_version2_relay().
Definition at line 460 of file rawtransaction.cpp.
Referenced by decodescript.DecodeScriptTest::decoderawtransaction_asm_sighashtype(), wallet-hd.WalletHDTest::run_test(), fundrawtransaction-hd.RawTransactionsTest::run_test(), fundrawtransaction.RawTransactionsTest::run_test(), prioritise_transaction.PrioritiseTransactionTest::run_test(), wallet.WalletTest::run_test(), and rawtransactions.RawTransactionsTest::run_test().
Definition at line 526 of file rawtransaction.cpp.
Definition at line 144 of file rawtransaction.cpp.
Referenced by abandonconflict.AbandonConflictTest::run_test(), txn_clone.TxnMallTest::run_test(), wallet.WalletTest::run_test(), txindex.TxIndexTest::run_test(), spentindex.SpentIndexTest::run_test(), bip68-sequence.BIP68Test::test_bip68_not_consensus(), replace-by-fee.ReplaceByFeeTest::test_doublespend_tree(), bip68-sequence.BIP68Test::test_sequence_lock_unconfirmed_inputs(), and replace-by-fee.ReplaceByFeeTest::test_simple_doublespend().
Definition at line 235 of file rawtransaction.cpp.
Referenced by merkle_blocks.MerkleBlockTest::run_test().
Definition at line 40 of file rawtransaction.cpp.
Referenced by decodescript(), gettxout(), rest_getutxos(), and TxToJSON().
Definition at line 830 of file rawtransaction.cpp.
Referenced by listtransactions.ListTransactionsTest::run_rbf_opt_in_test(), abandonconflict.AbandonConflictTest::run_test(), txn_clone.TxnMallTest::run_test(), txn_doublespend.TxnMallTest::run_test(), mempool_resurrect_test.MempoolCoinbaseTest::run_test(), fundrawtransaction.RawTransactionsTest::run_test(), fundrawtransaction-hd.RawTransactionsTest::run_test(), mempool_limit.MempoolLimitTest::run_test(), mempool_reorg.MempoolCoinbaseTest::run_test(), mempool_spendcoinbase.MempoolSpendCoinbaseTest::run_test(), prioritise_transaction.PrioritiseTransactionTest::run_test(), merkle_blocks.MerkleBlockTest::run_test(), wallet.WalletTest::run_test(), rawtransactions.RawTransactionsTest::run_test(), addressindex.AddressIndexTest::run_test(), spentindex.SpentIndexTest::run_test(), txindex.TxIndexTest::run_test(), mempool_packages.MempoolPackagesTest::run_test(), bip68-sequence.BIP68Test::test_bip68_not_consensus(), bip68-sequence.BIP68Test::test_disable_flag(), replace-by-fee.ReplaceByFeeTest::test_doublespend_chain(), replace-by-fee.ReplaceByFeeTest::test_doublespend_tree(), replace-by-fee.ReplaceByFeeTest::test_new_unconfirmed_inputs(), replace-by-fee.ReplaceByFeeTest::test_opt_in(), replace-by-fee.ReplaceByFeeTest::test_prioritised_transactions(), replace-by-fee.ReplaceByFeeTest::test_replacement_feeperkb(), bip68-sequence.BIP68Test::test_sequence_lock_confirmed_inputs(), bip68-sequence.BIP68Test::test_sequence_lock_unconfirmed_inputs(), replace-by-fee.ReplaceByFeeTest::test_simple_doublespend(), replace-by-fee.ReplaceByFeeTest::test_spends_of_conflicting_outputs(), replace-by-fee.ReplaceByFeeTest::test_too_many_replacements(), and bip68-sequence.BIP68Test::test_version2_relay().
Definition at line 588 of file rawtransaction.cpp.
Referenced by listtransactions.ListTransactionsTest::run_rbf_opt_in_test(), abandonconflict.AbandonConflictTest::run_test(), txn_clone.TxnMallTest::run_test(), txn_doublespend.TxnMallTest::run_test(), fundrawtransaction.RawTransactionsTest::run_test(), fundrawtransaction-hd.RawTransactionsTest::run_test(), mempool_limit.MempoolLimitTest::run_test(), mempool_reorg.MempoolCoinbaseTest::run_test(), prioritise_transaction.PrioritiseTransactionTest::run_test(), merkle_blocks.MerkleBlockTest::run_test(), wallet.WalletTest::run_test(), rawtransactions.RawTransactionsTest::run_test(), txindex.TxIndexTest::run_test(), addressindex.AddressIndexTest::run_test(), spentindex.SpentIndexTest::run_test(), mempool_packages.MempoolPackagesTest::run_test(), signrawtransactions.SignRawTransactionsTest::script_verification_error_test(), signrawtransactions.SignRawTransactionsTest::successful_signing_test(), bip68-sequence.BIP68Test::test_bip68_not_consensus(), bip68-sequence.BIP68Test::test_disable_flag(), bip68-sequence.BIP68Test::test_sequence_lock_confirmed_inputs(), bip68-sequence.BIP68Test::test_sequence_lock_unconfirmed_inputs(), and bip68-sequence.BIP68Test::test_version2_relay().
|
static |
Pushes a JSON object for script verification or signing errors to vErrorsRet.
Definition at line 577 of file rawtransaction.cpp.
Referenced by signrawtransaction().
void TxToJSON | ( | const CTransaction & | tx, |
const uint256 | hashBlock, | ||
UniValue & | entry | ||
) |
Definition at line 64 of file rawtransaction.cpp.
Referenced by blockToJSON(), decoderawtransaction(), getrawtransaction(), and rest_tx().
Definition at line 321 of file rawtransaction.cpp.
Referenced by merkle_blocks.MerkleBlockTest::run_test().