mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-03 01:33:20 +02:00
Merge #19191: net: Extract download permission from noban
fa0540cd46net: Extract download permission from noban (MarcoFalke) Pull request description: It should be possible to grant nodes in a local network (e.g. home, university, enterprise, ...) permission to download blocks even after the maxuploadtarget is hit. Currently this is only possible by setting the `noban` permission, which has some adverse effects, especially if the peers can't be fully trusted. Fix this by extracting a `download` permission from `noban`. ACKs for top commit: jonatack: ACKfa0540cSjors: re-utACKfa0540cd46Tree-SHA512: 255566baa43ae925d93f5d0a3aa66b475a556d1590f662a88278a4872f16a1a05739a6119ae48a293011868042e05cb264cffe5822a50fb80db7333bf44376d9
This commit is contained in:
@@ -23,7 +23,7 @@ longer serving historic blocks (blocks older than one week).
|
||||
Keep in mind that new nodes require other nodes that are willing to serve
|
||||
historic blocks.
|
||||
|
||||
Peers with the `noban` permission will never be disconnected, although their traffic counts for
|
||||
Peers with the `download` permission will never be disconnected, although their traffic counts for
|
||||
calculating the target.
|
||||
|
||||
## 2. Disable "listening" (`-listen=0`)
|
||||
|
||||
@@ -102,6 +102,11 @@ Updated settings
|
||||
- The `-debug=db` logging category, which was deprecated in 0.20 and replaced by
|
||||
`-debug=walletdb` to distinguish it from `coindb`, has been removed. (#19202)
|
||||
|
||||
- A `download` permission has been extracted from the `noban` permission. For
|
||||
compatibility, `noban` implies the `download` permission, but this may change
|
||||
in future releases. Refer to the help of the affected settings `-whitebind`
|
||||
and `-whitelist` for more details. (#19191)
|
||||
|
||||
Changes to Wallet or GUI related settings can be found in the GUI or Wallet section below.
|
||||
|
||||
New settings
|
||||
|
||||
Reference in New Issue
Block a user