full node. I renamed the executables of each so I could tell them apart in top.
bch-qt refuses to run when bchd is running, and btc-qt refuses to run when btc-qt is running. They fail to get locks, which implies to me that the gui interface contains a copy of the daemon. Are there versions where the daemon just keeps running, and you can start and stop the gui when you feel like looking at something? Makes more sense to me ...
Sorry if this is a stupid newbie question. I'm new to the full node thing.
—————————————
Bitcoin Cash Node version v26.1.0-44591e2a2 (64-bit)
Copyright (C) 2009-2023 The Bitcoin developers
Please contribute if you find Bitcoin Cash Node useful. Visit
<https://bitcoincashnode.org> for further information about the software.
The source code is available from
<https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node>.
Distributed under the MIT software license, see the accompanying file COPYING
or <https://opensource.org/licenses/MIT>
This product includes software developed by the OpenSSL Project for use in the
OpenSSL Toolkit <https://www.openssl.org> and cryptographic software written by
Eric Young and UPnP software written by Thomas Bernard.
Using Berkeley DB 5.3.28: (September 9, 2013).
they use the same ports and same folders so obviously that's not going to play well with each other. specify different ports and datadir in conf just like you would when you want to run different copies or testnets of the same coin.
The the qt version is exactly that, a daemon with a ui. The non-qt version is the same daemon for headless/cli installations. You can just set the qt version options to minimize to tray or background or whatever on close and leave it running.
I moved the btc node to a different port, so that problem was easily solved. Since I am the only person with access to either of them, and I know what port it is on, that solved *THAT* problem. The remaining problem is that, from ~bch, ./bin/bch-qt will not run if ./bin/bchd is running ... because the gui IS the full node instead of TALKING TO the full node. If I take down the daemon for bch, I can run the gui for bch, and if I take down the daemon for btc I can run the gui for btc. I just have to remember to bring the daemon back up when I close the gui. Maybe I'll just make a script so that when I run the gui, it closes the daemon, and when it terminates, it restarts it.
Обсуждают сегодня