aboutsummaryrefslogtreecommitdiff
path: root/src/net_permissions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reduce MAX_PEER_TX_ANNOUNCEMENTS for non-PF_RELAY peersPieter Wuille2020-10-121-1/+1
| | | | | | | Maintaining up to 100000 INVs per peer is excessive, as that is far more than fits in a typical mempool. Also disable the "overload" penalty for PF_RELAY peers.
* Add addr permission flag enabling non-cached addr sharingGleb Naumenko2020-07-301-0/+3
|
* net: Extract download permission from nobanMarcoFalke2020-07-091-1/+4
|
* refactor: Put`TryParsePermissionFlags` in anonymous namespaceWladimir J. van der Laan2020-06-091-0/+4
| | | | It's only used inside `net_permissions.cpp`.
* refactor: Error message bilingual_str consistencyWladimir J. van der Laan2020-06-091-9/+9
| | | | | | | | | | | | - Move the decision whether to translate an error message to where it is defined. This simplifies call sites: no more `InitError(Untranslated(...))`. - Make all functions in `util/error.h` consistently return a `bilingual_str`. We've decided to use this as error message type so let's roll with it. This has no functional changes: no messages are changed, no new translation messages are defined.
* doc: Extract net permissions docMarcoFalke2020-06-081-0/+8
|
* net: Avoid using C-style NUL-terminated strings as arguments in the netbase ↵practicalswift2020-01-081-2/+2
| | | | interface
* scripted-diff: Bump copyright of files changed in 2019MarcoFalke2019-12-301-1/+1
| | | | | | -BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT-
* util: Move ResolveErrMsg to util/errorMarcoFalke2019-08-151-2/+3
|
* Make whitebind/whitelist permissions more flexiblenicolas.dorier2019-08-111-0/+106