def setOutputCount(self, datFile): """Sets output count.""" countTupple = binaryRead.checkVariableLengthInteger(datFile, self.outputVarInt) self.outputCount = countTupple[0] self.outputCountBinary = countTupple[1]
def setScriptLength(self, datFile): """Sets script length.""" lengthTupple = binaryRead.checkVariableLengthInteger( datFile, self.varInt) self.scriptLength = lengthTupple[0] self.scriptLengthBinary = lengthTupple[1]
def setTransactionCount(self): """Sets transaction count.""" self.transactionCount = binaryRead.checkVariableLengthInteger( self.datFile, self.varInt)[0]
def setScriptLength(self, datFile): """Sets script length.""" lengthTupple = binaryRead.checkVariableLengthInteger(datFile, self.varInt) self.scriptLength = lengthTupple[0] self.scriptLengthBinary = lengthTupple[1]