PoC-Consortium / scavenger

A fast Burstcoin miner written in Rust
GNU General Public License v3.0
107 stars 64 forks source link

submit: deadlines mismatch #64

Closed davidishere closed 5 years ago

davidishere commented 5 years ago

12:11:46 [INFO] round finished: roundtime=181ms, speed=13.47MiB/s
12:11:46 [ERROR] submit: deadlines mismatch, height=635539, account=4827488958201067556, nonce=9077, deadline_miner=484024290, deadline_pool=188039037078246 12:15:49 [INFO] HDD, wakeup!

pls help me! thanks!

JohnnyFFM commented 5 years ago

Hi, what pool do you use?

The good news: your deadline was correct, the pool was wrong. Your plotfiles are ok.

davidishere commented 5 years ago

i'm solo, and use BRS wallet.

davidishere commented 5 years ago

url: 'http://localhost:8125'

url: 'http://50-50-pool.burst.cryptoguru.org:8124' # cryptoguru 50-50 pool

url: 'http://dummypool.megash.it' # dummypool with constant scoop number for benchmarking

JohnnyFFM commented 5 years ago
Block Height         : 635539
Numeric ID           : 4827488958201067556
Nonce                : 9077
Generation Signature : 03a17f5f6c64d4dc6500fdb98af1368cc7a749045f41298ee8ecde08d72fea8a
Base Target          : 64646
Net Difficulty       : 283469
Scoop                : 2875
Hash 1:              : "36671a8a60306de955fd331686f702915954fe169ff68568b7a54a1654f9641b"
Hash 2: (PoC2)       : "4e282908a7091e18ba39c037748f0a447f47b7a74f96d5f77cc234f33c72457d"
Hash 2: (PoC1)       : "8ead34437911258142dc50be019d8227875aa0f8db640b459e877fad1a2a11a0"
Deadline PoC1 (raw)  : 7494887495081179992
Deadline PoC1 (adj)  : 115937374239414
Deadline PoC2 (raw)  : 31290234293148
Deadline PoC2 (adj)  : 484024290
JohnnyFFM commented 5 years ago

So the wallet was wrong. Most likely a race condition during block change. Do you have more of your screen log? Was a new block pending? Was it a one-off our does it happen frequently?

The good news: Even if an issue with the wallet, it will not affect your block forging chance.

davidishere commented 5 years ago

i change to pool mining using ''http://50-50-pool.burst.cryptoguru.org:8124', but in the pool website, they say use scavenger and change mining.conf. but should the config file is config.yaml? i'm confused!

JohnnyFFM commented 5 years ago

yes, it's config.yaml! remove your id and passphrase from config.yaml and uncomment url: 'http://50-50-pool.burst.cryptoguru.org:8124' # cryptoguru 50-50 pool

pynixwang commented 5 years ago

solo mining error

this cause space in secret become + so node receive a different secret. so the dl is mismatch. https://github.com/PoC-Consortium/scavenger/blob/master/src/com/client.rs#L125-L127

please reopen this issue.