Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.82k stars 2.03k forks source link

Won block but no reward [Bug] #15430

Closed Oscillator098 closed 1 year ago

Oscillator098 commented 1 year ago

What happened?

Hi, I just won block by Self Pooling and I got no XCH reward. I rechecked my receiving address but nothing.

Log is below, it looks very similar to previous block winning but now is without any reward.

What happened?

Version

1.8.1.

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

2023-06-01T07:55:08.853 harvester chia.harvester.harvester: INFO     3 plots were eligible for farming 4bb79a8665... Found 1 proofs. Time: 0.96870 s. Total 1369 plots
2023-06-01T07:55:09.666 full_node chia.full_node.full_node: INFO      Updated peak to height 3742096, weight 7668425296, hh 8501c0e5df5e3828a272b0aecbbae7623ee8712191c650eadd6bf9f483f202c0, forked at 3742095, rh: 532dd797ed93455ee50405000b19a44875d2fc45d6789c87681094e120523023, total iters: 15662749930948, overflow: False, deficit: 15, difficulty: 2208, sub slot iters: 147849216, Generator size: 113012, Generator ref list size: 0
2023-06-01T07:55:09.728 full_node chia.full_node.mempool_manager: INFO     Size of mempool: 94 spends, cost: 82890351160 minimum fee rate (in FPC) to get in for 5M cost tx: 0
2023-06-01T07:55:09.775 full_node chia.full_node.full_node: WARNING  Block validation time: 2.08 seconds, pre_validation time: 0.64 seconds, cost: 1832922299, percent full: 16.663% header_hash: 8501c0e5df5e3828a272b0aecbbae7623ee8712191c650eadd6bf9f483f202c0 height: 3742096
2023-06-01T07:55:09.775 full_node asyncio                 : WARNING  socket.send() raised exception.
2023-06-01T07:55:09.791 full_node chia.full_node.mempool  : INFO     Starting to make block, max cost: 5500000000
2023-06-01T07:55:09.791 full_node chia.full_node.mempool  : INFO     Cumulative cost: 0, fee per cost: 5.0000
2023-06-01T07:55:09.791 full_node chia.full_node.mempool  : INFO     Cumulative cost: 50571541, fee per cost: 3.3764
2023-06-01T07:55:09.791 full_node chia.full_node.mempool  : INFO     Cumulative cost: 80188860, fee per cost: 0.0000
2023-06-01T07:55:09.807 full_node chia.full_node.mempool  : INFO     Cumulative cost: 142299137, fee per cost: 0.0000
2023-06-01T07:55:09.822 full_node chia.full_node.mempool  : INFO     Cumulative cost: 5244823332, fee per cost: 0.0000
2023-06-01T07:55:09.822 full_node chia.full_node.mempool  : INFO     Cumulative cost: 5253447894, fee per cost: 0.0000
2023-06-01T07:55:09.822 full_node chia.full_node.mempool  : INFO     Cumulative cost: 5268258879, fee per cost: 0.0000
2023-06-01T07:55:09.838 full_node chia.full_node.mempool  : INFO     Cumulative cost: 5286554326, fee per cost: 0.0000
2023-06-01T07:55:09.838 full_node chia.full_node.mempool  : INFO     Cumulative cost: 5295178888, fee per cost: 0.0000
2023-06-01T07:55:09.838 full_node chia.full_node.mempool  : INFO     Cumulative cost of block (real cost should be less) 5295178888. Proportion full: 0.9627597978181818
2023-06-01T07:55:09.838 full_node chia.full_node.full_node: INFO     Add rem: 1753 24
2023-06-01T07:55:09.838 full_node chia.full_node.full_node: INFO     Using previous generator for height CompressorArg(block_height=3693974, start=2147, end=2385)
2023-06-01T07:55:09.838 full_node chia.full_node.full_node: INFO     Starting to make the unfinished block
2023-06-01T07:55:10.307 full_node chia.full_node.full_node: INFO     Made the unfinished block
2023-06-01T07:55:10.775 wallet chia.wallet.wallet_state_manager: INFO     set_sync_mode syncing - range: 3742095-3742096
2023-06-01T07:55:10.791 wallet chia.wallet.wallet_blockchain: INFO     Peak set to: 3742096 timestamp: 1685598838
2023-06-01T07:55:17.290 full_node chia.full_node.full_node_store: INFO     Don't have rc hash e73ea8b28db712fb0e573884b262680e40d1180ffd456ee748ea4764efaef9c8. caching signage point 12.
2023-06-01T07:55:23.649 full_node chia.full_node.full_node: INFO      Updated peak to height 3742097, weight 7668427504, hh 768306824eb54f43980b037c84cc8d9bcf29ff80a1e9536ba3b36c46e62d4a9f, forked at 3742096, rh: bfdb2df6f3290bd17e20ef3e4725c8e27893d7366bc185cc2a78fb87f8172c41, total iters: 15662767044819, overflow: False, deficit: 14, difficulty: 2208, sub slot iters: 147849216, Generator size: 50676, Generator ref list size: 0
2023-06-01T07:55:28.243 full_node chia.full_node.full_node_store: INFO     Don't have rc hash fbf9c28ea796ba43303a033072ee370a17e629ddd5ec56109d95c3969cf0efc8. caching signage point 13.
2023-06-01T07:55:28.774 full_node chia.full_node.full_node: INFO       Finished signage point 11/64: CC: 0c396c21e7bb36ea2fbf21e8c83ba7694834e6f485ddf8cefa463795e94e2bdc RC: 1a2a31e43b3c945ed5d8bfb809a461b03a22ce680725bb41213dfae6dab2ca77 
Oscillator098 commented 1 year ago

Some user "scrutinous" on discord pointed out that it could be something called "reorg" that I did not won the block. If that could possibly be it, how can I investigate if that is the case?

Oscillator098 commented 1 year ago

Any explanation for this behavior?

github-actions[bot] commented 1 year ago

This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days.

Oscillator098 commented 1 year ago

Still no explanation? I see a lot of tickets are not addressed lately.

github-actions[bot] commented 1 year ago

This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days.

Oscillator098 commented 1 year ago

Again no answer?

Oscillator098 commented 1 year ago

Is anybody take this issue at all or should I just let it go stale? I don't enjoy losing 2XCH per won block if this is some bug, or mistake on my part, or normal behavior.

wjblanke commented 1 year ago

Did you claim the reward since you are self pooling? Can you check a block explorer to see if your winning block is actually on the chain?

Oscillator098 commented 1 year ago

It is not on the chain, there was nothing to claim. It looks like I have never won even though logs say I won it and suppose to make it. I have whole log saved but I don't know how to investigate it.

emlowe commented 1 year ago

In most cases, finding a proof will result in winning rewards. However, there can be timing-related issues with your block getting to the timelord. The log is an indication from your node that it may have found a solution and made a block - however, it isn't guaranteed that your block would make it onto the chain if it doesn't get to the timelord in time. I suspect that although your node may have made a block, it did so too late for it to be included in the chain. This should be uncommon but can happen.

Note, if you are pooling to a pool, then these proofs in the log are partial proofs and do not represent actual wins, so if you have any plots going to a pool you will also see this.