Expand description
Shared protocol constants used by the node runtime.
Constants§
- CONNECT_
FAILED_ LIMIT - Connect Behaviour
- DATA_
REDUNDANT - Redundant setting of entry data storage
- DEFAULT_
STORAGE_ CAPACITY - Default storage capacity in bytes for node storage backends (DHT entries, measurements, and provisional evidence).
- DHT_
REMOVAL_ STORAGE_ CAPACITY - Byte budget of the store of the data namespace’s remove sides (#920, #907): at least the
REMOVAL_STORE_MAX_REMOVESitems the accounting admits, each filed in at mostREMOVAL_STORED_ITEM_WIRE_MAXbytes when every record holds one (about 19.6 MB). The store is retained and evicts nothing: a remove beyond the budget is refused, never another one evicted. - MAIL_
STORAGE_ CAPACITY - Byte budget of each retained browser mail store (
mail-inboxandmail-records). - MSG_
RECV_ FAILED_ LIMIT - Message Received Behaviour
- MSG_
SEND_ FAILED_ LIMIT - Message Send Behaviour
- ONION_
ENTRY_ GUARD_ STORAGE_ CAPACITY - Byte budget of the onion entry-guard store.
- RELAY_
INBOX_ STORAGE_ CAPACITY - Byte budget of the relay-inbox store: the carriers this node holds or owns, each at most
RELAY_INBOX_MAX_LENheld messages. The store is retained and evicts nothing (#1021): a hold beyond the budget is refused, so the sender’s message is not held, instead of evicting mail already held. - TRANSACTION_
REPLAY_ STORAGE_ CAPACITY - Byte budget of the replay store: at least every record of a full store
(
rings_core::message::TRANSACTION_REPLAY_STORE_MAX_BYTES, about 27 MiB). The store is authoritative and evicts nothing: a write beyond the budget fails, which fails that transition closed, so the budget must never be reached.