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

fix: setting dag synced state #2615

Merged
merged 1 commit into from
Dec 4, 2023
Merged

fix: setting dag synced state #2615

merged 1 commit into from
Dec 4, 2023

Conversation

mfrankovi
Copy link
Contributor

This is fixing an issue where node we are syncing from marks us as malicious with this error:
Taraxa_N1_12042023_101626_00464.log:0x00007fbca17fa640 10c405dc… V2_GET_DAG_SYNC_PH [2023-12-04 10:23:04.234114] ERROR: Exception caught during packet processing: PacketProcessingException -> MaliciousPeer : Received multiple GetDagSyncPackets from d0dd0540… .PacketData: {"from_node_id":"d0dd0540abbd65d4b63da832afafcf7571ca1b74bfce9ac2b7d22c1a215448a07f6ce6eff0f7e54fb52c8efb8ca64bc6b03a0774f8e2bc4c01ff9e81a1783583","id":61850817,"priority":2,"receive_time":"2023-12-04 10:23:04 node local time","rlp_items_count":2,"rlp_size":0,"type":"GetDagSyncPacket"}, disconnect peer: d0dd0540abbd65d4b63da832afafcf7571ca1b74bfce9ac2b7d22c1a215448a07f6ce6eff0f7e54fb52c8efb8ca64bc6b03a0774f8e2bc4c01ff9e81a1783583

When restarting pbft syncing multiple times from the same node a check is needed if dag syncing is allowed before doing it multiple times.

@mfrankovi mfrankovi merged commit f47640a into develop Dec 4, 2023
4 checks passed
@mfrankovi mfrankovi deleted the dag_sync_allow_fix branch December 4, 2023 14:49
@taraxadeploy
Copy link
Collaborator

prnet cleaned-up successfully

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

Successfully merging this pull request may close these issues.

4 participants