Documentation ¶
Index ¶
- Constants
- type BalanceVerifierService
- func (s *BalanceVerifierService) Configure(url *url.URL) error
- func (s *BalanceVerifierService) ConnectedChainId() *big.Int
- func (s *BalanceVerifierService) GetInfo() (Info, error)
- func (s *BalanceVerifierService) ReportEffectiveBalance(effectiveBalances map[phase0.BLSPubKey]uint64) (res map[phase0.BLSPubKey]EcdsaSignature, err error)
- type EcdsaSignature
- type EffectiveBalanceReport
- type Info
- type ReportEffectiveBalancePayload
- type ReportEffectiveBalanceResponse
- type ReportEffectiveBalanceResponseItem
Constants ¶
View Source
const ( InfoPath = "/" VerifyEffectiveBalancePath = "/verify" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceVerifierService ¶
type BalanceVerifierService struct {
// contains filtered or unexported fields
}
func NewBalanceVerifierService ¶
func NewBalanceVerifierService() *BalanceVerifierService
func (*BalanceVerifierService) Configure ¶
func (s *BalanceVerifierService) Configure(url *url.URL) error
func (*BalanceVerifierService) ConnectedChainId ¶
func (s *BalanceVerifierService) ConnectedChainId() *big.Int
func (*BalanceVerifierService) GetInfo ¶
func (s *BalanceVerifierService) GetInfo() (Info, error)
func (*BalanceVerifierService) ReportEffectiveBalance ¶
func (s *BalanceVerifierService) ReportEffectiveBalance( effectiveBalances map[phase0.BLSPubKey]uint64, ) (res map[phase0.BLSPubKey]EcdsaSignature, err error)
type EcdsaSignature ¶
type EffectiveBalanceReport ¶
type ReportEffectiveBalanceResponse ¶
type ReportEffectiveBalanceResponse struct {
Responses []ReportEffectiveBalanceResponseItem `json:"responses"`
}
type ReportEffectiveBalanceResponseItem ¶
type ReportEffectiveBalanceResponseItem struct { Report EffectiveBalanceReport `json:"report"` DesignatedVerifierSignature EcdsaSignature `json:"designatedVerifierSignature"` }
Click to show internal directories.
Click to hide internal directories.