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
astrue
. returns the previousINITIAL_IMMUTABLE_FOLLOWER_TIP_REACHED
value. - set_
follower_ ๐live_ first_ reached_ tip - Set the
INITIAL_LIVE_FOLLOWER_TIP_REACHED
astrue
, returns the previousINITIAL_LIVE_FOLLOWER_TIP_REACHED
value. - set_
index_ ๐db_ liveness - Set the
LIVE_INDEX_DB
flag. - set_
to_ ๐started - Set the
STARTED
flag totrue