maptypes

package
v0.0.0-...-f311442 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0, MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientDealState1

type ClientDealState1 struct {
	retrievalmarket.DealProposal
	StoreID              *uint64
	ChannelID            datatransfer.ChannelID
	LastPaymentRequested bool
	AllBlocksReceived    bool
	TotalFunds           abi.TokenAmount
	ClientWallet         address.Address
	MinerWallet          address.Address
	PaymentInfo          *retrievalmarket.PaymentInfo
	Status               retrievalmarket.DealStatus
	Sender               peer.ID
	TotalReceived        uint64
	Message              string
	BytesPaidFor         uint64
	CurrentInterval      uint64
	PaymentRequested     abi.TokenAmount
	FundsSpent           abi.TokenAmount
	UnsealFundsPaid      abi.TokenAmount
	WaitMsgCID           *cid.Cid
	VoucherShortfall     abi.TokenAmount
	LegacyProtocol       bool
}

Version 1 of the ClientDealState

func (*ClientDealState1) MarshalCBOR

func (t *ClientDealState1) MarshalCBOR(w io.Writer) error

func (*ClientDealState1) UnmarshalCBOR

func (t *ClientDealState1) UnmarshalCBOR(r io.Reader) (err error)

type ProviderDealState1

type ProviderDealState1 struct {
	retrievalmarket.DealProposal
	StoreID         uint64
	ChannelID       datatransfer.ChannelID
	PieceInfo       *piecestore.PieceInfo
	Status          retrievalmarket.DealStatus
	Receiver        peer.ID
	TotalSent       uint64
	FundsReceived   abi.TokenAmount
	Message         string
	CurrentInterval uint64
	LegacyProtocol  bool
}

Version 1 of the ProviderDealState

func (*ProviderDealState1) MarshalCBOR

func (t *ProviderDealState1) MarshalCBOR(w io.Writer) error

func (*ProviderDealState1) UnmarshalCBOR

func (t *ProviderDealState1) UnmarshalCBOR(r io.Reader) (err error)

Jump to

Keyboard shortcuts

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