chain33

package
v1.68.4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: BSD-3-Clause Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EthTxStatusCheckedIndex = []byte("EthTxStatusCheckedIndex")
)

key ...

Functions

This section is empty.

Types

type Relayer4Chain33

type Relayer4Chain33 struct {
	// contains filtered or unexported fields
}

Relayer4Chain33 ...

func StartChain33Relayer

func StartChain33Relayer(ctx context.Context, syncTxConfig *ebTypes.SyncTxConfig, registryAddr, provider string, db dbm.DB) *Relayer4Chain33

StartChain33Relayer : initializes a relayer which witnesses events on the chain33 network and relays them to Ethereum

func (*Relayer4Chain33) GetAccount

func (chain33Relayer *Relayer4Chain33) GetAccount(passphrase string) (privateKey, addr string, err error)

GetAccount ...

func (*Relayer4Chain33) GetAccountAddr

func (chain33Relayer *Relayer4Chain33) GetAccountAddr() (addr string, err error)

GetAccountAddr ...

func (*Relayer4Chain33) ImportPrivateKey

func (chain33Relayer *Relayer4Chain33) ImportPrivateKey(passphrase, privateKeyStr string) (addr string, err error)

ImportPrivateKey ...

func (*Relayer4Chain33) QueryTxhashRelay2Eth

func (chain33Relayer *Relayer4Chain33) QueryTxhashRelay2Eth() ebTypes.Txhashes

QueryTxhashRelay2Eth ...

func (*Relayer4Chain33) RestorePrivateKeys

func (chain33Relayer *Relayer4Chain33) RestorePrivateKeys(passphrase string) error

RestorePrivateKeys ...

func (*Relayer4Chain33) StoreAccountWithNewPassphase

func (chain33Relayer *Relayer4Chain33) StoreAccountWithNewPassphase(newPassphrase, oldPassphrase string) error

StoreAccountWithNewPassphase ...

Directories

Path Synopsis
transceiver
sync
Package sync ...
Package sync ...

Jump to

Keyboard shortcuts

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