HomePhabricator

banman: pass in default ban time as a parameter

Description

banman: pass in default ban time as a parameter

Summary:
Removes the dependency on arg parsing.

This is a partial backport of Core PR14605 : https://github.com/bitcoin/bitcoin/pull/14605/commits/d0469b2e9386a7a4b268cb9725347e7517acace6

Depends on D4117

Test Plan:

make check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Cory Fields <cory-nospam-@coryfields.com>Authored on Oct 5 2017, 17:41
deadalnixCommitted on Sep 22 2019, 11:29
deadalnixPushed on Sep 22 2019, 11:34
Reviewer
Restricted Project
Differential Revision
D4124: banman: pass in default ban time as a parameter
Parents
rSTAGING1ca887fa7414: banman: pass the banfile path in
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/13065