graymauser / btcposbal2csv

List all bitcoin addresses with positive balance.
BSD 3-Clause "New" or "Revised" License
269 stars 201 forks source link

Problem "PATH_TO_CHAINSTATE_DIR, OUTFILE" #33

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hi I run on window I don't know what happen with below? path problem? Thanks.

D:\btcposbal2csv-master>btcposbal2csv.py chainstate addresses_with_balance.csv usage: btcposbal2csv.py [-h] [--bitcoin_version BITCOIN_VERSION] [--keep_sqlite PATH_TO_SQLITE_FILE)] [--lowmem] [--P2PKH bool] [--P2SH bool] [--P2PK bool] [--sort ASC/DESC] PATH_TO_CHAINSTATE_DIR OUTFILE btcposbal2csv.py: error: the following arguments are required: PATH_TO_CHAINSTATE_DIR, OUTFILE

graymauser commented 2 years ago

It looks like, that the chainstate directory is not located /or does not contain expected files/ under your current directory (D:\btcposbal2csv-master). You need to provide correct PATH to your bitcoin chainstate directory as input. If your problem persists, please provide more info (your directory layout..).