Module dubp_common::prelude[][src]

Re-exports

pub use crate::errors::DocumentSigsErr;

Structs

BlockHash

Wrapper of a block hash.

BlockNumber

A block number.

Blockstamp

A blockstamp (Unique ID).

CurrencyName

Currency name

Enums

BlockstampFromBytesError

Error when converting bytes to Blockstamp

BlockstampParseError

Type of errors for Blockstamp parsing.

Constants

DEFAULT_CURRENCY

Default currency name

Functions

unescape_str

Unescape backslash

Type Definitions

PreviousBlockstamp

Previous blockstamp (BlockNumber-1, previous_hash)

Derive Macros

Error