Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 52 additions & 21 deletions CodaClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,35 +266,66 @@ def get_daemon_status(self) -> dict:
query = '''
query {
daemonStatus {
numAccounts
addrsAndPorts {
bindIp
clientPort
externalIp
libp2pPort
peer {
host
libp2pPort
peerId
}
}
blockProductionKeys
blockchainLength
highestBlockLengthReceived
uptimeSecs
ledgerMerkleRoot
stateHash
commitId
peers
userCommandsSent
snarkWorker
snarkWorkFee
syncStatus
proposePubkeys
nextProposal
consensusTimeBestTip
consensusTimeNow
consensusMechanism
confDir
commitId
consensusConfiguration {
delta
k
acceptableNetworkDelay
c
cTimesK
slotsPerEpoch
slotDuration
delta
epochDuration
acceptableNetworkDelay
genesisStateTimestamp
k
slotDuration
slotsPerEpoch
}
consensusMechanism
consensusTimeBestTip {
endTime
epoch
globalSlot
slot
startTime
}
consensusTimeNow {
endTime
epoch
globalSlot
slot
startTime
}
highestBlockLengthReceived
ledgerMerkleRoot
nextBlockProduction {
times {
endTime
epoch
globalSlot
slot
startTime
}
}
numAccounts
peers
snarkWorkFee
snarkWorker
stateHash
syncStatus
uptimeSecs
userCommandsSent
}
}
'''
Expand Down