![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
Public Member Functions | |
def | __init__ (self) |
def | run_test (self) |
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 | |
tip | |
block_time | |
block1 | |
![]() | |
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 24 of file invalidblockrequest.py.
def invalidblockrequest.InvalidBlockRequestTest.__init__ | ( | self | ) |
Definition at line 28 of file invalidblockrequest.py.
def invalidblockrequest.InvalidBlockRequestTest.get_tests | ( | self | ) |
Definition at line 40 of file invalidblockrequest.py.
def invalidblockrequest.InvalidBlockRequestTest.run_test | ( | self | ) |
Definition at line 31 of file invalidblockrequest.py.
Referenced by test_framework.test_framework.BitcoinTestFramework.main().
invalidblockrequest.InvalidBlockRequestTest.block1 |
Definition at line 53 of file invalidblockrequest.py.
invalidblockrequest.InvalidBlockRequestTest.block_time |
Definition at line 35 of file invalidblockrequest.py.
Referenced by invalidtxrequest.InvalidTxRequestTest.get_tests(), invalidblockrequest.InvalidBlockRequestTest.get_tests(), and p2p-fullblocktest.FullBlockTest.next_block().
invalidblockrequest.InvalidBlockRequestTest.num_nodes |
Definition at line 29 of file invalidblockrequest.py.
Referenced by test_framework.test_framework.ComparisonTestFramework.setup_chain().
invalidblockrequest.InvalidBlockRequestTest.tip |
Definition at line 34 of file invalidblockrequest.py.
Referenced by invalidtxrequest.InvalidTxRequestTest.get_tests(), invalidblockrequest.InvalidBlockRequestTest.get_tests(), and p2p-fullblocktest.FullBlockTest.next_block().