1 #ifndef IPFS_IPLD_DNSLINK_NAME_H_
2 #define IPFS_IPLD_DNSLINK_NAME_H_
4 #include "ipfs_client/ipld/dag_node.h"
10 std::string target_namespace_;
11 std::string target_root_;
12 std::string target_path_;
13 std::chrono::system_clock::time_point expiration_;
16 bool PreferOver(
DagNode const& another)
const override;
17 DnsLinkName const* as_dnslink()
const override {
return this; }
A block, an IPNS record, etc.
Definition: dag_node.h:69
Definition: dnslink_name.h:9
bool expired() const override
Definition: resolution_state.h:21