nooschain / consensus/types / ConsensusStatus
Interface: ConsensusStatus
Defined in: consensus/types.ts:17
Properties
autoBuildBlocks?
optionalautoBuildBlocks?:boolean
Defined in: consensus/types.ts:24
blockIntervalMs?
optionalblockIntervalMs?:number
Defined in: consensus/types.ts:25
commitIndex?
optionalcommitIndex?:number
Defined in: consensus/types.ts:30
currentRole?
optionalcurrentRole?:"leader"|"follower"|"candidate"|"validator"|"observer"|"unknown"
Defined in: consensus/types.ts:26
currentTerm?
optionalcurrentTerm?:number
Defined in: consensus/types.ts:27
externalProcessHttpBind?
optionalexternalProcessHttpBind?:string|null
Defined in: consensus/types.ts:49
externalProcessLastError?
optionalexternalProcessLastError?:string|null
Defined in: consensus/types.ts:47
externalProcessLastExitAt?
optionalexternalProcessLastExitAt?:string|null
Defined in: consensus/types.ts:44
externalProcessLastExitCode?
optionalexternalProcessLastExitCode?:number|null
Defined in: consensus/types.ts:45
externalProcessLastExitSignal?
optionalexternalProcessLastExitSignal?:string|null
Defined in: consensus/types.ts:46
externalProcessNextRestartAt?
optionalexternalProcessNextRestartAt?:string|null
Defined in: consensus/types.ts:48
externalProcessPid?
optionalexternalProcessPid?:number|null
Defined in: consensus/types.ts:41
externalProcessRestartCount?
optionalexternalProcessRestartCount?:number
Defined in: consensus/types.ts:43
externalProcessStatus?
optionalexternalProcessStatus?:"stopped"|"starting"|"running"|"restarting"|"dead"
Defined in: consensus/types.ts:40
externalProcessUptimeMs?
optionalexternalProcessUptimeMs?:number|null
Defined in: consensus/types.ts:42
installSnapshotCount?
optionalinstallSnapshotCount?:number
Defined in: consensus/types.ts:37
lastApplied?
optionallastApplied?:number
Defined in: consensus/types.ts:31
latestBlockHash
latestBlockHash:
string|null
Defined in: consensus/types.ts:22
latestHeight
latestHeight:
string|null
Defined in: consensus/types.ts:21
latestStateRoot
latestStateRoot:
string|null
Defined in: consensus/types.ts:23
leaderId?
optionalleaderId?:string|null
Defined in: consensus/types.ts:29
logLastIndex?
optionallogLastIndex?:number
Defined in: consensus/types.ts:32
logLastTerm?
optionallogLastTerm?:number
Defined in: consensus/types.ts:33
mode
mode:
ConsensusMode
Defined in: consensus/types.ts:18
nodeId
nodeId:
string
Defined in: consensus/types.ts:20
peers?
optionalpeers?:object[]
Defined in: consensus/types.ts:56
endpoint?
optionalendpoint?:string|null
nodeId
nodeId:
string
status
status:
"unknown"|"connected"|"disconnected"
raftEngine?
optionalraftEngine?:string
Defined in: consensus/types.ts:39
raftTcpTls?
optionalraftTcpTls?:object
Defined in: consensus/types.ts:50
caConfigured
caConfigured:
boolean
certConfigured
certConfigured:
boolean
enabled
enabled:
boolean
mtlsRequired
mtlsRequired:
boolean
snapshotEnabled?
optionalsnapshotEnabled?:boolean
Defined in: consensus/types.ts:34
snapshotLastIncludedIndex?
optionalsnapshotLastIncludedIndex?:number
Defined in: consensus/types.ts:35
snapshotLastIncludedTerm?
optionalsnapshotLastIncludedTerm?:number
Defined in: consensus/types.ts:36
status
status:
ConsensusBackendStatus
Defined in: consensus/types.ts:19
transportMode?
optionaltransportMode?:string
Defined in: consensus/types.ts:38
votedFor?
optionalvotedFor?:string|null
Defined in: consensus/types.ts:28