from lib.db_log import DBLog from util import random_chars CURRENCY_NAME = "₭ollar" MRO_INTERVAL = 7 * 24 * 3600 MRO_RUNNING_TIME = 7 * 24 * 3600 CURRENCY_SYMBOL = "₭" MINIMUM_ORDER_AMOUNT = 1 DEFAULT_ORDER_EXPIRY = 43200 DB_NAME = 'orderer' COPYRIGHT_INFRINGEMENT_PROBABILITY = 0.05 MIN_INTEREST_INTERVAL = 60 # seconds ROOT_URL = "/orderer.zip" logger = DBLog() OWNABLE_NAME_PATTERN = r'[A-Z-a-z0-9]{1,6}' BANK_NAME = 'bank' def random_ownable_name(): return random_chars(6)