How can I turn off sending of bitcoins?

1

I use Bitcoin Core v.0.17 on the server. I want to only be able to receive, and prevent sending. How can I turn off sending of bitcoins through bitcoind, bitcoin-cli or bitcoin.conf?

voodooSHA A

Posted 2019-07-29T14:57:22.070

Reputation: 23

5What do you mean by "output of bitcoins"? – Andrew Chow – 2019-07-29T15:13:52.820

Stop send btc, only reciev – voodooSHA A – 2019-07-30T07:17:05.497

@voodooSHAA: I've edited your post to add this information. Please check whether my edit matches your intentions. – Murch – 2019-08-29T16:43:24.707

Answers

1

Stop send btc, only reciev

Bitcoin Core

So far as I know, there isn't really good support for this in Bitcoin core.

The safest way is to remove your private key(s) from the wallet.

You could archive your existing wallet (and test full recovery carefully) then set up a watch-only wallet using importaddress

However note that this does not generate new receiving addresses for you, If you use a new receiving address for each transaction (as you should) than you'll have to generate each address externally and import it into the watch-only wallet.

Other wallets may have better support for this.

Offline Wallets

You don't actually need a wallet to receive payments, so long as you don't mind

  • the consequent loss of privacy from using a single receiving address.
  • the need to trust a third party blockchain explorer to monitor payments received.

RedGrittyBrick

Posted 2019-07-29T14:57:22.070

Reputation: 9 949