HomePhabricator

banman: pass the banfile path in

Description

banman: pass the banfile path in

Summary:
There's no need to hard-code the path here. Passing it in means that there are
no ordering concerns wrt establishing the datadir.

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

Depends on D4114

Test Plan:

make check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Cory Fields <cory-nospam-@coryfields.com>Authored on Oct 5 2017, 17:35
deadalnixCommitted on Sep 22 2019, 11:26
deadalnixPushed on Sep 22 2019, 11:34
Reviewer
Restricted Project
Differential Revision
D4117: banman: pass the banfile path in
Parents
rSTAGING47d52f2e501f: banman: create and split out banman
Branches
Unknown
Tags
Unknown