Releases: cardano-foundation/cf-ledger-sync
0.1.1
Key Changes
- Live (Local) governance data through n2c settings
- If n2c settings are enabled, Ledger Sync fetches the current governance state data, such as governance action status and DRep stake distribution, and stores it in tables with the prefix "local_".
Docker Images
Ledger Sync Main app
cardanofoundation/cf-ledger-sync:0.1.1
Ledger Sync Aggregation App
cardanofoundation/cf-ledger-sync-aggregation:0.1.1
Ledger Sync Streamer app :
cardanofoundation/cf-ledger-sync-streamer:0.1.1
Ledger Sync Scheduler app
cardanofoundation/cf-ledger-sync-scheduler:0.1.1
Docker Compose Files
https://cardano-foundation.github.io/cf-ledger-sync/docker
Configure N2C (Node-to-Client) to get live (local) data directly from Cardano Node
You can configure N2C in one of the following ways, depending on whether you're connecting to a local or remote Cardano node. N2C settings can be specified either in the .env
file or in application.properties
.
The .env
file is available only for Docker Compose-based setups.
1. Connecting to a Local Cardano Node
- In the
.env
file:
STORE_CARDANO_N2C_NODE_SOCKET_PATH=/home/Cardano/Setups/node/preview/data/node-ipc/node.socket
- In
application.properties
:
store.cardano.n2c-node-socket-path=/home/Cardano/Setups/node/preview/data/node-ipc/node.socket
2. Connecting to a Remote Cardano Node via Socat
If you're connecting to a remote Cardano node and the N2C port has been exposed through socat
, you can configure the N2C settings using the host and port of the remote node.
- In the
.env
file:
STORE_CARDANO_N2C_HOST=<node_host>
STORE_CARDANO_N2C_PORT=<socat_port>
- In
application.properties
:
store.cardano.n2c-host=<node_host>
store.cardano.n2c-port=<socat_port>
Note: Ensure that the relevant settings are only configured in one place (either
application.properties
or.env
) to avoid conflicts. If you're using the.env
file, make sure to comment out or remove the corresponding lines inapplication.properties
and vice versa.
v0.1.0
This is the first release of Ledger Sync.
Key Highlights
- In this release, the database schema is similar to DB Sync database schema.
- Indexes all on-chain data available through mini-protocol.
- Doesn't contain reward-specific data (for example: reward, adapot).
Docker Images
Ledger Sync Main app
docker pull cardanofoundation/cf-ledger-sync:0.1.0
Ledger Sync Streamer app :
docker pull cardanofoundation/cf-ledger-sync-streamer:0.1.0
Ledger Sync Scheduler app
docker pull cardanofoundation/cf-ledger-sync-scheduler:0.1.0
Docker Compose Files
https://cardano-foundation.github.io/cf-ledger-sync/docker
What's Changed
- Genesis Hash by @satran004 in #12
- chore: Enable yaci store account balance aggregation by @satran004 in #13
- Get entropy value from tuple, instead of toString by @satran004 in #15
- fix: Incorrect genesis files by @satran004 in #16
- fix: fix and refactor tests by @Sotatek-HuyLe3a in #17
- chore: Merge store_int to main by @satran004 in #21
- chore: Bump yaci store version by @satran004 in #24
- fix: #19 Init genesis epoch param data whenever service starts running by @Sotatek-HuyLe3a in #23
- chore: Migrate to spring boot 3.1.4 by @satran004 in #28
- fix: #33 fixed sql error during gin index creation by @Sotatek-HuyLe3a in #34
- Add sanchonet support by @satran004 in #32
- Move Ledger Sync related scheduler code to ledger-sync repo by @Sotatek-HuyLe3a in #35
- chore: #37 Java 21 support and bump yaci store version to fix decimal… by @satran004 in #38
- feat: remove remaining network specific hardcoded values by @Sotatek-HuyLe3a in #39
- chore: Added some migration files by @Sotatek-HuyLe3a in #42
- fix: fix error when calculating asset fingerprint by @Sotatek-HuyLe3a in #43
- change the method for calculating asset name bytes by @Sotatek-HuyLe3a in #44
- New "streamer-app" to publish remote events to Kafka or RabbitMQ by @satran004 in #45
- chore: Github action and multi stage build to build and push 3 images by @satran004 in #48
- fix issue 18 by @Sotatek-HuyLe3a in #50
- Update README.md by @satran004 in #58
- fix: #62 config jOOQ schema rendering by @Sotatek-HuyLe3a in #63
- chore: Added lateset yaci-store version and related changes by @satran004 in #71
- feat: change logic when handling tx chart by @Sotatek-HuyLe3a in #69
- fix: update logic for handling epoch param by @Sotatek-HuyLe3a in #68
- chore: update redeemer id of delegation and deregistration by @Sotatek-HuyLe3a in #59
- Fix: Redeemer cbor parse error by @satran004 in #73
- feat: handle tx witnesses by @Sotatek-HuyLe3a in #72
- chore: add migration files by @Sotatek-HuyLe3a in #74
- feat: consume contract data of failed tx by @Sotatek-HuyLe3a in #67
- chore: replace custom json util to JsonUtil common by @Sotatek-HuyLe3a in #65
- feat: consume data by batch by @Sotatek-HuyLe3a in #57
- chore: Added contribution section by @satran004 in #77
- Incorrect Datum/Datum hash initialization by @satran004 in #76
- chore: Add @transactional in CustomAddressTokenBalanceRepository class by @Sotatek-HuyLe3a in #81
- fix: README.md grammar tweaks. by @Amb1guousRaccoon in #79
- fix: #78 update how to handle RedeemerData data that needs to be saved by @Sotatek-HuyLe3a in #80
- chore: remove RedeemerWrapper class by @Sotatek-HuyLe3a in #83
- fix: #85 Get correct asset name bytes by @satran004 in #86
- feat: update epoch param data when param proposal is signed by a required number of delegation keys by @Sotatek-HuyLe3a in #88
- Refactor models and migration files by @Sotatek-HuyLe3a in #87
- chore: Merge develop branch changes to main by @satran004 in #94
- feat: handle payment_cred in Address by @Sotatek-HuyLe3a in #97
- fix: #96 add condition to verify if network is testnet by @Sotatek-HuyLe3a in #99
- chore: change log file name by @Sotatek-HuyLe3a in #100
- feat: handle new certs in conway era by @Sotatek-HuyLe3a in #95
- feat: #101 add initial delay for pool offline data job by @Sotatek-HuyLe3a in #103
- fix: #102 update to guarantee thread-safe when handling failed pool offline data by @Sotatek-HuyLe3a in #104
- Update log and add env by @Sotatek-HuyLe3a in #106
- chore: Merge develop to main by @satran004 in #108
- [helm] Add preview/preprod/sanchonet network configurations by @rcmorano in #110
- Add JDK OPTION to env example by @satran004 in #113
- chore(gha): fix 'latest' docker image pushes by @rcmorano in #116
- Renames packages by @Sotatek-HuyLe3a in #115
- Only rollback address token balance if needed by @Sotatek-HuyLe3a in #121
- chore: migrate to spring boot 3.2.2 and bump version for other dependencies by @Sotatek-HuyLe3a in #123
- Add health endpoints by @Sotatek-HuyLe3a in #122
- Revert the changes related to jOOQ by @Sotatek-HuyLe3a in #131
- Fix incorrect index_arr in tx_witness by @Sotatek-HuyLe3a in #133
- Changes related to Plutus V3 by @Sotatek-HuyLe3a in #134
- chore: #136 upgrade yaci-store version by @Sotatek-HuyLe3a in #137
- chore: Merge develop to main by @satran004 in #138
- feat: Account balance aggregation app by @satran004 in #139
- Merge main to develop by @satran004 in #142
- chore: Bump yaci store version to fix #143 by @satran004 in #145
- chore: Merge develop to main by @satran004 in #146
- chore: remove code related to old account balance processing by @Sotatek-HuyLe3a in #141
- chore: Rename few yaci store specific configurations by @satran004 in #148
- Remove address tx amount code by @Sotatek-HuyLe3a in #149
- Chore: update Dockerfile, github action, yaci-store version and migration scripts by @Sotatek-HuyLe3a in #150
- Add defaultBinder property for streamer and Remove SCHEMA property by @satran004 in #152
- chore(helm): add cardano node to helm chart by @rcmorano in #124
- feat: #153 create healthcheck...