Dash Core  0.12.2.1
P2P Digital Currency
invalidblockrequest.InvalidBlockRequestTest Class Reference
+ Inheritance diagram for invalidblockrequest.InvalidBlockRequestTest:

Public Member Functions

def __init__ (self)
 
def run_test (self)
 
def get_tests (self)
 
- Public Member Functions inherited from test_framework.test_framework.ComparisonTestFramework
def __init__ (self)
 
def add_options (self, parser)
 
def setup_chain (self)
 
def setup_network (self)
 
- Public Member Functions inherited from test_framework.test_framework.BitcoinTestFramework
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
 
- Public Attributes inherited from test_framework.test_framework.ComparisonTestFramework
 num_nodes
 
 nodes
 
- Public Attributes inherited from test_framework.test_framework.BitcoinTestFramework
 nodes
 
 is_network_split
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def invalidblockrequest.InvalidBlockRequestTest.__init__ (   self)

Definition at line 28 of file invalidblockrequest.py.

Member Function Documentation

◆ get_tests()

def invalidblockrequest.InvalidBlockRequestTest.get_tests (   self)

Definition at line 40 of file invalidblockrequest.py.

◆ run_test()

def invalidblockrequest.InvalidBlockRequestTest.run_test (   self)

Member Data Documentation

◆ block1

invalidblockrequest.InvalidBlockRequestTest.block1

Definition at line 53 of file invalidblockrequest.py.

◆ block_time

◆ num_nodes

invalidblockrequest.InvalidBlockRequestTest.num_nodes

◆ tip


The documentation for this class was generated from the following file: