implement sector commitments and proof verification
This commit is contained in:
@@ -46,6 +46,12 @@ type BlockMessages struct {
|
||||
SecpkMessages []*types.SignedMessage
|
||||
}
|
||||
|
||||
type SectorInfo struct {
|
||||
SectorID uint64
|
||||
CommD []byte
|
||||
CommR []byte
|
||||
}
|
||||
|
||||
type Common interface {
|
||||
// Auth
|
||||
AuthVerify(ctx context.Context, token string) ([]string, error)
|
||||
@@ -117,6 +123,9 @@ type FullNode interface {
|
||||
ClientListImports(ctx context.Context) ([]Import, error)
|
||||
|
||||
//ClientListAsks() []Ask
|
||||
|
||||
StateMinerSectors(context.Context, address.Address) ([]*SectorInfo, error)
|
||||
StateMinerProvingSet(context.Context, address.Address) ([]*SectorInfo, error)
|
||||
}
|
||||
|
||||
// Full API is a low-level interface to the Filecoin network storage miner node
|
||||
|
||||
Reference in New Issue
Block a user