![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
Public Member Functions | |
def | __init__ (self) |
def | run_test (self) |
def | add_transactions_to_block (self, block, tx_list) |
def | next_block (self, number, spend=None, additional_coinbase_value=0, script=None) |
def | get_tests (self) |
![]() | |
def | __init__ (self) |
def | add_options (self, parser) |
def | setup_chain (self) |
def | setup_network (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 | |
num_nodes | |
block_heights | |
coinbase_key | |
coinbase_pubkey | |
block_time | |
tip | |
blocks | |
genesis_hash | |
![]() | |
num_nodes | |
nodes | |
![]() | |
nodes | |
is_network_split | |
Can either run this test as 1 node with expected answers, or two and compare them. Change the "outcome" variable from each TestInstance object to only do the comparison.
Definition at line 29 of file p2p-fullblocktest.py.
def p2p-fullblocktest.FullBlockTest.__init__ | ( | self | ) |
Definition at line 33 of file p2p-fullblocktest.py.
def p2p-fullblocktest.FullBlockTest.add_transactions_to_block | ( | self, | |
block, | |||
tx_list | |||
) |
Definition at line 50 of file p2p-fullblocktest.py.
Referenced by p2p-fullblocktest.FullBlockTest.next_block().
def p2p-fullblocktest.FullBlockTest.get_tests | ( | self | ) |
Definition at line 104 of file p2p-fullblocktest.py.
def p2p-fullblocktest.FullBlockTest.next_block | ( | self, | |
number, | |||
spend = None , |
|||
additional_coinbase_value = 0 , |
|||
script = None |
|||
) |
Definition at line 60 of file p2p-fullblocktest.py.
def p2p-fullblocktest.FullBlockTest.run_test | ( | self | ) |
Definition at line 43 of file p2p-fullblocktest.py.
Referenced by test_framework.test_framework.BitcoinTestFramework.main().
p2p-fullblocktest.FullBlockTest.block_heights |
Definition at line 35 of file p2p-fullblocktest.py.
Referenced by p2p-fullblocktest.FullBlockTest.next_block().
p2p-fullblocktest.FullBlockTest.block_time |
Definition at line 39 of file p2p-fullblocktest.py.
Referenced by p2p-fullblocktest.FullBlockTest.next_block().
p2p-fullblocktest.FullBlockTest.blocks |
Definition at line 41 of file p2p-fullblocktest.py.
Referenced by p2p-fullblocktest.FullBlockTest.next_block().
p2p-fullblocktest.FullBlockTest.coinbase_key |
Definition at line 36 of file p2p-fullblocktest.py.
Referenced by p2p-fullblocktest.FullBlockTest.next_block().
p2p-fullblocktest.FullBlockTest.coinbase_pubkey |
Definition at line 38 of file p2p-fullblocktest.py.
Referenced by p2p-fullblocktest.FullBlockTest.next_block().
p2p-fullblocktest.FullBlockTest.genesis_hash |
Definition at line 105 of file p2p-fullblocktest.py.
Referenced by p2p-fullblocktest.FullBlockTest.next_block().
p2p-fullblocktest.FullBlockTest.num_nodes |
Definition at line 34 of file p2p-fullblocktest.py.
Referenced by test_framework.test_framework.ComparisonTestFramework.setup_chain().
p2p-fullblocktest.FullBlockTest.tip |
Definition at line 40 of file p2p-fullblocktest.py.
Referenced by p2p-fullblocktest.FullBlockTest.next_block().