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] imreceiving*: 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] topicIds*: seq[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