def setLockTime(self, datFile): """Sets object locktime.""" self.lockTime = binaryRead.readUInt(datFile)
def setNonce(self): """Sets nonce.""" self.nonce = binaryRead.readUInt(self.datFile)
def setTransactionVersion(self, datFile): """Sets transaction version.""" self.transactionVersion = binaryRead.readUInt(datFile)
def setTimeStamp(self): """Sets timestamp.""" self.timestamp = binaryRead.readUInt(self.datFile)
def setTargetDifficulty(self): """Sets target difficulty.""" self.targetDifficulty = binaryRead.readUInt(self.datFile)
def setBlockLength(self): """Sets block length.""" self.length = binaryRead.readUInt(self.datFile)
def setVersion(self): """Sets version.""" self.version = binaryRead.readUInt(self.datFile)
def setTransactionIndex(self, datFile): """Sets transaction index.""" self.transactionIndex = binaryRead.readUInt(datFile)
def setSequenceNumber(self, datFile): """Sets sequence number.""" self.sequenceNumber = binaryRead.readUInt(datFile)