mirror of
https://github.com/Start9Labs/documentation.git
synced 2026-03-26 02:11:55 +00:00
* Big refactor, many minor fixes * Link fixes, icon edits * Index and ToC fixes * update icons in theme lib and add to device guides index * WIP - refactor Initial setup, LAN, FF, others * First draft ready, many fixes and edits * Ooops - minor edits and changes on initial setup * Add change password guide (try 2). * Remove change password menu item from guides * Fix display bug, think different --------- Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com> Co-authored-by: gStart9 <george@start9labs.com>
27 lines
976 B
ReStructuredText
27 lines
976 B
ReStructuredText
.. _bitcoin-cli:
|
|
|
|
===========
|
|
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.
|
|
|
|
#. First, you will need SSH access. Please see the :ref:`setup instructions <ssh>` for details.
|
|
#. Access your server and then you can interact with the bitcoind docker container using the following syntax:
|
|
|
|
.. code-block:: bash
|
|
|
|
sudo docker exec -ti bitcoind.embassy bitcoin-cli COMMAND
|
|
|
|
.. tip:: For example ``sudo docker exec -ti bitcoind.embassy bitcoin-cli getnetworkinfo``
|
|
|
|
A list of possible commands can be found `here <https://developer.bitcoin.org/reference/rpc/>`__.
|
|
|
|
You can also drop into a shell using::
|
|
|
|
sudo docker exec -ti bitcoind.embassy bash
|
|
|
|
and then enter ``bitcoin-cli`` commands. When you are finished, simply type ``exit``...
|