HomePhabricator

[avalanche] Add a LimitedProofId::computeProofId method

Description

[avalanche] Add a LimitedProofId::computeProofId method

Summary:
The piece of proof.cpp that computes the proodif from the limited id and
from the master key will be needed when we verify that a delegation
matches a given proof. This adds a method to LimitedProofId to do the
computation.

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
PiRKAuthored on May 27 2021, 13:28
PiRKPushed on May 31 2021, 20:02
Reviewer
Restricted Project
Differential Revision
D9596: [avalanche] Add a LimitedProofId::computeProofId method
Parents
rABC0fb5b7364afe: refactor: Remove unused BlockAssembler::pblock member var
Branches
Unknown
Tags
Unknown