remove old half-assed versionbits.
This commit is contained in:
parent
d009b1cf48
commit
ca4fe76fae
@ -34,13 +34,6 @@ function AbstractBlock(data) {
|
|||||||
|
|
||||||
this.valid = null;
|
this.valid = null;
|
||||||
this._hash = null;
|
this._hash = null;
|
||||||
|
|
||||||
// https://gist.github.com/sipa/bf69659f43e763540550
|
|
||||||
// http://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-August/010396.html
|
|
||||||
this.versionBits = (this.version >>> 29) & 7;
|
|
||||||
this.realVersion = this.version & 0x1fffffff;
|
|
||||||
this.highVersion = this.version & 0x1ffffff8;
|
|
||||||
this.lowVersion = this.version & 7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AbstractBlock.prototype.hash = function hash(enc) {
|
AbstractBlock.prototype.hash = function hash(enc) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user