# Functions

DisableLog disables all library log output.
NewAcceptHtlcEvent creates a new AcceptedHtlcEvent.
NewAssetForwardPolicy creates a new asset forward policy.
NewAssetPurchasePolicy creates a new asset purchase policy.
NewAssetSalePolicy creates a new asset sale policy.
NewIncomingRejectQuoteEvent creates a new IncomingRejectQuoteEvent.
NewInvalidQuoteRespEvent creates a new InvalidBuyRespEvent.
NewManager creates a new RFQ manager.
NewMockPriceOracle creates a new mock price oracle.
NewMockPriceOracleSatPerAsset creates a new mock price oracle with a specified satoshis per asset rate.
NewNegotiator creates a new quote negotiator.
NewOrderHandler creates a new struct instance.
NewPeerAcceptedBuyQuoteEvent creates a new PeerAcceptedBuyQuoteEvent.
NewPeerAcceptedSellQuoteEvent creates a new PeerAcceptedSellQuoteEvent.
NewRpcPriceOracle creates a new RPC price oracle handle given the address of the price oracle RPC server.
NewStreamHandler creates and starts a new RFQ stream handler.
ParsePriceOracleAddress parses a price oracle service address string and returns a URL type instance.
UseLogger uses a specified Logger to output package logging info.

# Constants

CacheCleanupInterval is the interval at which local runtime caches are cleaned up.
DefaultAcceptPriceDeviationPpm is the default price deviation in parts per million that is accepted by the RFQ negotiator.
DefaultTimeout is the default timeout used for context operations.
InvalidExpiryQuoteRespStatus indicates that the expiry in the quote response is invalid.
InvalidRateTickQuoteRespStatus indicates that the rate tick in the quote response is invalid.
MinAssetsPerBTC is the minimum number of asset units that one BTC should cost.
No description provided by the author
PriceOracleQueryErrQuoteRespStatus indicates that an error occurred when querying the price oracle whilst evaluating the quote response.
RfqRpcOracleAddrScheme is the URL address scheme used by an RPC price oracle service.
Subsystem defines the logging code for this subsystem.

# Structs

AcceptHtlcEvent is an event that is sent to the accept HTLCs channel when an HTLC is accepted.
AssetForwardPolicy is a struct that holds the terms which determine whether a channel HTLC for an asset-to-asset forward is accepted or rejected.
AssetPurchasePolicy is a struct that holds the terms which determine whether an asset purchase channel HTLC is accepted or rejected.
AssetSalePolicy is a struct that holds the terms which determine whether an asset sale channel HTLC is accepted or rejected.
BuyOffer is a struct that represents an asset buy offer.
BuyOrder is a struct that represents a buy order.
CliConfig is a struct that holds tapd cli configuration options for the RFQ service.
IncomingRejectQuoteEvent is an event that is broadcast when the RFQ manager receives a reject quote message from a peer.
InvalidQuoteRespEvent is an event that is broadcast when the RFQ manager receives an unacceptable quote response message from a peer.
Manager is a struct that manages the request for quote (RFQ) system.
ManagerCfg is a struct that holds the configuration parameters for the RFQ manager.
MockPriceOracle is a mock implementation of the PriceOracle interface.
Negotiator is a struct that handles the negotiation of quotes.
NegotiatorCfg holds the configuration for the negotiator.
OracleAskResponse is a struct that holds the price oracle's suggested ask price for an asset.
OracleBidResponse is a struct that holds the price oracle's suggested bid price for an asset.
OracleError is a struct that holds an error returned by the price oracle service.
OrderHandler orchestrates management of accepted quote bundles.
OrderHandlerCfg is a struct that holds the configuration parameters for the order handler service.
PeerAcceptedBuyQuoteEvent is an event that is broadcast when the RFQ manager receives an accept quote message from a peer.
PeerAcceptedSellQuoteEvent is an event that is broadcast when the RFQ manager receives an asset sell request accept quote message from a peer.
RpcPriceOracle is a price oracle that uses an external RPC server to get exchange rate information.
SellOffer is a struct that represents an asset sell offer.
SellOrder is a struct that represents an asset sell order.
StreamHandler is a struct that handles incoming and outgoing peer RFQ stream messages.
StreamHandlerCfg is a struct that holds the configuration parameters for the RFQ peer message stream handler.

# Interfaces

ChannelLister is an interface that provides a list of channels that are available for routing.
HtlcInterceptor is an interface that abstracts the hash time locked contract (HTLC) intercept functionality.
PeerMessenger is an interface that abstracts the peer message transport layer.
Policy is an interface that abstracts the terms which determine whether an asset sale/purchase channel HTLC is accepted or rejected.
PriceOracle is an interface that provides exchange rate information for assets.
ScidAliasManager is an interface that can add short channel ID (SCID) aliases to the local SCID alias store.

# Type aliases

OracleAddr is a type alias for a URL type that represents a price oracle service address.
QuoteRespStatus is an enumeration of possible quote response statuses.
SerialisedScid is a serialised short channel id (SCID).