Module Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMult Num NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore IfExp AttributeLoad NameLoad attr Str Str Return BinOpMod Str TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Return ListLoad Assign NameStore AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad CompareLtE NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Return ListLoad Return Call NameLoad BinOpAdd AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num BinOpAdd NameLoad Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad NameLoad keyword Call NameLoad AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return If CompareGtE BinOpAdd Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore ListLoad For NameStore NameLoad body If BoolOpAnd CompareNotIn NameLoad AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Break Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad NameLoad If UnaryOpNot NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad NameLoad keyword TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad If CompareGtE AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assert AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad For NameStore NameLoad body If CompareGt AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assert CompareIn AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assert CompareGtE AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareLt NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareLt NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A gevent base Proposal protocol HDCProtocol Synchronizer N/A object N/A N/A timeout 5 N/A max_getproposals_count N/A HDCProtocol max_getproposals_count N/A max_queued N/A 3 max_getproposals_count __init__ N/A N/A self consensusmanager N/A N/A N/A N/A self cm consensusmanager N/A N/A self requested N/A set N/A N/A self received N/A set N/A N/A self last_active_protocol None N/A N/A self add_proposals_lock N/A N/A N/A gevent lock Semaphore N/A __repr__ N/A N/A self N/A N/A N/A status N/A N/A self is_syncing syncing insync N/A N/A <Synchronizer(%s missing=%d requested=%d received=%d)> N/A status N/A len N/A self missing N/A len N/A self requested N/A len N/A self received N/A is_syncing N/A N/A self N/A N/A N/A N/A len N/A self requested N/A property missing N/A N/A self N/A N/A N/A ls N/A N/A self cm highest_committing_lockset N/A N/A ls N/A N/A N/A N/A max_height N/A ls height N/A N/A N/A max_height N/A max_height N/A N/A N/A self cm head number N/A N/A N/A N/A N/A range N/A N/A N/A N/A self cm head number 1 N/A max_height 1 N/A property request N/A N/A self N/A N/A N/A 
        sync the missing blocks between:
            head
            highest height with signing lockset

        we get these locksets by collecting votes on all heights
         N/A missing N/A self missing N/A N/A N/A N/A self cm log sync.request missing N/A len missing requested N/A len N/A self requested received N/A len N/A self received N/A N/A self requested N/A N/A N/A N/A N/A self cm log waiting for requested N/A N/A N/A N/A N/A len N/A self received N/A self max_getproposals_count N/A self max_queued N/A N/A N/A N/A N/A self cm log queue is full N/A N/A N/A missing N/A N/A N/A N/A N/A self cm log insync N/A N/A N/A N/A self last_active_protocol None N/A N/A N/A N/A N/A self cm log no active protocol last_active_protocol N/A self last_active_protocol N/A N/A N/A N/A N/A self cm log collecting N/A blocknumbers N/A N/A h missing N/A N/A N/A N/A h N/A self received N/A h N/A self requested N/A N/A N/A N/A blocknumbers append h N/A N/A N/A N/A self requested add h N/A N/A N/A len blocknumbers N/A self max_getproposals_count N/A N/A N/A N/A N/A N/A self cm log collected num N/A len blocknumbers N/A N/A blocknumbers N/A N/A N/A N/A N/A N/A self cm log requesting num N/A len blocknumbers requesting_range N/A N/A blocknumbers N/A 0 N/A blocknumbers N/A -1 N/A N/A N/A N/A self last_active_protocol send_getblockproposals blocknumbers N/A N/A N/A N/A N/A self cm chainservice setup_alarm N/A self timeout N/A self on_alarm blocknumbers N/A on_proposal N/A N/A self proposal proto N/A N/A N/A called to inform about synced peers N/A N/A isinstance proto HDCProtocol N/A N/A isinstance proposal Proposal N/A N/A N/A proposal height N/A N/A self cm height N/A N/A N/A N/A proposal lockset is_valid N/A N/A self last_active_protocol proto N/A on_alarm N/A N/A self requested N/A N/A N/A N/A N/A N/A self requested difference_update N/A set N/A self requested N/A N/A N/A self request N/A receive_blockproposals N/A N/A self proposals N/A N/A N/A N/A N/A N/A self cm log receive_blockproposals p proposals received N/A self received N/A p proposals N/A N/A N/A N/A N/A self received add N/A p height N/A N/A N/A N/A self requested remove N/A p height N/A v N/A p signing_lockset N/A N/A N/A N/A N/A self cm add_vote v N/A N/A N/A N/A self cm process N/A N/A N/A self request N/A N/A N/A N/A self add_proposals_lock acquire N/A p proposals N/A N/A N/A N/A N/A self cm add_proposal p N/A N/A N/A N/A self cm process N/A N/A N/A self cleanup N/A N/A N/A N/A self add_proposals_lock release N/A not_added N/A N/A p proposals N/A N/A N/A N/A p height N/A N/A N/A self cm head number N/A N/A N/A N/A not_added append p N/A N/A N/A p height N/A N/A N/A self cm head number N/A N/A N/A N/A p blockhash N/A N/A self cm block_candidates N/A N/A N/A N/A self cm height N/A max N/A N/A p height N/A p proposals N/A N/A N/A N/A self cm log done receive_blockproposals sync self N/A N/A N/A len not_added 1 N/A N/A N/A Exception more than one proposal not added N/A cleanup N/A N/A self N/A N/A N/A height N/A N/A self cm height N/A h N/A list N/A self received N/A N/A N/A h height N/A N/A N/A N/A N/A self received remove h N/A h N/A list N/A self requested N/A N/A N/A h height N/A N/A N/A N/A N/A self requested remove h N/A process N/A N/A self N/A N/A N/A N/A N/A self request N/A N/A