Skip to content

Feat: Multiple P2P fixes#376

Closed
rem1niscence wants to merge 3 commits into
mainfrom
feat/p2p-fixes
Closed

Feat: Multiple P2P fixes#376
rem1niscence wants to merge 3 commits into
mainfrom
feat/p2p-fixes

Conversation

@rem1niscence

Copy link
Copy Markdown
Collaborator

Description

Apply multiple minor fixes to p2p to improve stability and a fix for a possible mempool panic on dex check

Related Issues

Closes: N/A

Changes Made

  • Release peer error lock faster
  • increase hearbeat timeout
  • cache peerInfo in MultiConn
  • prioritize heartbeat send
  • prevent reconnect stampede on failed peers
  • fix race condition on check mempool

Checklist

  • I have tested the changes locally and verified they work as intended.
  • I have appropriately titled my branch issue-#<issue-number>.
  • I have run re-built the web-wallet and/or block explorer (if applicable).
  • I have run npm run prettier to format the web-wallet and/or block explorer (if applicable)
  • I have updated documentation (if applicable).
  • I have included tests for the changes (if applicable).

Additional Notes

- Release peer error lock faster
- increase hearbeat timeout
- cache peerInfo in MultiConn
- prioritize heartbeat send
- prevent reconnect stampede on failed peers
- check for s.closed on queuesend
@rem1niscence
rem1niscence deleted the feat/p2p-fixes branch April 21, 2026 19:26
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.

1 participant