Module sort

Module sort 

Source
Expand description

Sorting Implelementations on Envelope Collections XIP

Structs§

CausalSort
TimestampSort

Functions§

causal
Sorts Envelopes Causally in-place All envelopes part of Self will be sorted. Envelopes with missing dependencies will be returned. TopicCursor will be updated to reflect causally-verified envelopes. XIP Definition A causal sort orders envelopes by their dependencies. A dependency is defined as an envelope which must be processed before any dependant envelopes.
timestamp
Sorts Envelopes by server-side Timestamp in ascending order