![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
Public Member Functions | |
def | setup_chain (self) |
def | setup_network (self, split=False) |
def | successful_signing_test (self) |
def | script_verification_error_test (self) |
def | run_test (self) |
![]() | |
def | run_test (self) |
def | add_options (self, parser) |
def | setup_chain (self) |
def | setup_nodes (self) |
def | setup_network (self, split=False) |
def | split_network (self) |
def | sync_all (self) |
def | join_network (self) |
def | main (self) |
Public Attributes | |
nodes | |
is_network_split | |
![]() | |
nodes | |
is_network_split | |
Tests transaction signing via RPC command "signrawtransaction".
Definition at line 10 of file signrawtransactions.py.
def signrawtransactions.SignRawTransactionsTest.run_test | ( | self | ) |
Definition at line 103 of file signrawtransactions.py.
Referenced by test_framework.test_framework.BitcoinTestFramework.main().
def signrawtransactions.SignRawTransactionsTest.script_verification_error_test | ( | self | ) |
Creates and signs a raw transaction with valid (vin 0), invalid (vin 1) and one missing (vin 2) input script. Expected results: 3) The transaction has no complete set of signatures 4) Two script verification errors occurred 5) Script verification errors have certain properties ("txid", "vout", "scriptSig", "sequence", "error") 6) The verification errors refer to the invalid (vin 1) and missing input (vin 2)
Definition at line 48 of file signrawtransactions.py.
Referenced by signrawtransactions.SignRawTransactionsTest.run_test().
def signrawtransactions.SignRawTransactionsTest.setup_chain | ( | self | ) |
Definition at line 13 of file signrawtransactions.py.
Referenced by test_framework.test_framework.BitcoinTestFramework.main().
def signrawtransactions.SignRawTransactionsTest.setup_network | ( | self, | |
split = False |
|||
) |
Definition at line 17 of file signrawtransactions.py.
Referenced by test_framework.test_framework.BitcoinTestFramework.join_network(), test_framework.test_framework.BitcoinTestFramework.main(), and test_framework.test_framework.BitcoinTestFramework.split_network().
def signrawtransactions.SignRawTransactionsTest.successful_signing_test | ( | self | ) |
Creates and signs a valid raw transaction with one input. Expected results: 1) The transaction has a complete set of signatures 2) No script verification error occurred
Definition at line 21 of file signrawtransactions.py.
Referenced by signrawtransactions.SignRawTransactionsTest.run_test().
signrawtransactions.SignRawTransactionsTest.is_network_split |
signrawtransactions.SignRawTransactionsTest.nodes |
Definition at line 18 of file signrawtransactions.py.
Referenced by walletbackup.WalletBackupTest.do_one_round(), invalidtxrequest.InvalidTxRequestTest.get_tests(), invalidblockrequest.InvalidBlockRequestTest.get_tests(), test_framework.test_framework.BitcoinTestFramework.join_network(), test_framework.test_framework.BitcoinTestFramework.main(), walletbackup.WalletBackupTest.one_send(), listtransactions.ListTransactionsTest.run_rbf_opt_in_test(), getchaintips.GetChainTipsTest.run_test(), nodehandling.NodeHandlingTest.run_test(), txn_clone.TxnMallTest.run_test(), txn_doublespend.TxnMallTest.run_test(), zapwallettxes.ZapWalletTXesTest.run_test(), wallet-hd.WalletHDTest.run_test(), invalidtxrequest.InvalidTxRequestTest.run_test(), httpbasics.HTTPBasicsTest.run_test(), listtransactions.ListTransactionsTest.run_test(), getblocktemplate_longpoll.GetBlockTemplateLPTest.run_test(), invalidblockrequest.InvalidBlockRequestTest.run_test(), test_framework.test_framework.BitcoinTestFramework.run_test(), receivedby.ReceivedByTest.run_test(), wallet.WalletTest.run_test(), multi_rpc.HTTPBasicsTest.run_test(), timestampindex.TimestampIndexTest.run_test(), spentindex.SpentIndexTest.run_test(), txindex.TxIndexTest.run_test(), zmq_test.ZMQTest.run_test(), p2p-fullblocktest.FullBlockTest.run_test(), getblocktemplate_proposals.GetBlockTemplateProposalTest.run_test(), walletbackup.WalletBackupTest.run_test(), proxy_test.ProxyTest.run_test(), signrawtransactions.SignRawTransactionsTest.script_verification_error_test(), test_framework.test_framework.BitcoinTestFramework.split_network(), walletbackup.WalletBackupTest.start_three(), walletbackup.WalletBackupTest.stop_three(), signrawtransactions.SignRawTransactionsTest.successful_signing_test(), test_framework.test_framework.BitcoinTestFramework.sync_all(), and smartfees.EstimateFeeTest.transact_and_mine().