Page MenuHomePhabricator

[avalanche] Bump the peer replacement cooldown
ClosedPublic

Authored by Fabien on Aug 11 2022, 09:24.

Details

Reviewers
sdulfari
Group Reviewers
Restricted Project
Commits
rABC621d6b79ad74: [avalanche] Bump the peer replacement cooldown
Summary

This used to be 1h, bump this value to 1 day instead. This means that a user cannot change its proof more than once per day, which should help having a stable quorum.

Because the tests override the default value, no other change is needed.

Test Plan
ninja all check-all

Diff Detail

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

Event Timeline

Fabien requested review of this revision.Aug 11 2022, 09:24
sdulfari added a subscriber: sdulfari.

This should be a std::chrono::duration

This revision is now accepted and ready to land.Aug 11 2022, 16:20

Problem is that the arg manager doesn't work with std::chrono, so even if it is chrono internally the default value needs to be integer compatible