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?