Remove prepare script and checkMerkleRoot method on Block

This commit is contained in:
junderw 2019-03-14 17:32:45 +09:00
parent 492c435a1f
commit 0426c66389
No known key found for this signature in database
GPG key ID: B256185D3A971908
4 changed files with 0 additions and 15 deletions
ts_src

View file

@ -269,14 +269,6 @@ export class Block {
);
}
checkMerkleRoot(): boolean {
console.warn(
'Deprecation Warning: Block method checkMerkleRoot will be ' +
'deprecated in v5. Please use checkTxRoots instead.',
);
return this.checkTxRoots();
}
checkProofOfWork(): boolean {
const hash: Buffer = reverseBuffer(this.getHash());
const target = Block.calculateTarget(this.bits);