Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "eth-relayer"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthereumListener ¶
type EthereumListener struct {
// contains filtered or unexported fields
}
EthereumListener streams the Ethereum blockchain for application events
func NewEthereumListener ¶
func NewEthereumListener( config *ethereum.Config, conn *ethereum.Connection, payloads chan<- ParachainPayload, log *logrus.Entry, ) *EthereumListener
type ParachainPayload ¶
type ParachainPayload struct { Header *chain.Header Messages []*chain.EthereumOutboundMessage }
type ParachainWriter ¶
type ParachainWriter struct {
// contains filtered or unexported fields
}
func NewParachainWriter ¶
func NewParachainWriter( conn *parachain.Connection, payloads <-chan ParachainPayload, log *logrus.Entry, ) *ParachainWriter
func (*ParachainWriter) WritePayload ¶
func (wr *ParachainWriter) WritePayload(ctx context.Context, payload *ParachainPayload) error
Click to show internal directories.
Click to hide internal directories.