GuidesMaintenance

Rescan the blockchain

Have your backend search past blocks for the coins and transactions of a wallet you added.

Rescan when a wallet you added from its descriptor or its wallet backup file shows fewer coins than it holds. A rescan only reads blocks, so it moves no coin and needs no signing device.

Check that you need a rescan

Wait until the sync has finished. If the balance or the history then misses coins that the wallet received before you added it, rescan.

Liana asks Bitcoin Core to watch a wallet only from the latest blocks the node has when you add it, so older payments do not show. After you add a wallet from its descriptor or its wallet backup file with Bitcoin Core, the Dashboard reminds you to rescan. Its message starts As this wallet was restored from a backup or As this wallet was imported from a descriptor.

A wallet you created in Liana needs no rescan, unless you rebuilt an earlier wallet from the same keys and policy. No coin could reach the addresses of a new descriptor before it existed.

The Dashboard of a wallet newly added from its wallet backup file, with a balance of 0 and a warning card that suggests a rescan, with the Go to rescan and Dismiss buttons.
After a restore from a wallet backup file with Bitcoin Core, Liana reminds you to rescan. Go to rescan opens the node settings.

Check that your backend can rescan

BackendRescanWhat the start date does
Bitcoin CoreYes, from Settings > Node.Bitcoin Core searches from that date to the latest block.
An Electrum serverYes, from Settings > Node.Nothing. Liana asks the Electrum server for the full history of the wallet.
Liana ConnectNo. Settings shows Backend instead of Node.Not applicable.

A rescan rarely changes anything with an Electrum server. If coins are missing with an Electrum server or Liana Connect, start with Fix wallet syncing.

Pick a start date

Use a date a few days before the first coin the wallet ever received. If you do not know it, use the day you created the wallet. A date that is too late leaves the older coins out.

An earlier date makes Bitcoin Core read more blocks, so the rescan takes longer.

Work around a pruned node

A pruned Bitcoin Core cannot search the old blocks it has deleted. The Bitcoin Core that Liana installs is pruned.

If your start date is older than the oldest block Bitcoin Core still has, Liana refuses the rescan with Provided date earlier than the node prune height. You have two ways forward:

  • Keep every coin in view: Change your backend to a Bitcoin Core node that is not pruned, or to an Electrum server.
  • Keep the current backend: Move the start date forward until Liana accepts it. Liana then shows the coins received since that date, and misses the older ones.

A coin Liana does not show is still yours

A missing coin is still on-chain, under the same descriptor. It shows up as soon as a backend with the full history scans the wallet.

Start the rescan

Wait for the sync to finish

On the Dashboard, wait until the line under the balance no longer reads Syncing blockchain. Liana refuses a start date later than the last block Bitcoin Core has downloaded.

Open the Node settings

Select Settings, then Node. The Blockchain rescan card sits at the bottom. On the Dashboard warning after a restore, Go to rescan opens the same screen.

Enter the start date

Enter the date as numbers in Year:, Month: and Day:, for example 2025, 3 and 14 for the 14th of March 2025.

Select Start rescan

Select Start rescan. The card shows a progress bar and Rescanning... with a percentage. The sidebar shows the same percentage in a Rescan... pill above Recovery.

Check the coins and transactions

The rescan is over when the pill leaves the sidebar. Select Coins/UTXOs and Transactions to see the past coins and transactions.

To bring back their labels, import the wallet backup file.

Fix a date that Liana refuses

MessageWhat to do
Provided date is invalidThe three fields do not make a calendar date. Check the day against the month.
Provided date is in the futureEnter a date before today.
Provided date earlier than the node prune heightBitcoin Core no longer has the blocks for that date. See Work around a pruned node.
The Blockchain rescan card with the date 2030, 1, 1 and the red message Provided date is in the future.
Liana checks the date before it starts. A date after today shows Provided date is in the future.

Next steps