Page MenuHomePhabricator

[avalanche] Implement proof expiration time
ClosedPublic

Authored by Fabien on Aug 18 2022, 14:55.

Details

Reviewers
sdulfari
Group Reviewers
Restricted Project
Commits
rABC26d8645919e9: [avalanche] Implement proof expiration time
Summary

A proof with a negative or zero expiration time will never expire, any other value will expire once the tip MTP is greater or equal to the expiration time.

Test Plan
ninja all check-extended

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_proof_expiration_time
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19861
Build 39436: Build Difflint-circular-dependencies · build-diff · build-clang-tidy · build-without-wallet · build-clang · build-debug
Build 39435: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Aug 18 2022, 14:55
sdulfari requested changes to this revision.Aug 18 2022, 18:08
sdulfari added a subscriber: sdulfari.

At a minimum, needs these test cases and maybe more:

  1. Start a node and expire its proof.
  2. Start a node and expire its proof with conflict replacement.
  3. Check quorum status when expiration occurs.
This revision now requires changes to proceed.Aug 18 2022, 18:08

Add the requested test cases

This revision is now accepted and ready to land.Aug 19 2022, 16:20
This revision was automatically updated to reflect the committed changes.