示例#1
0
	def setLockTime(self, datFile):
		"""Sets object locktime."""
		self.lockTime = binaryRead.readUInt(datFile)
示例#2
0
	def setNonce(self):
		"""Sets nonce."""
		self.nonce = binaryRead.readUInt(self.datFile)
示例#3
0
	def setTransactionVersion(self, datFile):
		"""Sets transaction version."""
		self.transactionVersion = binaryRead.readUInt(datFile)
示例#4
0
	def setTimeStamp(self):
		"""Sets timestamp."""
		self.timestamp = binaryRead.readUInt(self.datFile)
示例#5
0
	def setTargetDifficulty(self):
		"""Sets target difficulty."""
		self.targetDifficulty = binaryRead.readUInt(self.datFile)
示例#6
0
	def setBlockLength(self):
		"""Sets block length."""
		self.length = binaryRead.readUInt(self.datFile)
示例#7
0
	def setVersion(self):
		"""Sets version."""
		self.version = binaryRead.readUInt(self.datFile)
示例#8
0
	def setTransactionIndex(self, datFile):
		"""Sets transaction index."""
		self.transactionIndex = binaryRead.readUInt(datFile)
示例#9
0
	def setSequenceNumber(self, datFile):
		"""Sets sequence number."""
		self.sequenceNumber = binaryRead.readUInt(datFile)
示例#10
0
 def setTransactionIndex(self, datFile):
     """Sets transaction index."""
     self.transactionIndex = binaryRead.readUInt(datFile)
示例#11
0
 def setSequenceNumber(self, datFile):
     """Sets sequence number."""
     self.sequenceNumber = binaryRead.readUInt(datFile)
示例#12
0
 def setNonce(self):
     """Sets nonce."""
     self.nonce = binaryRead.readUInt(self.datFile)
示例#13
0
 def setTargetDifficulty(self):
     """Sets target difficulty."""
     self.targetDifficulty = binaryRead.readUInt(self.datFile)
示例#14
0
 def setTimeStamp(self):
     """Sets timestamp."""
     self.timestamp = binaryRead.readUInt(self.datFile)
示例#15
0
 def setVersion(self):
     """Sets version."""
     self.version = binaryRead.readUInt(self.datFile)
示例#16
0
 def setBlockLength(self):
     """Sets block length."""
     self.length = binaryRead.readUInt(self.datFile)