Skip to main content

DEFAULT_SOFT_LIMIT_BYTE_SIZE_POOLED_TRANSACTIONS_RESP_ON_PACK_GET_POOLED_TRANSACTIONS_REQ

Constant DEFAULT_SOFT_LIMIT_BYTE_SIZE_POOLED_TRANSACTIONS_RESP_ON_PACK_GET_POOLED_TRANSACTIONS_REQ 

Source
pub const DEFAULT_SOFT_LIMIT_BYTE_SIZE_POOLED_TRANSACTIONS_RESP_ON_PACK_GET_POOLED_TRANSACTIONS_REQ: usize = _ /* 131_072usize */;
Expand description

Default soft limit for the byte size of the expected PooledTransactions response when packing a GetPooledTransactions request. This is much smaller than the 2 MiB SOFT_LIMIT_BYTE_SIZE_POOLED_TRANSACTIONS_RESPONSE applied when assembling a response, so that a single request fetches at most about one blob transaction and doesn’t hog the connection to a peer.

Default is 128 KiB.