Documentation ¶
Index ¶
- Constants
- Variables
- type Client
- func (client *Client) BftOraclesByNebula(chainType account.ChainType, nebulaId account.NebulaId) (storage.OraclesMap, error)
- func (client *Client) CommitHash(chainType account.ChainType, nebulaId account.NebulaId, height int64, ...) ([]byte, error)
- func (client *Client) Consuls() ([]storage.Consul, error)
- func (client *Client) ConsulsCandidate() ([]storage.Consul, error)
- func (client *Client) LastRoundApproved() (uint64, error)
- func (client *Client) NebulaInfo(id account.NebulaId, chainType account.ChainType) (*storage.NebulaInfo, error)
- func (client *Client) NebulaOraclesIndex(chainId account.ChainType, nebulaId account.NebulaId) (uint64, error)
- func (client *Client) Nebulae() (storage.NebulaMap, error)
- func (client *Client) OraclesByNebula(nebulaId account.NebulaId, chainType account.ChainType) (storage.OraclesMap, error)
- func (client *Client) OraclesByValidator(pubKey account.ConsulPubKey) (storage.OraclesByTypeMap, error)
- func (client *Client) Result(chainType account.ChainType, nebulaId account.NebulaId, height int64, ...) ([]byte, error)
- func (client *Client) Results(height uint64, chainType account.ChainType, nebulaId account.NebulaId) ([]string, error)
- func (client *Client) Reveal(chainType account.ChainType, oraclePubKey account.OraclesPubKey, ...) ([]byte, error)
- func (client *Client) Reveals(chainType account.ChainType, nebulaId account.NebulaId, height int64, ...) ([]string, error)
- func (client *Client) RoundHeight(chainType account.ChainType, ledgerHeight uint64) (uint64, error)
- func (client *Client) SendTx(transaction *transactions.Transaction) error
- func (client *Client) SignNewConsulsByConsul(pubKey account.ConsulPubKey, chainId account.ChainType, roundId int64) ([]byte, error)
- func (client *Client) SignNewOraclesByConsul(pubKey account.ConsulPubKey, chainId account.ChainType, ...) ([]byte, error)
Constants ¶
View Source
const ( InternalServerErrCode = 500 NotFoundCode = 404 )
Variables ¶
View Source
var ( ErrValueNotFound = errors.New("value not found") ErrInternalServer = errors.New("internal server error") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) BftOraclesByNebula ¶
func (*Client) CommitHash ¶
func (*Client) ConsulsCandidate ¶
func (*Client) LastRoundApproved ¶
func (*Client) NebulaInfo ¶
func (*Client) NebulaOraclesIndex ¶
func (*Client) OraclesByNebula ¶
func (*Client) OraclesByValidator ¶
func (client *Client) OraclesByValidator(pubKey account.ConsulPubKey) (storage.OraclesByTypeMap, error)
func (*Client) RoundHeight ¶
func (*Client) SendTx ¶
func (client *Client) SendTx(transaction *transactions.Transaction) error
func (*Client) SignNewConsulsByConsul ¶
Click to show internal directories.
Click to hide internal directories.