Post
Topic
Board Bitcoin Technical Support
Re: Bitcoin Core: return payment to sender
by
nc50lc
on 06/07/2024, 06:31:55 UTC
-snip-
This works in Bitcoin Core but not in Litecoin Core. Github issue: https://github.com/litecoin-project/litecoin/issues/948
The block is not pruned yet when I need this.
Then, Litecoin isn't a good alternative to TestNet when testing some Bitcoin Core-compatible commands.
Try "RegTest" instead; however, you wont be able to easily reproduce a pruned blockchain.
The setup: prune=1 arg/config and pruneblockchain <height> RPC command to reproduce a pruned blockchain
seem to require to reach the minimum prune size as well because it wont prune any block in my RegTest setup with more than 1500 blocks (result: -1).

Or just use your Bitcoin Core, unlike some commands, getrawtransaction wont harm your node anyways.
You intended to use that in Bitcoin Core right?