Replies: 7 comments 2 replies
-
Chain SeekRunning the Marlowe chain seek daemon.
|
Beta Was this translation helpful? Give feedback.
-
Here are the PostgreSQL parameter changes (relative to default) that I'm using for 122c122
< shared_buffers = 128MB # min 128kB
---
> shared_buffers = 2GB # min 128kB
124c124
< #huge_pages = try # on, off, or try
---
> huge_pages = try # on, off, or try
126,127c126,127
< #temp_buffers = 8MB # min 800kB
< #max_prepared_transactions = 0 # zero disables the feature
---
> temp_buffers = 2GB # min 800kB
> max_prepared_transactions = 256 # zero disables the feature
229c229
< max_wal_size = 1GB
---
> max_wal_size = 4GB
723c723
< #max_pred_locks_per_transaction = 64 # min 10
---
> max_pred_locks_per_transaction = 256 # min 10 |
Beta Was this translation helpful? Give feedback.
-
Here is my configuration for $ cat configuration.env
export MARLOWE_ROOT="$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")"
export CARDANO_NODE_SOCKET_PATH="$MARLOWE_ROOT/node.socket"
export CARDANO_TESTNET_MAGIC=2
MAGIC=(--testnet-magic 2)
CARDANO_NODE_PORT=23001
CHAINSEEKD_PORT=23715
CHAINSEEKD_QUERY_PORT=23716
CHAINSEEKD_JOB_PORT=23720
MARLOWE_HISTORY_COMMAND_PORT=23717
MARLOWE_HISTORY_QUERY_PORT=23718
MARLOWE_HISTORY_SYNC_PORT=23719
MARLOWE_TX_COMMAND_PORT=23723
MARLOWE_DISCOVERY_QUERY_PORT=23721
MARLOWE_DISCOVERY_SYNC_PORT=23722 Set variables: . configuration.env Run node: build-node/bin/cardano-node run --config config/node.json --topology config/topology.json --database-path node.db --socket-path node.socket --port $CARDANO_NODE_PORT Set chain seek database: $ createdb mychainseek
$ vi sqitch.conf
$ sqitch deploy Run chain seek: chainseekd --genesis-config-file-hash 72593f260b66f26bef4fc50b38a8f24d3d3633ad2e854eaf73039eb9402706f1 --genesis-config-file ../../config/byron-genesis.json --socket-path ../../node.socket --database-uri postgresql://localhost/preview_chainseek ${MAGIC[@]} --port-number $CHAINSEEKD_PORT --query-port-number $CHAINSEEKD_QUERY_PORT --job-port-number $CHAINSEEKD_JOB_PORT Run contract history: marlowe-history --chain-seek-port-number $CHAINSEEKD_PORT --chain-seek-query-port-number $CHAINSEEKD_QUERY_PORT --command-port $MARLOWE_HISTORY_COMMAND_PORT --query-port $MARLOWE_HISTORY_QUERY_PORT --sync-port $MARLOWE_HISTORY_SYNC_PORT Run transaction creation: marlowe-tx --chain-seek-port-number $CHAINSEEKD_PORT --chain-seek-query-port-number $CHAINSEEKD_QUERY_PORT --chain-seek-command-port-number $CHAINSEEKD_JOB_PORT --command-port $MARLOWE_TX_COMMAND_PORT --history-sync-port $MARLOWE_HISTORY_SYNC_PORT Run contract discovery: marlowe-discovery --chain-seek-port-number $CHAINSEEKD_PORT --chain-seek-query-port-number $CHAINSEEKD_QUERY_PORT --query-port $MARLOWE_DISCOVERY_QUERY_PORT --sync-port $MARLOWE_DISCOVERY_SYNC_PORT Use Marlowe Runtime CLI: marlowe --history-command-port $MARLOWE_HISTORY_COMMAND_PORT --history-query-port $MARLOWE_HISTORY_QUERY_PORT --history-sync-port $MARLOWE_HISTORY_SYNC_PORT --tx-command-port $MARLOWE_TX_COMMAND_PORT ls
|
Beta Was this translation helpful? Give feedback.
-
Here is a tutorial for using Marlowe Runtime history, following, and discovery. |
Beta Was this translation helpful? Give feedback.
-
Here is a diagram with how the pieces fit together and default ports:
|
Beta Was this translation helpful? Give feedback.
-
Here are comprehensive instructions on setting up the EC2 instance: https://github.com/bwbush/local-cardano-service-configs/blob/marlowe-runtime-ec2/ReadMe.md. |
Beta Was this translation helpful? Give feedback.
-
Here are a couple of important notes for workarounds needed in Marlowe Runtime deployments:
|
Beta Was this translation helpful? Give feedback.
-
This discussion is for notes and discussion related to deploying Marlowe Runtime. This will be a source for creating documentation for deploying Marlowe Runtime.
Beta Was this translation helpful? Give feedback.
All reactions