Documentation ¶
Index ¶
- Variables
- type Relayer4Chain33
- func (chain33Relayer *Relayer4Chain33) GetAccount(passphrase string) (privateKey, addr string, err error)
- func (chain33Relayer *Relayer4Chain33) GetAccountAddr() (addr string, err error)
- func (chain33Relayer *Relayer4Chain33) ImportPrivateKey(passphrase, privateKeyStr string) (addr string, err error)
- func (chain33Relayer *Relayer4Chain33) QueryTxhashRelay2Eth() ebTypes.Txhashes
- func (chain33Relayer *Relayer4Chain33) RestorePrivateKeys(passphrase string) error
- func (chain33Relayer *Relayer4Chain33) StoreAccountWithNewPassphase(newPassphrase, oldPassphrase string) error
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 ...
Click to show internal directories.
Click to hide internal directories.