add subscription info

This commit is contained in:
Ben Wilson 2023-06-29 09:19:27 -04:00
parent 4d16832bf5
commit 8878b31377

View File

@ -19,7 +19,10 @@ export class SubscriptionMessage extends StratumBaseMessage {
id: this.id,
error: null,
result: [
null,
[
['mining.set_difficulty', '731ec5e0649606ff'],
['mining.notify', '731ec5e0649606ff']
],
clientId, //Extranonce1 - Hex-encoded, per-connection unique string which will be used for coinbase serialization later. Keep it safe!
4 //Extranonce2_size - Represents expected length of extranonce2 which will be generated by the miner.
]