def __init__(self, *args, **kwargs): Node.__init__(self, *args, **kwargs) TestNodeCore.__init__(self, *args, **kwargs) # Balances of all client self.balances = {} # type: Dict[str, int] # Txns of all clients, each txn is a tuple like (from, to, amount) self.txns = [] # type: List[Tuple]
def __init__(self, *args, **kwargs): from plenum.common.stacks import nodeStackClass, clientStackClass self.NodeStackClass = nodeStackClass self.ClientStackClass = clientStackClass Node.__init__(self, *args, **kwargs) TestNodeCore.__init__(self, *args, **kwargs) # Balances of all client self.balances = {} # type: Dict[str, int] # Txns of all clients, each txn is a tuple like (from, to, amount) self.txns = [] # type: List[Tuple]
def __init__(self, *args, **kwargs): from plenum.common.stacks import nodeStackClass, clientStackClass self.NodeStackClass = nodeStackClass self.ClientStackClass = clientStackClass Node.__init__(self, *args, **kwargs) TestNodeCore.__init__(self, *args, **kwargs) # Balances of all client self.balances = {} # type: Dict[str, int] # Txns of all clients, each txn is a tuple like (from, to, amount) self.txns = [] # type: List[Tuple]
def __init__(self, *args, **kwargs): from plenum.common.stacks import nodeStackClass, clientStackClass self.NodeStackClass = nodeStackClass self.ClientStackClass = clientStackClass Node.__init__(self, *args, **kwargs, bootstrap_cls=TestNodeBootstrap) self.view_changer = create_view_changer(self, TestViewChanger) TestNodeCore.__init__(self, *args, **kwargs) # Balances of all client self.balances = {} # type: Dict[str, int] # Txns of all clients, each txn is a tuple like (from, to, amount) self.txns = [] # type: List[Tuple]
def __init__(self, *args, **kwargs): Node.__init__(self, *args, **kwargs) TestNodeCore.__init__(self)
def __init__(self, *args, **kwargs): Node.__init__(self, *args, **kwargs) TestNodeCore.__init__(self)