Skip to content

info

datahop info

Get datahop node information

Synopsis

This command is used to get the local node information

Example:

To pretty print the node info in json format

$ datahop info -j -p

{
    "IsDaemonRunning": true,
    "Config": {
        "Identity": {
            "PeerID": "QmXpiaCz3M7bRz47ZRUP3uq1WUfquqTNrfzi3j24eNXpe5"
        },
        "Addresses": {
            "Swarm": [
                "/ip4/0.0.0.0/tcp/4501"
            ]
        },
        "Bootstrap": [],
        "SwarmPort": "4501"
    },
    "Peers": [],
    "CRDTStatus": {
        "m": 2000,
        "k": 5,
        "b": "AAAAAAAAB9AAAAAAAAAAIAAABAAAAAEAAAAAAAAABAAAAAABAAIAAAAAAAAAAAAQAAAAAIAAAAAAAAAAAAAAAAAQAAAAAAAAAAgAAAAAAAAAEAAAAAAAAAAAAAAAAAEgAAAAAAAAAAABAAAAAAAIAAAAAAAAAAAAAAAAAAAAEBAEAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAgAEAAAAAAAAAAAAEAAgAAAAAAAAAAAAAAABDAAAAAAAAAAAAAQAhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
    },
    "DiskUsage": 135071757,
    "Addresses": [
        "/ip4/192.168.29.24/tcp/4501/p2p/QmXpiaCz3M7bRz47ZRUP3uq1WUfquqTNrfzi3j24eNXpe5",
        "/ip4/127.0.0.1/tcp/4501/p2p/QmXpiaCz3M7bRz47ZRUP3uq1WUfquqTNrfzi3j24eNXpe5"
    ]
}
datahop info [flags]

Options

  -h, --help   help for info

Options inherited from parent commands

  -j, --json     json output
  -p, --pretty   pretty json output

SEE ALSO

  • datahop - This is datahop cli client
Auto generated by spf13/cobra on 21-Sep-2021