From 57b3a498df88a00d472971e07007a45d2880384a Mon Sep 17 00:00:00 2001 From: kn0wmad Date: Wed, 31 Mar 2021 10:34:30 -0600 Subject: [PATCH] bitcoin-cli instructions --- source/index.rst | 1 + source/misc-guides/bitcoin-cli.rst | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 source/misc-guides/bitcoin-cli.rst diff --git a/source/index.rst b/source/index.rst index 0d1a234..d1239a0 100644 --- a/source/index.rst +++ b/source/index.rst @@ -28,6 +28,7 @@ Here you will find guidance and information about the Start9 Embassy personal se :caption: Misc Guides misc-guides/available-services + misc-guides/bitcoin-cli misc-guides/tor-os/index misc-guides/tor-firefox/index diff --git a/source/misc-guides/bitcoin-cli.rst b/source/misc-guides/bitcoin-cli.rst new file mode 100644 index 0000000..9567d5f --- /dev/null +++ b/source/misc-guides/bitcoin-cli.rst @@ -0,0 +1,26 @@ +.. _bitcoin-cli: + +***************** +Using Bitcoin-Cli +***************** + +Instructions for accessing the bitcoind service in order to issue commands directly. + +.. warning:: This is an advanced feature and should be used with caution. Start9 is not responsible for any damage you might cause through SSH access. + +1. First, you will need SSH access. Please refer to :ref:`_ssh-setup` for details. +2. Access your Embassy and then you can interact with the bitcoind docker container using the following syntax:: + + sudo docker exec bitcoind bitcoin-cli COMMAND + +.. admonition:: Example + + sudo docker exec bitcoind bitcoin-cli getnetworkinfo + + A list of possible commands can be found `here `_ + +3. You can also drop into a shell using:: + + sudo docker exec -it bitcoind bash + +and then enter ``bitcoin-cli`` commands. When you are finished, simply type ``exit``. \ No newline at end of file