Module running_ctx

Source
Expand description

After a node catches-up with the network, we can start listening for new blocks, handing any request our user might make and keep our peers alive. This mode requires way less bandwidth and CPU to run, being bound by the number of blocks found in a given period.

Structs§

RunningNode

Constants§

MAX_INV_RETENTION_TIME 🔒
How long do we keep the last invs to compute peer scores
MAX_LAST_INVS 🔒
Don’t hold more than this many invs in last_invs