HomePhabricator

[avalanche] Properly validate proof in peermanager.cpp

Description

[avalanche] Properly validate proof in peermanager.cpp

Summary:
The proof needs to match some existing UTXO.

The tests spoof the UTXO set to make it work.

Depends on D8533

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
deadalnixAuthored on Nov 24 2020, 16:38
deadalnixPushed on Nov 27 2020, 14:25
Reviewer
Restricted Project
Differential Revision
D8534: [avalanche] Properly validate proof in peermanager.cpp
Parents
rABC2f2030ef8038: [avalanche] Use correct avalanche proofs instead of made up ones
Branches
Unknown
Tags
Unknown