Types
ControlGraft = object topicID*: string
- Source Edit
ControlIHave = object topicID*: string messageIDs*: seq[MessageId]
- Source Edit
ControlIWant = object messageIDs*: seq[MessageId]
- Source Edit
ControlMessage = object ihave*: seq[ControlIHave] iwant*: seq[ControlIWant] graft*: seq[ControlGraft] prune*: seq[ControlPrune] idontwant*: seq[ControlIWant]
- Source Edit
ControlPrune = object topicID*: string peers*: seq[PeerInfoMsg] backoff*: uint64
- Source Edit
Message = object fromPeer*: PeerId data*: seq[byte] seqno*: seq[byte] topic*: string signature*: seq[byte] key*: seq[byte]
- Source Edit
PeerInfoMsg = object peerId*: PeerId signedPeerRecord*: seq[byte]
- Source Edit
Procs
proc byteSize(ihaves: seq[ControlIHave]): int {....raises: [], tags: [].}
- Source Edit
proc byteSize(iwants: seq[ControlIWant]): int {....raises: [], tags: [].}
- Source Edit
func shortLog(c: ControlMessage): auto {....raises: [], tags: [].}
- Source Edit
func shortLog(s: ControlGraft): auto {....raises: [], tags: [].}
- Source Edit
func shortLog(s: ControlIHave): auto {....raises: [], tags: [].}
- Source Edit
func shortLog(s: ControlIWant): auto {....raises: [], tags: [].}
- Source Edit
func shortLog(s: ControlPrune): auto {....raises: [], tags: [].}
- Source Edit