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