Mercurial > public > bitcaviar
view src/pybitcoin/config.py @ 1:f45c3c4f9932
add blockchain rpcs
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sat, 09 Oct 2021 12:45:03 +0200 |
parents | |
children |
line wrap: on
line source
class Bitcoin: """ Store the directory of bitcoin-cli and where the blockchain data is. """ def __init__(self, cli_dir, data_dir): """ :param cli_dir: string, required :param data_dir: string, required """ self.cli_dir = cli_dir self.data_dir = '-datadir=' + data_dir