2

I’ve connected Sparrow Wallet to a pruned Bitcoin node but none of my UTXOs are showing. I would imagine that since I haven't spent them and since pruned nodes still keep the entire UTXO set, my bitcoins (UTXOs) should be accessible on the node.

Is there something I’m doing wrong?

1 Answer 1

4

You can't ask for UTXOs from arbitrary nodes on the networks, because there is no way to verify that information.

You need to ask for blocks. And a pruned node cannot provide those.

4
  • 1
    Thanks Pieter. I thought the utxo set is a database (leveldb) on it's own that could be queried independently. I'm curious what's the benefit of allowing pruned nodes then if external wallets can't utilize them? Jan 14, 2022 at 7:04
  • 1
    Any node, for any purpose, can use pruned nodes for everything they can use other nodes, once they've caught up with synchronization. The only thing a pruned node cannot provide is historical old blocks. Once a node is synchronized with the network, they can use pruned nodes or others to stay in sync, relay transactions, relay blocks, get other nodes' IP addresses, ... Aug 15, 2022 at 12:23
  • It sounds to me like the user was connecting their Sparrow Wallet to their own local pruned node. Assuming that they trust the node because they have synced it themselves, a thin client could theoretically use dumptxoutset and then scan that, couldn’t they?
    – Murch
    Jan 30 at 19:24
  • I assumed the question was about P2P connections (which is intended for untrusting peers). If you have RPC access or some other form of privileged access to a trusted node, the situation is different of course. Jan 30 at 19:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.