Dash Core  0.12.2.1
P2P Digital Currency
maxuploadtarget.TestNode Class Reference
+ Inheritance diagram for maxuploadtarget.TestNode:

Public Member Functions

def __init__ (self)
 
def add_connection (self, conn)
 
def on_inv (self, conn, message)
 
def on_getdata (self, conn, message)
 
def on_block (self, conn, message)
 
def wait_for_verack (self)
 
def wait_for_disconnect (self)
 
def send_message (self, message)
 
def on_pong (self, conn, message)
 
def on_close (self, conn)
 
def sync_with_ping (self, timeout=30)
 
- Public Member Functions inherited from test_framework.mininode.NodeConnCB
def __init__ (self)
 
def set_deliver_sleep_time (self, value)
 
def get_deliver_sleep_time (self)
 
def wait_for_verack (self)
 
def deliver (self, conn, message)
 
def on_version (self, conn, message)
 
def on_verack (self, conn, message)
 
def on_inv (self, conn, message)
 
def on_addr (self, conn, message)
 
def on_alert (self, conn, message)
 
def on_getdata (self, conn, message)
 
def on_getblocks (self, conn, message)
 
def on_tx (self, conn, message)
 
def on_block (self, conn, message)
 
def on_getaddr (self, conn, message)
 
def on_headers (self, conn, message)
 
def on_getheaders (self, conn, message)
 
def on_ping (self, conn, message)
 
def on_reject (self, conn, message)
 
def on_close (self, conn)
 
def on_mempool (self, conn)
 
def on_pong (self, conn, message)
 

Public Attributes

 connection
 
 ping_counter
 
 last_pong
 
 block_receive_map
 
 peer_disconnected
 
 last_getdata
 
- Public Attributes inherited from test_framework.mininode.NodeConnCB
 verack_received
 
 deliver_sleep_time
 

Detailed Description

Definition at line 24 of file maxuploadtarget.py.

Constructor & Destructor Documentation

◆ __init__()

def maxuploadtarget.TestNode.__init__ (   self)

Definition at line 25 of file maxuploadtarget.py.

Member Function Documentation

◆ add_connection()

def maxuploadtarget.TestNode.add_connection (   self,
  conn 
)

Definition at line 32 of file maxuploadtarget.py.

◆ on_block()

def maxuploadtarget.TestNode.on_block (   self,
  conn,
  message 
)

Definition at line 43 of file maxuploadtarget.py.

◆ on_close()

def maxuploadtarget.TestNode.on_close (   self,
  conn 
)

Definition at line 71 of file maxuploadtarget.py.

◆ on_getdata()

def maxuploadtarget.TestNode.on_getdata (   self,
  conn,
  message 
)

Definition at line 40 of file maxuploadtarget.py.

◆ on_inv()

def maxuploadtarget.TestNode.on_inv (   self,
  conn,
  message 
)

Definition at line 36 of file maxuploadtarget.py.

◆ on_pong()

def maxuploadtarget.TestNode.on_pong (   self,
  conn,
  message 
)

Definition at line 68 of file maxuploadtarget.py.

◆ send_message()

◆ sync_with_ping()

def maxuploadtarget.TestNode.sync_with_ping (   self,
  timeout = 30 
)

Definition at line 75 of file maxuploadtarget.py.

◆ wait_for_disconnect()

def maxuploadtarget.TestNode.wait_for_disconnect (   self)

Definition at line 59 of file maxuploadtarget.py.

◆ wait_for_verack()

def maxuploadtarget.TestNode.wait_for_verack (   self)

Definition at line 54 of file maxuploadtarget.py.

Referenced by test_framework.comptool.TestManager.run().

Member Data Documentation

◆ block_receive_map

maxuploadtarget.TestNode.block_receive_map

Definition at line 30 of file maxuploadtarget.py.

Referenced by maxuploadtarget.TestNode.on_block().

◆ connection

◆ last_getdata

maxuploadtarget.TestNode.last_getdata

◆ last_pong

◆ peer_disconnected

maxuploadtarget.TestNode.peer_disconnected

◆ ping_counter


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