Documentation
¶
Overview ¶
Package neovrf provides verifiable randomness service.
Index ¶
Constants ¶
View Source
const ( ServiceID = "neovrf" ServiceName = "NeoVRF Service" Version = "1.0.0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Marble *marble.Marble
DB database.RepositoryInterface
ReplayWindow time.Duration
}
Config holds VRF service configuration.
type PublicKeyResponse ¶
type RandomRequest ¶
type RandomRequest struct {
RequestID string `json:"request_id,omitempty"`
}
type RandomResponse ¶
type Service ¶
type Service struct {
*commonservice.BaseService
// contains filtered or unexported fields
}
Service implements the VRF service.
Click to show internal directories.
Click to hide internal directories.