NONCE_LENGTH = 20
IDENTIFIER_LENGTH = 5
EPOID_SERIAL_NUMBER_LENGTH = 5
ACCOUNT_NUMBER_LENGTH = 10
TRANSACTION_ID_LENGTH = 10
TICKET_LIFE_TIME_MINUTES = 20
INITIAL_CLIENT_CREDIT = 1000
INITIAL_MERCHANT_CREDIT = 100
MESSAGE_SEPARATOR = b'$'

TRANSACTOR_ID = b'transactor'
MERCHANT_ID = b'merchant'
GROUP_ID = b'group'

ADDRESS_BOOK = {
    TRANSACTOR_ID: 'localhost:9876',
    MERCHANT_ID: 'localhost:9877',
    GROUP_ID: 'localhost:9878'
}

CURRENCY = b'USD'
PRODUCT_SHELF = {
    MERCHANT_ID: {
        b'sneakers': b'70'
    }
}
