Skip to content

Commit

Permalink
Merge branch 'dev' into chris/isolate-uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Nov 13, 2024
2 parents b57c1e9 + e98388d commit 6d91c0d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions internal/test/mocks/hoststore.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,23 +75,21 @@ func (h *Host) DownloadSector(ctx context.Context, w io.Writer, root types.Hash2
}

func (h *Host) UploadSector(ctx context.Context, sectorRoot types.Hash256, sector *[rhpv2.SectorSize]byte, rev types.FileContractRevision) error {

return errors.New("implement when needed")

}

func (h *Host) PriceTable(ctx context.Context, rev *types.FileContractRevision) (api.HostPriceTable, types.Currency, error) {
return h.HostPriceTable(), types.NewCurrency64(1), nil
}
func (h *Host) FetchRevision(ctx context.Context, fetchTimeout time.Duration) (types.FileContractRevision, error) {

func (h *Host) FetchRevision(ctx context.Context, fetchTimeout time.Duration) (types.FileContractRevision, error) {
return types.FileContractRevision{}, errors.New("implement when needed")

}

func (h *Host) FundAccount(ctx context.Context, balance types.Currency, rev *types.FileContractRevision) error {
return errors.New("implement when needed")

}

func (h *Host) SyncAccount(ctx context.Context, rev *types.FileContractRevision) error {
return errors.New("implement when needed")

}

0 comments on commit 6d91c0d

Please sign in to comment.