def __init__(self, branch, minor_block_hash=None, height=0, need_extra_info=False):
    self.branch = branch
    self.minor_block_hash = (minor_block_hash if minor_block_hash else bytes(32))
    self.height = height
    self.need_extra_info = need_extra_info
def __init__(self, branch, minor_block_hash=None, height=0, need_extra_info=False):
    self.branch = branch
    self.minor_block_hash = (minor_block_hash if minor_block_hash else bytes(32))
    self.height = height
    self.need_extra_info = need_extra_info