Skip to content

Conversation

@ArneBab
Copy link
Contributor

@ArneBab ArneBab commented Nov 11, 2024

This is just a copy of #396 with the merge errors fixed.

This needs careful review, though, because it merges changes from 2016 into the 2024 codebase. I did not review it yet.

toad and others added 23 commits August 12, 2015 21:10
This should fix some annoying log spam and rekey quicker.
Should fix bogus logging on nodes with darknet peers.
This fixes logger errors due to trying to reconnect to old opennet peers
which are not in the routing table and not in the status table either, but
get set to BURSTING on non-NATed nodes.
Mainly for squashing log errors, but the peer counts *are* used for important
things, notably determining whether we need more opennet peers.
Conflicts:
	src/freenet/node/PeerNode.java
This reverts commit f98ac58.

This is wrong. There is a better way...

Conflicts:
	src/freenet/node/PeerNode.java
This makes much more sense. It also fixes the "old opennet peers in the peer
status tracker" problem more cleanly, and removes some unnecessary argument
cruft. (Renames forceCancelDisconnecting to onAdded and always calls it in
PeerManager.addPeer)
Fixes a minor regression in recent fixes.
@ArneBab ArneBab force-pushed the toad-fix-burst-only branch from 2ccd6d3 to 12a46b8 Compare November 11, 2024 21:30
@ArneBab ArneBab mentioned this pull request Nov 11, 2024
@ArneBab ArneBab changed the title Toad fix burst only Toad fix burst only (old: needs careful review!) Nov 12, 2024
@ArneBab ArneBab changed the title Toad fix burst only (old: needs careful review!) Toad fix burst only (old revived: needs careful review!) Nov 12, 2024
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.

2 participants