![Forrest logo](/images/logo.png)
hsd-cli:tldr:94a56
The command "hsd-cli info" is used to retrieve specific information about the Handshake (HNS) daemon running on a local or remote machine.
Handshake is a decentralized, blockchain-based naming protocol that aims to provide a secure and decentralized alternative to the Domain Name System (DNS). The hsd-cli utility is a command-line interface (CLI) tool to interact with the Handshake daemon (hsd).
When you run the "hsd-cli info" command, it sends a request to the Handshake daemon to fetch general information about the blockchain and the current state of the node. This information typically includes:
-
Network-related details: It displays the network version, the current number of peers connected to the node, and the height of the blockchain the node is synchronized with.
-
Chain information: It provides the chain ID, which is an identifier for the Handshake network, as well as the difficulty and hash of the last mined block.
-
Memory pool details: It shows the number of transactions in the memory pool, including both valid and invalid ones.
-
Wallet information: If you have a Handshake wallet set up and open, the command will display the current balance and the number of transactions associated with your wallet.
By using the "hsd-cli info" command, you can quickly obtain essential information about the Handshake network and the local node's status, which may assist in monitoring, managing, or troubleshooting the Handshake daemon.