def __init__(self, blockhash=0, transactions=None):
    self.blockhash = blockhash
    self.transactions = (transactions if (transactions is not None) else [])
def __init__(self, blockhash=0, transactions=None):
    self.blockhash = blockhash
    self.transactions = (transactions if (transactions is not None) else [])