-
Notifications
You must be signed in to change notification settings - Fork 10
chore: prepare 1.2.9 release #433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ca3881d
030f74d
2043a47
8072e1f
5a98d20
3bf2723
27794a5
8086e37
bb6b3c9
51da025
9f6d00f
fc2bca1
a52f43e
9be126d
8fbbb72
8115d59
bf51e0c
cc186e2
f01cab6
17b3a39
dd66cd7
0bc8fbf
c6c6632
fa0aff9
ba61fee
ca027d6
1054c22
252028e
ec22a9c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
|
||
| ## Yaci image | ||
| YACI_VERSION=0.10.5 | ||
|
|
@@ -41,6 +40,8 @@ SNAPSHOT_DIGEST=latest | |
| AGGREGATOR_ENDPOINT= | ||
| # if not set standard values will be used | ||
| GENESIS_VERIFICATION_KEY= | ||
| ANCILLARY_VERIFICATION_KEY= | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to document this env var |
||
|
|
||
|
|
||
| ## Api env | ||
| API_DOCKER_IMAGE_TAG=main | ||
|
|
@@ -59,11 +60,9 @@ SEARCH_PAGE_SIZE=100 | |
|
|
||
| ## Yaci Indexer env | ||
| INDEXER_DOCKER_IMAGE_TAG=main | ||
| PRUNING_ENABLED=false | ||
| REMOVE_SPENT_UTXOS=false | ||
| #The number of safe blocks to keep in the store. 2160 blocks *(20 seconds/block in average)=4320 seconds=12 hours. | ||
| PRUNING_SAFE_BLOCKS=2160 | ||
| #Run transaction pruning every 600 seconds or 10 minutes. | ||
| PRUNING_INTERVAL=600 | ||
| REMOVE_SPENT_UTXOS_LAST_BLOCKS_GRACE_COUNT=2160 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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? There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
|
|
||
| YACI_SPRING_PROFILES=postgres,n2c-socat | ||
| # database profiles: h2, h2-testdata, postgres | ||
|
|
@@ -138,4 +137,6 @@ DB_POSTGRES_MAX_PARALLEL_WORKERS=4 | |
| DB_POSTGRES_SEQ_PAGE_COST=1.0 | ||
| DB_POSTGRES_JIT=off | ||
| DB_POSTGRES_BGWRITER_LRU_MAXPAGES=50 | ||
| DB_POSTGRES_BGWRITER_DELAY=500ms | ||
| DB_POSTGRES_BGWRITER_DELAY=500ms | ||
|
|
||
| SYNC_GRACE_SLOTS_COUNT=100 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to document this env var |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,13 +2,12 @@ | |
| API_SPRING_PROFILES_ACTIVE=online | ||
| LOG=INFO | ||
| NETWORK=mainnet | ||
| # mainnet, preprod, preview, sanchonet, devkit | ||
| # mainnet, preprod, preview, devkit | ||
| PROTOCOL_MAGIC=764824073 | ||
| # mainnet 764824073, preprod 1, preview 2, sanchonet 4, devkit 42 | ||
| # mainnet 764824073, preprod 1, preview 2, devkit 42 | ||
|
|
||
| ## Postgres image | ||
| DB_IMAGE_NAME=postgres | ||
| DB_IMAGE_TAG=14.11-bullseye | ||
| PG_VERSION_TAG=REL_14_11 | ||
|
|
||
| ## Postgres variables | ||
| DB_NAME=rosetta-java | ||
|
|
@@ -35,11 +34,13 @@ CARDANO_CONFIG=./config/${NETWORK} | |
|
|
||
| ## Mithril | ||
| MITHRIL_SYNC=true | ||
| MITHRIL_VERSION=2517.1 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to document this env var |
||
| SNAPSHOT_DIGEST=latest | ||
| # if not set standard values will be used | ||
| AGGREGATOR_ENDPOINT= | ||
| # if not set standard values will be used | ||
| GENESIS_VERIFICATION_KEY= | ||
| ANCILLARY_VERIFICATION_KEY= | ||
|
|
||
| ## Api env | ||
| API_DOCKER_IMAGE_TAG=main | ||
|
|
@@ -49,6 +50,7 @@ PRINT_EXCEPTION=true | |
|
|
||
| ROSETTA_VERSION=1.4.13 | ||
| TOPOLOGY_FILEPATH=/config/topology.json | ||
|
|
||
| GENESIS_SHELLEY_PATH=/config/shelley-genesis.json | ||
| GENESIS_BYRON_PATH=/config/byron-genesis.json | ||
| GENESIS_ALONZO_PATH=/config/alonzo-genesis.json | ||
|
|
@@ -57,11 +59,9 @@ SEARCH_PAGE_SIZE=100 | |
|
|
||
| ## Yaci Indexer env | ||
| INDEXER_DOCKER_IMAGE_TAG=main | ||
| PRUNING_ENABLED=false | ||
| REMOVE_SPENT_UTXOS=false | ||
| #The number of safe blocks to keep in the store. 2160 blocks *(20 seconds/block in average)=4320 seconds=12 hours. | ||
| PRUNING_SAFE_BLOCKS=2160 | ||
| #Run transaction pruning every 600 seconds or 10 minutes. | ||
| PRUNING_INTERVAL=600 | ||
| REMOVE_SPENT_UTXOS_LAST_BLOCKS_GRACE_COUNT=2160 | ||
|
|
||
| YACI_SPRING_PROFILES=postgres,n2c-socket | ||
| # database profiles: h2, h2-testdata, postgres | ||
|
|
@@ -92,3 +92,5 @@ API_DB_POOL_MAX_LIFETIME_MS=2000000 | |
| API_DB_POOL_CONNECTION_TIMEOUT_MS=100000 | ||
| API_DB_KEEP_ALIVE_MS=60000 | ||
| API_DB_LEAK_CONNECTIONS_WARNING_MS=60000 | ||
|
|
||
| SYNC_GRACE_SLOTS_COUNT=100 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,96 @@ | ||
| ## Main variables | ||
| API_SPRING_PROFILES_ACTIVE=online | ||
| LOG=INFO | ||
| NETWORK=preprod | ||
| # mainnet, preprod, preview, devkit | ||
| PROTOCOL_MAGIC=1 | ||
| # mainnet 764824073, preprod 1, preview 2, devkit 42 | ||
|
|
||
| ## Postgres image | ||
| PG_VERSION_TAG=REL_14_11 | ||
|
|
||
| ## Postgres variables | ||
| DB_NAME=rosetta-java | ||
| DB_USER=rosetta_db_admin | ||
| DB_SECRET=weakpwd#123_d | ||
| DB_HOST=db | ||
| # Service name in docker-compose or local db | ||
| DB_PORT=5432 | ||
| DB_SCHEMA=${NETWORK} | ||
| DB_PATH=/opt/rosetta-java-preprod/sql_data | ||
|
|
||
| ## Cardano Node variables | ||
| CARDANO_NODE_HOST=cardano-node | ||
| # Service name in docker-compose or local cardano node | ||
| CARDANO_NODE_PORT=3001 | ||
| # Uncomment if you are using local cardano node | ||
| CARDANO_NODE_VERSION=10.3.1 | ||
| CARDANO_NODE_SUBMIT_HOST=cardano-submit-api | ||
| NODE_SUBMIT_API_PORT=8090 | ||
| CARDANO_NODE_DIR=/opt/rosetta-java-preprod/node_data | ||
| CARDANO_NODE_SOCKET_PATH=${CARDANO_NODE_DIR}/node.socket | ||
| CARDANO_NODE_DB=${CARDANO_NODE_DIR}/db | ||
| CARDANO_CONFIG=./config/${NETWORK} | ||
|
|
||
| ## Mithril | ||
| MITHRIL_SYNC=true | ||
| MITHRIL_VERSION=2517.1 | ||
| SNAPSHOT_DIGEST=latest | ||
| # if not set standard values will be used | ||
| AGGREGATOR_ENDPOINT= | ||
| # if not set standard values will be used | ||
| GENESIS_VERIFICATION_KEY= | ||
| ANCILLARY_VERIFICATION_KEY= | ||
|
|
||
| ## Api env | ||
| API_DOCKER_IMAGE_TAG=main | ||
| # staging, h2, test. Additional profiles: mempool (if mempool should be activated) | ||
| API_PORT=8082 | ||
| PRINT_EXCEPTION=true | ||
|
|
||
| ROSETTA_VERSION=1.4.13 | ||
| TOPOLOGY_FILEPATH=/config/topology.json | ||
|
|
||
| GENESIS_SHELLEY_PATH=/config/shelley-genesis.json | ||
| GENESIS_BYRON_PATH=/config/byron-genesis.json | ||
| GENESIS_ALONZO_PATH=/config/alonzo-genesis.json | ||
| GENESIS_CONWAY_PATH=/config/conway-genesis.json | ||
| SEARCH_PAGE_SIZE=100 | ||
|
|
||
| ## Yaci Indexer env | ||
| INDEXER_DOCKER_IMAGE_TAG=main | ||
| REMOVE_SPENT_UTXOS=false | ||
| #The number of safe blocks to keep in the store. 2160 blocks *(20 seconds/block in average)=4320 seconds=12 hours. | ||
| REMOVE_SPENT_UTXOS_LAST_BLOCKS_GRACE_COUNT=2160 | ||
|
|
||
| YACI_SPRING_PROFILES=postgres,n2c-socket | ||
| # database profiles: h2, h2-testdata, postgres | ||
| MEMPOOL_ENABLED=false | ||
|
|
||
| ## Devkit env | ||
| DEVKIT_ENABLED=false | ||
| DEVKIT_URL=yaci-cli | ||
| DEVKIT_PORT=3333 | ||
|
|
||
| ## Logger Config | ||
| LOG_FILE_PATH=/var/log/rosetta-java | ||
| LOG_FILE_NAME=/var/log/rosetta-java/rosetta-java.log | ||
| LOG_FILE_MAX_SIZE=10MB | ||
| LOG_FILE_MAX_HISTORY=10 | ||
|
|
||
| YACI_HTTP_BASE_URL=http://yaci-indexer:9095/api/v1 | ||
| YACI_INDEXER_PORT=9095 | ||
| HTTP_CONNECT_TIMEOUT_SECONDS=5 | ||
| HTTP_REQUEST_TIMEOUT_SECONDS=5 | ||
|
|
||
| ## DB tuning / debugging | ||
| API_DB_SHOW_SQL=false | ||
| API_DB_MONITOR_PERFORMANCE=false #only needed for debugging and diagnostics | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to document this env var |
||
|
|
||
| ## Basic db pool tuning, generally should not be changed but can be changed rarely if needed | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Double check if those env vars are already documented |
||
| API_DB_POOL_MAX_LIFETIME_MS=2000000 | ||
| API_DB_POOL_CONNECTION_TIMEOUT_MS=100000 | ||
| API_DB_KEEP_ALIVE_MS=60000 | ||
| API_DB_LEAK_CONNECTIONS_WARNING_MS=60000 | ||
|
|
||
| SYNC_GRACE_SLOTS_COUNT=100 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| ## Main variables | ||
| LOG=INFO | ||
| NETWORK=devkit | ||
| # mainnet, preprod, preview, sanchonet, devkit | ||
| # mainnet, preprod, preview, devkit | ||
| PROTOCOL_MAGIC=42 | ||
| # mainnet 764824073, preprod 1, preview 2, sanchonet 4, devkit 42 | ||
| # mainnet 764824073, preprod 1, preview 2, devkit 42 | ||
|
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are we officially removing sanchonet from this version? |
||
| ## H2 image | ||
| DB_IMAGE_NAME=h2 | ||
|
|
@@ -19,7 +19,7 @@ CARDANO_NODE_HOST=localhost | |
| # Service name in docker-compose or local cardano node | ||
| CARDANO_NODE_PORT=3001 | ||
| # Uncomment if you are using local cardano node | ||
| CARDANO_NODE_VERSION=10.2.1 | ||
| CARDANO_NODE_VERSION=10.3.1 | ||
| CARDANO_NODE_SUBMIT_HOST=localhost | ||
| NODE_SUBMIT_API_PORT=8090 | ||
|
|
||
|
|
@@ -40,11 +40,10 @@ SEARCH_PAGE_SIZE=100 | |
|
|
||
| ## Yaci Indexer env | ||
| INDEXER_DOCKER_IMAGE_TAG=main | ||
| PRUNING_ENABLED=false | ||
| REMOVE_SPENT_UTXOS=false | ||
| #The number of safe blocks to keep in the store. 2160 blocks *(20 seconds/block in average)=4320 seconds=12 hours. | ||
| PRUNING_SAFE_BLOCKS=2160 | ||
| #Run transaction pruning every 600 seconds or 10 minutes. | ||
| PRUNING_INTERVAL=600 | ||
| REMOVE_SPENT_UTXOS_LAST_BLOCKS_GRACE_COUNT=2160 | ||
|
|
||
| YACI_SPRING_PROFILES=h2-testdata,n2c-socket | ||
| # database profiles: h2, h2-testdata, postgres | ||
| MEMPOOL_ENABLED=false | ||
|
|
@@ -94,4 +93,6 @@ DB_POSTGRES_BGWRITER_LRU_MAXPAGES=50 | |
| DB_POSTGRES_BGWRITER_DELAY=500ms | ||
|
|
||
| # Path to local cardano node socket (Yaci DevKit) | ||
| CARDANO_NODE_SOCKET_PATH=${HOME}/.yaci-cli/local-clusters/default/node/node.sock | ||
| CARDANO_NODE_SOCKET_PATH=${HOME}/.yaci-cli/local-clusters/default/node/node.sock | ||
|
|
||
| SYNC_GRACE_SLOTS_COUNT=100 | ||
There was a problem hiding this comment.
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