feat: version information/bump
This commit is contained in:
parent
15eed24abb
commit
50efda3324
3
main.py
3
main.py
@ -9,7 +9,7 @@ from collections import namedtuple
|
|||||||
import aioprocessing
|
import aioprocessing
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
|
||||||
from src.const import DEFAULT_MODE, DEFAULT_EXPORT_INTERVAL, DEFAULT_IS_EXPORT
|
from src.const import DEFAULT_MODE, DEFAULT_EXPORT_INTERVAL, DEFAULT_IS_EXPORT, VERSION
|
||||||
from src.mempool import WebSocketThread, QueueProcessor
|
from src.mempool import WebSocketThread, QueueProcessor
|
||||||
from src.db import Handler, periodic_export
|
from src.db import Handler, periodic_export
|
||||||
|
|
||||||
@ -60,6 +60,7 @@ def main():
|
|||||||
|
|
||||||
logging.basicConfig(format="%(asctime)s %(levelname)s: %(message)s", level=log_level)
|
logging.basicConfig(format="%(asctime)s %(levelname)s: %(message)s", level=log_level)
|
||||||
logging.info("Logger initialized")
|
logging.info("Logger initialized")
|
||||||
|
logging.info("Currently running version %s", VERSION)
|
||||||
logging.info("MODE: %s", cfg.mode)
|
logging.info("MODE: %s", cfg.mode)
|
||||||
logging.info("EXPORT_INTERVAL: %d (seconds)", cfg.export_interval)
|
logging.info("EXPORT_INTERVAL: %d (seconds)", cfg.export_interval)
|
||||||
logging.info("IS_EXPORT: %r", cfg.is_export)
|
logging.info("IS_EXPORT: %r", cfg.is_export)
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
|
VERSION = "v1.1.0"
|
||||||
|
|
||||||
# Blockchain.com endpoint and the subscription message which initializes the "transaction stream"
|
# Blockchain.com endpoint and the subscription message which initializes the "transaction stream"
|
||||||
WS_ADDR = "wss://ws.blockchain.info/coins"
|
WS_ADDR = "wss://ws.blockchain.info/coins"
|
||||||
# Optionally `confirmed_transaction` can be used (bursts of data instead of a steady stream, which is worse for the overall performance)
|
# Optionally `confirmed_transaction` can be used (bursts of data instead of a steady stream, which is worse for the overall performance)
|
||||||
|
Loading…
Reference in New Issue
Block a user