HomePhabricator

rpc: Limit echo to 10 args

Description

rpc: Limit echo to 10 args

Summary:
This is a backport of core#19528 [3/4]
https://github.com/bitcoin/bitcoin/pull/19528/commits/fa50bdc755489b2e291ea5ba0e39e44a20c6c6de

Note: one line of documentation for the echo RPC seems to have been
accidentaly deleted in D5920. This restores it before applying the
change.

Depends on D10081

Test Plan: ninja && ninja check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10082

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Jul 15 2020, 20:10
PiRKCommitted on Sep 10 2021, 08:20
PiRKPushed on Sep 10 2021, 08:20
Reviewer
Restricted Project
Differential Revision
D10082: rpc: Limit echo to 10 args
Parents
rABC16268cd74789: refactor: Use C++11 range based for loops to simplify rpc code
Branches
Unknown
Tags
Unknown

Event Timeline