Describe the bug
The xelis_daemon exhibits repeated synchronization issues, specifically showing errors related to "Invalid transaction proof: proof verification failed" during the blockchain sync process. This occurs consistently with various peers and prevents successful data synchronization.
Version used
1.14.0-7056f59
To Reproduce
Steps to reproduce the behavior:
Start the daemon with the following command: xelis_daemon.exe --allow-boost-sync
Observe the logs as it attempts to sync with peers.
The error appears intermittently during the sync process, particularly noted in the peer-to-peer synchronization phase.
Expected behavior
I expected the daemon to sync without any issues and validate transaction proofs correctly without resulting in synchronization failures.
Additional context
The issue has been persistent despite attempts to restart the daemon and verify network settings. Here are some relevant log excerpts showing the error:
"Error occurred on chain sync with Peer[...]: Invalid transaction proof: proof verification failed"
This error has been noticed across multiple different peers and seems to be unrelated to specific peer interactions.
try « pop_blocks 10 » in the daemon to delete the last 10 blocks and it will try to sync again. You may have to do it multiple times based on which peer he will select to sync with.
Describe the bug The xelis_daemon exhibits repeated synchronization issues, specifically showing errors related to "Invalid transaction proof: proof verification failed" during the blockchain sync process. This occurs consistently with various peers and prevents successful data synchronization.
Version used 1.14.0-7056f59
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected the daemon to sync without any issues and validate transaction proofs correctly without resulting in synchronization failures.
Additional context The issue has been persistent despite attempts to restart the daemon and verify network settings. Here are some relevant log excerpts showing the error:
This error has been noticed across multiple different peers and seems to be unrelated to specific peer interactions.
[2024-09-05] (00:59:24.464) [INFO ] [xelis_daemon::p2p::peer_list] | New peer connected: Peer[connection: Connection[state: Success, peer: 3.145.94.20:2125, read: 232 B, sent: 200 B, key rotation (in/out): (1/1), connected since: 1s, closed: false], id: 6679815560524558447, topoheight: 774426, top hash: a1838411f85e2e30cc462faf627674fcb4c9488a33e257b4423758023d9a5978, height: 737011, pruned: Yes (509892), priority: false, tag: None, version: 1.13.2-f9c7973, fail count: 0, out: true, peers: 0, tasks: Inactive/Inactive] [2024-09-05] (00:59:26.430) [WARN ] [xelis_daemon::p2p] | Error occured on chain sync with Peer[connection: Connection[state: Success, peer: 162.19.249.100:2125, read: 90 MiB, sent: 2.5 MiB, key rotation (in/out): (1/1), connected since: 17m 38s, closed: false], id: 8423384279805601010, topoheight: 774426, top hash: a1838411f85e2e30cc462faf627674fcb4c9488a33e257b4423758023d9a5978, height: 737011, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 53, tasks: Active/Active]: Invalid transaction proof: proof verification failed [2024-09-05] (00:59:32.370) [WARN ] [xelis_daemon::p2p] | Error occured on chain sync with Peer[connection: Connection[state: Success, peer: 198.71.55.87:2125, read: 59.7 MiB, sent: 1.5 MiB, key rotation (in/out): (1/1), connected since: 9m 14s, closed: false], id: 14274923256652371950, topoheight: 774426, top hash: a1838411f85e2e30cc462faf627674fcb4c9488a33e257b4423758023d9a5978, height: 737011, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 37, tasks: Active/Active]: Invalid transaction proof: proof verification failed [2024-09-05] (00:59:37.625) [INFO ] [xelis_daemon::p2p] | we've synced 4095 on 4096 blocks and 0 top blocks from Peer[connection: Connection[state: Success, peer: 162.19.249.100:2125, read: 96.2 MiB, sent: 2.6 MiB, key rotation (in/out): (1/1), connected since: 17m 49s, closed: false], id: 8423384279805601010, topoheight: 774427, top hash: 4cdb65d3f5c785162af14854105c96cd43dbeef1d71d298eb5917bd3e8a46f10, height: 737012, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 53, tasks: Active/Active] [2024-09-05] (00:59:43.881) [INFO ] [xelis_daemon::p2p] | we've synced 4095 on 4096 blocks and 0 top blocks from Peer[connection: Connection[state: Success, peer: 139.99.89.27:2125, read: 40.7 MiB, sent: 1 MiB, key rotation (in/out): (1/1), connected since: 6m 20s, closed: false], id: 10866788613677085839, topoheight: 774427, top hash: 4cdb65d3f5c785162af14854105c96cd43dbeef1d71d298eb5917bd3e8a46f10, height: 737012, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 22, tasks: Active/Active] [2024-09-05] (00:59:49.662) [INFO ] [xelis_daemon::p2p] | we've synced 4095 on 4096 blocks and 0 top blocks from Peer[connection: Connection[state: Success, peer: 198.71.55.87:2125, read: 66 MiB, sent: 1.6 MiB, key rotation (in/out): (1/1), connected since: 9m 31s, closed: false], id: 14274923256652371950, topoheight: 774427, top hash: 4cdb65d3f5c785162af14854105c96cd43dbeef1d71d298eb5917bd3e8a46f10, height: 737012, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 37, tasks: Active/Active] [2024-09-05] (00:59:55.078) [WARN ] [xelis_daemon::p2p] | Error occured on chain sync with Peer[connection: Connection[state: Success, peer: 51.210.117.23:2125, read: 58.6 MiB, sent: 1.9 MiB, key rotation (in/out): (1/1), connected since: 18m 2s, closed: false], id: 14684646596177177214, topoheight: 774427, top hash: 4cdb65d3f5c785162af14854105c96cd43dbeef1d71d298eb5917bd3e8a46f10, height: 737012, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 68, tasks: Active/Active]: Invalid transaction proof: proof verification failed [2024-09-05] (01:00:01.027) [INFO ] [xelis_daemon::p2p] | we've synced 4095 on 4096 blocks and 0 top blocks from Peer[connection: Connection[state: Success, peer: 66.70.179.137:2125, read: 39.9 MiB, sent: 1 MiB, key rotation (in/out): (1/1), connected since: 8m 17s, closed: false], id: 16791154247380387366, topoheight: 774429, top hash: 73130b07dd4f88dae60c3f75ec558ef7888e423bcefaec63e9e1799cb51de9eb, height: 737014, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 37, tasks: Active/Active] [2024-09-05] (01:00:06.940) [INFO ] [xelis_daemon::p2p] | we've synced 4095 on 4096 blocks and 0 top blocks from Peer[connection: Connection[state: Success, peer: 198.71.55.87:2125, read: 72.2 MiB, sent: 1.8 MiB, key rotation (in/out): (1/1), connected since: 9m 48s, closed: false], id: 14274923256652371950, topoheight: 774429, top hash: 73130b07dd4f88dae60c3f75ec558ef7888e423bcefaec63e9e1799cb51de9eb, height: 737014, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 37, tasks: Active/Active] [2024-09-05] (01:00:12.505) [WARN ] [xelis_daemon::p2p] | Error occured on chain sync with Peer[connection: Connection[state: Success, peer: 51.68.142.141:2125, read: 66.7 MiB, sent: 1.6 MiB, key rotation (in/out): (1/1), connected since: 10m 28s, closed: false], id: 3960546322488576916, topoheight: 774429, top hash: 73130b07dd4f88dae60c3f75ec558ef7888e423bcefaec63e9e1799cb51de9eb, height: 737014, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 35, tasks: Active/Active]: Invalid transaction proof: proof verification failed [2024-09-05] (01:00:17.778) [WARN ] [xelis_daemon::p2p] | Error occured on chain sync with Peer[connection: Connection[state: Success, peer: 162.19.249.100:2125, read: 102.4 MiB, sent: 2.8 MiB, key rotation (in/out): (1/1), connected since: 18m 29s, closed: false], id: 8423384279805601010, topoheight: 774430, top hash: 0bf8a2aef668d8d8077560fe97d8b9c4eaf8dc3d4d716b685b8926d8b2d4c0da, height: 737015, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 67, tasks: Active/Active]: Invalid transaction proof: proof verification failed [2024-09-05] (01:00:23.326) [INFO ] [xelis_daemon::p2p] | we've synced 4095 on 4096 blocks and 0 top blocks from Peer[connection: Connection[state: Success, peer: 51.210.117.23:2125, read: 64.8 MiB, sent: 2 MiB, key rotation (in/out): (1/1), connected since: 18m 30s, closed: false], id: 14684646596177177214, topoheight: 774432, top hash: c630d02b6cd77a25a737d81189858018a05bb96461239075739821b8728bec09, height: 737016, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 68, tasks: Active/Active] [2024-09-05] (01:00:28.631) [WARN ] [xelis_daemon::p2p] | Error occured on chain sync with Peer[connection: Connection[state: Success, peer: 162.19.249.100:2125, read: 108.6 MiB, sent: 2.9 MiB, key rotation (in/out): (1/1), connected since: 18m 40s, closed: false], id: 8423384279805601010, topoheight: 774434, top hash: 06dd0017edb318bcc3ac02e29cbf6bbf7074a101e5108442cb73cdb92a363051, height: 737017, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 67, tasks: Active/Active]: Invalid transaction proof: proof verification failed [2024-09-05] (01:00:34.937) [INFO ] [xelis_daemon::p2p] | we've synced 4095 on 4096 blocks and 0 top blocks from Peer[connection: Connection[state: Success, peer: 139.99.89.27:2125, read: 47 MiB, sent: 1.2 MiB, key rotation (in/out): (1/1), connected since: 7m 11s, closed: false], id: 10866788613677085839, topoheight: 774434, top hash: 06dd0017edb318bcc3ac02e29cbf6bbf7074a101e5108442cb73cdb92a363051, height: 737017, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 22, tasks: Active/Active] [2024-09-05] (01:00:40.581) [WARN ] [xelis_daemon::p2p] | Error occured on chain sync with Peer[connection: Connection[state: Success, peer: 66.70.179.137:2125, read: 46.1 MiB, sent: 1.2 MiB, key rotation (in/out): (1/1), connected since: 8m 56s, closed: false], id: 16791154247380387366, topoheight: 774434, top hash: 06dd0017edb318bcc3ac02e29cbf6bbf7074a101e5108442cb73cdb92a363051, height: 737017, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 37, tasks: Active/Active]: Invalid transaction proof: proof verification failed [2024-09-05] (01:00:45.928) [WARN ] [xelis_daemon::p2p] | Error occured on chain sync with Peer[connection: Connection[state: Success, peer: 51.210.117.23:2125, read: 71 MiB, sent: 2.2 MiB, key rotation (in/out): (1/1), connected since: 18m 52s, closed: false], id: 14684646596177177214, topoheight: 774434, top hash: 06dd0017edb318bcc3ac02e29cbf6bbf7074a101e5108442cb73cdb92a363051, height: 737017, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 68, tasks: Active/Active]: Invalid transaction proof: proof verification failed [2024-09-05] (01:00:51.239) [INFO ] [xelis_daemon::p2p] | we've synced 4095 on 4096 blocks and 0 top blocks from Peer[connection: Connection[state: Success, peer: 51.195.220.137:2125, read: 85.8 MiB, sent: 2.2 MiB, key rotation (in/out): (1/1), connected since: 16m 23s, closed: false], id: 8013494837143188049, topoheight: 774434, top hash: 06dd0017edb318bcc3ac02e29cbf6bbf7074a101e5108442cb73cdb92a363051, height: 737017, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 51, tasks: Active/Active] [2024-09-05] (01:00:56.784) [INFO ] [xelis_daemon::p2p] | we've synced 4095 on 4096 blocks and 0 top blocks from Peer[connection: Connection[state: Success, peer: 51.68.142.141:2125, read: 73 MiB, sent: 1.8 MiB, key rotation (in/out): (1/1), connected since: 11m 12s, closed: false], id: 3960546322488576916, topoheight: 774435, top hash: 5e2d3c01f1785520e05d52e1e215261cb8f690e6cb20a68ddd23180cb4ae9d89, height: 737018, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 35, tasks: Active/Active] [2024-09-05] (01:01:03.043) [WARN ] [xelis_daemon::p2p] | Error occured on chain sync with Peer[connection: Connection[state: Success, peer: 139.99.89.27:2125, read: 53.3 MiB, sent: 1.3 MiB, key rotation (in/out): (1/1), connected since: 7m 40s, closed: false], id: 10866788613677085839, topoheight: 774435, top hash: 5e2d3c01f1785520e05d52e1e215261cb8f690e6cb20a68ddd23180cb4ae9d89, height: 737018, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 22, tasks: Active/Active]: Invalid transaction proof: proof verification failed [2024-09-05] (01:01:08.359) [WARN ] [xelis_daemon::p2p] | Error occured on chain sync with Peer[connection: Connection[state: Success, peer: 51.210.117.23:2125, read: 77.2 MiB, sent: 2.3 MiB, key rotation (in/out): (1/1), connected since: 19m 15s, closed: false], id: 14684646596177177214, topoheight: 774436, top hash: 8c0d7394e4441cf390a2240fc445ad5d1dbb21de13e3801f79e26f98ec789ec2, height: 737019, pruned: No, priority: true, tag: None, version: 1.14.0-189faa79, fail count: 0, out: true, peers: 68, tasks: Active/Active]: Invalid transaction proof: proof verification failed