Module Import alias Import alias identifier Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str With AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body While UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Continue If Call AttributeLoad NameLoad attr body Continue TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str NameLoad Call NameLoad NameLoad ExceptHandler body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str While UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num If CompareIsNot NameLoad NameLoad body If CompareEq NameLoad Str body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Assign NameStore SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Index Num TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler body Expr Call NameLoad Str NameLoad Return Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIn NameLoad ListLoad Str body TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call AttributeLoad NameLoad attr body Return NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad With AttributeLoad NameLoad attr body If CompareNotIn TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad With AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body While UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A json N/A Queue queue N/A socket N/A threading N/A time N/A sys utils random_string timestr print_log utils logger Shared N/A N/A __init__ N/A N/A self config N/A N/A N/A N/A self lock N/A N/A threading Lock N/A N/A self _stopped False N/A N/A self config config N/A N/A self _paused True N/A paused N/A N/A self N/A N/A N/A N/A self lock N/A N/A N/A self _paused N/A pause N/A N/A self N/A N/A N/A N/A self lock N/A N/A N/A self _paused True N/A unpause N/A N/A self N/A N/A N/A N/A self lock N/A N/A N/A self _paused False N/A stop N/A N/A self N/A N/A N/A N/A print_log Stopping Stratum N/A N/A self lock N/A N/A N/A self _stopped True N/A stopped N/A N/A self N/A N/A N/A N/A self lock N/A N/A N/A self _stopped N/A N/A Processor N/A N/A threading Thread N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A threading Thread __init__ self N/A N/A self daemon True N/A N/A self dispatcher None N/A N/A self queue N/A N/A queue Queue N/A process N/A N/A self request N/A N/A N/A N/A add_request N/A N/A self session request N/A N/A N/A N/A N/A N/A self queue put N/A session request N/A push_response N/A N/A self session response N/A N/A N/A N/A N/A N/A N/A self dispatcher request_dispatcher push_response session response N/A close N/A N/A self N/A N/A N/A N/A run N/A N/A self N/A N/A N/A N/A N/A N/A N/A self shared stopped N/A N/A N/A N/A N/A session request N/A N/A N/A self queue get True timeout 1 N/A msg_id N/A N/A request get id N/A N/A N/A N/A N/A N/A N/A session stopped N/A N/A N/A N/A N/A result N/A N/A self process request N/A N/A N/A self push_response session N/A id result msg_id result N/A N/A N/A BaseException N/A e N/A N/A N/A N/A self push_response session N/A id error msg_id N/A str e N/A N/A N/A N/A N/A logger error process error exc_info True N/A N/A N/A self push_response session N/A id error msg_id unknown error N/A N/A N/A self close N/A N/A Dispatcher N/A N/A __init__ N/A N/A self config N/A N/A N/A N/A self shared N/A Shared config N/A N/A self request_dispatcher N/A RequestDispatcher N/A self shared N/A N/A N/A N/A self request_dispatcher start N/A N/A self response_dispatcher N/A ResponseDispatcher N/A self shared N/A self request_dispatcher N/A N/A N/A N/A self response_dispatcher start N/A register N/A N/A self prefix processor N/A N/A N/A N/A processor dispatcher self N/A N/A processor shared N/A self shared N/A N/A N/A processor start N/A N/A N/A N/A self request_dispatcher processors N/A prefix processor N/A N/A RequestDispatcher N/A N/A threading Thread N/A __init__ N/A N/A self shared N/A N/A N/A N/A self shared shared N/A N/A N/A N/A threading Thread __init__ self N/A N/A self daemon True N/A N/A self request_queue N/A N/A queue Queue N/A N/A self response_queue N/A N/A queue Queue N/A N/A self lock N/A N/A threading Lock N/A N/A self idlock N/A N/A threading Lock N/A N/A self sessions N/A N/A N/A self processors N/A N/A N/A self lastgc 0 N/A push_response N/A N/A self session item N/A N/A N/A N/A N/A N/A self response_queue put N/A session item N/A pop_response N/A N/A self N/A N/A N/A N/A N/A N/A self response_queue get N/A push_request N/A N/A self session item N/A N/A N/A N/A N/A N/A self request_queue put N/A session item N/A pop_request N/A N/A self N/A N/A N/A N/A N/A N/A self request_queue get N/A get_session_by_address N/A N/A self address N/A N/A N/A x N/A N/A N/A self sessions values N/A N/A N/A N/A x address address N/A N/A x N/A run N/A N/A self N/A N/A N/A N/A N/A self shared None N/A N/A N/A TypeError self.shared not set in Processor N/A N/A N/A N/A N/A self shared stopped N/A N/A N/A session request N/A N/A self pop_request N/A N/A N/A N/A N/A self do_dispatch session request N/A N/A N/A N/A N/A N/A logger error dispatch exc_info True N/A N/A N/A self stop N/A stop N/A N/A self N/A N/A N/A N/A do_dispatch N/A N/A self session request N/A N/A N/A  dispatch request to the relevant processor  N/A method N/A request N/A method N/A params N/A N/A request get params N/A N/A suffix N/A N/A N/A method split . N/A -1 N/A N/A session None N/A N/A N/A suffix subscribe N/A N/A N/A N/A N/A session subscribe_to_service method params N/A N/A N/A prefix N/A N/A N/A N/A request N/A method split . N/A 0 N/A N/A N/A p N/A N/A self processors N/A prefix N/A N/A N/A N/A N/A print_log error: no processor for prefix N/A N/A N/A N/A p add_request session request N/A N/A method N/A server.version N/A N/A N/A N/A N/A session version N/A params N/A 0 N/A N/A session protocol_version N/A float N/A params N/A 1 N/A N/A N/A N/A N/A get_sessions N/A N/A self N/A N/A N/A N/A self lock N/A N/A r N/A N/A N/A self sessions values N/A r N/A add_session N/A N/A self session N/A N/A N/A key N/A N/A session key N/A N/A self lock N/A N/A N/A N/A self sessions N/A key session N/A remove_session N/A N/A self session N/A N/A N/A key N/A N/A session key N/A N/A self lock N/A N/A N/A N/A self sessions N/A key N/A N/A Session N/A N/A __init__ N/A N/A self dispatcher N/A N/A N/A N/A self dispatcher dispatcher N/A N/A self bp N/A N/A N/A self dispatcher processors N/A blockchain N/A N/A self _stopped False N/A N/A self lock N/A N/A threading Lock N/A N/A self subscriptions N/A N/A N/A self address N/A N/A self name N/A N/A self version unknown N/A N/A self protocol_version 0.0 N/A N/A self time N/A N/A time time N/A N/A self max_subscriptions N/A N/A N/A N/A dispatcher shared config getint server max_subscriptions N/A N/A N/A N/A N/A threading Timer 2 N/A self info start N/A key N/A N/A self N/A N/A N/A N/A self address N/A info N/A N/A self N/A N/A N/A N/A self subscriptions N/A N/A N/A print_log N/A %4s N/A self name N/A %21s N/A self address N/A %4d N/A len N/A self subscriptions N/A self version N/A stop N/A N/A self N/A N/A N/A N/A self lock N/A N/A N/A self _stopped N/A N/A N/A N/A self _stopped True N/A N/A N/A self shutdown N/A N/A N/A N/A self dispatcher remove_session self N/A N/A N/A self stop_subscriptions N/A shutdown N/A N/A self N/A N/A N/A N/A stopped N/A N/A self N/A N/A N/A N/A self lock N/A N/A N/A self _stopped N/A subscribe_to_service N/A N/A self method params N/A N/A N/A N/A N/A self stopped N/A N/A False N/A N/A N/A len N/A self subscriptions N/A self max_subscriptions N/A N/A N/A print_log max subscriptions reached N/A self address N/A N/A N/A self stop N/A False N/A N/A N/A N/A self bp do_subscribe method params self N/A N/A self lock N/A N/A N/A N/A method params N/A self subscriptions N/A N/A N/A N/A N/A self subscriptions append N/A method params N/A True N/A stop_subscriptions N/A N/A self N/A N/A N/A N/A self lock N/A N/A s N/A N/A self subscriptions N/A N/A N/A method params s N/A N/A N/A N/A N/A self bp do_unsubscribe method params self N/A N/A self lock N/A N/A N/A self subscriptions N/A N/A N/A ResponseDispatcher N/A N/A threading Thread N/A __init__ N/A N/A self shared request_dispatcher N/A N/A N/A N/A self shared shared N/A N/A self request_dispatcher request_dispatcher N/A N/A N/A N/A threading Thread __init__ self N/A N/A self daemon True N/A run N/A N/A self N/A N/A N/A N/A N/A N/A N/A self shared stopped N/A N/A N/A session response N/A N/A N/A self request_dispatcher pop_response N/A N/A N/A session send_response response N/A N/A