Procs
func defaultMsgIdProvider(m: Message): Result[MessageId, ValidationResult] {. ...raises: [], tags: [], forbids: [].}
- Source Edit
proc sign(msg: Message; privateKey: PrivateKey): CryptoResult[seq[byte]] {. ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
Exports
-
ValidationResult, withPing, withIWant, shortLog, ControlGraft, shortLog, shortLog, withExtensions, byteSize, byteSize, withIWant, byteSize, withIDontWant, shortLog, shortLog, shortLog, shortLog, withIMReceiving, withControl, ControlExtensions, shortLog, withPreamble, withMessages, shortLog, Preamble, withIMReceiving, IMReceiving, byteSize, shortLog, Message, shortLog, withPreamble, MessageId, withPong, ControlIHave, isSubscribe, withMessages, validate, SaltedId, withGraft, ControlIWant, withIDontWant, shortLog, PartialMessageExtensionRPC, shortLog, withPing, withSubscriptions, PeerInfoMsg, byteSize, ControlMessage, PingPongExtensionRPC, validate, anonymize, withPrune, RPCMsg, byteSize, SubOpts, byteSize, withPreamble, TestExtensionRPC, ControlPrune, PreambleExtensionRPC, withIHave, anonymize