LearnUnder the hood

Backends

What each backend does for Liana, what it learns about your wallet, and what you depend on.

Liana does not talk to the Bitcoin network itself. A backend reports the transactions that touch your addresses, and relays the ones you sign.

A backend sees your addresses and never holds a key

lianad asks Bitcoin Core or an Electrum server for news every 30 seconds. To answer, the backend has to know which addresses are yours, so it learns your balance and your history. It never receives a private key or a seed phrase, so it cannot spend.

Signing devices, Liana with lianad, a backend and the Bitcoin network in a row: every 30 seconds lianad asks the backend for news about your addresses and gets back the transactions touching them, the signed transaction goes through the backend to the network, and the private key and the seed phrase never reach the backend.

Liana shows only what the backend reports. A backend that leaves a transaction out leaves your balance incomplete, until another backend scans the wallet.

To pick a backend for a new wallet, follow Choose a backend.

Bitcoin Core keeps every lookup on your computer

lianad creates a watch-only wallet inside Bitcoin Core, with no private key, and imports your descriptor into it. Bitcoin Core then checks each new block for your addresses itself. No lookup leaves your computer. Bitcoin Core's peers receive the transactions you sign.

Liana does not support a Bitcoin Core on another computer. If the address you enter is not a loopback address such as 127.0.0.1, the installer warns Connection to a remote Bitcoin node is not supported. Liana supports Bitcoin Core 24.0.1 or later, and 26.0 or later for a Taproot wallet.

Liana can install and run it for you

When you select I want Liana to automatically install a Bitcoin node on my device, Liana downloads Bitcoin Core 31.1 from bitcoincore.org. It checks the file against a SHA-256 hash written into Liana before installing it.

Liana sets prune=15000, so this Bitcoin Core keeps its block files under 15,000 MiB (about 15.7 GB). The installer says it needs about 30 GB of free disk space on mainnet, and that the first sync can take some days. Closing Liana stops this Bitcoin Core, so each opening starts with a catch-up.

Or you run it yourself

When you select I already have a node, Liana connects to Bitcoin Core over RPC, with its cookie file or a user name and password. Pruning stays your decision. Liana works down to the smallest target Bitcoin Core accepts, prune=550, which keeps its block files under 550 MiB.

What pruning costs you

A pruned Bitcoin Core downloads and validates every block, like an unpruned one, then deletes its oldest block files to stay under its target. Pruning saves disk space, not download time. Turning it off later means downloading the whole blockchain again.

A wallet you create in Liana loses nothing to pruning. Bitcoin Core loads the watch-only wallet each time it starts, so it checks every block for your addresses before it deletes that block.

The cost appears when you add an existing wallet, to restore it or to move it. lianad tells Bitcoin Core to watch the wallet only from the latest block it has. Older coins appear only after a rescan. Bitcoin Core can rescan only the blocks it still has. For an older start date, Liana refuses the rescan with Provided date earlier than the node prune height.

Say your wallet received a coin in January 2025. In September 2026, you add it to a pruned Bitcoin Core whose oldest block dates from July 2026. Liana refuses a rescan from January 2025. The coin is still yours, but this Bitcoin Core cannot find it. A Bitcoin Core that is not pruned can. So can an Electrum server such as Electrs.

A timeline from January 2025 to September 2026: a pruned Bitcoin Core keeps only the blocks from July 2026 on, so Liana refuses a rescan back to a coin received in January 2025, while a Bitcoin Core that is not pruned and an Electrum server such as Electrs both find it.

Work around a pruned node shows how to find those coins.

An Electrum server answers from its own index

An Electrum server such as Electrs indexes the whole blockchain, so it returns the history of any address at once. Electrs needs a Bitcoin Core with pruning turned off. Liana accepts a server on another machine. At the first sync, Liana fetches the whole history of the wallet, so an existing wallet needs no rescan.

Liana asks the server about each address the wallet has used or handed out, plus the next 30 receive addresses and the next 30 change addresses. At the first sync and at each rescan, it asks about every address in order, until more than 200 in a row have no history. The operator of the server can tell which addresses are yours. It also learns your balance, your history, the transactions you broadcast, and your IP address.

Receive and change addresses: each later sync asks an Electrum server about every address used or handed out plus the next 30 on each chain, while the first sync and each rescan ask about every address from index 0 until more than 200 in a row have no history.

Prefix the address with ssl:// to encrypt the connection. Liana then checks the server's certificate, unless you tick Do not validate SSL Domain (check this only if you want to use a self-signed certificate). Without the prefix, the connection is unencrypted.

A public Electrum server learns your addresses

Connect Liana to a server you run, never to a public one.

Liana Connect runs on Wizardsardine's servers

Liana Connect is a backend that Wizardsardine runs, so no lianad and no node run on your computer. Wizardsardine sees your descriptor, your addresses and your coins, tied to your email address, but never a private key. The Liana Connect page lists what its servers keep, and what you still hold yourself.

You can change the backend later

The backend is not part of the wallet. Your descriptor, keys and addresses stay the same under every backend. Change your backend shows how to edit the connection to your own node, or add the wallet again under another backend.

Next steps