relayer

package
v0.0.0-...-e273ca0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RetryInterval = 5 * time.Second
)

Variables

View Source
var (
	ZERO_HASH = chainhash.Hash{00000000000000000000000000000000}
)

Functions

This section is empty.

Types

type Relayer

type Relayer struct {
	// contains filtered or unexported fields
}

func NewRelayer

func NewRelayer(cfg *config.Config, BTCExecutor *executor.BTCExecutor, coreExecutor *executor.COREExecutor) *Relayer

func (*Relayer) CheckBlockRelayed

func (r *Relayer) CheckBlockRelayed(blockHash *chainhash.Hash) (bool, error)

func (*Relayer) DoRelayWithHeight

func (r *Relayer) DoRelayWithHeight(blockHeight int64) (bool, error)

* do relay

func (*Relayer) RelayerCompetitionDaemon

func (r *Relayer) RelayerCompetitionDaemon()

func (*Relayer) Start

func (r *Relayer) Start()

Jump to

Keyboard shortcuts

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