registrations in 6 confirmations => 4 confs for preorder, 1 for register, 1 for update... now to test it with a local bsk node and see if utxo.blockstack.org shouts at me

This commit is contained in:
Aaron Blankstein
2017-07-03 19:18:09 -04:00
parent be48e1d227
commit f5863ccef2
8 changed files with 339 additions and 18 deletions

View File

@@ -330,9 +330,9 @@ USER_ZONEFILE_TTL = 3600 # cache lifetime for a user's zonefile
SLEEP_INTERVAL = 20 # in seconds
TX_EXPIRED_INTERVAL = 10 # if a tx is not picked up by x blocks
PREORDER_CONFIRMATIONS = 6
PREORDER_CONFIRMATIONS = int(os.environ.get('BKS_PREORDER_CONFIRMATIONS', 4))
PREORDER_MAX_CONFIRMATIONS = 130 # no. of blocks after which preorder should be removed
TX_CONFIRMATIONS_NEEDED = 10
DEFAULT_TX_CONFIRMATIONS_NEEDED = 10
MAX_TX_CONFIRMATIONS = 130
QUEUE_LENGTH_TO_MONITOR = 50
MINIMUM_BALANCE = 0.002