Documentation
¶
Index ¶
- Constants
- type Ad
- func (x *Ad) Decode(s *splice.Splice) (e error)
- func (x *Ad) Encode(s *splice.Splice) (e error)
- func (x *Ad) GetOnion() interface{}
- func (x *Ad) Gossip(sm *sess.Manager, c qu.C)
- func (x *Ad) Len() int
- func (x *Ad) Magic() string
- func (x *Ad) Splice(s *splice.Splice)
- func (x *Ad) SpliceWithoutSig(s *splice.Splice)
- func (x *Ad) Validate() bool
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) SpliceWithoutSig ¶
Click to show internal directories.
Click to hide internal directories.