koi_net.components.sync_manager
Classes
|
Handles state synchronization actions with other nodes. |
- class koi_net.components.sync_manager.SyncManager(log, graph, cache, config, request_handler, kobj_queue)[source]
Bases:
objectHandles state synchronization actions with other nodes.
- Parameters:
log (Logger)
graph (NetworkGraph)
cache (Cache)
config (BaseNodeConfig)
request_handler (RequestHandler)
kobj_queue (KobjQueue)
- cache: Cache
- catch_up_with(nodes, rid_types)[source]
Catches up with the state of RID types within other nodes.
- Parameters:
nodes (list[KoiNetNode])
rid_types (list[RIDType])
- config: BaseNodeConfig
- graph: NetworkGraph
- log: Logger
- request_handler: RequestHandler