ruimarinho / bitcoin-core

A modern Bitcoin Core REST and RPC client.
477 stars 186 forks source link

Upgrading to new bitcoind version #89

Closed MyNameIsOka closed 5 years ago

MyNameIsOka commented 5 years ago

Hello everybody,

I just started diving into setting up Bitcoin nodes as well as using Docker, so please forgive me if that's a stupid question.

Am I correct, that by

  1. stopping the node with bitcoin-cli stop,
  2. creating a new docker-compose that pulls the new bitcoind version and then
  3. starting the new container with the volume pointing to the same folder that the previous version used, I can upgrade the bitcoind version without downloading the blockchain again?

Thank you for your help and for providing the community with those valuable tools!