Module start

Module start 

Source
Expand description

Utilities used for system Started functionality.

Staticsยง

INITIAL_IMMUTABLE_FOLLOWER_TIP_REACHED ๐Ÿ”’
Flag to determine if the chain follower has synchronized with the IMMUTABLE tip for the first time.
INITIAL_LIVE_FOLLOWER_TIP_REACHED ๐Ÿ”’
Flag to determine if the chain follower has synchronized with the LIVE tip for the first time.
LIVE_EVENT_DB ๐Ÿ”’
Flag to determine if the Event DB has started.
LIVE_INDEX_DB ๐Ÿ”’
Flag to determine if the Indexing DB has started.
STARTED ๐Ÿ”’
Flag to determine if the service has started

Functionsยง

condition_for_started ๐Ÿ”’
Returns whether the service has started or not.
event_db_is_live ๐Ÿ”’
Returns whether the Event DB is live or not.
immutable_follower_has_first_reached_tip ๐Ÿ”’
Returns whether the Chain Follower has reached Immutable Tip or not.
index_db_is_live ๐Ÿ”’
Returns whether the Index DB is live or not.
live_follower_has_first_reached_tip ๐Ÿ”’
Returns whether the Chain Follower has reached Live Tip or not.
service_has_started ๐Ÿ”’
Returns whether the service has started or not.
set_event_db_liveness ๐Ÿ”’
Set the LIVE_EVENT_DB flag.
set_follower_immutable_first_reached_tip ๐Ÿ”’
Set the INITIAL_IMMUTABLE_FOLLOWER_TIP_REACHED as true. returns the previous INITIAL_IMMUTABLE_FOLLOWER_TIP_REACHED value.
set_follower_live_first_reached_tip ๐Ÿ”’
Set the INITIAL_LIVE_FOLLOWER_TIP_REACHED as true, returns the previous INITIAL_LIVE_FOLLOWER_TIP_REACHED value.
set_index_db_liveness ๐Ÿ”’
Set the LIVE_INDEX_DB flag.
set_to_started ๐Ÿ”’
Set the STARTED flag to true