Page MenuHomePhabricator

[avalanche] introduce LimitedProofId
ClosedPublic

Authored by PiRK on May 18 2021, 10:40.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABCc3cb64a785f8: [avalanche] introduce LimitedProofId
Summary

This stores the intermediate hash generated when building the ProofId as
a member of the Proof class, and adds an accessor.

The next step is to send this limited proof id with the avahello message.

Depends on D9543

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.May 18 2021, 10:40
deadalnix requested changes to this revision.May 18 2021, 13:14
deadalnix added a subscriber: deadalnix.
deadalnix added inline comments.
src/avalanche/proof.cpp
65 ↗(On Diff #28521)

Really? Do not recompute this twice.

This revision now requires changes to proceed.May 18 2021, 13:14

avoid computing the limited proofid twice

This revision is now accepted and ready to land.May 18 2021, 20:44
This revision was automatically updated to reflect the committed changes.