init: add exe name to bitcoind, bitcoin-node -version output to be able to distinguish these in tests

This commit is contained in:
Ryan Ofsky
2025-08-20 13:24:35 -04:00
parent 1444ed855f
commit 0972f55040
6 changed files with 17 additions and 3 deletions

View File

@@ -38,6 +38,7 @@ public:
std::unique_ptr<interfaces::Echo> makeEcho() override { return interfaces::MakeEcho(); }
interfaces::Ipc* ipc() override { return m_ipc.get(); }
bool canListenIpc() override { return true; }
const char* exeName() override { return EXE_NAME; }
node::NodeContext& m_node;
std::unique_ptr<interfaces::Ipc> m_ipc;
};