Documentation ¶
Index ¶
- Constants
- func NewBurnExecutor(wg *sync.WaitGroup, health models.ServiceHealth) app.Service
- func NewBurnSigner(wg *sync.WaitGroup, health models.ServiceHealth) app.Service
- func NewMintMonitor(wg *sync.WaitGroup, lastHealth models.ServiceHealth) app.Service
- func ValidateNetwork()
- type BurnExecutorRunner
- func (x *BurnExecutorRunner) HandleBurn(doc *models.Burn) bool
- func (x *BurnExecutorRunner) HandleInvalidMint(doc *models.InvalidMint) bool
- func (x *BurnExecutorRunner) Run()
- func (x *BurnExecutorRunner) Status() models.RunnerStatus
- func (x *BurnExecutorRunner) SyncBurns() bool
- func (x *BurnExecutorRunner) SyncInvalidMints() bool
- func (x *BurnExecutorRunner) SyncTxs() bool
- type BurnSignerRunner
- func (x *BurnSignerRunner) HandleBurn(doc *models.Burn) bool
- func (x *BurnSignerRunner) HandleInvalidMint(doc *models.InvalidMint) bool
- func (x *BurnSignerRunner) Run()
- func (x *BurnSignerRunner) Status() models.RunnerStatus
- func (x *BurnSignerRunner) SyncBurns() bool
- func (x *BurnSignerRunner) SyncInvalidMints() bool
- func (x *BurnSignerRunner) SyncTxs() bool
- func (x *BurnSignerRunner) UpdateBlocks()
- func (x *BurnSignerRunner) ValidateBurn(doc *models.Burn) (bool, error)
- func (x *BurnSignerRunner) ValidateInvalidMint(doc *models.InvalidMint) (bool, error)
- type MintMonitorRunner
- func (x *MintMonitorRunner) HandleFailedMint(tx *pokt.TxResponse) bool
- func (x *MintMonitorRunner) HandleInvalidMint(tx *pokt.TxResponse) bool
- func (x *MintMonitorRunner) HandleValidMint(tx *pokt.TxResponse, memo models.MintMemo) bool
- func (x *MintMonitorRunner) InitStartHeight(lastHealth models.ServiceHealth)
- func (x *MintMonitorRunner) Run()
- func (x *MintMonitorRunner) Status() models.RunnerStatus
- func (x *MintMonitorRunner) SyncTxs() bool
- func (x *MintMonitorRunner) UpdateCurrentHeight()
Constants ¶
View Source
const (
BurnExecutorName = "BURN EXECUTOR"
)
View Source
const (
BurnSignerName = "BURN SIGNER"
)
View Source
const (
MintMonitorName = "MINT MONITOR"
)
Variables ¶
This section is empty.
Functions ¶
func NewBurnExecutor ¶ added in v0.1.9
func NewBurnSigner ¶ added in v0.1.9
func NewMintMonitor ¶ added in v0.1.9
func ValidateNetwork ¶
func ValidateNetwork()
Types ¶
type BurnExecutorRunner ¶
type BurnExecutorRunner struct {
// contains filtered or unexported fields
}
func (*BurnExecutorRunner) HandleBurn ¶
func (x *BurnExecutorRunner) HandleBurn(doc *models.Burn) bool
func (*BurnExecutorRunner) HandleInvalidMint ¶
func (x *BurnExecutorRunner) HandleInvalidMint(doc *models.InvalidMint) bool
func (*BurnExecutorRunner) Run ¶
func (x *BurnExecutorRunner) Run()
func (*BurnExecutorRunner) Status ¶
func (x *BurnExecutorRunner) Status() models.RunnerStatus
func (*BurnExecutorRunner) SyncBurns ¶ added in v0.1.9
func (x *BurnExecutorRunner) SyncBurns() bool
func (*BurnExecutorRunner) SyncInvalidMints ¶ added in v0.1.9
func (x *BurnExecutorRunner) SyncInvalidMints() bool
func (*BurnExecutorRunner) SyncTxs ¶
func (x *BurnExecutorRunner) SyncTxs() bool
type BurnSignerRunner ¶
type BurnSignerRunner struct {
// contains filtered or unexported fields
}
func (*BurnSignerRunner) HandleBurn ¶
func (x *BurnSignerRunner) HandleBurn(doc *models.Burn) bool
func (*BurnSignerRunner) HandleInvalidMint ¶
func (x *BurnSignerRunner) HandleInvalidMint(doc *models.InvalidMint) bool
func (*BurnSignerRunner) Run ¶
func (x *BurnSignerRunner) Run()
func (*BurnSignerRunner) Status ¶
func (x *BurnSignerRunner) Status() models.RunnerStatus
func (*BurnSignerRunner) SyncBurns ¶ added in v0.1.9
func (x *BurnSignerRunner) SyncBurns() bool
func (*BurnSignerRunner) SyncInvalidMints ¶ added in v0.1.9
func (x *BurnSignerRunner) SyncInvalidMints() bool
func (*BurnSignerRunner) SyncTxs ¶
func (x *BurnSignerRunner) SyncTxs() bool
func (*BurnSignerRunner) UpdateBlocks ¶
func (x *BurnSignerRunner) UpdateBlocks()
func (*BurnSignerRunner) ValidateBurn ¶ added in v0.1.3
func (x *BurnSignerRunner) ValidateBurn(doc *models.Burn) (bool, error)
func (*BurnSignerRunner) ValidateInvalidMint ¶ added in v0.1.3
func (x *BurnSignerRunner) ValidateInvalidMint(doc *models.InvalidMint) (bool, error)
type MintMonitorRunner ¶ added in v0.1.9
type MintMonitorRunner struct {
// contains filtered or unexported fields
}
func (*MintMonitorRunner) HandleFailedMint ¶ added in v0.1.9
func (x *MintMonitorRunner) HandleFailedMint(tx *pokt.TxResponse) bool
func (*MintMonitorRunner) HandleInvalidMint ¶ added in v0.1.9
func (x *MintMonitorRunner) HandleInvalidMint(tx *pokt.TxResponse) bool
func (*MintMonitorRunner) HandleValidMint ¶ added in v0.1.9
func (x *MintMonitorRunner) HandleValidMint(tx *pokt.TxResponse, memo models.MintMemo) bool
func (*MintMonitorRunner) InitStartHeight ¶ added in v0.1.9
func (x *MintMonitorRunner) InitStartHeight(lastHealth models.ServiceHealth)
func (*MintMonitorRunner) Run ¶ added in v0.1.9
func (x *MintMonitorRunner) Run()
func (*MintMonitorRunner) Status ¶ added in v0.1.9
func (x *MintMonitorRunner) Status() models.RunnerStatus
func (*MintMonitorRunner) SyncTxs ¶ added in v0.1.9
func (x *MintMonitorRunner) SyncTxs() bool
func (*MintMonitorRunner) UpdateCurrentHeight ¶ added in v0.1.9
func (x *MintMonitorRunner) UpdateCurrentHeight()
Click to show internal directories.
Click to hide internal directories.