I got it working. I missing the --ledger-state option with a ledger-state.json that I got with
cardano-cli query ledger-state
I now get more info from cncli leaderlog, but sadly, I have no blocks
“assignedSlots”:
Note that
cardano-cli query ledger-state
needs a LOT of memory. I only have 8 GB of RAM on my machine and I needed to add a 12 GB swapfile for it to complete without crashing and it takes several minutes to complete.
Great! Now, if you’re like me, instead of being disappointed every day that you didn’t get a block, you can check leaderlog and only be disappointed once every 5 days!
I have no assigned slot current or next or previous when running cncli leaderlog. However, I was able to mint 1 in epoch 264. Extremely surprising. I guess luck and if other pools lose it. The battle continues!
Yes, you’ll have to change privilege’s to your user you’re logged in as . You can do the entire directory or just the individual files. Below are some cmd for ubuntu.
Hmm. I changed the owner to my user ubuntu but im still getting the same error. Do i need to modify the .db file to be writable? Im a bit confused why it would need to write to the db in the first place though. Its just querying it for the leaderslots I thought.
Ah it seems to work now. I ran the ledger-dump.sh script and got the ledger-state. Then all of a sudden my leaderlog.json was populated correctly. Im a bit confused as to how that leaderlog script was ran without me manually running it. Ill need to check my services to see how its actually running. Thank you for your responses.