Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate commit for potential coinbase detected. #2838

Closed
bladedoyle opened this issue May 23, 2019 · 1 comment
Closed

Duplicate commit for potential coinbase detected. #2838

bladedoyle opened this issue May 23, 2019 · 1 comment

Comments

@bladedoyle
Copy link
Contributor

bladedoyle commented May 23, 2019

Describe the bug
Stuck in a loop reporting the following error. Mining stopped. Needed to restart grin core process to resolve and continue mining.

20190523 15:57:39.754 DEBUG grin_servers::mining::mine_block - get_coinbase: BlockFees { fees: 0, height: 183541, key_id: Some(Identifier(030000000000000000000010c900000000)) }
20190523 15:57:39.756 DEBUG grin_servers::mining::mine_block - Built new block with 0 inputs and 1 outputs, block difficulty: 2527503074, cumulative difficulty 542112330825710
20190523 15:57:39.757 DEBUG grin_servers::mining::mine_block - Duplicate commit for potential coinbase detected. Trying next derivation.

To Reproduce
Steps to reproduce the behavior:
Unknown. Possibly related to wallet public api server restart shortly before the issue started.

Relevant Information
Wallet public listener v1.0.3
Grin core server v1.0.3
Wallet service restarted shortly before issue was seen.

Desktop (please complete the following information):
No desktop, no TUI.
Linux grin-0 4.14.65+ #1 SMP Sun Sep 9 02:18:33 PDT 2018 x86_64 GNU/Linux

Additional context
Logs immediately prior to failure:

20190523 14:36:29.097 INFO grin_servers::mining::stratumserver - (Server ID: 0) Got share at height 183463, hash 28ddfa09497b, edge_bits 29, nonce 1894684130102990837, job_id 2, difficulty 8694/2584778706, submitted by GrinPool
20190523 14:36:29.110 DEBUG grin_servers::common::adapters - block_accepted (head+): 000004ae6cdb at 183463 (diff: 541908937149159)
20190523 14:36:29.111 DEBUG grin_p2p::peer - Suppress header send 000004ae6cdb to 10.138.0.7:3414 (already seen)
20190523 14:36:29.111 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 121.43.183.180:3414
20190523 14:36:29.111 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 34.74.219.251:3414
20190523 14:36:29.111 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 35.202.25.85:3414
20190523 14:36:29.111 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 2.206.232.183:3414
20190523 14:36:29.111 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 52.53.221.15:3414
20190523 14:36:29.111 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 34.65.152.46:3414
20190523 14:36:29.112 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 51.75.55.97:3414
20190523 14:36:29.112 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 35.156.218.180:3414
20190523 14:36:29.112 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 69.195.152.114:3414
20190523 14:36:29.112 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 18.179.2.142:3414
20190523 14:36:29.112 DEBUG grin_servers::common::adapters - Received block header 000004ae6cdb at 183463 from 10.8.6.1:3414, going to process.
20190523 14:36:29.112 DEBUG grin_chain::pipe - pipe: process_block_header: 000004ae6cdb at 183463
20190523 14:36:29.112 DEBUG grin_servers::common::adapters - Block header 000004ae6cdb refused by chain: Unfit("header already known")
20190523 14:36:29.112 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 35.181.86.197:3414
20190523 14:36:29.113 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 159.69.203.117:3414
20190523 14:36:29.113 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 47.74.243.210:3414
20190523 14:36:29.113 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 45.118.135.254:3414
20190523 14:36:29.113 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 185.53.97.131:3414
20190523 14:36:29.113 DEBUG grin_p2p::peer - Send header 000004ae6cdb to 207.154.245.238:3414
20190523 14:36:29.113 DEBUG grin_p2p::peers - broadcast_header: 000004ae6cdb, 541908937149159 at 183463, to 16 peers, done.
20190523 14:36:29.120 DEBUG grin_pool::transaction_pool - truncate_reorg_cache: size: 61
20190523 14:36:29.143 DEBUG grin_p2p::protocol - handle_payload: received compact block: msg_len: 1293
20190523 14:36:29.143 DEBUG grin_servers::common::adapters - Received compact_block 000004ae6cdb at 183463 from 220.133.14.38:3414 [out/kern/kern_ids: 1/1/5] going to process.
20190523 14:36:29.143 DEBUG grin_chain::pipe - pipe: process_block_header: 000004ae6cdb at 183463
20190523 14:36:29.143 DEBUG grin_servers::common::adapters - Invalid compact block header 000004ae6cdb: Unfit("header already known")
20190523 14:36:29.144 DEBUG grin_p2p::protocol - handle_payload: received compact block: msg_len: 1293
20190523 14:36:29.144 DEBUG grin_servers::common::adapters - Received compact_block 000004ae6cdb at 183463 from 10.138.0.11:3414 [out/kern/kern_ids: 1/1/5] going to process.
20190523 14:36:29.144 DEBUG grin_chain::pipe - pipe: process_block_header: 000004ae6cdb at 183463
20190523 14:36:29.144 DEBUG grin_servers::common::adapters - Invalid compact block header 000004ae6cdb: Unfit("header already known")
20190523 14:36:29.368 DEBUG grin_servers::mining::mine_block - get_coinbase: BlockFees { fees: 0, height: 183464, key_id: Some(Identifier(030000000000000000000010c900000000)) }
20190523 14:36:29.370 DEBUG grin_servers::mining::mine_block - Built new block with 0 inputs and 1 outputs, block difficulty: 2570941825, cumulative difficulty 541911508090984
20190523 14:36:29.371 DEBUG grin_servers::mining::mine_block - Duplicate commit for potential coinbase detected. Trying next derivation.
20190523 14:36:29.684 DEBUG grin_servers::mining::mine_block - get_coinbase: BlockFees { fees: 0, height: 183464, key_id: Some(Identifier(030000000000000000000010c900000000)) }
20190523 14:36:29.686 DEBUG grin_servers::mining::mine_block - Built new block with 0 inputs and 1 outputs, block difficulty: 2570941825, cumulative difficulty 541911508090984
@quentinlesceller
Copy link
Member

V1 issue. Probably not relevant anymore. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants