lotus/paych/store.go

30 lines
583 B
Go
Raw Normal View History

2019-08-09 21:42:56 +00:00
package paych
import (
"github.com/filecoin-project/go-lotus/chain/address"
"github.com/filecoin-project/go-lotus/chain/types"
"github.com/ipfs/go-datastore"
)
type PaychStore struct {
ds datastore.Batching
}
func NewPaychStore(ds datastore.Batching) *PaychStore {
return &PaychStore{
ds: ds,
}
}
func (ps *PaychStore) TrackChannel(ch address.Address) error {
panic("nyi")
}
func (ps *PaychStore) AddVoucher(sv *types.SignedVoucher) error {
panic("nyi")
}
func (ps *PaychStore) VouchersForPaych(addr address.Address) ([]*types.SignedVoucher, error) {
panic("nyi")
}