NetworkNodeRecord

Members

Functions

toNNGString
string toNNGString()

Tries to convert address from a multiaddr to the nng format

Variables

address
string address;

Network address

channel
Pubkey channel;

Node public key

name
string name;

TDN lookup

state
State state;

Node state

time
sdt_t time;

Consensus time of the last update

Mixed In Members

From mixin HiBONRecord!(q{ this(Pubkey _channel, string _addr) nothrow pure { channel = _channel; address = _addr; } this(Pubkey channel, string name, sdt_t time, State state, string address) nothrow pure { this.channel = channel; this.name = name; this.time = time; this.state = state; this.address = address; } })

recordName
string recordName()

Get the record type name set by @recordType("name")