>
17/04/2026 15:40
Pregunta 6 -> Además del comportamiento, el PR introduce una nueva opción de configuración y expone información nueva vía RPC. ¿Qué son esas adiciones?
p2p: Replace per-peer transaction rate-limiting with global rate li...
src/rpc/net.cpp se añade info a getNetworkInfo {RPCResult::Type::NUM, "tx_send_rate", "configured target for maximum number of transactions per second to send to inbound peers"},
{RPCResult::Type::OBJ_DYN, "inv_buckets", "", {
{RPCResult::Type::OBJ, "inbound/outbound", "connection direction",
{
{RPCResult::Type::NUM, "backlog", "number of queued txs to announce"},
{RPCResult::Type::NUM, "count_tok", "tokens available to be consumed per-transaction"},
{RPCResult::Type::NUM, "size_tok", "tokens available to be consumed per-byte"},
}
}
}},