stratumaddress does not work #66

Open
opened 3 years ago by duke · 11 comments
duke commented 3 years ago
Owner

I added a new privacy-focused feature to our stratum code on the dev branch that needs testing. There is a new option to hushd called -stratumaddress where you can give a "default mining address" for all Stratum clients. When a Stratum client uses a mining address of "x", it will use this "default address".

Why does this help privacy?

  • Stratum clients no longer send their mining address via HTTP, which is susceptible to MITM attacks (an ISP or network attacker can rewrite the address)
  • It no longer leaks (addr => IP address) metadata since all stratum connections use HTTP by default
  • It is no longer possible for network attacker to see when you update your mining address, that only happens as a local parameter to hushd on startup

@odinzu @jahway603 can you test this? I am still a bit confused on whay @jahway603 got a low hashrate while @odinzu it seems to work at full speed. When reporting results, please say which kind of ASIC you did testing with. I think @odinzu is using a Z9 while @jahway603 has an A9. Maybe there is some differences there.

All you need to do is start hush like hushd -stratumaddress=R... and then use a mining address of x on the ASIC.

As an added feature of convenience, if you have many miners, you no longer need to update them all to change your mining address. You just restart hushd with a different -stratumaddress, which hopefully leads to people changing their mining addresses more frequently. The more frequently miners change their addresses, the less metadata is leaked.

I added a new privacy-focused feature to our stratum code on the `dev` branch that needs testing. There is a new option to `hushd` called `-stratumaddress` where you can give a "default mining address" for all Stratum clients. When a Stratum client uses a mining address of "x", it will use this "default address". Why does this help privacy? * Stratum clients no longer send their mining address via HTTP, which is susceptible to MITM attacks (an ISP or network attacker can rewrite the address) * It no longer leaks (addr => IP address) metadata since all stratum connections use HTTP by default * It is no longer possible for network attacker to see when you update your mining address, that only happens as a local parameter to `hushd` on startup @odinzu @jahway603 can you test this? I am still a bit confused on whay @jahway603 got a low hashrate while @odinzu it seems to work at full speed. When reporting results, please say which kind of ASIC you did testing with. I think @odinzu is using a Z9 while @jahway603 has an A9. Maybe there is some differences there. All you need to do is start hush like `hushd -stratumaddress=R...` and then use a mining address of `x` on the ASIC. As an added feature of convenience, if you have many miners, you no longer need to update them all to change your mining address. You just restart `hushd` with a different `-stratumaddress`, which hopefully leads to people changing their mining addresses more frequently. The more frequently miners change their addresses, the less metadata is leaked.
Collaborator

Compiled new dev branc and then ran

./hushd  -stratum -debug=stratum -stratumallowip=192.168.0.0/16 -stratumaddress=RaDDress

Then I tried x for the username on the miner, but couldn't get that working.

As soon as I switched back to the same hushd command above w/o "stratumaddress" + re-entering the tAddr on the ASIC, I now see stratum mining as expected.

@oDinZu how long did it take your ASIC to get up there with your own hushd?

Compiled new dev branc and then ran ``` ./hushd -stratum -debug=stratum -stratumallowip=192.168.0.0/16 -stratumaddress=RaDDress ``` Then I tried x for the username on the miner, but couldn't get that working. As soon as I switched back to the same hushd command above w/o "stratumaddress" + re-entering the tAddr on the ASIC, I now see stratum mining as expected. @oDinZu how long did it take your ASIC to get up there with your own hushd?
Collaborator

Still getting super dumb low speeds

3.81 KSol/s after 43 minutes!!!

The same miner, with the same amount of time period, can pull 50 KSol/s using coolmine or luckpool. Something isn't acting correctly!

Still getting super dumb low speeds ``` 3.81 KSol/s after 43 minutes!!! ``` The same miner, with the same amount of time period, can pull 50 KSol/s using coolmine or luckpool. Something isn't acting correctly!

@jahway603 ~2 minutes with 500 default freq.

z9 Miner

My network confiuration has my miner connected to a router > fiber modem > www.

On my computer, I host hushd stratum, then I startup my miners.

I had a lot of issues initially because of:

a. firewall was enabled on the computer.
b. my router had a weird AI protection enabled and thought hushd was attacking; maybe because of so many packets being sent.

  • I never had the power of my z9 be less than it is built for at 500 freq clock.
  • It doesn't sound like a hardware issue since it works on another pool.

Maybe it has something to do with sending lots of packets on local router network; it sounds like a throttling issue.

@jahway603 Update: Could it be because of the difficulty algo? My miners are using difficulty 8. I didn't choose that difficulty, nor do I know how to change that difficulty. On the example pool for ZEC, I found its difficulty to be 16.

@duke I compiled fresh hushd and successfully launched hushd with new stratumaddress option. -stratumaddress=R...

  • I kept the same T-addr I was using before stratum in the miner config.

  • I created a new T-addr via hush-cli getnewaddress and am using this new address for -stratumaddress=R.

I am mining at the moment and will provide more results after I mint some fresh hush puppies.

The following is the command I used:

./src/hushd -stratum -debug=stratum -stratumaddress=RYHiX3GPMQnaVpfwpp5PyR7jZ4etWB8Pd9 -stratumallowip=192.168.0.0/16
@jahway603 ~2 minutes with 500 default freq. ![z9 Miner](https://git.hush.is/attachments/5e9a50e5-f902-4169-9554-85996392709f) My network confiuration has my miner connected to a router > fiber modem > www. On my computer, I host hushd stratum, then I startup my miners. I had a lot of issues initially because of: **a.** firewall was enabled on the computer. **b.** my router had a weird AI protection enabled and thought hushd was attacking; maybe because of so many packets being sent. - I never had the power of my z9 be less than it is built for at 500 freq clock. - It doesn't sound like a hardware issue since it works on another pool. Maybe it has something to do with sending lots of packets on local router network; it sounds like a throttling issue. @jahway603 **Update:** Could it be because of the difficulty algo? My miners are using difficulty 8. I didn't choose that difficulty, nor do I know how to change that difficulty. On the example pool for ZEC, I found its difficulty to be 16. ![](https://git.hush.is/attachments/fae4a24b-ec9c-44ef-bad0-daa6f80d9913) @duke I compiled fresh hushd and successfully launched hushd with new stratumaddress option. `-stratumaddress=R...` - I kept the same T-addr I was using before stratum in the miner config. - I created a new T-addr via `hush-cli getnewaddress` and am using this new address for `-stratumaddress=R`. I am mining at the moment and will provide more results after I mint some fresh hush puppies. The following is the command I used: ``` ./src/hushd -stratum -debug=stratum -stratumaddress=RYHiX3GPMQnaVpfwpp5PyR7jZ4etWB8Pd9 -stratumallowip=192.168.0.0/16 ```

On Hush Blockchain Explorer: (Minted with OLD T address in miner config GUI)

Blocks
Height 	Block Hash 	Block Time 	Duration 	Miner 	Reward 	Transactions

643316 	0000000bd3894c5f5ba66bf756acef54b5db182da789806aa73dadd4ce76feaa 	Fri Aug 27 22:20:21 2021 UTC 	111 s 	RNpCy4YBT6qBg1XaS2KpfFwHUn46LDUFLB 	3.125 HUSH 	2

On SD Wallet: (Showing mined to OLD T address)

I am unable to verify if stratum is working or not; I thought I would see the stratum address be shown public, while sending to old address or vice versa.

On success of Hush puppy found; all lost hush puppies are protected and generated:

[2021-08-27 18:20:28.915004] accepted: 1/48462 local 15.0591 (diff 2.1363e+07, target 1.08807e+07)  65.015195 ms yay!!! 

Lots of metadata details if they are useful to you for debugging:

hush_checkcommission at height=643316
hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2
hush_block_subsidy: subsidy=281250000 at height=643316
hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643316
hush_sc_block_subsidy: ht.643316 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454
ht.643316 nSubsidy 2.81250000 prod 3124999968750000
hush_commission: commission=31250000,interval=1680000 at height 643316
the_commission: commission=0.31250000 at height=643316
76a9145eb10cf64f2bab1b457f1f25e658526155928fac88ac vout[1] 0.31250000 vs 0.31250000
hush_checkcommission checktoshis=31250000 at height=643316
hush_checkPOW possible.0 slowflag.0 ht.643316 notaryid.-1 failed.0
AcceptBlockHeader: blockhash=0000000bd3894c5f5ba66bf756acef54b5db182da789806aa73dadd4ce76feaa
AcceptBlockHeader: CheckBlockHeader passed
CalculateNextWorkRequired: nbits Current average: 1d192ca1  000000192ca11e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e
CalculateNextWorkRequired: bits After:  1d173839  0000001738390cb8640fbb6712be6a15c16d18c4701bc7731eca7621cd792218
CalculateNextWorkRequired: AWT=1275 ActualTimeSpan=1176 MinActual=1071 MaxActual=1683
GetNextWorkRequired: nbits=488060985
AcceptBlockHeader: ContextualCheckBlockHeader passed: 0000000bd3894c5f5ba66bf756acef54b5db182da789806aa73dadd4ce76feaa
ReceivedBlockTransactions: block 0000000bd3894c5f5ba66bf756acef54b5db182da789806aa73dadd4ce76feaa has total zspends=0 zouts=0
hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2
hush_block_subsidy: subsidy=281250000 at height=643316
hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643316
hush_sc_block_subsidy: ht.643316 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454
hush_checkcommission at height=643316
hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2
hush_block_subsidy: subsidy=281250000 at height=643316
hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643316
hush_sc_block_subsidy: ht.643316 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454
ht.643316 nSubsidy 2.81250000 prod 3124999968750000
hush_commission: commission=31250000,interval=1680000 at height 643316
the_commission: commission=0.31250000 at height=643316
76a9145eb10cf64f2bab1b457f1f25e658526155928fac88ac vout[1] 0.31250000 vs 0.31250000
hush_checkcommission checktoshis=31250000 at height=643316
hush_checkPOW possible.0 slowflag.1 ht.643316 notaryid.-1 failed.0
hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2
hush_block_subsidy: subsidy=281250000 at height=643316
hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643316
hush_sc_block_subsidy: ht.643316 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454
ht.643316 nSubsidy 2.81250000 prod 3124999968750000
hush_commission: commission=31250000,interval=1680000 at height 643316
the_commission: commission=0.31250000 at height=643316
hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2
hush_block_subsidy: subsidy=281250000 at height=643317
hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643317
hush_sc_block_subsidy: ht.643317 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454
CalculateNextWorkRequired: nbits Current average: 1d191a8b  000000191a8b2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d
CalculateNextWorkRequired: bits After:  1d1658e2  0000001658e24b5a69788796a5b4c3d2e1f1000f1e2d3c4b5a69788796a5b395
CalculateNextWorkRequired: AWT=1275 ActualTimeSpan=1135 MinActual=1071 MaxActual=1683
GetNextWorkRequired: nbits=488003810
hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2
hush_block_subsidy: subsidy=281250000 at height=643317
hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643317
hush_sc_block_subsidy: ht.643317 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454
mine ht.643317 with 2.81250000
hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2
hush_block_subsidy: subsidy=281250000 at height=643317
hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643317
hush_sc_block_subsidy: ht.643317 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454
ht.643317 nSubsidy 2.81250000 prod 3124999968750000
hush_commission: commission=31250000,interval=1680000 at height 643317
the_commission: commission=0.31250000 at height=643317
CalculateNextWorkRequired: nbits Current average: 1d191a8b  000000191a8b2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d
CalculateNextWorkRequired: bits After:  1d1658e2  0000001658e24b5a69788796a5b4c3d2e1f1000f1e2d3c4b5a69788796a5b395
CalculateNextWorkRequired: AWT=1275 ActualTimeSpan=1135 MinActual=1071 MaxActual=1683
GetNextWorkRequired: nbits=488003810

On Hush Blockchain Explorer: (Minted with OLD T address in miner config GUI) ``` Blocks Height Block Hash Block Time Duration Miner Reward Transactions 643316 0000000bd3894c5f5ba66bf756acef54b5db182da789806aa73dadd4ce76feaa Fri Aug 27 22:20:21 2021 UTC 111 s RNpCy4YBT6qBg1XaS2KpfFwHUn46LDUFLB 3.125 HUSH 2 ``` On SD Wallet: (Showing mined to OLD T address) ![](https://git.hush.is/attachments/1f009fba-4dc7-4125-ab03-87accc778410) I am unable to verify if stratum is working or not; I thought I would see the stratum address be shown public, while sending to old address or vice versa. On success of Hush puppy found; all lost hush puppies are protected and generated: ``` [2021-08-27 18:20:28.915004] accepted: 1/48462 local 15.0591 (diff 2.1363e+07, target 1.08807e+07) 65.015195 ms yay!!! ``` Lots of metadata details if they are useful to you for debugging: ``` hush_checkcommission at height=643316 hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2 hush_block_subsidy: subsidy=281250000 at height=643316 hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643316 hush_sc_block_subsidy: ht.643316 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454 ht.643316 nSubsidy 2.81250000 prod 3124999968750000 hush_commission: commission=31250000,interval=1680000 at height 643316 the_commission: commission=0.31250000 at height=643316 76a9145eb10cf64f2bab1b457f1f25e658526155928fac88ac vout[1] 0.31250000 vs 0.31250000 hush_checkcommission checktoshis=31250000 at height=643316 hush_checkPOW possible.0 slowflag.0 ht.643316 notaryid.-1 failed.0 AcceptBlockHeader: blockhash=0000000bd3894c5f5ba66bf756acef54b5db182da789806aa73dadd4ce76feaa AcceptBlockHeader: CheckBlockHeader passed CalculateNextWorkRequired: nbits Current average: 1d192ca1 000000192ca11e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e1e CalculateNextWorkRequired: bits After: 1d173839 0000001738390cb8640fbb6712be6a15c16d18c4701bc7731eca7621cd792218 CalculateNextWorkRequired: AWT=1275 ActualTimeSpan=1176 MinActual=1071 MaxActual=1683 GetNextWorkRequired: nbits=488060985 AcceptBlockHeader: ContextualCheckBlockHeader passed: 0000000bd3894c5f5ba66bf756acef54b5db182da789806aa73dadd4ce76feaa ReceivedBlockTransactions: block 0000000bd3894c5f5ba66bf756acef54b5db182da789806aa73dadd4ce76feaa has total zspends=0 zouts=0 hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2 hush_block_subsidy: subsidy=281250000 at height=643316 hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643316 hush_sc_block_subsidy: ht.643316 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454 hush_checkcommission at height=643316 hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2 hush_block_subsidy: subsidy=281250000 at height=643316 hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643316 hush_sc_block_subsidy: ht.643316 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454 ht.643316 nSubsidy 2.81250000 prod 3124999968750000 hush_commission: commission=31250000,interval=1680000 at height 643316 the_commission: commission=0.31250000 at height=643316 76a9145eb10cf64f2bab1b457f1f25e658526155928fac88ac vout[1] 0.31250000 vs 0.31250000 hush_checkcommission checktoshis=31250000 at height=643316 hush_checkPOW possible.0 slowflag.1 ht.643316 notaryid.-1 failed.0 hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2 hush_block_subsidy: subsidy=281250000 at height=643316 hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643316 hush_sc_block_subsidy: ht.643316 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454 ht.643316 nSubsidy 2.81250000 prod 3124999968750000 hush_commission: commission=31250000,interval=1680000 at height 643316 the_commission: commission=0.31250000 at height=643316 hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2 hush_block_subsidy: subsidy=281250000 at height=643317 hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643317 hush_sc_block_subsidy: ht.643317 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454 CalculateNextWorkRequired: nbits Current average: 1d191a8b 000000191a8b2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d CalculateNextWorkRequired: bits After: 1d1658e2 0000001658e24b5a69788796a5b4c3d2e1f1000f1e2d3c4b5a69788796a5b395 CalculateNextWorkRequired: AWT=1275 ActualTimeSpan=1135 MinActual=1071 MaxActual=1683 GetNextWorkRequired: nbits=488003810 hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2 hush_block_subsidy: subsidy=281250000 at height=643317 hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643317 hush_sc_block_subsidy: ht.643317 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454 mine ht.643317 with 2.81250000 hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2 hush_block_subsidy: subsidy=281250000 at height=643317 hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=643317 hush_sc_block_subsidy: ht.643317 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454 ht.643317 nSubsidy 2.81250000 prod 3124999968750000 hush_commission: commission=31250000,interval=1680000 at height 643317 the_commission: commission=0.31250000 at height=643317 CalculateNextWorkRequired: nbits Current average: 1d191a8b 000000191a8b2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d CalculateNextWorkRequired: bits After: 1d1658e2 0000001658e24b5a69788796a5b4c3d2e1f1000f1e2d3c4b5a69788796a5b395 CalculateNextWorkRequired: AWT=1275 ActualTimeSpan=1135 MinActual=1071 MaxActual=1683 GetNextWorkRequired: nbits=488003810 ```
Poster
Owner

@odinzu I kept the same T-addr I was using before stratum in the miner config. is not going to work, you need to set your miner address to x in your ASIC config, or it will just use whatever address is there.

As for debugging, grep stratum debug.log is more useful for debugging stratum stuff.

@jahway603 can you show me grep stratum debug.log ? Without that, it's hard to know what is going on with the x not working. I am not sure why your hashrate is so low, the main difference is you have Innosilicon device and @odinzu has Bitmain.

I think @odinzu is onto something, this is related to the "difficulty" or "diff". If diff is too high, miners won't find blocks. If it's too low, they waste hashrate. This is why, for instance, pools have different ports for GPU/ASIC/NiceHash, which all start at a different difficulty level to optimize mining.

@odinzu `I kept the same T-addr I was using before stratum in the miner config.` is not going to work, you need to set your miner address to `x` in your ASIC config, or it will just use whatever address is there. As for debugging, `grep stratum debug.log` is more useful for debugging stratum stuff. @jahway603 can you show me `grep stratum debug.log` ? Without that, it's hard to know what is going on with the `x` not working. I am not sure why your hashrate is so low, the main difference is you have Innosilicon device and @odinzu has Bitmain. I think @odinzu is onto something, this is related to the "difficulty" or "diff". If diff is too high, miners won't find blocks. If it's too low, they waste hashrate. This is why, for instance, pools have different ports for GPU/ASIC/NiceHash, which all start at a different difficulty level to optimize mining.

Setting my ASIC user to x or X does not work. It shows the pool as offline.

I even tested with a zaddr and showed same results.

Only the Taddr works at the moment for me.

Setting my ASIC user to `x` or `X` does not work. It shows the pool as **offline**. I even tested with a zaddr and showed same results. Only the Taddr works at the moment for me.
Poster
Owner

@oDinZu please show 'grep stratum debug.log'

@oDinZu please show 'grep stratum debug.log'

In my hush-stratum.log

InitStratumServer: Starting built-in stratum server on port 19031
hush_checkPOW possible.1 slowflag.1 ht.630510 notaryid.-1 failed.0
hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2
hush_block_subsidy: subsidy=281250000 at height=630510
hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=630510
hush_sc_block_subsidy: ht.630510 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454
ht.630510 nSubsidy 2.81250000 prod 3124999968750000
hush_commission: commission=31250000,interval=1680000 at height 630510
the_commission: commission=0.31250000 at height=630510
SyncTransaction: tx=5796fb685b60e59937c256540bdb6e2d2b6d1f4853a7694bddbb7721625053e3
AddToWalletIfInvolvingMe: tx=5796fb685b60e59937c256540bdb6e2d2b6d1f4853a7694bddbb7721625053e3

In my hush3 debug.log

2021-08-28 22:07:14 Received subscription from client cgminer/4.9.0
2021-08-28 22:07:14 Sending stratum response to 1.2.3.4:39284 : {"result":[null,"55348a271b21c7d3"],"error":null,"id":16}
2021-08-28 22:07:14 Received stratum request from 1.2.3.4:39284 : {"id": 17, "method": "mining.authorize", "params": ["x", "x"]}

2021-08-28 22:07:14 stratum_mining_authorize: Invalid Hush address=3QJmnh

2021-08-28 22:07:14 Sending stratum response to 1.2.3.4:39284 :
{"result":null,"error":{"code":-8,"message":"Invalid Hush address: x"},"id":17}
2021-08-28 22:07:14 Remote disconnect received on stratum connection from 1.2.3.4:39284
2021-08-28 22:07:14 Closing stratum connection from 1.2.3.4:39284
2021-08-28 22:07:14 getchaintxstats: blockcount = 34560
2021-08-28 22:07:14 getchaintxstats: pindexPast.height = 609891, pindex.height = 644451
2021-08-28 22:07:14 getchaintxstats: pindexPast.nChainPayments = 0, pindex.nChainPayments = 0
2021-08-28 22:07:19 Accepted stratum connection from 1.2.3.4:39336
2021-08-28 22:07:19 Received stratum request from 1.2.3.4:39336 : {"id":18, "method":"mining.subscribe", "params":["cgminer/4.9.0", null, "1.2.3.4", "19031"]}
In my hush-stratum.log ``` InitStratumServer: Starting built-in stratum server on port 19031 hush_checkPOW possible.1 slowflag.1 ht.630510 notaryid.-1 failed.0 hush_sc_block_subsidy: nStart.340000 subsidy.281250000 curEra.2 hush_block_subsidy: subsidy=281250000 at height=630510 hush_sc_block_subsidy: HUSH3 subsidy=281250000 at height=630510 hush_sc_block_subsidy: ht.630510 curEra.2 lastEra.2 subsidy.281250000 magicExtra.9753454 ht.630510 nSubsidy 2.81250000 prod 3124999968750000 hush_commission: commission=31250000,interval=1680000 at height 630510 the_commission: commission=0.31250000 at height=630510 SyncTransaction: tx=5796fb685b60e59937c256540bdb6e2d2b6d1f4853a7694bddbb7721625053e3 AddToWalletIfInvolvingMe: tx=5796fb685b60e59937c256540bdb6e2d2b6d1f4853a7694bddbb7721625053e3 ``` In my hush3 debug.log ``` 2021-08-28 22:07:14 Received subscription from client cgminer/4.9.0 2021-08-28 22:07:14 Sending stratum response to 1.2.3.4:39284 : {"result":[null,"55348a271b21c7d3"],"error":null,"id":16} 2021-08-28 22:07:14 Received stratum request from 1.2.3.4:39284 : {"id": 17, "method": "mining.authorize", "params": ["x", "x"]} 2021-08-28 22:07:14 stratum_mining_authorize: Invalid Hush address=3QJmnh 2021-08-28 22:07:14 Sending stratum response to 1.2.3.4:39284 : {"result":null,"error":{"code":-8,"message":"Invalid Hush address: x"},"id":17} 2021-08-28 22:07:14 Remote disconnect received on stratum connection from 1.2.3.4:39284 2021-08-28 22:07:14 Closing stratum connection from 1.2.3.4:39284 2021-08-28 22:07:14 getchaintxstats: blockcount = 34560 2021-08-28 22:07:14 getchaintxstats: pindexPast.height = 609891, pindex.height = 644451 2021-08-28 22:07:14 getchaintxstats: pindexPast.nChainPayments = 0, pindex.nChainPayments = 0 2021-08-28 22:07:19 Accepted stratum connection from 1.2.3.4:39336 2021-08-28 22:07:19 Received stratum request from 1.2.3.4:39336 : {"id":18, "method":"mining.subscribe", "params":["cgminer/4.9.0", null, "1.2.3.4", "19031"]} ```
Poster
Owner

@jahway603 plz send grep stratum debug.log so we can debug your low hashrate issue, thanks

@jahway603 plz send `grep stratum debug.log` so we can debug your low hashrate issue, thanks
Collaborator

@duke my log file is almost 9MB and I don't want to share it "publicly". How else should I share it?

@duke my log file is almost 9MB and I don't want to share it "publicly". How else should I share it?
Poster
Owner

@jahway603 make an issue on the private repo: https://git.hush.is/hush/qa

@jahway603 make an issue on the private repo: https://git.hush.is/hush/qa
duke added the
bug
label 1 year ago
duke changed title from Test -stratumaddress to stratumaddress does not work 1 year ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.