pdp

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: Apache-2.0, MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ProvidePDPService added in v0.0.13

func ProvidePDPService(params Params) (*service.PDPService, error)

func ProvideProofSetIDProvider added in v0.0.13

func ProvideProofSetIDProvider(cfg app.UCANServiceConfig) (types.ProofSetIDProvider, error)

func ProvideSigningService added in v0.0.18

func ProvideSigningService(cfg app.PDPServiceConfig, proofService proofs.ProofService) (signertypes.SigningService, error)

Types

type Params added in v0.0.13

type Params struct {
	fx.In

	ID               app.IdentityConfig
	ServerConfig     app.ServerConfig
	DB               *gorm.DB `name:"engine_db"`
	Config           app.PDPServiceConfig
	BlobStore        blobstore.PDPStore
	AcceptanceStore  acceptancestore.AcceptanceStore
	ReceiptStore     receiptstore.ReceiptStore
	Resolver         types.PieceResolverAPI
	Reader           types.PieceReaderAPI
	Sender           ethereum.Sender
	Engine           *scheduler.TaskEngine
	ChainScheduler   *chainsched.Scheduler
	ChainClient      service.ChainClient
	SigningService   signertypes.SigningService
	ExtraDataEncoder *eip712.ExtraDataEncoder
	Verifier         smartcontracts.Verifier
	Service          smartcontracts.Service
	Registry         smartcontracts.Registry
}

type TODO_PDP_Impl added in v0.0.13

type TODO_PDP_Impl struct {
	// contains filtered or unexported fields
}

TODO(forrest): this interface and it's impls need to be removed, renamed, or merged with the blob interface

func ProvideTODOPDPImplInterface added in v0.0.13

func ProvideTODOPDPImplInterface(service types.API, commpCalc commp.Calculator, cfg app.AppConfig) (*TODO_PDP_Impl, error)

func (*TODO_PDP_Impl) API added in v0.0.18

func (s *TODO_PDP_Impl) API() types.PieceAPI

func (*TODO_PDP_Impl) CommpCalculate added in v0.0.18

func (s *TODO_PDP_Impl) CommpCalculate() commp.Calculator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL