ordering

package
v0.0.0-...-168a2c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventBuffer

func EventBuffer(
	process func(*inter.Event),
	drop func(*inter.Event, error),
	exists func(hash.Event) *inter.Event) (
	push func(*inter.Event))

EventBuffer validates, bufferizes and drops() or processes() pushed() event if all their parents exists(). TODO: drop incomplete events by timeout.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL