Documentation ¶
Index ¶
- Variables
- type Relayer
- func (r *Relayer) ProcessAttestation(ctx context.Context, opts *bind.TransactOpts, ...) (*coregethtypes.Transaction, error)
- func (r *Relayer) SaveDataCommitmentSignaturesToStore(ctx context.Context, att celestiatypes.DataCommitment, ...) error
- func (r *Relayer) SaveValsetSignaturesToStore(ctx context.Context, att celestiatypes.Valset, confirms []types.ValsetConfirm) error
- func (r *Relayer) Start(ctx context.Context) error
- func (r *Relayer) SubmitDataRootTupleRoot(opts *bind.TransactOpts, dataCommitment celestiatypes.DataCommitment, ...) (*coregethtypes.Transaction, error)
- func (r *Relayer) UpdateValidatorSet(ctx context.Context, opts *bind.TransactOpts, valset celestiatypes.Valset, ...) (*coregethtypes.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Relayer ¶
type Relayer struct { TmQuerier *rpc.TmQuerier AppQuerier *rpc.AppQuerier P2PQuerier *p2p.Querier EVMClient *evm.Client Retrier *helpers.Retrier SignatureStore *badger.Datastore // contains filtered or unexported fields }
func NewRelayer ¶
func (*Relayer) ProcessAttestation ¶
func (r *Relayer) ProcessAttestation(ctx context.Context, opts *bind.TransactOpts, attI celestiatypes.AttestationRequestI) (*coregethtypes.Transaction, error)
func (*Relayer) SaveDataCommitmentSignaturesToStore ¶
func (r *Relayer) SaveDataCommitmentSignaturesToStore(ctx context.Context, att celestiatypes.DataCommitment, dataRootTupleRoot string, confirms []types.DataCommitmentConfirm) error
func (*Relayer) SaveValsetSignaturesToStore ¶
func (r *Relayer) SaveValsetSignaturesToStore(ctx context.Context, att celestiatypes.Valset, confirms []types.ValsetConfirm) error
func (*Relayer) SubmitDataRootTupleRoot ¶
func (r *Relayer) SubmitDataRootTupleRoot( opts *bind.TransactOpts, dataCommitment celestiatypes.DataCommitment, currentValset celestiatypes.Valset, commitment string, confirms []types.DataCommitmentConfirm, ) (*coregethtypes.Transaction, error)
func (*Relayer) UpdateValidatorSet ¶
func (r *Relayer) UpdateValidatorSet( ctx context.Context, opts *bind.TransactOpts, valset celestiatypes.Valset, newThreshold uint64, confirms []types.ValsetConfirm, ) (*coregethtypes.Transaction, error)
Click to show internal directories.
Click to hide internal directories.