def create_block(self): """Creates a candidate transaction block. Returns: A new PoET transaction block on success, None on failure """ return poet_transaction_block.PoetTransactionBlock()
def create_block(self): """Creates a candidate transaction block. Args: Returns: None """ return poet_transaction_block.PoetTransactionBlock()
def create_block(self, pub_key): """Creates a candidate transaction block. Args: pub_key: public key corresponding to the private key used to sign the block Returns: new transaction block. """ minfo = {"PublicKey": pub_key} return poet_transaction_block.PoetTransactionBlock(minfo)