fxtronbridge

package module
v0.0.0-...-de16a70 Latest Latest
Warning

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

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

README

f(x)Core Tron Cross-Chain Bridge

Documentation

Index

Constants

View Source
const (
	TronBlockDelay        = 25
	TronDelayBlockWarn    = 3000
	TronRestartDelayBlock = 28800
	TronHome              = "$HOME/.tronBridge"
)
View Source
const (
	BatchSendMsgCount = 100

	ThresholdVotePower = totalPower * thresholdVotePowerProportion / 100
)
View Source
const FxAvgBlockMillisecond = 6 * time.Second
View Source
const Tron = "tron"

Variables

View Source
var BlockHeightProm = prometheus.NewGauge(prometheus.GaugeOpts{Subsystem: "eth_bridge_oracle", Name: "sync_block_height"})
View Source
var BlockIntervalProm = prometheus.NewGauge(prometheus.GaugeOpts{Subsystem: "eth_bridge_oracle", Name: "query_log_block_interval"})
View Source
var BuildTime string
View Source
var Commit string
View Source
var FxKeyBalanceProm = prometheus.NewGauge(prometheus.GaugeOpts{Subsystem: "", Name: "fx_key_balance"})
View Source
var FxSubmitBatchSignProm = prometheus.NewCounter(prometheus.CounterOpts{Subsystem: "", Name: "submit_batch_sign"})
View Source
var FxUpdateOracleSetProm = prometheus.NewCounter(prometheus.CounterOpts{Subsystem: "", Name: "update_oracle_set_sign"})
View Source
var MsgPendingLenProm = prometheus.NewCounter(prometheus.CounterOpts{Subsystem: "eth_bridge_oracle", Name: "msg_pending_count"})
View Source
var Version string

Functions

func NewVersionCmd

func NewVersionCmd() *cobra.Command

func StartBridgePrometheus

func StartBridgePrometheus()

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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