bitcoin-cli -rpcwallet=leg importprunedfunds getrawtransaction gettxoutproof
after that I get only read only, what am I doing wrong?
bitcoin-cli -rpcwallet=leg importprunedfunds getrawtransaction gettxoutproof
after that I get only read only, what am I doing wrong?
The documentation for importprunedfunds
says
Imports funds without rescan. Corresponding address or script must previously be included in wallet. Aimed towards pruned wallets. The end-user is responsible to import additional transactions that subsequently spend the imported outputs or rescan after the point in the blockchain the transaction is included
(my emphasis)
Related: