Page MenuHomePhabricator

Merge #15463: rpc: Speedup getaddressesbylabel
ClosedPublic

Authored by jasonbcox on May 8 2020, 00:28.

Details

Summary

710a7136f9 rpc: Speedup getaddressesbylabel (João Barbosa)

Pull request description:

Fixes #15447. Same approach of #14984, this change avoids duplicate key check when building the JSON response in memory.

ACKs for commit 710a71:

MarcoFalke:
  utACK 710a7136f93133bf256d37dc8c8faf5a6b9ba89d
ryanofsky:
  utACK 710a7136f93133bf256d37dc8c8faf5a6b9ba89d. Just new comments and assert since last review.

Tree-SHA512: 77c95df9ff3793e348619aa070e6fd36df9da1b461d708ab146652cb3699f1a472ef6eb38dafdb8374375cbc97daef07635fcb0501961f167a023309513742e2

Backport of Core PR15463

Similar improvement to D6007

Test Plan
ninja check check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Branch
pr15463
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 10655
Build 19116: Default Diff Build & Tests
Build 19115: arc lint + arc unit

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.May 8 2020, 00:51