예제 #1
0
 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)
예제 #2
0
 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)
예제 #3
0
 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)
예제 #4
0
 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)
예제 #5
0
 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)
예제 #6
0
 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)
예제 #7
0
 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)
예제 #8
0
 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)
예제 #9
0
파일: value.py 프로젝트: bletzacker/alyra
 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)
예제 #10
0
 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)
예제 #11
0
 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)