Merge branch 'alpha' into sidecar-healthchecks
Home /
Cardano Community /
guild-operators
May 21, 8-9 PM (0)
May 21, 9-10 PM (0)
May 21, 10-11 PM (0)
May 21, 11-12 AM (0)
May 22, 12-1 AM (0)
May 22, 1-2 AM (0)
May 22, 2-3 AM (0)
May 22, 3-4 AM (0)
May 22, 4-5 AM (0)
May 22, 5-6 AM (0)
May 22, 6-7 AM (0)
May 22, 7-8 AM (0)
May 22, 8-9 AM (0)
May 22, 9-10 AM (1)
May 22, 10-11 AM (4)
May 22, 11-12 PM (0)
May 22, 12-1 PM (0)
May 22, 1-2 PM (0)
May 22, 2-3 PM (0)
May 22, 3-4 PM (0)
May 22, 4-5 PM (0)
May 22, 5-6 PM (0)
May 22, 6-7 PM (0)
May 22, 7-8 PM (0)
May 22, 8-9 PM (0)
May 22, 9-10 PM (0)
May 22, 10-11 PM (1)
May 22, 11-12 AM (0)
May 23, 12-1 AM (2)
May 23, 1-2 AM (0)
May 23, 2-3 AM (0)
May 23, 3-4 AM (0)
May 23, 4-5 AM (0)
May 23, 5-6 AM (0)
May 23, 6-7 AM (0)
May 23, 7-8 AM (0)
May 23, 8-9 AM (0)
May 23, 9-10 AM (0)
May 23, 10-11 AM (0)
May 23, 11-12 PM (0)
May 23, 12-1 PM (0)
May 23, 1-2 PM (0)
May 23, 2-3 PM (0)
May 23, 3-4 PM (0)
May 23, 4-5 PM (0)
May 23, 5-6 PM (0)
May 23, 6-7 PM (0)
May 23, 7-8 PM (0)
May 23, 8-9 PM (0)
May 23, 9-10 PM (0)
May 23, 10-11 PM (0)
May 23, 11-12 AM (0)
May 24, 12-1 AM (0)
May 24, 1-2 AM (0)
May 24, 2-3 AM (0)
May 24, 3-4 AM (0)
May 24, 4-5 AM (0)
May 24, 5-6 AM (0)
May 24, 6-7 AM (0)
May 24, 7-8 AM (0)
May 24, 8-9 AM (0)
May 24, 9-10 AM (0)
May 24, 10-11 AM (0)
May 24, 11-12 PM (0)
May 24, 12-1 PM (0)
May 24, 1-2 PM (0)
May 24, 2-3 PM (0)
May 24, 3-4 PM (0)
May 24, 4-5 PM (0)
May 24, 5-6 PM (0)
May 24, 6-7 PM (0)
May 24, 7-8 PM (0)
May 24, 8-9 PM (0)
May 24, 9-10 PM (0)
May 24, 10-11 PM (0)
May 24, 11-12 AM (0)
May 25, 12-1 AM (0)
May 25, 1-2 AM (0)
May 25, 2-3 AM (0)
May 25, 3-4 AM (0)
May 25, 4-5 AM (0)
May 25, 5-6 AM (0)
May 25, 6-7 AM (0)
May 25, 7-8 AM (0)
May 25, 8-9 AM (0)
May 25, 9-10 AM (0)
May 25, 10-11 AM (0)
May 25, 11-12 PM (0)
May 25, 12-1 PM (0)
May 25, 1-2 PM (0)
May 25, 2-3 PM (0)
May 25, 3-4 PM (0)
May 25, 4-5 PM (0)
May 25, 5-6 PM (0)
May 25, 6-7 PM (0)
May 25, 7-8 PM (0)
May 25, 8-9 PM (0)
May 25, 9-10 PM (0)
May 25, 10-11 PM (0)
May 25, 11-12 AM (0)
May 26, 12-1 AM (0)
May 26, 1-2 AM (0)
May 26, 2-3 AM (0)
May 26, 3-4 AM (0)
May 26, 4-5 AM (0)
May 26, 5-6 AM (0)
May 26, 6-7 AM (0)
May 26, 7-8 AM (0)
May 26, 8-9 AM (0)
May 26, 9-10 AM (0)
May 26, 10-11 AM (0)
May 26, 11-12 PM (0)
May 26, 12-1 PM (0)
May 26, 1-2 PM (0)
May 26, 2-3 PM (0)
May 26, 3-4 PM (0)
May 26, 4-5 PM (0)
May 26, 5-6 PM (0)
May 26, 6-7 PM (0)
May 26, 7-8 PM (0)
May 26, 8-9 PM (0)
May 26, 9-10 PM (0)
May 26, 10-11 PM (0)
May 26, 11-12 AM (0)
May 27, 12-1 AM (0)
May 27, 1-2 AM (0)
May 27, 2-3 AM (0)
May 27, 3-4 AM (0)
May 27, 4-5 AM (0)
May 27, 5-6 AM (0)
May 27, 6-7 AM (0)
May 27, 7-8 AM (0)
May 27, 8-9 AM (0)
May 27, 9-10 AM (0)
May 27, 10-11 AM (1)
May 27, 11-12 PM (0)
May 27, 12-1 PM (0)
May 27, 1-2 PM (0)
May 27, 2-3 PM (0)
May 27, 3-4 PM (0)
May 27, 4-5 PM (2)
May 27, 5-6 PM (0)
May 27, 6-7 PM (0)
May 27, 7-8 PM (0)
May 27, 8-9 PM (0)
May 27, 9-10 PM (0)
May 27, 10-11 PM (0)
May 27, 11-12 AM (0)
May 28, 12-1 AM (0)
May 28, 1-2 AM (0)
May 28, 2-3 AM (1)
May 28, 3-4 AM (0)
May 28, 4-5 AM (0)
May 28, 5-6 AM (0)
May 28, 6-7 AM (0)
May 28, 7-8 AM (0)
May 28, 8-9 AM (0)
May 28, 9-10 AM (0)
May 28, 10-11 AM (0)
May 28, 11-12 PM (0)
May 28, 12-1 PM (0)
May 28, 1-2 PM (0)
May 28, 2-3 PM (0)
May 28, 3-4 PM (0)
May 28, 4-5 PM (0)
May 28, 5-6 PM (0)
May 28, 6-7 PM (0)
May 28, 7-8 PM (2)
May 28, 8-9 PM (0)
14 commits this week
May 21, 2025
-
May 28, 2025
Sidecar healthchecks updates (#6)
* Koios api bugfix and error handling Error handling... When you hit Koios api errors such as rate limits the script would return this error: ```parse error: Invalid numeric literal at line 1, column 9"``` The reason for this was the Koios api query returns the error message as a string, rather than valid JSON so JQ encounters a parsing error. This update handles the above issue and improves logging output for the operator to understand what went wrong. ...... Bugfix... Bugfix: parsing koios api headers The Koios api headers were not being parsed correctly meaning requests were unauthenticated without the api key and so hitting the lower api rate limits. * Add healthcheck for logMonitor.sh Add logmonitor health check function to verify logmonitor.sh has the ability to process node logs and write to the blocklog db. The new check_logmonitor function verifies that the logMonitor.sh process is working by: - Confirming the logMonitor.sh process is active - Validating the node's JSON log file exists and is accessible - When BLOCKLOG_ENABLED=true, checking that the blocklog database exists and has proper write permissions * Add healthcheck for ptsendslots Add ptsendslots health check function The new check_cncli_ptsendslots() function verifies that "cncli.sh ptsendslots" is working by: - Confirming the process is active - Validating the required vars are available. - Checking the cncli db is available and readable. * Update comments, log line, typos etc - Added or updated comments describing functions. - Fixed a few small typos in comments. - Punctuated log line to improve readability. (The "checking health for process" log line is followed by more output so the full stop was required to create separation between sentences) Update healthcheck.sh * Refactor check_cncli_sendslots: Extract check_cncli_status functionality Refactor the check_cncli_sendslots function: extracting the check_cncli_status functionality into its own separate function to improve code readability, modularity and making it easier to maintain. * Minor refactor of check_cncli_status() - Code refactored to remove repeated code (DRY principal). - Minor update to comment wording. * Bugfix - undefined variable -Fixes an issue where an undefined variable was mistakenly used in the error log line. -Variable scope added/amended. * Fix for KOIOS_API_HEADERS quoting issue Fixes a quoting issue in the KOIOS_API_HEADERS array. (redundantly quoting all elements as a single string). This led to the the koios api call being unauthenticated and so hitting the rate limit of 5k request per day which is the 'public' (unauthenticated) tier, even though a valid KOIOS_API_TOKEN was defined. * Updated Koios api call to make use of KOIOS_API_HEADERS from env Updated the Koios api call to make use of the KOIOS_API_HEADERS array as set in env (in alignment with the koios api calls in other parts of the project).
Removed last param from selectWallet call to allow multi-sig wallets to be selected when delegating to Dreps
Feature: mithril snapshot download command to include ledger snapshot db (#1866)
Hello CNTools/Koios Team, The latest mithril-client v0.12.1 introduces the --include-ancillary option to include the ledger snapshot when downloading a snapshot, enabling faster node bootstrap. In line with these recent changes, I would like to propose the following update to the mithril-client.sh script: The current "download" command under mithril-client.sh cardano-db download would be replaced by two options: "immutable" and "full". immutable – Download Cardano DB from Mithril snapshot (Immutable db only requires ledger replay) full – Download Cardano DB from Mithril snapshot (Includes ledger snapshot for fast bootstrap) The goal is to provide users with both choices: Download only the immutable DB and let the node perform ledger replay Download both the immutable and ledger snapshots for a faster bootstrap Thank you, Cheers, Manuel --------- Co-authored-by: RdLrT <[email protected]> Co-authored-by: illuminatus <[email protected]>
Merge branch 'alpha' into alpha
Updated docs/Scripts/mithril-client.md :
1. Usage section: added skip-ancillary subcommand in mithil-client help menu 2. Preparing a Relay or Block Producer Node section: added skip-ancillary subcommand modified: docs/Scripts/mithril-client.md
Update topology.json
Minor tidying up (removed RDLRT, updated AAA relays)
Update topology.json
Minor tidying up (removed RDLRT, updated AAA relays)
updated mithril-client.sh menu to
cardano-db Interact with Cardano DB download Download Cardano DB from Mithril snapshot (Full) skip-ancillary Download Cardano DB from Mithril snapshot (Immutable DB only) modified: scripts/cnode-helper-scripts/mithril-client.sh
Updated docs/Mithril/mithril-overview.md
4. Download the Mithril snapshot without the ledger state (skip-ancillary): This option downloads only the final immutable files. The ledger state will be computed from the genesis block when the Cardano node starts, which results in a longer bootstrap time. ./mithril-client.sh cardano-db download skip-ancillary modified: docs/Mithril/mithril-overview.md
1. changes on mithril.library :
- func download_snapshot performs full snapshot download. - func download_snapshot_noancillary performs immutable only snapshot download. 2. changes on mithril-client.sh - adapted menu and case statement. cardano-db Interact with Cardano DB download Download Cardano DB from Mithril snapshot (Includes ledger snapshot for fast node bootstrap) skip-ancillary Download Cardano DB from Mithril snapshot (Immutable db only, requires ledger replay from genesis block) modified: scripts/cnode-helper-scripts/mithril-client.sh modified: scripts/cnode-helper-scripts/mithril.library