Page MenuHomePhabricator

refactor: Pass NodeContext to RPC and REST methods through util::Ref

Authored by Fabien on Oct 19 2020, 21:24.

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien requested review of this revision.Oct 19 2020, 21:24
jasonbcox requested changes to this revision.Oct 19 2020, 22:53
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
29 ↗(On Diff #24797)

This looks like it'd be better treated as a private member and passed in during init.

This revision now requires changes to proceed.Oct 19 2020, 22:53

Make context a member of HTTPRPCRequestProcessor

This revision is now accepted and ready to land.Oct 20 2020, 15:44