# Functions
ChooseHashingSchema chooses the hashing schema based on the log version in the massif blob start record.
EventIdentity gets the event identity from the given event json.
EventProof gets the event proof for the given event and the given massif the event is contained in.
LeafRange gets the range of leaf indexes for a given list of
events, that have been sorted from lowest mmr index to highest mmr index.
LogState returns the unsigned state of the log, given a signed state.
Massif gets the massif (blob) that contains the given mmrIndex, from azure blob storage
defined by the azblob configuration.
MassifFromEvent gets the massif (blob) that contains the given event, from azure blob storage defined by the azblob configuration.
MerklelogEntry safely decode the event json from the api and recovers the merkle log entry field.
NewDecodedEvent takes a single event JSON and returns a DecodedEvent.
NewDecodedEvents takes a list of events JSON (e.g.
NewEventsV1ExtraBytes generates the extra bytes for an eventv1 event given the origin tenant of the event.
No description provided by the author
NewVerifiableAssetsV2Events takes a single assetsv2 event JSON and returns a VerifiableAssetsV2Event, providing just enough information to verify and identify the event.
NewVerifiableAssetsV2Events takes a list of events JSON (e.g.
NewVerifiableEventsV1Events takes a single eventsv1 event JSON and returns a VerifiableEventsV1Event, providing just enough information to verify and identify the event.
NewVerifiableEventsV1Events takes a list of events JSON (e.g.
NewVerifiableLogEntry creates a new verifiable log entry.
ParseMassifOptions parses the given options into a MassifOptions struct.
ParseOptions parses the given options into a VerifyOptions struct.
ParseVerifableLogEntryOptions parses the given options into a VerifiableLogEntryOptions struct.
SignedLogState gets the signed state of the log for the massif at the given massif Index.
TenantIdentity gets the event's tenant identity from the given event json.
UpdateMassifContext, updates the given massifContext to the massif that stores
the given mmrIndex for the given tenant.
VerifyConsistency takes two log states, and verifies that log state B is appended onto log state A MMRState is an abstraction, but it is assumed that logStateA comes from a local, trusted copy of the data rather than a fresh download from DataTrails.
VerifyEvent verifies the integrity of the given event json
against the immutable merkle log, aquired using the given reader.
VerifyEventInList takes the next leaf in the list of leaves and the next event in the list of events
and verifies that the event is in that leaf position.
* VerifyList verifies a given list of events against a range of leaves in the immutable merkle log.
VerifyProof verifies the given proof against the given event.
WithMassifHeight is an optional massif height for the massif
instead of the default.
WithMassifTenantId is an optional tenant ID to use instead
of the tenantId found on the eventJson.
WithMerkleLogConfirm is an optional merklelog confirmation which can be used to verify the consistency of the verifiablelog entry.
WithNonLeafNode is an optional suppression
of errors that occur due to attempting to get a massif based on a non leaf node mmrIndex.
WithTenantId is an optional tenant ID to use instead
of the tenantId found on the eventJson.
# Constants
No description provided by the author
EventsV1AppDomain is the events v1 app domain.
Excluded event is a given event that is NOT included on the immutable log.
No description provided by the author
No description provided by the author
Included event is a given event that is included on the immutable log.
LeafTypePlain is the domain separator for events.
No description provided by the author
Omitted is an event on the immutable log, that has not been given within an expected list of events.
Unknown event is a given event that is unknown.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
DecodedEvent.
No description provided by the author
No description provided by the author
MMREntryFields are the fields that when hashed result in the MMR Entry.
VerifiableAssetsV2Event contains key information for verifying inclusion of merkle log events.
VerifiableEventsV1Event contains key information for verifying inclusion of merkle log events.
VerifiableLogEntry contains key information for verifying inclusion and consistency of merkle log entries.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
VerifiableMMREntry is an MMR Entry that can have its inclusion verified.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author