Documentation
¶
Overview ¶
Package adproto is an abstract message type that composes the common elements of all ads - nonce ID, public key (identity), expiry and signature.
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ad ¶
type Ad struct { ID nonce.ID // To ensure no repeating message Key *crypto.Pub Expiry time.Time Sig crypto.SigBytes }
Ad entries are stored with an index generated by concatenating the bytes of the public key with a string path "/address/N" where N is the index of the address. This means hidden service introducers for values over zero. Hidden services have no value in the zero index, which is "<hash>/address/0".
func (*Ad) SpliceNoSig ¶ added in v0.1.16
Click to show internal directories.
Click to hide internal directories.