remove old half-assed versionbits.

This commit is contained in:
Christopher Jeffrey 2016-03-15 16:38:33 -07:00
parent d009b1cf48
commit ca4fe76fae

View File

@ -34,13 +34,6 @@ function AbstractBlock(data) {
this.valid = 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) {