Remove prepare script and checkMerkleRoot method on Block
This commit is contained in:
parent
492c435a1f
commit
0426c66389
4 changed files with 0 additions and 15 deletions
src
|
@ -199,11 +199,6 @@ class Block {
|
|||
return (this.__checkMerkleRoot() &&
|
||||
(hasWitnessCommit ? this.__checkWitnessCommit() : true));
|
||||
}
|
||||
checkMerkleRoot() {
|
||||
console.warn('Deprecation Warning: Block method checkMerkleRoot will be ' +
|
||||
'deprecated in v5. Please use checkTxRoots instead.');
|
||||
return this.checkTxRoots();
|
||||
}
|
||||
checkProofOfWork() {
|
||||
const hash = bufferutils_1.reverseBuffer(this.getHash());
|
||||
const target = Block.calculateTarget(this.bits);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue