# -*- coding: utf-8 -*-
import logging
import os
import queue
import threading

listening_port = 8444
send_outgoing_connections = True
listen_for_connections = True
data_directory = 'minode_data/'
source_directory = os.path.dirname(os.path.realpath(__file__))
trusted_peer = None
# trusted_peer = ('127.0.0.1', 8444)

log_level = logging.INFO

magic_bytes = b'\xe9\xbe\xb4\xd9'
protocol_version = 3
services = 3  # NODE_NETWORK, NODE_SSL
stream = 1
nonce = os.urandom(8)
user_agent = b'MiNode-v0.2.0'
timeout = 600
header_length = 24

nonce_trials_per_byte = 1000
payload_length_extra_bytes = 1000

shutting_down = False

vector_advertise_queue = queue.Queue()
address_advertise_queue = queue.Queue()

connections = set()
connections_lock = threading.Lock()

hosts = set()

core_nodes = set()

node_pool = set()
unchecked_node_pool = set()

outgoing_connections = 8
connection_limit = 150

objects = {}
objects_lock = threading.Lock()

# -*- coding: utf-8 -*-
import logging
import os
import queue
import threading

listening_port = 8444
send_outgoing_connections = True
listen_for_connections = True
data_directory = 'minode_data/'
source_directory = os.path.dirname(os.path.realpath(__file__))
trusted_peer = None
# trusted_peer = ('127.0.0.1', 8444)

log_level = logging.INFO

magic_bytes = b'\xe9\xbe\xb4\xd9'
protocol_version = 3
services = 3  # NODE_NETWORK, NODE_SSL
stream = 1
nonce = os.urandom(8)
user_agent = b'/MiNode:0.2.1/'
timeout = 600
header_length = 24

nonce_trials_per_byte = 1000
payload_length_extra_bytes = 1000

shutting_down = False

vector_advertise_queue = queue.Queue()
address_advertise_queue = queue.Queue()

connections = set()
connections_lock = threading.Lock()

hosts = set()

core_nodes = set()

node_pool = set()
unchecked_node_pool = set()

outgoing_connections = 8
connection_limit = 150

objects = {}
objects_lock = threading.Lock()

Change User Agent to comply with specification
Change User Agent to comply with specification
