def __init__(self,tx) : self.label = "Merkle Root :" self.isVarInt = False self.isRaw = True self.isReverse = True self.length = 32 self.value = tools.value(self,tx)
def __init__(self, tx): self.label = " Witness Size :" self.isVarInt = True self.isRaw = False self.length = 1 self.format = 'B' self.value = tools.value(self, tx)
def __init__(self, tx): self.label = "Previous Block Hash :" self.isVarInt = False self.isRaw = True self.isReverse = True self.length = 32 self.value = tools.value(self, tx)
def __init__(self, tx): self.label = " ScriptSig Size (bytes) :" self.isVarInt = True self.isRaw = False self.length = 1 self.format = 'B' self.value = tools.value(self, tx)
def __init__(self, tx): self.label = " Sequence :" self.isVarInt = False self.isRaw = False self.isReverse = True self.length = 4 self.format = '<I' # little-endian integer 4 bytes self.value = tools.value(self, tx)
def __init__(self, tx): self.label = "Version :" self.isVarInt = False self.isRaw = False self.isReverse = True self.length = 4 self.format = '<I' self.value = tools.value(self, tx)
def __init__(self,tx) : self.label = "Output Count :" self.isVarInt = True self.isRaw = False self.isReverse = False self.length = 1 self.format = 'B' self.value = tools.value(self,tx)
def __init__(self,tx) : self.label = "Segwit :" self.isVarInt = False self.isRaw = False self.isReverse = False self.length = 1 self.format = 'B' self.value = tools.value(self,tx)
def __init__(self, tx): self.label = " Value :" self.isVarInt = False self.isRaw = False self.isReverse = True self.length = 8 self.format = '<Q' # little-endian integer 8 bytes self.value = tools.value(self, tx)
def __init__(self, tx, parent): self.parent = weakref.ref( parent) # https://stackoverflow.com/a/10791613 self.label = " ScriptPubKey :" self.isVarInt = False self.isRaw = True self.isReverse = False self.length = parent.script_pubKey_size.value self.value = tools.value(self, tx)
def __init__(self, tx, parent): self.parent = weakref.ref( parent) # https://stackoverflow.com/a/10791613 self.label = " Witness Value :" self.isVarInt = False self.isRaw = True self.isReverse = False self.length = parent.witness_size.value self.value = tools.value(self, tx)