Commit graph

5 commits

Author SHA1 Message Date
Olaoluwa Osuntokun
7e9414fa6c config: reject non-positive maxpeers
In this commit, we reject maxpeers values that cannot represent a usable
peer budget.

A zero value reached connmgr as TargetOutbound=0, where zero means to use
the default target of eight. The server then rejected every completed
peer and immediately created a replacement request. Rejecting the value
during configuration avoids that outbound reconnect loop.
2026-07-21 16:45:44 -07:00
petersssong
6f09db1924 multi:use t.TempDir replace os.MkdirTemp 2025-03-07 16:54:47 +08:00
theedtron
b66f5b8379
multi: fix ioutil deprecated function
update i/o functions to use os / io package functions instead
2024-03-08 17:41:41 -08:00
Marco Peereboom
69fca4d9b1 Reconcile differences between btcd/dcrd.
Fixes #793
2016-10-21 16:37:30 -05:00
Hector Jusforgues
ff4ada0b0e Add automatic RPC configuration. 2016-06-03 21:14:15 -05:00