Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCosmosPrivateKey ¶
Types ¶
type CosmosStatus ¶
type CosmosStatus struct { Txs *sync.Map // TODO: record a start time to test if it's not confirm for a long time, that could be tx lost Wg *sync.WaitGroup IsBlocked bool PolyEpochHeight uint32 }
func NewCosmosStatus ¶
func NewCosmosStatus() (*CosmosStatus, error)
func (*CosmosStatus) AddTx ¶
func (s *CosmosStatus) AddTx(hash bytes.HexBytes, info *PolyInfo) error
func (*CosmosStatus) Len ¶
func (s *CosmosStatus) Len() int
func (*CosmosStatus) Show ¶
func (s *CosmosStatus) Show()
Click to show internal directories.
Click to hide internal directories.