Skip to content

Sharing Allow/Block Lists between Nodes #4881

Answered by thomaseizinger
bem4444 asked this question in Q&A
Discussion options

You must be logged in to vote

libp2p-allow-block-list is just a module that enforces your allow/block list policy. It is not the source of truth for your allow-block list as you need to first add all the peers to it.

Thus, whatever components calls the API of libp2p-allow-block-list is in charge of managing that state and it can also distribute it to other behaviours or answer incoming requests about it.

Long-story short: It is the application's job to manage this list and update libp2p-allow-block-list with any changes to it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bem4444
Comment options

@thomaseizinger
Comment options

Answer selected by bem4444
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants