Skip to content

Conversation

@Davidson-Souza
Copy link
Member

@Davidson-Souza Davidson-Souza commented Apr 21, 2025

What is the purpose of this pull request?

  • Bug fix
  • Documentation update
  • New feature
  • Test
  • Other:

Which crates are being modified?

  • floresta-chain
  • floresta-cli
  • floresta-common
  • floresta-compact-filters
  • floresta-electrum
  • floresta-watch-only
  • floresta-wire
  • floresta
  • florestad
  • Other: .

Description

This PR bundles some small fixes on how we select and keep our peers, specially on sync-node. It solves some situations I've found when running floresta for days or weeks non-stop.

Checklist

  • I've signed all my commits
  • I ran just lint
  • I ran cargo test
  • I've checked the integration tests
  • I've followed the contribution guidelines
  • I'm linking the issue being fixed by this PR (if any)

@Davidson-Souza Davidson-Souza added bug Something isn't working code quality Generally improves code readability and maintainability labels Apr 21, 2025
@Davidson-Souza Davidson-Souza added this to the v0.8.0 milestone Apr 21, 2025
Copy link
Collaborator

@jaoleal jaoleal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CACK fa3a0b2

everything running fine locally

@Davidson-Souza
Copy link
Member Author

Updated with @JoseSK999 comments. I've also fixed a few more things I've found running this code. It seems to work well now

@Davidson-Souza Davidson-Souza mentioned this pull request Apr 28, 2025
21 tasks
We should timeout connection request faster, because they can clog up
our inflight requests and get us stuck.

I'm also improving readability by adding empty lines between the consts
inside the trait
The function that saves the anchors was called after all peers were
disconnected. This could cause the function to never see utreexo peers
to save
@Davidson-Souza
Copy link
Member Author

Rebased with master to make sure linting will pass

Copy link
Contributor

@JoseSK999 JoseSK999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some questions

Copy link
Contributor

@JoseSK999 JoseSK999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 03defdb

Copy link
Contributor

@JoseSK999 JoseSK999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-ACK 25300bb

@Davidson-Souza Davidson-Souza merged commit 7345cba into vinteumorg:master Apr 30, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working code quality Generally improves code readability and maintainability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants