You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to give the client a test with my slushpool account. Everything is connecting fine, but there seems to be some kind of loop in which I'm repeatedly asking for authorization. I've included the output below. Is this intended? I didn't find anything mentioned about this behavior in the documentation so I want to verify its not something I'm doing wrong.
I wanted to give the client a test with my slushpool account. Everything is connecting fine, but there seems to be some kind of loop in which I'm repeatedly asking for authorization. I've included the output below. Is this intended? I didn't find anything mentioned about this behavior in the documentation so I want to verify its not something I'm doing wrong.
localhost:node-stratum davea$ ts-node examples/client.ts
Connected! lets ask for subscribe
Sent!
Mining data: result = { error: null,
id: 1,
result: [ [ [Array], [Array] ], '0765080016f43c', 4 ] }
Asking for authorization
Mining data: broadcast = { params: [ 8192 ], id: null, method: 'set_difficulty' }
Mining data: broadcast = { params:
[ '7a5e',
'244089fad599c594d34cbf2113f8f85738a3f477002cced20000000000000000',
'01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff440340d107fabe6d6d018a23a9d3938f68282ee4266d7f2b47369eda8eba57e1d5ac46241c3c78277b0100000000000000',
'5e7a2f736c7573682f0000000003c75eff4a000000001976a9147c154ed1dc59609e3d26abb2df2ea3d587cd8c4188ac00000000000000002c6a4c2952534b424c4f434b3af71dadaea776bcbe81814b88154015a7d4fa8c62846b23445be1be0204004b740000000000000000266a24aa21a9ed89d0281c8c7080c56a09cabe990d70343de7961cbfb7b53dbf260749f86ec47900000000',
[ 'b942a59aaee78830473bb3e59de854cf01d6192f5ddcf144f3993fe294af986b',
'60bea12566a1202e31072e59d8505270604e7e6d765c525d498fc40a9d40d7c6',
'98f0e59c54bf5f3ec4098ee90e603a0cf954d80e4c27d1c42145b72885fe61ce',
'086e0121b5011cf0827a63758c27cca51e642a9d71179560828ec754606f7d86',
'8ea37b32a351349870bb5a7eac64b4565bd2a0d1cf85799968d8ac9eb160e60b',
'bbd5d0aa9a80ebdc57be4f819f8706c060df6479698dff30076fcaf7f44d0883',
'179ff592ed9b2f8ae44c9342407a295654ec83f653d873b79a04a2e65250e142',
'1d3247127cd95b71f85e20491c2bad15a28269fd6202ad95fc8e956675db1d68',
'ed6b2fe074e7187de8d61fe75c42b943deade685a1e4bd63515b3be4e5e78610' ],
'20000000',
'175589a3',
'5a9f05bc',
true ],
id: null,
method: 'notify' }
Mining data: result = { error: null,
id: 1,
result: [ [ [Array], [Array] ], '0765080016f43c', 4 ] }
Asking for authorization
Mining data: broadcast = { params: [ 8192 ], id: null, method: 'set_difficulty' }
Mining data: broadcast = { params:
[ '7a5e',
'244089fad599c594d34cbf2113f8f85738a3f477002cced20000000000000000',
'01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff440340d107fabe6d6d018a23a9d3938f68282ee4266d7f2b47369eda8eba57e1d5ac46241c3c78277b0100000000000000',
'5e7a2f736c7573682f0000000003c75eff4a000000001976a9147c154ed1dc59609e3d26abb2df2ea3d587cd8c4188ac00000000000000002c6a4c2952534b424c4f434b3af71dadaea776bcbe81814b88154015a7d4fa8c62846b23445be1be0204004b740000000000000000266a24aa21a9ed89d0281c8c7080c56a09cabe990d70343de7961cbfb7b53dbf260749f86ec47900000000',
[ 'b942a59aaee78830473bb3e59de854cf01d6192f5ddcf144f3993fe294af986b',
'60bea12566a1202e31072e59d8505270604e7e6d765c525d498fc40a9d40d7c6',
'98f0e59c54bf5f3ec4098ee90e603a0cf954d80e4c27d1c42145b72885fe61ce',
'086e0121b5011cf0827a63758c27cca51e642a9d71179560828ec754606f7d86',
'8ea37b32a351349870bb5a7eac64b4565bd2a0d1cf85799968d8ac9eb160e60b',
'bbd5d0aa9a80ebdc57be4f819f8706c060df6479698dff30076fcaf7f44d0883',
'179ff592ed9b2f8ae44c9342407a295654ec83f653d873b79a04a2e65250e142',
'1d3247127cd95b71f85e20491c2bad15a28269fd6202ad95fc8e956675db1d68',
'ed6b2fe074e7187de8d61fe75c42b943deade685a1e4bd63515b3be4e5e78610' ],
'20000000',
'175589a3',
'5a9f05bc',
true ],
id: null,
method: 'notify' }
Mining data: result = { error: null,
id: 1,
result: [ [ [Array], [Array] ], '0765080016f43c', 4 ] }
Asking for authorization
Mining data: broadcast = { params: [ 8192 ], id: null, method: 'set_difficulty' }
Mining data: broadcast = { params:
[ '7a5e',
'244089fad599c594d34cbf2113f8f85738a3f477002cced20000000000000000',
'01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff440340d107fabe6d6d018a23a9d3938f68282ee4266d7f2b47369eda8eba57e1d5ac46241c3c78277b0100000000000000',
'5e7a2f736c7573682f0000000003c75eff4a000000001976a9147c154ed1dc59609e3d26abb2df2ea3d587cd8c4188ac00000000000000002c6a4c2952534b424c4f434b3af71dadaea776bcbe81814b88154015a7d4fa8c62846b23445be1be0204004b740000000000000000266a24aa21a9ed89d0281c8c7080c56a09cabe990d70343de7961cbfb7b53dbf260749f86ec47900000000',
...
The text was updated successfully, but these errors were encountered: