Bitshala / BitcoinCore-PR-Review-Club

Bitcoin Core PR Review Organising repo
10 stars 2 forks source link

p2p: Allow whitelisting outgoing connections #27114 #19

Closed rajarshimaitra closed 1 year ago

rajarshimaitra commented 1 year ago

Session Details

Notes

By default, a Bitcoin Core node allows up to 125 connections (8 of which are outbound) to other peers. Whitelist is a startup option that allows to add permission flags to the peers connecting from the given IP address or CIDR-notated network. It uses the same permissions as -whitebind: bloomfilter, noban, forcerelay, relay, mempool, download, addr).

The intent for whitelisting a peer is to give a trusted peer special permissions(like- not ever banning that peer, bloom filters etc..). we can currently whitelist inbound peers.

References

This PR is a sub PR of : https://bitcoincore.reviews/26441

Questions

Learning