Tari: track gRPC channel state and display it in logs/status/API

This commit is contained in:
SChernykh
2025-09-15 15:53:35 +02:00
parent 012d148080
commit 32e940577e
2 changed files with 39 additions and 5 deletions

View File

@@ -103,7 +103,8 @@ private:
const std::string m_hostStr;
grpc::ChannelArguments m_channelArgs;
tari::rpc::BaseNode::Stub* m_TariNode;
std::shared_ptr<grpc::Channel> m_channel;
std::unique_ptr<tari::rpc::BaseNode::Stub> m_TariNode;
struct TariClient : public TCPServer::Client
{