Cardano Node client does not output Wallet balance

Hello Cardanians!

I have built 3 Cardano nodes on Mainnet:

1x Offline Cold for Keys.
1x Relay Node (Online, Connected & Live)
1x Node Getting Prepped as a Block Producer. (Online, Connected & Live)

The nodes have been synching for about 24 hours now.

I’ve been following instructions here in order to generate a wallet and have send 9 ADA to it to verify it works. I can see the 9 ADA on the blockchain explorer, but I can’t seem to query any wallet address, even address I have used a while ago. I keep getting this output on all nodes:

cardano@cnode$ 01_queryAddress.sh myWallet

Version-Info: cli 1.26.0 / node 1.26.0          Scripts-Mode: online

Checking UTXOs of Address-File myWallet.addr: <wallet_address_redacted>

Address-Type / Era: payment / shelley

No funds on the Address!

Alternatively, when I try:

cardano@cnode$ cardano-cli query utxo --shelley-era --mainnet --address <redacted_wallet.addr>
                           TxHash                                 TxIx        Amount
--------------------------------------------------------------------------------------
cardano@cnode$

So I am wondering what is going on here? Do the nodes take a long time to synch?
Should I wait a bit longer? Any input welcome?

Thanks,
Steve

I think I just answered my own question. Node sync is not complete. :slight_smile:
image

But it is… we are in epoch 255

I only see that u installed 1.26.0 version which has not been released yet… please try to install 1.25.1 version

1 Like

Thanks Alex,

So I left it running overnight on 1.26.0 and the balance check works. So I thought I would then try and pay the pool deposit, but got another error so I have now compiled 1.25.1 binaries.

I have a couple of local instances on Mainnet running nodes that I deploy on before I do on Live.
So on both of these instances I have stopped the CNODE service, replaced the 1.26.0 binary with 1.25.1 binary and started the service. However it seems to hang in starting mode on gLive view without syncing:

125

So on one instance I deleted the contents of the DB folder and it started synching from scratch.
Given that this takes a long time to sync, I would have thought there might be a quicker way for it to just pick up where it left off?

Does this occur (a complete re-sync) every time there is a binary upgrade?

Is there a way around this to get it to pick up where it left off without a complete resync like this?

Thanks,
Steve

UPDATE: After about 15 minutes it started syncing again but is now at Epoch 223… Still a long time to sync just for a binary replace. ?
restart

UPDATE 2:
There seems to a be a lot of block replay messages it is iterating through with a percentage:

Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.21 UTC] block replay progress (%) = 85.3
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.28 UTC] block replay progress (%) = 85.3
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.34 UTC] block replay progress (%) = 85.3
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.40 UTC] block replay progress (%) = 85.3
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.45 UTC] block replay progress (%) = 85.3
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.52 UTC] block replay progress (%) = 85.3
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.58 UTC] block replay progress (%) = 85.3
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.63 UTC] block replay progress (%) = 85.3
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.68 UTC] block replay progress (%) = 85.3
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.74 UTC] block replay progress (%) = 85.3
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.78 UTC] block replay progress (%) = 85.4
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.84 UTC] block replay progress (%) = 85.4
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.88 UTC] block replay progress (%) = 85.4
Mar 27 13:43:22 cnode-relay cardano-node[200124]: [cnode-re:cardano.node.ChainDB:Info:5] [2021-03-27 02:43:22.93 UTC] block replay progress (%) = 85.4

Any idea what this is doing after binary replace and restart?

Cheers,
Steve

[quote=“Landossa, post:4, topic:55096”]
Hello,

Given that this takes a long time to sync, I would have thought there might be a quicker way for it to just pick up where it left off?

I don’t think so, I also observed that syncing the shelley era (starting with epoch 223) it will take more time

Does this occur (a complete re-sync) every time there is a binary upgrade?

Nope, the DB should not be affected during update

Is there a way around this to get it to pick up where it left off without a complete resync like this?

usually when u stop/start the node the sync will continue from the last block/slot

After about 15 minutes it started syncing again but is now at Epoch 223… Still a long time to sync just for a binary replace. ?

Should not happen; are u sure it was 100% synced before to replace the binary?

Any idea what this is doing after binary replace and restart?

TBH I don’t know…

I hope your pool is up and running now

Cheers,

1 Like