tagion v1.0.3-rc1 (2023-12-18T15:15:15Z)
Dub
Repo
Wavefront
tagion
hashgraph
HashGraphBasic
Undocumented in source.
@
safe
@
recordType
("Wavefront")
struct
Wavefront {
@
label
("$events")
@
optional
@
filter
(q{a.length is 0})
const
(
immutable
(
EventPackage
)*[])
epacks
;
@
label
("$state")
ExchangeState
state
;
enum
tidesName
;
enum
epacksName
;
enum
stateName
;
mixin
HiBONRecordType
;
mixin
JSONString
;
this
(Tides tides);
this
(immutable(EventPackage)*[] epacks, Tides tides, ExchangeState state);
this
(SecureNet net, Document doc);
const
(
Document
)
toDoc
();
const
(
Tides
)
tides
();
}
Constructors
this
this
(Tides tides)
Undocumented in source.
this
this
(immutable(EventPackage)*[] epacks, Tides tides, ExchangeState state)
Undocumented in source.
this
this
(SecureNet net, Document doc)
Undocumented in source.
Members
Functions
tides
const
(
Tides
)
tides
()
Undocumented in source. Be warned that the author may not have intended to support it.
toDoc
const
(
Document
)
toDoc
()
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
epacksName
enum
epacksName
;
Undocumented in source.
stateName
enum
stateName
;
Undocumented in source.
tidesName
enum
tidesName
;
Undocumented in source.
Mixins
__anonymous
mixin
HiBONRecordType
Undocumented in source.
__anonymous
mixin
JSONString
Undocumented in source.
Variables
epacks
const
(
immutable
(
EventPackage
)*[])
epacks
;
Undocumented in source.
state
ExchangeState
state
;
Undocumented in source.
Mixed In Members
From
mixin
HiBONRecordType
ThisType
alias
ThisType
=
typeof
(
this
)
Undocumented in source.
record_types
alias
record_types
=
getUDAs
!(
ThisType
,
recordType
)
Undocumented in source.
type_name
enum
type_name
;
Undocumented in source.
isRecord
alias
isRecord
=
isRecordT
!
ThisType
Undocumented in source.
isRecord
bool
isRecord
(Document doc)
Undocumented in source. Be warned that the author may not have intended to support it.
From
mixin
JSONString
toString
void
toString
(void delegate(scope const(char)[]) @(safe) sink, FormatSpec!char fmt)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
tagion
hashgraph
HashGraphBasic
aliases
Tides
convertState
enums
ExchangeState
functions
higher
highest
isAllVotes
isMajority
nextAltitide
manifest constants
_params
minimum_nodes
structs
EvaPayload
EventBody
EventPackage
Wavefront
variables
eva_altitude