Pregunta 6

p2p: Replace per-peer transaction rate-limiting with global rate li...

> 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?
24/04/2026 16:48
👀
arejula27 24/04/2026 16:48
“-txsendrate” flag marca el maximo ratio de las transaccion inbound
en src/rpc/net.cpp se añade info a getNetworkInfo
❤️ 1
Pol Espinasa 24/04/2026 16:49
Que info? 😛
arejula27 24/04/2026 16:49
lo busco AHA
> 24/04/2026 16:50
jajajaj
arejula27 24/04/2026 16:50
                        {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"},
                            }
                          }
                        }},
❤️ 4
Pol Espinasa 24/04/2026 16:52
En texto humano: se modifica getnetworkinfo y se añade info sobre la tasa tx/s configurada, el num de txs en el backlog y los tokens.
❤️ 2 👍 1
24/04/2026 16:54
ej, backlog > 0
24/04/2026 16:54
Esta es fue muy simple, seguimos!
👍 2