def check_output_val_on_all_nodes(nodes, address, amount): for node in nodes: handler = get_handler_by_type_wm(node.write_manager, XferHandler) assert int(amount) in [ out.amount for out in handler.utxo_cache.get_unspent_outputs( address, is_committed=True) ]
def nym_handler(self): """ Get the NYM request handler of the first node. """ return get_handler_by_type_wm(self._nodes[0].write_manager, NymHandler)
def taa_aml_handler(write_manager): return get_handler_by_type_wm(write_manager, TxnAuthorAgreementAmlHandler)
def mint_handler(self): """ Get the xfer request handler of the first node. """ return get_handler_by_type_wm(self._nodes[0].write_manager, MintHandler)