btcdHomeDir() doesn't account for plan 9 $home; code is copied into several utils e.g. addblock #30
Closed
Description
maybe this function can be put into btcutil, and take advantage of runtime.GOOS or os/user.Current().HomeDir.
places for data:
- posix os: $HOME/.btcd
- os x: $HOME/Library/App Data/btcd
- windows: %APPDATA%/btcd
- plan 9: $home/btcd?