service

package
v0.0.0-...-c33422d Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CosmosListen

func CosmosListen()

Cosmos listen service implementation. Check the blocks of COSMOS from height `left` to height `right`, commit the cross-chain txs and headers to prove txs to chain Poly. It execute once per `ctx.Conf.CosmosListenInterval` sec. And update height `left` `right` after execution for next round. This function will run as a go-routine.

Types

This section is empty.

Jump to

Keyboard shortcuts

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