collision

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Zero collision strategy ensures that all pigeons are using the same way of determinig if they can execute a message or not. That way we can distribute the jobs without having to write data to paloma so that paloma could do it, as it could be slow. Of course, paloma does not care about the strategy pigeons are using. Somebody could rewrite pigeon to do send all the messages, but then they would be "fighting" with paloma and they (and other pigeons) would spend gas unceccecary. A "bad" actor would only be doing a job for us :).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowedToExecute

func AllowedToExecute(ctx context.Context, dump []byte) bool

func GoStartLane

func GoStartLane(ctx context.Context, p palomer, me sdk.ValAddress) (context.Context, func(), error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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