Struct RegistryPayloadData
struct RegistryPayloadData
;
Fields
Name | Type | Description |
addresses
|
const(Address)[] | network addresses associated with the public key
|
public_key
|
PublicKey | the public key that we want to register
|
seq
|
ulong | monotonically increasing sequence number
|
ttl
|
uint | TTL of the registry record
|
Methods
Name | Description |
opCmp
(other)
|
Orders payload data according to public_key , when public_key s are
equal, opEquals is considered for equality. Comparison falls back to
seq , length of addresses and individual addresses in respective order
when opEquals fail. This will eventually result in different equality
from opEquals
|
opEquals
(other)
|
Compares payload data for equality, ignores seq
and permutations of addresses are considered as equal, ttl is ignored
|
sign
(kp)
|
|
toHash
()
|
Overload for toHash , required when implementing opEquals
|
verify
(sig)
|
|