Skip to content

0.1.2

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 13 Jan 08:17
c93dc4d

Critical Fix

Docker Images

Ledger Sync Main app

cardanofoundation/cf-ledger-sync:0.1.2

Ledger Sync Aggregation App

cardanofoundation/cf-ledger-sync-aggregation:0.1.2

Ledger Sync Streamer app :

cardanofoundation/cf-ledger-sync-streamer:0.1.2

Ledger Sync Scheduler app

cardanofoundation/cf-ledger-sync-scheduler:0.1.2

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 in application.properties and vice versa.