HomePhabricator

[avalanche] Remove getPubkey API

Description

[avalanche] Remove getPubkey API

Summary: Instead, provide a more generic forNode function that provides a temporary access to the node object. This ensure locking remains correct while not requiring accessor for anythign and everything.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

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

Details

Provenance
deadalnixAuthored on Jul 6 2020, 17:36
deadalnixPushed on Jul 6 2020, 21:42
Reviewer
Restricted Project
Differential Revision
D6828: [avalanche] Remove getPubkey API
Parents
rABCc357d6422cbd: [avalanche] Add a facility to update node's timeout
Branches
Unknown
Tags
Unknown