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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.