<p>I want to <code>importprunedfunds</code> for addresses related to the wallet (with the help of <code>scantxoutset</code>) on a pruned node. The problem is raw transactions are needed for this. I found there were <a href="https://github.com/bitcoin/bitcoin/pull/10794" rel="nofollow noreferrer">some</a> <a href="https://github.com/bitcoin/bitcoin/pull/9483" rel="nofollow noreferrer">attempts</a> to implement this functionality in Bitcoin Core which never got merged though. What other workarounds could be used without syncing the full blockchain or using third party APIs?</p>

CC BY-SA 4.0
2020-06-09T07:58:44.487Z
As of the last release (0.20), you'd have to re-sync the block chain.
Antoine Poinsot
CC BY-SA 4.0
2020-06-09T13:49:23.373Z
Does this answer your question? [How do I get old blocks while running a pruned node?](https://bitcoin.stackexchange.com/questions/96254/how-do-i-get-old-blocks-while-running-a-pruned-node)
pinhead
CC BY-SA 4.0
2020-06-10T14:31:21.113Z
@pinhead That's definitely interesting, but I wonder if it's possible with just Bitcoin Core, without using a different implementation.
leshik
CC BY-SA 4.0
2020-06-10T14:47:41.893Z
Conceptually yes but not with today's Bitcoin Core. A key component of BIP157 Neutrino wallets is downloading arbitrary blocks from the network, you could look in to that. It's not as much about using an alternative consensus implementation as it is just writing an application.
pinhead
<bitcoin-core><pruning><scantxoutset>
How to make pruned node download an arbitrary block?
leshik
# How to make pruned node download an arbitrary block?

(Asked by: username_0 on 2020-06-09)

I want to `importprunedfunds` for addresses related to the wallet (with the help of `scantxoutset`) on a pruned node. The problem is raw transactions are needed for this. I found there were [some](https://github.com/bitcoin/bitcoin/pull/10794) [attempts](https://github.com/bitcoin/bitcoin/pull/9483) to implement this functionality in Bitcoin Core which never got merged though. What other workarounds could be used without syncing the full blockchain or using third party APIs?

**Tags:** bitcoin-core, pruning, scantxoutset

> **Comments:**
> **username_1**: As of the last release (0.20), you'd have to re-sync the block chain.  
> **username_2**: Does this answer your question? [How do I get old blocks while running a pruned node?](https://bitcoin.stackexchange.com/questions/96254/how-do-i-get-old-blocks-while-running-a-pruned-node)  
> **username_0**: @username_2 That's definitely interesting, but I wonder if it's possible with just Bitcoin Core, without using a different implementation.  
> **username_2**: Conceptually yes but not with today's Bitcoin Core. A key component of BIP157 Neutrino wallets is downloading arbitrary blocks from the network, you could look in to that. It's not as much about using an alternative consensus implementation as it is just writing an application.  

---

## 0 answers

