JayDDee / cpuminer-opt

Optimized multi algo CPU miner
Other
765 stars 543 forks source link

Critical issue when mining to segwit ("p2sh-segwit") address #311

Closed mraksoll4 closed 3 years ago

mraksoll4 commented 3 years ago

Critical issue when mining to segwit addre no becnch32 it's create some random not exist address !

mraksoll4 commented 3 years ago
I:\Other\Miners\OPtTestLTFN>cpuminer-avx512.exe -a yespowerr16 -t 14 -o http://127.0.0.1:39327 -u ltfn1 -p ltfn1  --randomize --coinbase-addr=Nb4obEdVLbfouFGMY1WDATTTx2vHuVsJ8H

         **********  cpuminer-opt 3.16.2  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AVX512, SHA and VAES extensions by JayDDee.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: Intel(R) Core(TM) i9-7980XE CPU @ 2.60GHz
SW built on Apr  8 2021 with GCC 9.3.0
CPU features:  AVX512  AES
SW features:   AVX512  AES
Algo features: SSE2   SHA

Starting miner with SSE2...

[2021-04-22 21:00:19] CPU affinity [!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
[2021-04-22 21:00:19] Miner thread priority 0 (nice 19)
[2021-04-22 21:00:19] New Block 1859094, Net Diff 0.00024414, Ntime b3b98160
                      Miner TTF @ 0.00 h/s NA, Net TTF @ 1259.73 h/s 13m52s
[2021-04-22 21:00:19] 14 of 36 miner threads started using 'yespowerr16' algorithm
[2021-04-22 21:00:27] 1 Submitted Diff 0.0013586, Block 1859094, Ntime b9b98160
[2021-04-22 21:00:27] 1 A1 S0 R0 BLOCK SOLVED 1, 7.816 sec (9ms)
                      Diff 0.0013586, Block 1859094
[2021-04-22 21:00:27] New Block 1859095, Net Diff 0.00024414, Ntime bbb98160
                      Miner TTF @ 2248.75 h/s 7m46s, Net TTF @ 1262.41 h/s 13m50s
[2021-04-22 21:02:36] New Block 1859096, Net Diff 0.00024414, Ntime 3cba8160
                      Miner TTF @ 2794.84 h/s 6m15s, Net TTF @ 1265.40 h/s 13m48s
mraksoll4 commented 3 years ago

https://openchains.info/coin/ltfn/tx/06170dd0c65801e0cf9ac0b3bd9a5f4fd87c0bb7924f2519b34ee2e8c762f649

mraksoll4 commented 3 years ago

If use cli all correct. https://openchains.info/coin/ltfn/tx/c15f145a7115e68c2ee83d3e7d261dc725256c9e67593de2a2e5b69805ba6ed3 image

mraksoll4 commented 3 years ago

With bench32 and legacy all work correct.

mraksoll4 commented 3 years ago

for undestating - if you mine btc prefix 3 , it will give invalid prefix one 1 address .

JayDDee commented 3 years ago

Please add -D to get debug output. Does it work in v3.16.1?

I'm having a hard time following if the problem is the address or segwit.

JayDDee commented 3 years ago

On another note, randomize is disabled due to the risk of overlapping nonces among threads. Each thread is allocated a unique nonce range to avoid any possibility of overlap.

mraksoll4 commented 3 years ago

v3.16.2

I:\Other\Miners\OPtTestLTFN>cpuminer-avx512.exe -a yespowerr16 -t 14 -o http://127.0.0.1:39327 -u ltfn1 -p ltfn1 --coinbase-addr=Nb4obEdVLbfouFGMY1WDATTTx2vHuVsJ8H -D

         **********  cpuminer-opt 3.16.2  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AVX512, SHA and VAES extensions by JayDDee.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: Intel(R) Core(TM) i9-7980XE CPU @ 2.60GHz
SW built on Apr  8 2021 with GCC 9.3.0
CPU features:  AVX512  AES
SW features:   AVX512  AES
Algo features: SSE2   SHA

Starting miner with SSE2...

[2021-04-23 12:53:17] Coinbase address uses B58 coding
[2021-04-23 12:53:17] CPU affinity [!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
[2021-04-23 12:53:17] Miner thread priority 0 (nice 19)
[2021-04-23 12:53:17] Binding thread 0 to cpu 0.
[2021-04-23 12:53:17] GBT: SegWit is enabled
[2021-04-23 12:53:17] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:53:17] GBT new work received in 3.25 ms
[2021-04-23 12:53:17] New Block 1859171, Net Diff 0.00024414, Ntime 0d998260
                      Miner TTF @ 0.00 h/s NA, Net TTF @ 1429.20 h/s 12m13s
[2021-04-23 12:53:17] Threads restarted for new work.
[2021-04-23 12:53:17] Binding thread 1 to cpu 1.
[2021-04-23 12:53:17] Binding thread 2 to cpu 2.
[2021-04-23 12:53:17] Binding thread 3 to cpu 3.
[2021-04-23 12:53:17] Binding thread 4 to cpu 4.
[2021-04-23 12:53:17] Binding thread 5 to cpu 5.
[2021-04-23 12:53:17] Binding thread 6 to cpu 6.
[2021-04-23 12:53:17] Binding thread 7 to cpu 7.
[2021-04-23 12:53:17] Binding thread 8 to cpu 8.
[2021-04-23 12:53:17] Binding thread 9 to cpu 9.
[2021-04-23 12:53:17] Binding thread 10 to cpu 10.
[2021-04-23 12:53:17] Binding thread 11 to cpu 11.
[2021-04-23 12:53:17] Binding thread 12 to cpu 12.
[2021-04-23 12:53:17] 14 of 36 miner threads started using 'yespowerr16' algorithm
[2021-04-23 12:53:17] Binding thread 13 to cpu 13.
[2021-04-23 12:53:23] GBT: SegWit is enabled
[2021-04-23 12:53:23] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:53:23] GBT new work received in 0.99 ms
[2021-04-23 12:53:23] Threads restarted for new work.
[2021-04-23 12:53:28] GBT: SegWit is enabled
[2021-04-23 12:53:28] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:53:28] GBT new work received in 0.99 ms
[2021-04-23 12:53:28] Threads restarted for new work.
[2021-04-23 12:53:33] GBT: SegWit is enabled
[2021-04-23 12:53:33] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:53:33] GBT new work received in 0.99 ms
[2021-04-23 12:53:33] Threads restarted for new work.
[2021-04-23 12:53:38] GBT: SegWit is enabled
[2021-04-23 12:53:38] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:53:38] GBT new work received in 0.99 ms
[2021-04-23 12:53:38] Threads restarted for new work.
[2021-04-23 12:53:43] GBT: SegWit is enabled
[2021-04-23 12:53:43] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:53:43] GBT new work received in 0.99 ms
[2021-04-23 12:53:43] Threads restarted for new work.
[2021-04-23 12:53:48] GBT: SegWit is enabled
[2021-04-23 12:53:48] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:53:48] GBT new work received in 0.99 ms
[2021-04-23 12:53:48] Threads restarted for new work.
[2021-04-23 12:53:53] GBT: SegWit is enabled
[2021-04-23 12:53:53] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:53:53] GBT new work received in 0.99 ms
[2021-04-23 12:53:53] Threads restarted for new work.
[2021-04-23 12:53:58] GBT: SegWit is enabled
[2021-04-23 12:53:58] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:53:58] GBT new work received in 0.99 ms
[2021-04-23 12:53:58] Threads restarted for new work.
[2021-04-23 12:54:03] GBT: SegWit is enabled
[2021-04-23 12:54:03] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:54:03] GBT new work received in 0.99 ms
[2021-04-23 12:54:03] Threads restarted for new work.
[2021-04-23 12:54:08] GBT: SegWit is enabled
[2021-04-23 12:54:08] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:54:08] GBT new work received in 0.99 ms
[2021-04-23 12:54:08] Threads restarted for new work.
[2021-04-23 12:54:13] GBT: SegWit is enabled
[2021-04-23 12:54:13] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:54:13] GBT new work received in 0.99 ms
[2021-04-23 12:54:13] Threads restarted for new work.
[2021-04-23 12:54:18] GBT: SegWit is enabled
[2021-04-23 12:54:18] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:54:18] GBT new work received in 0.99 ms
[2021-04-23 12:54:18] Threads restarted for new work.
[2021-04-23 12:54:23] GBT: SegWit is enabled
[2021-04-23 12:54:23] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:54:23] GBT new work received in 0.99 ms
[2021-04-23 12:54:23] Threads restarted for new work.
[2021-04-23 12:54:28] GBT: SegWit is enabled
[2021-04-23 12:54:28] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:54:28] GBT new work received in 0.99 ms
[2021-04-23 12:54:28] Threads restarted for new work.
[2021-04-23 12:54:33] GBT: SegWit is enabled
[2021-04-23 12:54:33] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:54:33] GBT new work received in 0.50 ms
[2021-04-23 12:54:33] Threads restarted for new work.
[2021-04-23 12:54:38] GBT: SegWit is enabled
[2021-04-23 12:54:38] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:54:38] GBT new work received in 0.50 ms
[2021-04-23 12:54:38] Threads restarted for new work.
[2021-04-23 12:54:43] GBT: SegWit is enabled
[2021-04-23 12:54:43] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:54:43] GBT new work received in 0.99 ms
[2021-04-23 12:54:43] Threads restarted for new work.
[2021-04-23 12:54:48] GBT: SegWit is enabled
[2021-04-23 12:54:48] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:54:48] GBT new work received in 0.49 ms
[2021-04-23 12:54:48] Threads restarted for new work.
[2021-04-23 12:54:53] GBT: SegWit is enabled
[2021-04-23 12:54:53] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:54:53] GBT new work received in 0.99 ms
[2021-04-23 12:54:53] Threads restarted for new work.
[2021-04-23 12:54:58] GBT: SegWit is enabled
[2021-04-23 12:54:58] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:54:58] GBT new work received in 0.99 ms
[2021-04-23 12:54:58] Threads restarted for new work.
[2021-04-23 12:55:03] GBT: SegWit is enabled
[2021-04-23 12:55:03] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:55:03] GBT new work received in 0.99 ms
[2021-04-23 12:55:03] Threads restarted for new work.
[2021-04-23 12:55:08] GBT: SegWit is enabled
[2021-04-23 12:55:08] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:55:08] GBT new work received in 0.50 ms
[2021-04-23 12:55:08] Threads restarted for new work.
[2021-04-23 12:55:13] GBT: SegWit is enabled
[2021-04-23 12:55:13] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:55:13] GBT new work received in 0.99 ms
[2021-04-23 12:55:13] Threads restarted for new work.
[2021-04-23 12:55:18] GBT: SegWit is enabled
[2021-04-23 12:55:18] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:55:18] GBT new work received in 0.99 ms
[2021-04-23 12:55:18] Threads restarted for new work.
[2021-04-23 12:55:23] GBT: SegWit is enabled
[2021-04-23 12:55:23] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:55:23] GBT new work received in 0.99 ms
[2021-04-23 12:55:23] Threads restarted for new work.
[2021-04-23 12:55:28] GBT: SegWit is enabled
[2021-04-23 12:55:28] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:55:28] GBT new work received in 0.99 ms
[2021-04-23 12:55:28] Threads restarted for new work.
[2021-04-23 12:55:33] GBT: SegWit is enabled
[2021-04-23 12:55:33] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:55:33] GBT new work received in 0.99 ms
[2021-04-23 12:55:33] Threads restarted for new work.
[2021-04-23 12:55:38] GBT: SegWit is enabled
[2021-04-23 12:55:38] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:55:38] GBT new work received in 0.99 ms
[2021-04-23 12:55:38] Threads restarted for new work.
[2021-04-23 12:55:43] GBT: SegWit is enabled
[2021-04-23 12:55:43] Mining info: diff 0.00024414, net_hashrate 1429.195611, height 1859170
[2021-04-23 12:55:43] GBT new work received in 0.99 ms
[2021-04-23 12:55:43] Threads restarted for new work.
[2021-04-23 12:55:44] Threads restarted for new work.
[2021-04-23 12:55:44] 1 Submitted Diff 0.00031301, Block 1859171, Ntime 9f998260
[2021-04-23 12:55:44] Thread 6, Nonce d1dbb66d, Xnonce2 error
[2021-04-23 12:55:44] Data[0:19]: 00000060 b1fe4333 a5284ba7 865173a0 a7149355 4e750622 9f4ab2fd 9bdd3c78 375bdb64 3014801c
[2021-04-23 12:55:44]           : 49eab344 4c6ec1c9 2b2e74b8 7cd6b0c7 0d4a3788 37c78f30 c9f62925 9f998260 ffff0f1e d1dbb66d
[2021-04-23 12:55:44] Hash[7:0]: 00000c7a c0108fca 7c927b8f 4cf87749 9068d66f 9b8f97a2 7fa2c155 aad1b275
[2021-04-23 12:55:44] Targ[7:0]: 00000fff ff000000 00000000 00000000 00000000 00000000 00000000 00000000
[2021-04-23 12:55:44] 1 A1 S0 R0 BLOCK SOLVED 1, 146.485 sec (10ms)
                      Diff 0.00031301, Block 1859171
[2021-04-23 12:55:44] GBT: SegWit is enabled
[2021-04-23 12:55:44] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:55:44] GBT new work received in 0.99 ms
[2021-04-23 12:55:44] New Block 1859172, Net Diff 0.00024414, Ntime a0998260
                      Miner TTF @ 2246.76 h/s 7m46s, Net TTF @ 1428.34 h/s 12m14s
[2021-04-23 12:55:44] Threads restarted for new work.
[2021-04-23 12:55:49] GBT: SegWit is enabled
[2021-04-23 12:55:49] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:55:49] GBT new work received in 0.99 ms
[2021-04-23 12:55:49] Threads restarted for new work.
[2021-04-23 12:55:54] GBT: SegWit is enabled
[2021-04-23 12:55:54] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:55:54] GBT new work received in 0.99 ms
[2021-04-23 12:55:54] Threads restarted for new work.
[2021-04-23 12:55:59] GBT: SegWit is enabled
[2021-04-23 12:55:59] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:55:59] GBT new work received in 0.99 ms
[2021-04-23 12:55:59] Threads restarted for new work.
[2021-04-23 12:56:04] GBT: SegWit is enabled
[2021-04-23 12:56:04] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:56:04] GBT new work received in 0.99 ms
[2021-04-23 12:56:04] Threads restarted for new work.
[2021-04-23 12:56:09] GBT: SegWit is enabled
[2021-04-23 12:56:09] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:56:09] GBT new work received in 0.99 ms
[2021-04-23 12:56:09] Threads restarted for new work.
[2021-04-23 12:56:14] GBT: SegWit is enabled
[2021-04-23 12:56:14] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:56:14] GBT new work received in 0.99 ms
[2021-04-23 12:56:14] Threads restarted for new work.
[2021-04-23 12:56:19] GBT: SegWit is enabled
[2021-04-23 12:56:19] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:56:19] GBT new work received in 0.99 ms
[2021-04-23 12:56:19] Threads restarted for new work.
[2021-04-23 12:56:24] GBT: SegWit is enabled
[2021-04-23 12:56:24] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:56:24] GBT new work received in 0.99 ms
[2021-04-23 12:56:24] Threads restarted for new work.
[2021-04-23 12:56:29] GBT: SegWit is enabled
[2021-04-23 12:56:29] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:56:29] GBT new work received in 0.99 ms
[2021-04-23 12:56:29] Threads restarted for new work.
[2021-04-23 12:56:34] GBT: SegWit is enabled
[2021-04-23 12:56:34] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:56:34] GBT new work received in 0.99 ms
[2021-04-23 12:56:34] Threads restarted for new work.
[2021-04-23 12:56:39] GBT: SegWit is enabled
[2021-04-23 12:56:39] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:56:39] GBT new work received in 0.99 ms
[2021-04-23 12:56:39] Threads restarted for new work.
[2021-04-23 12:56:44] GBT: SegWit is enabled
[2021-04-23 12:56:44] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:56:44] GBT new work received in 0.99 ms
[2021-04-23 12:56:44] Threads restarted for new work.
[2021-04-23 12:56:49] GBT: SegWit is enabled
[2021-04-23 12:56:49] Mining info: diff 0.00024414, net_hashrate 1428.335774, height 1859171
[2021-04-23 12:56:49] GBT new work received in 0.99 ms
[2021-04-23 12:56:49] Threads restarted for new work.
[2021-04-23 12:56:54] Threads restarted for new work.
[2021-04-23 12:56:54] 2 Submitted Diff 0.00092615, Block 1859172, Ntime e1998260
[2021-04-23 12:56:54] Thread 2, Nonce 4d4c9224, Xnonce2 ltfn1
[2021-04-23 12:56:54] Data[0:19]: 00000060 0dda3bc8 c4e550c3 7134b617 cb5d8107 8c53605c 583e5d8e 045a4d80 72b64f9b 7e0ea2d4
[2021-04-23 12:56:54]           : ab080fce 0be8af23 37d5386e 93ebbf45 cee81d6b 73a7f759 3fa94a16 e1998260 ffff0f1e 4d4c9224
[2021-04-23 12:56:54] Hash[7:0]: 00000437 be8e91be bab037a6 92292b76 dab0c788 48310588 b9d2d858 005bc173
[2021-04-23 12:56:54] Targ[7:0]: 00000fff ff000000 00000000 00000000 00000000 00000000 00000000 00000000
[2021-04-23 12:56:54] 2 A2 S0 R0 BLOCK SOLVED 2, 69.865 sec (10ms)
                      Diff 0.00092615, Block 1859172
[2021-04-23 12:56:54] GBT: SegWit is enabled
[2021-04-23 12:56:54] Mining info: diff 0.00024414, net_hashrate 1428.449278, height 1859172
[2021-04-23 12:56:54] GBT new work received in 0.99 ms
[2021-04-23 12:56:54] New Block 1859173, Net Diff 0.00024414, Ntime e6998260
                      Miner TTF @ 2298.30 h/s 7m36s, Net TTF @ 1428.45 h/s 12m14s
[2021-04-23 12:56:54] Threads restarted for new work.

wallet debug=1 info ( wallet base is 0.21.0 btc source )

2021-04-23T09:56:54Z ThreadRPCServer method=submitblock user=ltfn1
2021-04-23T09:56:54Z NewPoWValidBlock: block hash=24cce0256b680e62c9ec3708dc4a82a33d8dcf514a15daca504a044bcf49eca3
2021-04-23T09:56:54Z PeerManager::NewPoWValidBlock sending header-and-ids 24cce0256b680e62c9ec3708dc4a82a33d8dcf514a15daca504a044bcf49eca3 to peer=0
2021-04-23T09:56:54Z sending cmpctblock (263 bytes) peer=0
2021-04-23T09:56:54Z   - Load block from disk: 0.00ms [0.00s]
2021-04-23T09:56:54Z     - Sanity checks: 0.00ms [0.00s (0.00ms/blk)]
2021-04-23T09:56:54Z     - Fork checks: 0.00ms [0.00s (0.03ms/blk)]
2021-04-23T09:56:54Z       - Connect 1 transactions: 0.00ms (0.000ms/tx, 0.000ms/txin) [0.00s (0.03ms/blk)]
2021-04-23T09:56:54Z FeeEst: 3 > 60% decay 0.96200: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 0.6/(0.6 0 mem 0.0 out)
2021-04-23T09:56:54Z     - Verify 0 txins: 0.00ms (0.000ms/txin) [0.00s (0.05ms/blk)]
2021-04-23T09:56:54Z FeeEst: 6 > 85% decay 0.96200: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 0.6/(0.6 0 mem 0.0 out)
2021-04-23T09:56:54Z FeeEst: 12 > 95% decay 0.96200: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 0.6/(0.6 0 mem 0.0 out)
2021-04-23T09:56:54Z FeeEst: 12 > 95% decay 0.99520: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 6.0/(6.0 0 mem 0.0 out)
2021-04-23T09:56:54Z     - Index writing: 0.50ms [0.01s (0.16ms/blk)]
2021-04-23T09:56:54Z     - Callbacks: 0.00ms [0.00s (0.01ms/blk)]
2021-04-23T09:56:54Z BlockChecked: block hash=24cce0256b680e62c9ec3708dc4a82a33d8dcf514a15daca504a044bcf49eca3 state=Valid
2021-04-23T09:56:54Z   - Connect total: 0.50ms [0.02s (0.25ms/blk)]
2021-04-23T09:56:54Z   - Flush: 0.00ms [0.00s (0.01ms/blk)]
2021-04-23T09:56:54Z   - Writing chainstate: 0.00ms [0.00s (0.03ms/blk)]
2021-04-23T09:56:54Z FeeEst: 12 > 95% decay 0.99931: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 10.9/(10.9 0 mem 0.0 out)
2021-04-23T09:56:54Z Blockpolicy estimates updated by 0 of 0 block txs, since last block 0 of 0 tracked, mempool map size 0, max target 32 from historical
2021-04-23T09:56:54Z UpdateTip: new best=24cce0256b680e62c9ec3708dc4a82a33d8dcf514a15daca504a044bcf49eca3 height=1859172 version=0x60000000 log2_work=72.679911 tx=30510793 date='2021-04-23T09:56:49Z' progress=1.000000 cache=0.0MiB(66txo)
2021-04-23T09:56:54Z   - Connect postprocess: 0.50ms [4.69s (62.56ms/blk)]
2021-04-23T09:56:54Z - Connect block: 0.99ms [4.71s (62.85ms/blk)]
2021-04-23T09:56:54Z Enqueuing BlockConnected: block hash=24cce0256b680e62c9ec3708dc4a82a33d8dcf514a15daca504a044bcf49eca3 block height=1859172
2021-04-23T09:56:54Z Enqueuing UpdatedBlockTip: new block hash=24cce0256b680e62c9ec3708dc4a82a33d8dcf514a15daca504a044bcf49eca3 fork block hash=9b4fb672804d5a048e5d3e585c60538c07815dcb17b63471c350e5c4c83bda0d (in IBD=false)
2021-04-23T09:56:54Z BlockConnected: block hash=24cce0256b680e62c9ec3708dc4a82a33d8dcf514a15daca504a044bcf49eca3 block height=1859172
2021-04-23T09:56:54Z WriteBatch memory usage: db=txindex, before=0.0MiB, after=0.0MiB
2021-04-23T09:56:54Z UpdatedBlockTip: new block hash=24cce0256b680e62c9ec3708dc4a82a33d8dcf514a15daca504a044bcf49eca3 fork block hash=9b4fb672804d5a048e5d3e585c60538c07815dcb17b63471c350e5c4c83bda0d (in IBD=false)
2021-04-23T09:56:54Z FeeEst: 3 > 60% decay 0.96200: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 0.5/(0.5 0 mem 0.0 out)
2021-04-23T09:56:54Z FeeEst: 6 > 85% decay 0.96200: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 0.5/(0.5 0 mem 0.0 out)
2021-04-23T09:56:54Z FeeEst: 12 > 95% decay 0.96200: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 0.5/(0.5 0 mem 0.0 out)
2021-04-23T09:56:54Z FeeEst: 12 > 95% decay 0.99520: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 6.0/(6.0 0 mem 0.0 out)
2021-04-23T09:56:54Z Received a POST request for / from 127.0.0.1:27381
2021-04-23T09:56:54Z FeeEst: 12 > 95% decay 0.99931: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 10.9/(10.9 0 mem 0.0 out)
2021-04-23T09:56:54Z ThreadRPCServer method=getblocktemplate user=ltfn1
2021-04-23T09:56:54Z CreateNewBlock(): block weight: 1588 txs: 0 fees: 0 sigops 400
2021-04-23T09:56:54Z     - Sanity checks: 0.00ms [0.00s (0.00ms/blk)]
2021-04-23T09:56:54Z     - Fork checks: 0.00ms [0.00s (0.03ms/blk)]
2021-04-23T09:56:54Z       - Connect 1 transactions: 0.00ms (0.000ms/tx, 0.000ms/txin) [0.00s (0.03ms/blk)]
2021-04-23T09:56:54Z     - Verify 0 txins: 0.00ms (0.000ms/txin) [0.00s (0.05ms/blk)]
2021-04-23T09:56:54Z CreateNewBlock() packages: 0.00ms (0 packages, 0 updated descendants), validity: 0.50ms (total 0.50ms)

https://openchains.info/coin/ltfn/tx/164aa93f59f7a7736b1de8ce45bfeb936e38d53723afe80bce0f08abd4a20e7e

with v3.16.1 now testing

mraksoll4 commented 3 years ago

Version v3.16.1

I:\Other\Miners\Optv1>cpuminer-avx512.exe -a yespowerr16 -t 14 -o http://127.0.0.1:39327 -u ltfn1 -p ltfn1 --coinbase-addr=Nb4obEdVLbfouFGMY1WDATTTx2vHuVsJ8H -D

         **********  cpuminer-opt 3.16.1  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AVX512, SHA and VAES extensions by JayDDee.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: Intel(R) Core(TM) i9-7980XE CPU @ 2.60GHz
SW built on Mar 24 2021 with GCC 9.3.0
CPU features:  AVX512  AES
SW features:   AVX512  AES
Algo features: SSE2   SHA

Starting miner with SSE2...

[2021-04-23 13:16:25] CPU affinity [!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
[2021-04-23 13:16:25] Miner thread priority 0 (nice 19)
[2021-04-23 13:16:25] Binding thread 0 to cpu 0.
[2021-04-23 13:16:25] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:16:25] GBT new work received in 3.48 ms
[2021-04-23 13:16:25] New Block 1859174, Net Diff 0.00024414, Ntime 799e8260
                      Miner TTF @ 0.00 h/s NA, Net TTF @ 1418.91 h/s 12m18s
[2021-04-23 13:16:25] Threads restarted for new work.
[2021-04-23 13:16:25] Binding thread 1 to cpu 1.
[2021-04-23 13:16:25] Binding thread 2 to cpu 2.
[2021-04-23 13:16:25] Binding thread 3 to cpu 3.
[2021-04-23 13:16:25] Binding thread 4 to cpu 4.
[2021-04-23 13:16:25] Binding thread 5 to cpu 5.
[2021-04-23 13:16:25] Binding thread 6 to cpu 6.
[2021-04-23 13:16:25] Binding thread 7 to cpu 7.
[2021-04-23 13:16:25] Binding thread 8 to cpu 8.
[2021-04-23 13:16:25] Binding thread 9 to cpu 9.
[2021-04-23 13:16:25] Binding thread 10 to cpu 10.
[2021-04-23 13:16:25] Binding thread 11 to cpu 11.
[2021-04-23 13:16:25] Binding thread 12 to cpu 12.
[2021-04-23 13:16:26] 14 of 36 miner threads started using 'yespowerr16' algorithm
[2021-04-23 13:16:26] Binding thread 13 to cpu 13.
[2021-04-23 13:16:31] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:16:31] GBT new work received in 0.99 ms
[2021-04-23 13:16:31] Threads restarted for new work.
[2021-04-23 13:16:36] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:16:36] GBT new work received in 0.99 ms
[2021-04-23 13:16:36] Threads restarted for new work.
[2021-04-23 13:16:41] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:16:41] GBT new work received in 0.99 ms
[2021-04-23 13:16:41] Threads restarted for new work.
[2021-04-23 13:16:46] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:16:46] GBT new work received in 0.99 ms
[2021-04-23 13:16:46] Threads restarted for new work.
[2021-04-23 13:16:51] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:16:51] GBT new work received in 0.99 ms
[2021-04-23 13:16:51] Threads restarted for new work.
[2021-04-23 13:16:56] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:16:56] GBT new work received in 1.49 ms
[2021-04-23 13:16:56] Threads restarted for new work.
[2021-04-23 13:17:05] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:17:05] GBT new work received in 1.99 ms
[2021-04-23 13:17:05] Threads restarted for new work.
[2021-04-23 13:17:10] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:17:10] GBT new work received in 0.50 ms
[2021-04-23 13:17:10] Threads restarted for new work.
[2021-04-23 13:17:15] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:17:15] GBT new work received in 1.49 ms
[2021-04-23 13:17:15] Threads restarted for new work.
[2021-04-23 13:17:20] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:17:20] GBT new work received in 1.49 ms
[2021-04-23 13:17:20] Threads restarted for new work.
[2021-04-23 13:17:25] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:17:25] GBT new work received in 1.49 ms
[2021-04-23 13:17:25] Threads restarted for new work.
[2021-04-23 13:17:30] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:17:30] GBT new work received in 1.49 ms
[2021-04-23 13:17:30] Threads restarted for new work.
[2021-04-23 13:17:35] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:17:35] GBT new work received in 1.98 ms
[2021-04-23 13:17:35] Threads restarted for new work.
[2021-04-23 13:17:40] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:17:40] GBT new work received in 1.49 ms
[2021-04-23 13:17:40] Threads restarted for new work.
[2021-04-23 13:17:45] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:17:45] GBT new work received in 1.49 ms
[2021-04-23 13:17:45] Threads restarted for new work.
[2021-04-23 13:17:50] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:17:50] GBT new work received in 0.50 ms
[2021-04-23 13:17:50] Threads restarted for new work.
[2021-04-23 13:17:55] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:17:55] GBT new work received in 0.50 ms
[2021-04-23 13:17:55] Threads restarted for new work.
[2021-04-23 13:18:00] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:18:00] GBT new work received in 1.49 ms
[2021-04-23 13:18:00] Threads restarted for new work.
[2021-04-23 13:18:05] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:18:05] GBT new work received in 1.98 ms
[2021-04-23 13:18:05] Threads restarted for new work.
[2021-04-23 13:18:10] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:18:10] GBT new work received in 1.49 ms
[2021-04-23 13:18:10] Threads restarted for new work.
[2021-04-23 13:18:15] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:18:15] GBT new work received in 0.99 ms
[2021-04-23 13:18:15] Threads restarted for new work.
[2021-04-23 13:18:20] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:18:20] GBT new work received in 1.49 ms
[2021-04-23 13:18:20] Threads restarted for new work.
[2021-04-23 13:18:25] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:18:25] GBT new work received in 0.99 ms
[2021-04-23 13:18:25] Threads restarted for new work.
[2021-04-23 13:18:30] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:18:30] GBT new work received in 1.98 ms
[2021-04-23 13:18:30] Threads restarted for new work.
[2021-04-23 13:18:35] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:18:35] GBT new work received in 1.49 ms
[2021-04-23 13:18:35] Threads restarted for new work.
[2021-04-23 13:18:40] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:18:40] GBT new work received in 1.49 ms
[2021-04-23 13:18:40] Threads restarted for new work.
[2021-04-23 13:18:45] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:18:45] GBT new work received in 1.49 ms
[2021-04-23 13:18:45] Threads restarted for new work.
[2021-04-23 13:18:50] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:18:50] GBT new work received in 1.49 ms
[2021-04-23 13:18:50] Threads restarted for new work.
[2021-04-23 13:18:55] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:18:55] GBT new work received in 1.99 ms
[2021-04-23 13:18:55] Threads restarted for new work.
[2021-04-23 13:19:00] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:19:00] GBT new work received in 1.49 ms
[2021-04-23 13:19:00] Threads restarted for new work.
[2021-04-23 13:19:05] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:19:05] GBT new work received in 1.49 ms
[2021-04-23 13:19:05] Threads restarted for new work.
[2021-04-23 13:19:10] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:19:10] GBT new work received in 0.99 ms
[2021-04-23 13:19:10] Threads restarted for new work.
[2021-04-23 13:19:15] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:19:15] GBT new work received in 1.98 ms
[2021-04-23 13:19:15] Threads restarted for new work.
[2021-04-23 13:19:20] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:19:20] GBT new work received in 1.49 ms
[2021-04-23 13:19:20] Threads restarted for new work.
[2021-04-23 13:19:25] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:19:25] GBT new work received in 1.98 ms
[2021-04-23 13:19:25] Threads restarted for new work.
[2021-04-23 13:19:30] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:19:30] GBT new work received in 1.49 ms
[2021-04-23 13:19:30] Threads restarted for new work.
[2021-04-23 13:19:35] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:19:35] GBT new work received in 0.50 ms
[2021-04-23 13:19:35] Threads restarted for new work.
[2021-04-23 13:19:40] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:19:40] GBT new work received in 2.48 ms
[2021-04-23 13:19:40] Threads restarted for new work.
[2021-04-23 13:19:45] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:19:45] GBT new work received in 1.98 ms
[2021-04-23 13:19:45] Threads restarted for new work.
[2021-04-23 13:19:50] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:19:50] GBT new work received in 0.99 ms
[2021-04-23 13:19:50] Threads restarted for new work.
[2021-04-23 13:19:55] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:19:55] GBT new work received in 1.49 ms
[2021-04-23 13:19:55] Threads restarted for new work.
[2021-04-23 13:20:00] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:20:00] GBT new work received in 1.49 ms
[2021-04-23 13:20:00] Threads restarted for new work.
[2021-04-23 13:20:05] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:20:05] GBT new work received in 1.49 ms
[2021-04-23 13:20:05] Threads restarted for new work.
[2021-04-23 13:20:10] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:20:10] GBT new work received in 1.49 ms
[2021-04-23 13:20:10] Threads restarted for new work.
[2021-04-23 13:20:15] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:20:15] GBT new work received in 1.49 ms
[2021-04-23 13:20:15] Threads restarted for new work.
[2021-04-23 13:20:20] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:20:20] GBT new work received in 1.49 ms
[2021-04-23 13:20:20] Threads restarted for new work.
[2021-04-23 13:20:25] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:20:25] GBT new work received in 1.49 ms
[2021-04-23 13:20:25] Threads restarted for new work.
[2021-04-23 13:20:30] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:20:30] GBT new work received in 1.49 ms
[2021-04-23 13:20:30] Threads restarted for new work.
[2021-04-23 13:20:35] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:20:35] GBT new work received in 1.49 ms
[2021-04-23 13:20:35] Threads restarted for new work.
[2021-04-23 13:20:44] Mining info: diff 0.00024414, net_hashrate 1418.913396, height 1859173
[2021-04-23 13:20:44] GBT new work received in 1.99 ms
[2021-04-23 13:20:44] Threads restarted for new work.
[2021-04-23 13:20:45] Threads restarted for new work.
[2021-04-23 13:20:45] 1 Submitted Diff 0.0003023, Block 1859174, Ntime 7c9f8260
[2021-04-23 13:20:45] Thread 0, Nonce 7d000000, Xnonce2 ltfn1
[2021-04-23 13:20:45] Data[0:19]: 00000060 8461661c f16ca573 bc9f2659 4849f76a 4f36f8c0 a7fcf304 75b7e146 35b6f81b 52ae6a8f
[2021-04-23 13:20:45]           : e2ccf1ec 64decc51 36a2c66c 372e1f50 25f357be ab31b70c 041eaec5 7c9f8260 ffff0f1e 7d000000
[2021-04-23 13:20:45] Hash[7:0]: 00000ceb f09dd8b0 87625225 384fac8e 06346084 c3c354db 74b9a02b 3124daab
[2021-04-23 13:20:45] Targ[7:0]: 00000fff ff000000 00000000 00000000 00000000 00000000 00000000 00000000
[2021-04-23 13:20:45] 1 A1 S0 R0 BLOCK SOLVED 1, 259.682 sec (11ms)
                      Diff 0.0003023, Block 1859174
[2021-04-23 13:20:45] Mining info: diff 0.00024414, net_hashrate 1407.832352, height 1859174
[2021-04-23 13:20:45] GBT new work received in 0.99 ms
[2021-04-23 13:20:45] New Block 1859175, Net Diff 0.00024414, Ntime 7d9f8260
                      Miner TTF @ 2840.03 h/s 6m09s, Net TTF @ 1407.83 h/s 12m24s

Walllet debug=1 info

2021-04-23T10:20:45Z Received a POST request for / from 127.0.0.1:27781
2021-04-23T10:20:45Z ThreadRPCServer method=submitblock user=ltfn1
2021-04-23T10:20:45Z NewPoWValidBlock: block hash=bd817b0d3449bf024b68d7eb13c4148ca10566fda820444be2390349c9c290d5
2021-04-23T10:20:45Z PeerManager::NewPoWValidBlock sending header-and-ids bd817b0d3449bf024b68d7eb13c4148ca10566fda820444be2390349c9c290d5 to peer=0
2021-04-23T10:20:45Z sending cmpctblock (263 bytes) peer=0
2021-04-23T10:20:45Z   - Load block from disk: 0.00ms [0.00s]
2021-04-23T10:20:45Z     - Sanity checks: 0.00ms [0.00s (0.00ms/blk)]
2021-04-23T10:20:45Z     - Fork checks: 0.00ms [0.00s (0.03ms/blk)]
2021-04-23T10:20:45Z       - Connect 1 transactions: 0.00ms (0.000ms/tx, 0.000ms/txin) [0.00s (0.03ms/blk)]
2021-04-23T10:20:45Z     - Verify 0 txins: 0.00ms (0.000ms/txin) [0.00s (0.04ms/blk)]
2021-04-23T10:20:45Z FeeEst: 3 > 60% decay 0.96200: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 0.5/(0.5 0 mem 0.0 out)
2021-04-23T10:20:45Z FeeEst: 6 > 85% decay 0.96200: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 0.5/(0.5 0 mem 0.0 out)
2021-04-23T10:20:45Z FeeEst: 12 > 95% decay 0.96200: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 0.5/(0.5 0 mem 0.0 out)
2021-04-23T10:20:45Z FeeEst: 12 > 95% decay 0.99520: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 6.0/(6.0 0 mem 0.0 out)
2021-04-23T10:20:45Z     - Index writing: 0.50ms [0.01s (0.16ms/blk)]
2021-04-23T10:20:45Z     - Callbacks: 0.00ms [0.00s (0.01ms/blk)]
2021-04-23T10:20:45Z BlockChecked: block hash=bd817b0d3449bf024b68d7eb13c4148ca10566fda820444be2390349c9c290d5 state=Valid
2021-04-23T10:20:45Z   - Connect total: 0.50ms [0.02s (0.25ms/blk)]
2021-04-23T10:20:45Z   - Flush: 0.00ms [0.00s (0.01ms/blk)]
2021-04-23T10:20:45Z   - Writing chainstate: 0.00ms [0.00s (0.03ms/blk)]
2021-04-23T10:20:45Z FeeEst: 12 > 95% decay 0.99931: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 10.9/(10.9 0 mem 0.0 out)
2021-04-23T10:20:45Z Blockpolicy estimates updated by 0 of 0 block txs, since last block 0 of 0 tracked, mempool map size 0, max target 32 from historical
2021-04-23T10:20:45Z UpdateTip: new best=bd817b0d3449bf024b68d7eb13c4148ca10566fda820444be2390349c9c290d5 height=1859174 version=0x60000000 log2_work=72.679911 tx=30510795 date='2021-04-23T10:20:44Z' progress=1.000000 cache=0.0MiB(68txo)
2021-04-23T10:20:45Z   - Connect postprocess: 0.50ms [4.69s (59.40ms/blk)]
2021-04-23T10:20:45Z - Connect block: 0.99ms [4.72s (59.68ms/blk)]
2021-04-23T10:20:45Z Enqueuing BlockConnected: block hash=bd817b0d3449bf024b68d7eb13c4148ca10566fda820444be2390349c9c290d5 block height=1859174
2021-04-23T10:20:45Z Enqueuing UpdatedBlockTip: new block hash=bd817b0d3449bf024b68d7eb13c4148ca10566fda820444be2390349c9c290d5 fork block hash=1bf8b63546e1b77504f3fca7c0f8364f6af7494859269fbc73a56cf11c666184 (in IBD=false)
2021-04-23T10:20:45Z BlockConnected: block hash=bd817b0d3449bf024b68d7eb13c4148ca10566fda820444be2390349c9c290d5 block height=1859174
2021-04-23T10:20:45Z WriteBatch memory usage: db=txindex, before=0.0MiB, after=0.0MiB
2021-04-23T10:20:45Z UpdatedBlockTip: new block hash=bd817b0d3449bf024b68d7eb13c4148ca10566fda820444be2390349c9c290d5 fork block hash=1bf8b63546e1b77504f3fca7c0f8364f6af7494859269fbc73a56cf11c666184 (in IBD=false)
2021-04-23T10:20:45Z FeeEst: 3 > 60% decay 0.96200: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 0.5/(0.5 0 mem 0.0 out)
2021-04-23T10:20:45Z FeeEst: 6 > 85% decay 0.96200: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 0.5/(0.5 0 mem 0.0 out)
2021-04-23T10:20:45Z FeeEst: 12 > 95% decay 0.96200: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 0.5/(0.5 0 mem 0.0 out)
2021-04-23T10:20:45Z Received a POST request for / from 127.0.0.1:27781
2021-04-23T10:20:45Z FeeEst: 12 > 95% decay 0.99520: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 5.9/(5.9 0 mem 0.0 out)
2021-04-23T10:20:45Z ThreadRPCServer method=getblocktemplate user=ltfn1
2021-04-23T10:20:45Z CreateNewBlock(): block weight: 1588 txs: 0 fees: 0 sigops 400
2021-04-23T10:20:45Z     - Sanity checks: 0.00ms [0.00s (0.00ms/blk)]
2021-04-23T10:20:45Z FeeEst: 12 > 95% decay 0.99931: feerate: -1 from (-1 - -1) 0.00% 0.0/(0.0 0 mem 0.0 out) Fail: (0 - 1e+099) 100.00% 10.9/(10.9 0 mem 0.0 out)
2021-04-23T10:20:45Z     - Fork checks: 0.00ms [0.00s (0.02ms/blk)]
2021-04-23T10:20:45Z       - Connect 1 transactions: 0.00ms (0.000ms/tx, 0.000ms/txin) [0.00s (0.03ms/blk)]
2021-04-23T10:20:45Z     - Verify 0 txins: 0.00ms (0.000ms/txin) [0.00s (0.04ms/blk)]
2021-04-23T10:20:45Z CreateNewBlock() packages: 0.00ms (0 packages, 0 updated descendants), validity: 0.50ms (total 0.50ms)

https://openchains.info/coin/ltfn/tx/c5ae1e040cb731abbe57f325501f2e376cc6a23651ccde64ecf1cce28f6aae52

It's put CXciyXBHb65uTQnBvXBF3KeoDRUi5T4Tfg instead of Nb4obEdVLbfouFGMY1WDATTTx2vHuVsJ8H ("p2sh-segwit")

with legacy and bech32 all work as expected.

mraksoll4 commented 3 years ago

I dont see -D option any debug at create tx :(

mraksoll4 commented 3 years ago

i tnink some where Typo issue . But fo that need know what debug :/ somting extra add to base58

JayDDee commented 3 years ago

I still don't see a problem, all your tests solved a block.

mraksoll4 commented 3 years ago

You ask about debug , debug give only info about solving block . Problem not at solving block - problem at adress when using p2sh-segwit address type . It put legacy address.

mraksoll4 commented 3 years ago

This is protocol dump , i to dont see any info about tx format :/

Segwit is working , how i sat problem only at "p2sh-segwit" typo , if use type legacy or bech32 it work correct. But i use "p2sh-segwit" type , it for some reason add to coinbase wrong legacy address (legacy 28 - "C") (p2sh-segwit 53 - "N") (bech32 - "ltfn")

* Connection #0 to host 127.0.0.1 left intact
[2021-04-24 11:37:07] JSON protocol response:
{
   "error": null,
   "result": {
      "difficulty": 0.0002441371325370145,
      "currentblocktx": 0,
      "pooledtx": 0,
      "currentblockweight": 4000,
      "blocks": 1859261,
      "networkhashps": 1208.7691287933369,
      "chain": "main",
      "warnings": ""
   },
   "id": 8
}
[2021-04-24 11:37:07] Mining info: diff 0.00024414, net_hashrate 1208.769129, height 1859261
[2021-04-24 11:37:07] GBT new work received in 13.39 ms
[2021-04-24 11:37:07] Threads restarted for new work.
[2021-04-24 11:37:12] JSON protocol request:
{"method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "coinbasevalue", "longpoll", "workid"], "rules": ["segwit"]}], "id":0}

* Found bundle for host 127.0.0.1: 0xb3be30 [serially]
* Re-using existing connection! (#0) with host 127.0.0.1
* Connected to 127.0.0.1 (127.0.0.1) port 39327 (#0)
* Server auth using Basic with user 'ltfn1'
> POST / HTTP/1.1
Host: 127.0.0.1:39327
Authorization: Basic bHRmbjE6bHRmbjE=
Accept: */*
Accept-Encoding: identity
Transfer-Encoding: chunked
Content-Type: application/json
Content-Length: 147
User-Agent: cpuminer-opt/3.16.2
X-Mining-Extensions: longpoll reject-reason
Expect: 100-continue

* Mark bundle as not supporting multiuse
< HTTP/1.1 100 Continue
* Signaling end of chunked upload via terminating chunk.
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json
< Date: Sat, 24 Apr 2021 08:37:12 GMT
< Content-Length: 772
<
* Connection #0 to host 127.0.0.1 left intact
[2021-04-24 11:37:12] JSON protocol response:
{
   "error": null,
   "result": {
      "transactions": [],
      "vbavailable": {},
      "mutable": [
         "time",
         "transactions",
         "prevblock"
      ],
      "longpollid": "4f39c3f7658b26085e1a89013e1e67fb6eaa3e0bd57c3f2ea178e2c07e7cee8058",
      "version": 1610612736,
      "mintime": 1619246351,
      "height": 1859262,
      "capabilities": [
         "proposal"
      ],
      "rules": [
         "csv",
         "!segwit"
      ],
      "vbrequired": 0,
      "sizelimit": 8000000,
      "previousblockhash": "4f39c3f7658b26085e1a89013e1e67fb6eaa3e0bd57c3f2ea178e2c07e7cee80",
      "coinbaseaux": {},
      "weightlimit": 8000000,
      "coinbasevalue": 5000000000,
      "target": "00000fffff000000000000000000000000000000000000000000000000000000",
      "curtime": 1619253432,
      "noncerange": "00000000ffffffff",
      "sigoplimit": 160000,
      "bits": "1e0fffff",
      "default_witness_commitment": "6a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf9"
   },
   "id": 0
}
[2021-04-24 11:37:12] GBT: SegWit is enabled
[2021-04-24 11:37:12] JSON protocol request:
{"method": "getmininginfo", "params": [], "id":8}

* Found bundle for host 127.0.0.1: 0xb3be30 [serially]
* Re-using existing connection! (#0) with host 127.0.0.1
* Connected to 127.0.0.1 (127.0.0.1) port 39327 (#0)
* Server auth using Basic with user 'ltfn1'
> POST / HTTP/1.1
Host: 127.0.0.1:39327
Authorization: Basic bHRmbjE6bHRmbjE=
Accept: */*
Accept-Encoding: identity
Transfer-Encoding: chunked
Content-Type: application/json
Content-Length: 51
User-Agent: cpuminer-opt/3.16.2
X-Mining-Extensions: longpoll reject-reason
Expect: 100-continue

* Mark bundle as not supporting multiuse
< HTTP/1.1 100 Continue
* Signaling end of chunked upload via terminating chunk.
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json
< Date: Sat, 24 Apr 2021 08:37:12 GMT
< Content-Length: 206
<
* Connection #0 to host 127.0.0.1 left intact
[2021-04-24 11:37:12] JSON protocol response:
{
   "error": null,
   "result": {
      "difficulty": 0.0002441371325370145,
      "currentblocktx": 0,
      "pooledtx": 0,
      "currentblockweight": 4000,
      "blocks": 1859261,
      "networkhashps": 1208.7691287933369,
      "chain": "main",
      "warnings": ""
   },
   "id": 8
}
JayDDee commented 3 years ago

If there's something missing to support p2sh with segwit I don't know what it is. I still don't know what encoding the miner used because I see no difference between the success case and fail case. I need to see the miner debug logs.

We're just going in circles and not making any progress.

mraksoll4 commented 3 years ago

Are read what i say , i put -D and -P this is all what debug give .
I:\Other\Miners\Optv1>cpuminer-avx512.exe -a yespowerr16 -t 14 -o http://127.0.0.1:39327 -u ltfn1 -p ltfn1 --coinbase-addr=Nb4obEdVLbfouFGMY1WDATTTx2vHuVsJ8H -D <------ ! You say me use -D , from start and to find block . Then i try with -P ( protocol debug )

How to debag that what you need , how you see -D and -P not give what we need :/ at --help i dont see any option to -D for debug level.

JayDDee commented 3 years ago

So which case is that and what is the output? I need to see the miner's startup logs looking for the address encoding detected and wether segwit is enabled. I need that for each case. Also what was the result of testing 3.16.1? You posted one large log file but it didn't have -D and you didn't say if if it had the same problem. a different problem, or no problem. Some of your log files have editted out the logs at startup. Those are the ones I need.

Wallet logs and protocol dumps are just noise that adds confusion.

v3.16.2 added Bech32 support, v3.14.0 added segwit support. I need to find out if something broke or if it never worked. If I broke it I can fix it. If it never worked there's nothing I can do about it without a working example.

mraksoll4 commented 3 years ago

That 2 with -D option v3.16.2 then v3.16.2, and all out put from start , so i ask how me debug tx if it not log that function ? ) wwwwwwwwwwwwwww This what i say you -D give only that what i send at that large - log ( i to was confused and try with -D and -P options , but it give only info about block , maybe function for debug tx is commented ?

JayDDee commented 3 years ago

I'm not a protocol guy so I can't help you with that. I just need to know if I broke it so I can fix it. I also don't know anything about p2sh.

Liie I said before if it's a missing feature I don't know how to add it. cpuminer-opt supports B58 and Bech32.

mraksoll4 commented 3 years ago

many coins as deffault have "p2sh-segwit" what bassed later that 17 source of BTC , about debug option - how i was say it not give any tx creation log. So how debug it , even if i try recompile all code , need research code to find where add "logprint" :/

mraksoll4 commented 3 years ago

problem not at support segwit - bech32 segwit fork fine , bug not at segwit - bug at address format , for some reason from some where it convert again to legacy (what is very strange and from where miner know about legacy "C" - "28" Oo ) . You not need anyting to add , need fix something what make extra work and make incorect address type. ( forgot about ptoro dump )

Legacy and bech32 work fine . as exmple if it was bitcoin Legacy - 1 p2sh-segwit - 3

and yes for fix it , need first debug it :/ but -D option notting not say .

JayDDee commented 3 years ago

Cpuminer address decoding does not distinguish based on the first character of the address, and never did. It simply tries to decode B58 first and if that fails it attempts Bech32. Then it appends the generated script to the coinbase transaction. Without the data I requested I can't confirm it is working as intended.

It has become clear to me we have hit a roadblock and that cpuminer never supported what you describe. I was willing to try work with you to try to understand the problem better but you have repeatedly failed to provide requested data.

It was never likely I could fix it but I was wiling to look into it. Not anymore.

The official reply to this issue is it's not supported. Case closed.