Documentation ¶
Index ¶
- Constants
- type DWH
- func (m *DWH) GetBlacklist(ctx context.Context, request *sonm.BlacklistRequest) (*sonm.BlacklistReply, error)
- func (m *DWH) GetBlacklistsContainingUser(ctx context.Context, r *sonm.BlacklistRequest) (*sonm.BlacklistsContainingUserReply, error)
- func (m *DWH) GetChangeRequests(ctx context.Context, request *sonm.ChangeRequestsRequest) (*sonm.DealChangeRequestsReply, error)
- func (m *DWH) GetDealChangeRequests(ctx context.Context, dealID *sonm.BigInt) (*sonm.DealChangeRequestsReply, error)
- func (m *DWH) GetDealConditions(ctx context.Context, request *sonm.DealConditionsRequest) (*sonm.DealConditionsReply, error)
- func (m *DWH) GetDealDetails(ctx context.Context, request *sonm.BigInt) (*sonm.DWHDeal, error)
- func (m *DWH) GetDeals(ctx context.Context, request *sonm.DealsRequest) (*sonm.DWHDealsReply, error)
- func (m *DWH) GetMatchingOrders(ctx context.Context, request *sonm.MatchingOrdersRequest) (*sonm.DWHOrdersReply, error)
- func (m *DWH) GetOrderDetails(ctx context.Context, request *sonm.BigInt) (*sonm.DWHOrder, error)
- func (m *DWH) GetOrders(ctx context.Context, request *sonm.OrdersRequest) (*sonm.DWHOrdersReply, error)
- func (m *DWH) GetOrdersByIDs(ctx context.Context, request *sonm.OrdersByIDsRequest) (*sonm.DWHOrdersReply, error)
- func (m *DWH) GetProfileInfo(ctx context.Context, request *sonm.EthID) (*sonm.Profile, error)
- func (m *DWH) GetProfiles(ctx context.Context, request *sonm.ProfilesRequest) (*sonm.ProfilesReply, error)
- func (m *DWH) GetStats(ctx context.Context, request *sonm.Empty) (*sonm.DWHStatsReply, error)
- func (m *DWH) GetValidators(ctx context.Context, request *sonm.ValidatorsRequest) (*sonm.ValidatorsReply, error)
- func (m *DWH) GetWorkers(ctx context.Context, request *sonm.WorkersRequest) (*sonm.WorkersReply, error)
- func (m *DWH) Serve() error
- func (m *DWH) Stop()
- type DWHConfig
- type L1Processor
- type L1ProcessorConfig
- type YAMLConfig
Constants ¶
View Source
const ( MaxLimit = 200 NumMaxBenchmarks = 128 )
View Source
const ( CertificateName = 1102 CertificateCountry = 1303 MaxBenchmark uint64 = 1 << 63 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DWH ¶
type DWH struct {
// contains filtered or unexported fields
}
func (*DWH) GetBlacklist ¶
func (*DWH) GetBlacklistsContainingUser ¶
func (*DWH) GetChangeRequests ¶ added in v0.4.10
func (*DWH) GetDealChangeRequests ¶
func (*DWH) GetDealConditions ¶
func (*DWH) GetDealDetails ¶
func (*DWH) GetMatchingOrders ¶
func (*DWH) GetOrderDetails ¶
func (*DWH) GetOrdersByIDs ¶ added in v0.4.12
func (*DWH) GetProfileInfo ¶
func (*DWH) GetProfiles ¶
func (*DWH) GetValidators ¶
func (*DWH) GetWorkers ¶
type DWHConfig ¶ added in v0.4.8
type DWHConfig struct { Logging logging.Config `yaml:"logging"` GRPCListenAddr string `yaml:"grpc_address" default:"127.0.0.1:15021"` HTTPListenAddr string `yaml:"http_address" default:"127.0.0.1:15022"` Eth accounts.EthConfig `yaml:"ethereum" required:"true"` Storage *storageConfig `yaml:"storage" required:"true"` Blockchain *blockchain.Config `yaml:"blockchain" required:"true"` MetricsListenAddr string `yaml:"metrics_listen_addr" default:"127.0.0.1:14004"` ColdStart bool `yaml:"cold_start"` NumWorkers int `yaml:"num_workers" default:"64"` Debug *debug.Config `yaml:"debug"` }
func NewDWHConfig ¶ added in v0.4.8
type L1Processor ¶ added in v0.4.8
type L1Processor struct {
// contains filtered or unexported fields
}
func NewL1Processor ¶ added in v0.4.8
func NewL1Processor(ctx context.Context, cfg *L1ProcessorConfig) (*L1Processor, error)
func (*L1Processor) Start ¶ added in v0.4.8
func (m *L1Processor) Start() error
func (*L1Processor) Stop ¶ added in v0.4.8
func (m *L1Processor) Stop()
type L1ProcessorConfig ¶ added in v0.4.8
type L1ProcessorConfig struct { Storage *storageConfig Blockchain *blockchain.Config NumWorkers int ColdStart bool }
type YAMLConfig ¶
type YAMLConfig struct {
Endpoint string `yaml:"endpoint" required:"false"`
}
Click to show internal directories.
Click to hide internal directories.