Documentation ¶
Index ¶
- func UseLogger(logger slog.Logger)
- type DialFunc
- type FeeAddressRequest
- type FeeAddressResponse
- type PayFeeRequest
- type PendingFee
- type QueueEntry
- type TicketStatusRequest
- type TicketStatusResponse
- type VSP
- func (v *VSP) CreateFeeTx(ctx context.Context, ticketHash *chainhash.Hash, credits []wallet.Input) (*wire.MsgTx, error)
- func (v *VSP) GetFeeAddress(ctx context.Context, ticketHash *chainhash.Hash) (dcrutil.Amount, error)
- func (v *VSP) PayFee(ctx context.Context, ticketHash *chainhash.Hash, feeTx *wire.MsgTx) (*wire.MsgTx, error)
- func (v *VSP) PoolFee(ctx context.Context) (float64, error)
- func (v *VSP) Process(ctx context.Context, queuedItem *QueueEntry) (*chainhash.Hash, error)
- func (v *VSP) Queue(ctx context.Context, ticketHash chainhash.Hash, feeTx *wire.MsgTx)
- func (v *VSP) Sync(ctx context.Context)
- func (v *VSP) TicketStatus(ctx context.Context, hash *chainhash.Hash) (*TicketStatusResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FeeAddressRequest ¶
type FeeAddressResponse ¶
type FeeAddressResponse struct { Timestamp int64 `json:"timestamp"` FeeAddress string `json:"feeaddress"` FeeAmount int64 `json:"feeamount"` Expiration int64 `json:"expiration"` Request FeeAddressRequest `json:"request"` }
type PayFeeRequest ¶
type PendingFee ¶
type TicketStatusRequest ¶
type TicketStatusRequest struct {
TicketHash string `json:"tickethash" `
}
type TicketStatusResponse ¶
Click to show internal directories.
Click to hide internal directories.