Skip to content

Conversation

matiwinnetou
Copy link
Collaborator

No description provided.

Co-authored-by: Mateusz Czeladka <[email protected]>
@matiwinnetou matiwinnetou added this to the 1.2.8 milestone Apr 29, 2025
matiwinnetou and others added 7 commits April 29, 2025 15:02
* feat: postgres dockerfile

* feat: build node from source

* feat: build postgres from source

* feat: adjust integration tests
@matiwinnetou matiwinnetou changed the title chore: prepare 1.2.8 release chore: prepare 1.2.9 release May 15, 2025
@matiwinnetou matiwinnetou modified the milestones: 1.2.8, 1.2.9 May 15, 2025
Mateusz Czeladka and others added 8 commits May 20, 2025 13:47
…ve_spent_utxos parameter is enabled and renaming and removal of configuration variables related to removal or spent utxos. (#448)

Co-authored-by: Mateusz Czeladka <[email protected]>
* feat: split cardano-node and cardano-submit-api

* feat: adjust node / mithril tags

* feat: add cardano-rosetta-java-cardano-node image to dockerhub

* feat: add mithril / postgres to dockerhub

* feat: adjust tags
* feat: retry mechanism for node dependencies - single docker image

* feat: retry mechanism for node dependencies - docker compose image
@matiwinnetou matiwinnetou marked this pull request as ready for review June 6, 2025 12:22
Copy link

sonarqubecloud bot commented Jun 6, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@matiwinnetou matiwinnetou merged commit 989b666 into main Jun 6, 2025
8 of 9 checks passed
@matiwinnetou matiwinnetou deleted the develop branch June 6, 2025 12:35
Copy link
Member

@linconvidal linconvidal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll document the env var changes in #478.

@@ -4,8 +4,7 @@ NETWORK=devkit
PROTOCOL_MAGIC=42

## Postgres image
DB_IMAGE_NAME=postgres
DB_IMAGE_TAG=latest
PG_VERSION_TAG=REL_14_11
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to document this env var

@@ -41,6 +40,8 @@ SNAPSHOT_DIGEST=latest
AGGREGATOR_ENDPOINT=
# if not set standard values will be used
GENESIS_VERIFICATION_KEY=
ANCILLARY_VERIFICATION_KEY=
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to document this env var

PRUNING_SAFE_BLOCKS=2160
#Run transaction pruning every 600 seconds or 10 minutes.
PRUNING_INTERVAL=600
REMOVE_SPENT_UTXOS_LAST_BLOCKS_GRACE_COUNT=2160
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to document this env var. @matiwinnetou does this replace the PRUNING_SAFE_BLOCKS?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think PRUNING_SAFE_BLOCKS will be replaced by REMOVE_SPENT_UTXOS and
PRUNING_SAFE_BLOCKS will be replaced by REMOVE_SPENT_UTXOS_LAST_BLOCKS_GRACE_COUNT

DB_POSTGRES_BGWRITER_DELAY=500ms

SYNC_GRACE_SLOTS_COUNT=100
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to document this env var

@@ -35,11 +34,13 @@ CARDANO_CONFIG=./config/${NETWORK}

## Mithril
MITHRIL_SYNC=true
MITHRIL_VERSION=2517.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to document this env var


## DB tuning / debugging
API_DB_SHOW_SQL=false
API_DB_MONITOR_PERFORMANCE=false #only needed for debugging and diagnostics
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to document this env var

API_DB_SHOW_SQL=false
API_DB_MONITOR_PERFORMANCE=false #only needed for debugging and diagnostics

## Basic db pool tuning, generally should not be changed but can be changed rarely if needed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double check if those env vars are already documented

@@ -30,8 +29,8 @@ Since [Yaci-Store](https://github.com/bloxbean/yaci-store) is a comparatively li

- 4CPU Cores
- 32GB RAM
- 1TB of storage (PRUNING_ENABLED=false) [default]
- 400GB of storage (PRUNING_ENABLED=true)
- ca. > 1TB of storage (REMOVE_SPENT_UTXOS=false) [default]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is ca. ?

PROTOCOL_MAGIC=42
# mainnet 764824073, preprod 1, preview 2, sanchonet 4, devkit 42
# mainnet 764824073, preprod 1, preview 2, devkit 42

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we officially removing sanchonet from this version?

Copy link
Collaborator

@tienna tienna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants