pisa-cli saving appointments and signatures to disk on success

This commit is contained in:
Salvatore Ingala
2019-10-25 13:50:16 +08:00
parent 6348d15cea
commit b55355e564
2 changed files with 32 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
import logging
from logger import Logger
from .logger import Logger
# PISA-SERVER
DEFAULT_PISA_API_SERVER = 'btc.pisa.watch'
@@ -7,6 +7,7 @@ DEFAULT_PISA_API_PORT = 9814
# PISA-CLI
CLIENT_LOG_FILE = 'pisa-cli.log'
APPOINTMENTS_FOLDER_NAME = 'appointments'
# CRYPTO
SUPPORTED_HASH_FUNCTIONS = ["SHA256"]