|
|
|
@ -133,9 +133,9 @@ function Coin(data){
|
|
|
|
|
// Reset the Nonce. - This is the per-miner/pool nonce
|
|
|
|
|
this.extraNonce = 0;
|
|
|
|
|
// The clientNonceLocation is the location at which the client pools should set the nonces for each of their clients.
|
|
|
|
|
this.clientNonceLocation = this.reserveOffset + 8;
|
|
|
|
|
this.clientNonceLocation = this.reserveOffset + 12;
|
|
|
|
|
// The clientPoolLocation is for multi-thread/multi-server pools to handle the nonce for each of their tiers.
|
|
|
|
|
this.clientPoolLocation = this.reserveOffset + 12;
|
|
|
|
|
this.clientPoolLocation = this.reserveOffset + 8;
|
|
|
|
|
this.nextBlob = function () {
|
|
|
|
|
// Write a 32 bit integer, big-endian style to the 0 byte of the reserve offset.
|
|
|
|
|
this.buffer.writeUInt32BE(++this.extraNonce, this.reserveOffset);
|
|
|
|
|