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 (*Relayer) DoRelayWithHeight ¶
* do relay
func (*Relayer) RelayerCompetitionDaemon ¶
func (r *Relayer) RelayerCompetitionDaemon()
Click to show internal directories.
Click to hide internal directories.