abracadaniel / cardano-pool-docker

Docker container for setting up and running a Cardano Stake Pool
164 stars 62 forks source link

cncli: use stake-snapshot instead of ledger-state #37

Closed robinboening closed 3 years ago

robinboening commented 3 years ago

I think cardano-cli query stake-snapshot is the preferred way for getting to the slot leader logs. It consumes less memory than cardano-cli query ledger-state.

I've had memory issues with cardano-cli query ledger-state in the past and cardano-cli query stake-snapshot fixed that.

FYI: https://github.com/input-output-hk/cardano-node/blob/master/doc/stake-pool-operations/query_stakepool.md

I will take this on and submit a PR.