Adds ConfigLoader to handle loading configurations parameters. Switches from conf.py to .conf files

This commit is contained in:
Sergi Delgado Segura
2020-03-20 21:12:15 +01:00
parent a60bab5f5a
commit 6499820540
2 changed files with 123 additions and 0 deletions

22
teos/template.conf Normal file
View File

@@ -0,0 +1,22 @@
[bitcoind]
btc_rpc_user = "user"
btc_rpc_passwd = "passwd"
btc_rpc_connect = "localhost"
btc_rpc_port = 8332
btc_network = "mainnet"
# [zmq]
feed_protocol = "tcp"
feed_connect = "127.0.0.1"
feed_port = 28332
[teos]
max_appointments = 100
expiry_delta = 6
min_to_self_delay = 20
# [chain monitor]
polling_delta = 60
block_window_size = 10