broadcaster

package
v0.101.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMessage

func GetMessage(pubBytes []byte, reqID uint64, txSig []byte) []byte

GetMessage returns data which is signed upon sending response by RPC.

Types

type OracleBroadcaster added in v0.99.2

type OracleBroadcaster struct {
	rpcbroadcaster.RPCBroadcaster
}

OracleBroadcaster is an oracle broadcaster implementation.

func New

New returns a new struct capable of broadcasting oracle responses.

func (*OracleBroadcaster) SendResponse added in v0.99.2

func (r *OracleBroadcaster) SendResponse(priv *keys.PrivateKey, resp *transaction.OracleResponse, txSig []byte)

SendResponse implements interfaces.Broadcaster.

Jump to

Keyboard shortcuts

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