Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OracleBroadcaster ¶ added in v0.99.2
type OracleBroadcaster struct {
rpcbroadcaster.RPCBroadcaster
}
OracleBroadcaster is an oracle broadcaster implementation.
func New ¶
func New(cfg config.OracleConfiguration, log *zap.Logger) *OracleBroadcaster
New returns a new struct capable of broadcasting oracle responses.
func (*OracleBroadcaster) SendResponse ¶ added in v0.99.2
func (r *OracleBroadcaster) SendResponse(priv *keys.PrivateKey, resp *transaction.OracleResponse, txSig []byte)
SendResponse implements interfaces.Broadcaster.
Click to show internal directories.
Click to hide internal directories.