def __init__(self, branch: Branch, header_hash: bytes, nonce: int, mixhash: bytes, signature: bytes):
    self.branch = branch
    self.header_hash = header_hash
    self.nonce = nonce
    self.mixhash = mixhash
    self.signature = signature
def __init__(self, branch: Branch, header_hash: bytes, nonce: int, mixhash: bytes, signature: bytes):
    self.branch = branch
    self.header_hash = header_hash
    self.nonce = nonce
    self.mixhash = mixhash
    self.signature = signature