HomePhabricator

cli: reduce DefaultRequestHandler memory allocations

Description

cli: reduce DefaultRequestHandler memory allocations

Summary:

Simpler code, fewer allocations. No change of behavior. The code has good test coverage in interface_bitcoin_cli.py.

This is a backport of core#19453

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Jon Atack <jon@atack.com>Authored on Jul 5 2020, 13:25
PiRKCommitted on Aug 31 2021, 12:57
PiRKPushed on Aug 31 2021, 12:57
Reviewer
Restricted Project
Differential Revision
D9988: cli: reduce DefaultRequestHandler memory allocations
Parents
rABCd4c384d91634: qt: Reset toolbar after all wallets are closed
Branches
Unknown
Tags
Unknown