[lbry] config: Add a number of missing options to sample-lbcd.conf.
Correct "blacklist is applied before the blacklist" typo in help text.
This commit is contained in:
parent
b8b2bd1584
commit
2add30af9a
2 changed files with 39 additions and 2 deletions
|
@ -100,7 +100,7 @@ type config struct {
|
||||||
AddPeers []string `short:"a" long:"addpeer" description:"Add a peer to connect with at startup"`
|
AddPeers []string `short:"a" long:"addpeer" description:"Add a peer to connect with at startup"`
|
||||||
AddrIndex bool `long:"addrindex" description:"Maintain a full address-based transaction index which makes the searchrawtransactions RPC available"`
|
AddrIndex bool `long:"addrindex" description:"Maintain a full address-based transaction index which makes the searchrawtransactions RPC available"`
|
||||||
AgentBlacklist []string `long:"agentblacklist" description:"A comma separated list of user-agent substrings which will cause lbcd to reject any peers whose user-agent contains any of the blacklisted substrings."`
|
AgentBlacklist []string `long:"agentblacklist" description:"A comma separated list of user-agent substrings which will cause lbcd to reject any peers whose user-agent contains any of the blacklisted substrings."`
|
||||||
AgentWhitelist []string `long:"agentwhitelist" description:"A comma separated list of user-agent substrings which will cause lbcd to require all peers' user-agents to contain one of the whitelisted substrings. The blacklist is applied before the blacklist, and an empty whitelist will allow all agents that do not fail the blacklist."`
|
AgentWhitelist []string `long:"agentwhitelist" description:"A comma separated list of user-agent substrings which will cause lbcd to require all peers' user-agents to contain one of the whitelisted substrings. The blacklist is applied before the whitelist, and an empty whitelist will allow all agents that do not fail the blacklist."`
|
||||||
BanDuration time.Duration `long:"banduration" description:"How long to ban misbehaving peers. Valid time units are {s, m, h}. Minimum 1 second"`
|
BanDuration time.Duration `long:"banduration" description:"How long to ban misbehaving peers. Valid time units are {s, m, h}. Minimum 1 second"`
|
||||||
BanThreshold uint32 `long:"banthreshold" description:"Maximum allowed ban score before disconnecting and banning misbehaving peers."`
|
BanThreshold uint32 `long:"banthreshold" description:"Maximum allowed ban score before disconnecting and banning misbehaving peers."`
|
||||||
BlockMaxSize uint32 `long:"blockmaxsize" description:"Maximum block size in bytes to be used when creating a block"`
|
BlockMaxSize uint32 `long:"blockmaxsize" description:"Maximum block size in bytes to be used when creating a block"`
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
; to correlate connections.
|
; to correlate connections.
|
||||||
; torisolation=1
|
; torisolation=1
|
||||||
|
|
||||||
; Use Universal Plug and Play (UPnP) to automatically open the listen port
|
; Do NOT use Universal Plug and Play (UPnP) to automatically open the listen port
|
||||||
; and obtain the external IP address from supported devices. NOTE: This option
|
; and obtain the external IP address from supported devices. NOTE: This option
|
||||||
; will have no effect if exernal IP addresses are specified.
|
; will have no effect if exernal IP addresses are specified.
|
||||||
; upnp=1
|
; upnp=1
|
||||||
|
@ -114,6 +114,9 @@
|
||||||
; banduration=24h
|
; banduration=24h
|
||||||
; banduration=11h30m15s
|
; banduration=11h30m15s
|
||||||
|
|
||||||
|
; Minimum time between attempts to send new inventory to a connected peer.
|
||||||
|
; trickleinterval=10s
|
||||||
|
|
||||||
; Add whitelisted IP networks and IPs. Connected peers whose IP matches a
|
; Add whitelisted IP networks and IPs. Connected peers whose IP matches a
|
||||||
; whitelist will not have their ban score increased.
|
; whitelist will not have their ban score increased.
|
||||||
; whitelist=127.0.0.1
|
; whitelist=127.0.0.1
|
||||||
|
@ -167,6 +170,16 @@
|
||||||
; Must not include characters '/', ':', '(' and ')'.
|
; Must not include characters '/', ':', '(' and ')'.
|
||||||
; uacomment=
|
; uacomment=
|
||||||
|
|
||||||
|
; A comma separated list of user-agent substrings which will cause lbcd to reject
|
||||||
|
; any peers whose user-agent contains any of the blacklisted substrings.
|
||||||
|
; agentblacklist=
|
||||||
|
|
||||||
|
; A comma separated list of user-agent substrings which will cause lbcd to require
|
||||||
|
; all peers' user-agents to contain one of the whitelisted substrings. The blacklist
|
||||||
|
; is applied before the whitelist, and an empty whitelist will allow all agents that
|
||||||
|
; do not fail the blacklist.
|
||||||
|
; agentwhitelist=
|
||||||
|
|
||||||
; Disable committed peer filtering (CF).
|
; Disable committed peer filtering (CF).
|
||||||
; nocfilters=1
|
; nocfilters=1
|
||||||
|
|
||||||
|
@ -223,6 +236,9 @@
|
||||||
; Specify the maximum number of concurrent RPC websocket clients.
|
; Specify the maximum number of concurrent RPC websocket clients.
|
||||||
; rpcmaxwebsockets=25
|
; rpcmaxwebsockets=25
|
||||||
|
|
||||||
|
; Max number of concurrent RPC requests that may be processed concurrently.
|
||||||
|
; rpcmaxconcurrentreqs=20
|
||||||
|
|
||||||
; Mirror some JSON-RPC quirks of Bitcoin Core -- NOTE: Discouraged unless
|
; Mirror some JSON-RPC quirks of Bitcoin Core -- NOTE: Discouraged unless
|
||||||
; interoperability issues need to be worked around
|
; interoperability issues need to be worked around
|
||||||
; rpcquirks=1
|
; rpcquirks=1
|
||||||
|
@ -237,6 +253,12 @@
|
||||||
; the default).
|
; the default).
|
||||||
; notls=1
|
; notls=1
|
||||||
|
|
||||||
|
; File containing the certificate file.
|
||||||
|
; rpccert=~/.lbcd/rpc.cert
|
||||||
|
|
||||||
|
; File containing the certificate key.
|
||||||
|
; rpckey=~/.lbcd/rpc.key
|
||||||
|
|
||||||
|
|
||||||
; ------------------------------------------------------------------------------
|
; ------------------------------------------------------------------------------
|
||||||
; Mempool Settings - The following options
|
; Mempool Settings - The following options
|
||||||
|
@ -264,6 +286,10 @@
|
||||||
; Reject non-standard transactions regardless of default network settings.
|
; Reject non-standard transactions regardless of default network settings.
|
||||||
; rejectnonstd=1
|
; rejectnonstd=1
|
||||||
|
|
||||||
|
; Reject transactions that attempt to replace existing transactions within
|
||||||
|
; the mempool through the Replace-By-Fee (RBF) signaling policy.
|
||||||
|
; rejectreplacement=0
|
||||||
|
|
||||||
|
|
||||||
; ------------------------------------------------------------------------------
|
; ------------------------------------------------------------------------------
|
||||||
; Optional Indexes
|
; Optional Indexes
|
||||||
|
@ -319,6 +345,12 @@
|
||||||
; to the consensus limit if it is larger than that value.
|
; to the consensus limit if it is larger than that value.
|
||||||
; blockmaxsize=750000
|
; blockmaxsize=750000
|
||||||
|
|
||||||
|
; Mininum block weight to be used when creating a block.
|
||||||
|
; blockminweight=0
|
||||||
|
|
||||||
|
; Maximum block weight to be used when creating a block.
|
||||||
|
; blockmaxweight=3000000
|
||||||
|
|
||||||
; Specify the size in bytes of the high-priority/low-fee area when creating a
|
; Specify the size in bytes of the high-priority/low-fee area when creating a
|
||||||
; block. Transactions which consist of large amounts, old inputs, and small
|
; block. Transactions which consist of large amounts, old inputs, and small
|
||||||
; sizes have the highest priority. One consequence of this is that as low-fee
|
; sizes have the highest priority. One consequence of this is that as low-fee
|
||||||
|
@ -331,6 +363,8 @@
|
||||||
; ------------------------------------------------------------------------------
|
; ------------------------------------------------------------------------------
|
||||||
; Debug
|
; Debug
|
||||||
; ------------------------------------------------------------------------------
|
; ------------------------------------------------------------------------------
|
||||||
|
; Directory to log output.
|
||||||
|
; logdir=~/.lbcd/logs
|
||||||
|
|
||||||
; Debug logging level.
|
; Debug logging level.
|
||||||
; Valid levels are {trace, debug, info, warn, error, critical}
|
; Valid levels are {trace, debug, info, warn, error, critical}
|
||||||
|
@ -339,6 +373,9 @@
|
||||||
; available subsystems.
|
; available subsystems.
|
||||||
; debuglevel=info
|
; debuglevel=info
|
||||||
|
|
||||||
|
; Write CPU profile to the specified file.
|
||||||
|
; cpuprofile=
|
||||||
|
|
||||||
; The port used to listen for HTTP profile requests. The profile server will
|
; The port used to listen for HTTP profile requests. The profile server will
|
||||||
; be disabled if this option is not specified. The profile information can be
|
; be disabled if this option is not specified. The profile information can be
|
||||||
; accessed at http://localhost:<profileport>/debug/pprof once running.
|
; accessed at http://localhost:<profileport>/debug/pprof once running.
|
||||||
|
|
Loading…
Add table
Reference in a new issue