Files
brave-core/components/ipfs/node_info.h
T
sergey 020c95f494 Add node information to brave://ipfs
13839: PeerID and Agent version added to brave://ipfs
2021-02-01 21:31:08 +03:00

25 lines
571 B
C++

/* Copyright (c) 2021 The Brave Authors. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef BRAVE_COMPONENTS_IPFS_NODE_INFO_H_
#define BRAVE_COMPONENTS_IPFS_NODE_INFO_H_
#include <string>
#include <vector>
namespace ipfs {
struct NodeInfo {
NodeInfo();
~NodeInfo();
std::string id;
std::string version;
};
} // namespace ipfs
#endif // BRAVE_COMPONENTS_IPFS_NODE_INFO_H_