Skip to content

staging: Remove unused internal banmanager.#3626

Merged
davecgh merged 1 commit intodecred:masterfrom
davecgh:scrap_internal_banmgr
Mar 3, 2026
Merged

staging: Remove unused internal banmanager.#3626
davecgh merged 1 commit intodecred:masterfrom
davecgh:scrap_internal_banmgr

Conversation

@davecgh
Copy link
Copy Markdown
Member

@davecgh davecgh commented Feb 26, 2026

With the introduction of version 2 addresses, upcoming work will be overhauling a lot of networking code. Those changes will necessarily conflict heavily with the vast majority of code that deals with addresses in any way.

That includes the internal banmanager staging code which is, unfortunately, based heavily around string addresses. Due to that, and a variety of other design issues, it has never been integrated.

In light of the aforementioned, rather than writing a bunch of temporary shim code that ultimately would just end up being removed anyway, this opts to remove the unused code now.

Centralized ban handling via something similar is ideal and something that should eventually happen and this code will be in commit history when the time comes to resurrect it and give it the overhaul it needs.

With the introduction of version 2 addresses, upcoming work will be
overhauling a lot of networking code.  Those changes will necessarily
conflict heavily with the vast majority of code that deals with
addresses in any way.

That includes the internal banmanager staging code which is,
unfortunately, based heavily around string addresses.  Due to that, and
a variety of other design issues, it has never been integrated.

In light of the aforementioned, rather than writing a bunch of temporary
shim code that ultimately would just end up being removed anyway, this
opts to remove the unused code now.

Centralized ban handling via something similar is ideal and something
that should eventually happen and this code will be in commit history
when the time comes to resurrect it and give it the overhaul it needs.
@davecgh davecgh force-pushed the scrap_internal_banmgr branch from 9f85733 to e946f2a Compare March 3, 2026 15:51
@davecgh davecgh merged commit e946f2a into decred:master Mar 3, 2026
33 checks passed
@davecgh davecgh deleted the scrap_internal_banmgr branch March 3, 2026 15:54
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