HashGraph.Register

Cache holding the event package current processed

Constructors

this
this(Wavefront received_wave)

Creates and cache with the event-packages contained in the WaveFront

Members

Functions

lookup
Event lookup(const(Buffer) fingerprint)

Lookup the Event containing event-package with the fingerprint Note. If the Event is not found it the _event_cache but it's found in the event_package_cache then a new Event is created with this with the event-package

register
Event register(const(Buffer) fingerprint)

Register the event-package with the fingerprint If the event has not been connect to the graph it will also connect it Via the Event.connect function.