Liking cljdoc? Tell your friends :D

roughtime-protocol.compat


choose-versionclj

(choose-version client-vers)
source

merkle-leaf-dataclj

(merkle-leaf-data version nonce request-bytes)
source

merkle-optsclj

(merkle-opts version)
source

pad-tagclj

(pad-tag ver)

Returns the appropriate padding tag (as a string or 4-byte array) based on the protocol version.

Returns the appropriate padding tag (as a string or 4-byte array)
based on the protocol version.
sourceraw docstring

required-nonce-lengthclj

(required-nonce-length ver)
source

validate-and-return-versclj

(validate-and-return-vers vrs)

Validates VER contents, accounting for different drafts of the protocol. Throws on error, or returns a map with keys :client-vers :chosen-ver on success.

Validates VER contents, accounting for different drafts of the
protocol.  Throws on error, or returns a map with
keys :client-vers :chosen-ver on success.
sourceraw docstring

validate-nonceclj

(validate-nonce ver nonce)

Validates nonce length based on version. Throws on error; returns :ok on success

Validates nonce length based on version.  Throws on error; returns
:ok on success
sourceraw docstring

validate-typeclj

(validate-type ver tp)

Validates nonce length based on version. Throws on error; returns :ok on success

Validates nonce length based on version.  Throws on error; returns
:ok on success
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close