Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad NameLoad body Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Str Assign NameStore Call NameLoad keyword NameLoad keyword Num keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Dict Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword Num keyword Num keyword Num keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad keyword Num Assign AttributeStore NameLoad attr Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr If SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Str Num AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign NameStore CompareLtE NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore TupleLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num Str attr SubscriptLoad NameLoad Index Str attr Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Str Assign NameStore Num While CompareLt NameLoad Num body AugAssignAdd NameStore Num Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str If CompareIs NameLoad NameLoad body AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad keyword Call NameLoad Call AttributeLoad NameLoad attr If SubscriptLoad AttributeLoad NameLoad attr Index Str body If NameLoad body Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr keyword SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword BinOpMult NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad orelse TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Num Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Return Call NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad BinOpMult NameLoad Num keyword NameLoad keyword BinOpMod Str AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str attr keyword NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad Break orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad keyword NameLoad Expr Call NameLoad Num orelse If NameLoad body AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index Str Num orelse AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd SubscriptLoad NameLoad Index Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad Str attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call NameLoad Num Return NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Num If CompareNotEq NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call NameLoad Num Return NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad keyword NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str Assign NameStore NameLoad If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Return NameLoad decorator_list Call NameLoad keyword Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr keyword Dict keyword AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad decorator_list
N/A N/A gevent N/A socket N/A time N/A datetime binascii hexlify cryptokit.rpc CoinRPCException collections deque cryptokit.util pack cryptokit.bitcoin data bitcoin_data gevent sleep gevent.event Event N/A NodeMonitorMixin Jobmanager exceptions RPCException lib loop REQUIRED MonitorAuxNetwork N/A Jobmanager NodeMonitorMixin N/A N/A gl_methods N/A _monitor_nodes _check_new_jobs N/A one_min_stats N/A work_restarts new_jobs N/A defaults N/A dict enabled False work_interval 1 signal None rpc_ping_int 2 algo REQUIRED currency REQUIRED coinservs REQUIRED flush False send True __init__ N/A N/A self config N/A N/A N/A N/A N/A self _configure config N/A N/A N/A NodeMonitorMixin __init__ self N/A N/A self new_job N/A Event N/A N/A self last_signal 0.0 N/A N/A self last_work N/A hash None N/A N/A self block_stats N/A dict accepts 0 rejects 0 stale 0 solves 0 last_solve_height None last_solve_time None last_solve_worker None N/A N/A self current_net N/A dict difficulty None height None last_block 0.0 N/A N/A self recent_blocks N/A deque maxlen 15 N/A start N/A N/A self N/A N/A N/A N/A N/A N/A super MonitorAuxNetwork self start N/A N/A N/A self config N/A signal N/A N/A N/A N/A N/A self logger info N/A N/A Listening for push block notifs on signal {} format N/A N/A self config N/A signal N/A N/A N/A gevent signal N/A N/A self config N/A signal N/A self _check_new_jobs signal True _single_exec True N/A found_block N/A N/A self address worker header coinbase_raw job start N/A N/A N/A aux_data N/A N/A job merged_data N/A N/A N/A self config N/A currency N/A new_height N/A N/A aux_data N/A height 1 N/A N/A N/A self block_stats N/A solves 1 N/A stale N/A new_height N/A N/A self current_net N/A height N/A N/A N/A N/A self logger info N/A N/A New {} Aux block at height {} format N/A N/A self config N/A currency new_height N/A aux_block N/A N/A N/A N/A N/A N/A N/A pack IntType 256 big pack N/A aux_data N/A hash encode hex N/A N/A N/A N/A N/A bitcoin_data aux_pow_type pack N/A dict merkle_tx N/A dict tx N/A N/A N/A bitcoin_data tx_type unpack coinbase_raw block_hash N/A N/A bitcoin_data hash256 header merkle_link N/A job merkle_link merkle_link N/A N/A bitcoin_data calculate_merkle_link N/A aux_data N/A hashes N/A aux_data N/A index parent_block_header N/A N/A N/A bitcoin_data block_header_type unpack header encode hex N/A retries 0 N/A N/A retries 5 N/A N/A retries 1 N/A res False N/A N/A N/A res N/A N/A self call_rpc getauxblock aux_block N/A N/A N/A N/A CoinRPCException N/A socket error ValueError N/A e N/A N/A N/A N/A N/A self logger error N/A N/A {} Aux block failed to submit to the server! format N/A N/A self config N/A currency exc_info True N/A N/A N/A N/A self logger error N/A getattr e error N/A N/A res True N/A N/A N/A N/A self block_stats N/A accepts 1 N/A N/A N/A N/A self recent_blocks append N/A dict height new_height timestamp N/A int N/A N/A time time N/A N/A N/A self config N/A send N/A N/A start N/A N/A submission_time N/A N/A N/A time time start N/A N/A N/A N/A self manager log_event N/A N/A {name}.block_submission_{curr}:{t}|ms format name N/A N/A N/A self manager config N/A procname curr N/A N/A self config N/A currency t N/A submission_time 1000 N/A hsh N/A hexlify N/A N/A N/A N/A pack IntType 256 big pack N/A aux_data N/A hash N/A N/A N/A N/A self logger info N/A N/A {} BLOCK {}:{} accepted after {} format N/A N/A self config N/A currency hsh new_height submission_time N/A block None N/A amount 0 N/A N/A N/A block N/A N/A self call_rpc getblock hsh N/A N/A N/A Exception N/A N/A N/A N/A N/A self logger info exc_info True N/A N/A N/A N/A trans N/A N/A self call_rpc gettxout N/A N/A block N/A tx N/A 0 0 N/A amount N/A trans N/A value N/A N/A N/A Exception N/A N/A N/A N/A N/A self logger info exc_info True N/A N/A N/A self block_stats N/A last_solve_hash hsh N/A N/A dict address address height new_height total_subsidy N/A int N/A amount 100000000 fees None hex_bits N/A %0.6X N/A N/A N/A N/A bitcoin_data FloatingInteger from_target_upper_bound N/A aux_data N/A target bits hex_hash hsh currency N/A N/A self config N/A currency merged True algo N/A N/A self config N/A algo worker worker N/A N/A N/A N/A N/A N/A self logger error N/A N/A {} Aux Block failed to submit to the server, server returned {}! format N/A N/A self config N/A currency res exc_info True N/A N/A sleep 1 N/A N/A stale N/A N/A N/A N/A self block_stats N/A stale 1 N/A N/A N/A N/A self block_stats N/A rejects 1 N/A N/A N/A self block_stats N/A last_solve_height N/A N/A aux_data N/A height 1 N/A N/A N/A self block_stats N/A last_solve_worker N/A N/A {}.{} format address worker N/A N/A N/A self block_stats N/A last_solve_time N/A N/A N/A datetime datetime utcnow N/A _check_new_jobs N/A N/A self signal N/A False N/A N/A signal N/A N/A N/A self last_signal N/A N/A time time N/A N/A N/A N/A self logger info N/A N/A Updating {} aux work from a signal recieved! format N/A N/A self config N/A currency N/A N/A N/A auxblock N/A N/A self call_rpc getauxblock N/A N/A N/A RPCException N/A N/A N/A sleep 2 N/A False N/A hash N/A int N/A auxblock N/A hash 16 N/A N/A hash N/A N/A self last_work N/A hash N/A N/A N/A N/A height N/A N/A self call_rpc getblockcount N/A N/A N/A RPCException N/A N/A N/A sleep 2 N/A False N/A target_int N/A N/A N/A N/A pack IntType 256 unpack N/A N/A N/A auxblock N/A target decode hex N/A N/A N/A N/A self last_work update N/A dict hash hash target target_int type N/A N/A self config N/A currency height height found_block N/A self found_block chainid N/A auxblock N/A chainid N/A new_block False N/A N/A N/A N/A self current_net N/A height height N/A N/A N/A N/A self current_net N/A height height N/A N/A N/A self _incr work_restarts N/A N/A N/A self _incr new_jobs N/A N/A N/A self new_job flush N/A N/A self config N/A flush N/A new_block True N/A N/A N/A N/A self _incr new_jobs N/A N/A N/A self new_job flush False N/A N/A N/A N/A self new_job set N/A N/A N/A N/A self new_job clear N/A new_block N/A N/A N/A N/A self current_net N/A last_block N/A N/A time time N/A N/A N/A self current_net N/A difficulty N/A N/A bitcoin_data target_to_difficulty target_int N/A N/A N/A N/A self logger info N/A N/A New aux block announced! Diff {:,.4f}. Height {:,} format N/A N/A self current_net N/A difficulty height N/A True N/A N/A loop interval work_interval status N/A N/A self N/A N/A N/A ret N/A dict block_stats N/A self block_stats currency N/A N/A self config N/A currency last_work N/A self last_work last_signal N/A self last_signal live_coinservers N/A len N/A self _live_connections down_coinservers N/A len N/A self _down_connections coinservers N/A current_net N/A self current_net N/A connection N/A self _live_connections N/A N/A st N/A N/A connection status N/A N/A st N/A status live N/A N/A N/A ret N/A coinservers N/A N/A connection name st N/A connection N/A self _down_connections N/A N/A st N/A N/A connection status N/A N/A st N/A status down N/A N/A N/A ret N/A coinservers N/A N/A connection name st N/A ret N/A property N/A