Yaci Store Native (GraalVM) Distribution (Preview)
Native binaries are available under a separate release tag:
<version>-native (e.g., 2.0.0-beta4-native)
Download Format
Look for platform-specific ZIP files in this format:
yaci-store-<version>-<os>-<arch>-all.zipExample:
yaci-store-2.0.0-beta4-linux-x64-all.zip⚠️ Only use the ZIP files ending with
-all. Ignore files ending withn2c.
Setup
-
Extract the ZIP.
-
Edit
config/application.propertiesto configure:- Cardano network info (host/port/protocol magic)
- PostgreSQL connection settings
-
Run the app:
./yaci-store- Run with ledger-state profile:
SPRING_PROFILES_ACTIVE=ledger-state ./yaci-storePostgreSQL Configuration for Ledger-State (Optional but Recommended)
If you are running ledger-state calculation for mainnet, you should tune your PostgreSQL configuration for optimal performance. While the default config will work, sync time will be significantly longer without these optimizations.
For Native Distribution users:
- Increase PostgreSQL shared memory to 4GB or more (minimum 2GB recommended)
- Configure the following PostgreSQL-related properties in your application configuration (application-ledger-state.properties):
store.adapot.reward-bulk-load-work-mem=1GBstore.adapot.reward-bulk-load-maintenance-work-mem=2GBstore.adapot.stake-snapshot-work-mem=512MBstore.governance-aggr.drep-dist-work-mem=512MB
Last updated on