[][src]Module koibumi_core::pow

Functions for validating or performing the proof of work used by the Bitmessage protocol.

Structs

Nonce

The nonce of a proof of work.

NonceTrialsPerByte

One of parameters of the proof of work used by the Bitmessage protocol.

PayloadLengthExtraBytes

One of parameters of the proof of work used by the Bitmessage protocol.

Value

Target or trial value of a proof of work.

Enums

PerformError

An error which can be returne when performing a proof of work.

ValidateError

An error which can be returne when validating a proof of work.

Functions

initial_hash

Returns the initial hash of a payload.

perform

Performs a proof of work used by the Bitmessage protocol.

target

Returns the target of a proof of work.

validate

Validates a proof of work used by the Bitmessage protocol.