mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 17:15:03 -07:00
increment ids
This commit is contained in:
@@ -16,7 +16,7 @@ export class SubscriptionMessage extends StratumBaseMessage {
|
||||
console.log('constructor SubscriptionMessage');
|
||||
}
|
||||
|
||||
public response() {
|
||||
public response(clientId: string) {
|
||||
return {
|
||||
id: null,
|
||||
error: null,
|
||||
@@ -24,7 +24,7 @@ export class SubscriptionMessage extends StratumBaseMessage {
|
||||
[
|
||||
['mining.notify', '64d8c004']
|
||||
], //subscription details
|
||||
'ccc5d664', //Extranonce1 - Hex-encoded, per-connection unique string which will be used for coinbase serialization later. Keep it safe!
|
||||
clientId, //Extranonce1 - Hex-encoded, per-connection unique string which will be used for coinbase serialization later. Keep it safe!
|
||||
8 //Extranonce2_size - Represents expected length of extranonce2 which will be generated by the miner.
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user