Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OracleBroadcaster ¶
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 ¶
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.