Module agora.common.Types
Defines common types used by Agora
Functions
Name | Description |
clone(input)
|
Clone any type via the serializer
|
toBlob(signature)
|
Converts a signature to a BitBlob
|
toSignature(bytes)
|
Deserialize a binary blob into a signature
|
toSignature(bytes)
|
Deserialize a ubyte array into a signature
|
Structs
Name | Description |
Address
|
A normalized network address, extended version of Vibe.d's URL with serialization
|
Height
|
A type to ensure that height and other integer values aren't mixed
|
IPv4
|
A simple wrapper struct to string-represent IPv4 without allocating
|
QuorumConfig
|
The definition of a Quorum
|
SerializableDuration
|
Wraps core.time : Duration but can be used with the serializer
|
TimePoint
|
Represents a specific point in time, it should be changed to time_t
after time_t became platform independent
|
Aliases
Name | Type | Description |
cstring
|
const(char)[]
|
An array of const characters
|
GetPenaltyDeposit
|
nothrow @safe Amount delegate(geod24.bitblob.BitBlob!(64L))
|
Delegate type to query the penalty deposit of a utxo
|