def setMerkleRoot(self): """Sets merkle root.""" self.merkleRoot = binaryRead.readHash(self.datFile)
def setPreviousBlockHash(self): """Sets previous block hash.""" self.previousBlockHash = binaryRead.readHash(self.datFile)
def setTransactionHash(self, datFile): """Sets transaction hash.""" self.transactionHash = binaryRead.readHash(datFile)