You've already forked electroncash-protocol
Introduce MAX_HIST environment variable.
This commit is contained in:
@@ -44,6 +44,14 @@ in ElectrumX are very cheap - they consume about 100 bytes of memory
|
||||
each and are processed efficiently. I feel the defaults are low and
|
||||
encourage you to raise them.
|
||||
|
||||
MAX_HIST - maximum number of historical transactions to serve for an
|
||||
address. The current Electrum protocol requires
|
||||
address histories be served en-masse or not at all,
|
||||
an obvious avenue for abuse. This limit is a stop-gap
|
||||
until the protocol is improved to admit incremental
|
||||
history requests. The default value is 2,000 which is
|
||||
I feel is low. Increasing to around 10,000 is probably
|
||||
fine but beyond that experimental.
|
||||
MAX_SUBS - maximum number of address subscriptions across all
|
||||
sessions. Defaults to 250,000.
|
||||
MAX_SESSION_SUBS - maximum number of address subscriptions permitted to a
|
||||
|
||||
Reference in New Issue
Block a user