mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 17:15:03 -07:00
misc
This commit is contained in:
@@ -95,9 +95,6 @@ export class MiningSubmitMessage extends StratumBaseMessage {
|
||||
header.writeBigUint64LE(BigInt(job.nbits), 72);
|
||||
header.writeUInt32LE(nonce, 76);
|
||||
|
||||
console.log(header.toString('hex'))
|
||||
|
||||
|
||||
const hashBuffer: Buffer = crypto.createHash('sha256').update(header).digest();
|
||||
const hashResult: Buffer = crypto.createHash('sha256').update(hashBuffer).digest();
|
||||
|
||||
|
||||
@@ -12,8 +12,6 @@ export class SubscriptionMessage extends StratumBaseMessage {
|
||||
constructor() {
|
||||
super();
|
||||
this.method = eRequestMethod.SUBSCRIBE;
|
||||
|
||||
console.log('constructor SubscriptionMessage');
|
||||
}
|
||||
|
||||
public response(clientId: string) {
|
||||
|
||||
Reference in New Issue
Block a user