HomePhabricator

[avalanche] rename parameters in DelegationBuilder::addLevel

Description

[avalanche] rename parameters in DelegationBuilder::addLevel

Summary:
There are multiple keys called master in the avalanche codebase: the
proof's master key, the last level of the delegation and the
-avamasterkey command line argument.

This reduces the risk of confusion by renaming master into
delegatedPubKey in the delegation builder, prior to adding a new
member proofMaster to that class.

This does not change any behavior.

Test Plan: ninja

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
PiRKAuthored on May 27 2021, 13:54
PiRKPushed on May 28 2021, 06:41
Reviewer
Restricted Project
Differential Revision
D9597: [avalanche] rename parameters in DelegationBuilder::addLevel
Parents
rABC106fd61e0911: Update comment on TxRequestTracker in net_processing.h
Branches
Unknown
Tags
Unknown