mirror of
https://github.com/lalanza808/monero.fail.git
synced 2025-03-15 05:56:34 -04:00

* working on i2p integration * finishing i2p setup * fix comment * include hidden txt for tor
18 lines
669 B
Python
18 lines
669 B
Python
from os import environ
|
|
from secrets import token_urlsafe
|
|
|
|
from dotenv import load_dotenv
|
|
|
|
load_dotenv()
|
|
|
|
SECRET_KEY = environ.get("SECRET_KEY", token_urlsafe(14))
|
|
SERVER_NAME = environ.get("SERVER_NAME", "127.0.0.1:5000")
|
|
DATA_DIR = environ.get("DATA_DIR", "./data")
|
|
TOR_HOST = environ.get("TOR_HOST", "127.0.0.1")
|
|
TOR_PORT = environ.get("TOR_PORT", 9050)
|
|
NODE_HOST = environ.get("NODE_HOST", "singapore.node.xmr.pm")
|
|
NODE_PORT = environ.get("NODE_PORT", 18080)
|
|
HEALTHY_BLOCK_DIFF = int(environ.get("HEALTHY_BLOCK_DIFF", 500))
|
|
PEER_LIFETIME = int(environ.get("PEER_LIFETIME", 96))
|
|
I2P_HOST = environ.get("I2P_HOST", "127.0.0.1")
|
|
I2P_PORT = environ.get("I2P_PORT", 4444) |