ldk_node

package
v0.0.0-...-34a77eb Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBuildErrorAsyncPaymentsConfigMismatch = fmt.Errorf("BuildErrorAsyncPaymentsConfigMismatch")
View Source
var ErrBuildErrorInvalidAnnouncementAddresses = fmt.Errorf("BuildErrorInvalidAnnouncementAddresses")
View Source
var ErrBuildErrorInvalidChannelMonitor = fmt.Errorf("BuildErrorInvalidChannelMonitor")
View Source
var ErrBuildErrorInvalidListeningAddresses = fmt.Errorf("BuildErrorInvalidListeningAddresses")
View Source
var ErrBuildErrorInvalidNodeAlias = fmt.Errorf("BuildErrorInvalidNodeAlias")
View Source
var ErrBuildErrorInvalidSeedBytes = fmt.Errorf("BuildErrorInvalidSeedBytes")

Err* are used for checking error type with `errors.Is`

View Source
var ErrBuildErrorInvalidSeedFile = fmt.Errorf("BuildErrorInvalidSeedFile")
View Source
var ErrBuildErrorInvalidSystemTime = fmt.Errorf("BuildErrorInvalidSystemTime")
View Source
var ErrBuildErrorKvStoreSetupFailed = fmt.Errorf("BuildErrorKvStoreSetupFailed")
View Source
var ErrBuildErrorLoggerSetupFailed = fmt.Errorf("BuildErrorLoggerSetupFailed")
View Source
var ErrBuildErrorNetworkMismatch = fmt.Errorf("BuildErrorNetworkMismatch")
View Source
var ErrBuildErrorReadFailed = fmt.Errorf("BuildErrorReadFailed")
View Source
var ErrBuildErrorRuntimeSetupFailed = fmt.Errorf("BuildErrorRuntimeSetupFailed")
View Source
var ErrBuildErrorStoragePathAccessFailed = fmt.Errorf("BuildErrorStoragePathAccessFailed")
View Source
var ErrBuildErrorWalletSetupFailed = fmt.Errorf("BuildErrorWalletSetupFailed")
View Source
var ErrBuildErrorWriteFailed = fmt.Errorf("BuildErrorWriteFailed")
View Source
var ErrNodeErrorAlreadyRunning = fmt.Errorf("NodeErrorAlreadyRunning")

Err* are used for checking error type with `errors.Is`

View Source
var ErrNodeErrorAsyncPaymentServicesDisabled = fmt.Errorf("NodeErrorAsyncPaymentServicesDisabled")
View Source
var ErrNodeErrorChannelClosingFailed = fmt.Errorf("NodeErrorChannelClosingFailed")
View Source
var ErrNodeErrorChannelConfigUpdateFailed = fmt.Errorf("NodeErrorChannelConfigUpdateFailed")
View Source
var ErrNodeErrorChannelCreationFailed = fmt.Errorf("NodeErrorChannelCreationFailed")
View Source
var ErrNodeErrorChannelSplicingFailed = fmt.Errorf("NodeErrorChannelSplicingFailed")
View Source
var ErrNodeErrorConnectionFailed = fmt.Errorf("NodeErrorConnectionFailed")
View Source
var ErrNodeErrorDuplicatePayment = fmt.Errorf("NodeErrorDuplicatePayment")
View Source
var ErrNodeErrorFeerateEstimationUpdateFailed = fmt.Errorf("NodeErrorFeerateEstimationUpdateFailed")
View Source
var ErrNodeErrorFeerateEstimationUpdateTimeout = fmt.Errorf("NodeErrorFeerateEstimationUpdateTimeout")
View Source
var ErrNodeErrorGossipUpdateFailed = fmt.Errorf("NodeErrorGossipUpdateFailed")
View Source
var ErrNodeErrorGossipUpdateTimeout = fmt.Errorf("NodeErrorGossipUpdateTimeout")
View Source
var ErrNodeErrorInsufficientFunds = fmt.Errorf("NodeErrorInsufficientFunds")
View Source
var ErrNodeErrorInvalidAddress = fmt.Errorf("NodeErrorInvalidAddress")
View Source
var ErrNodeErrorInvalidAmount = fmt.Errorf("NodeErrorInvalidAmount")
View Source
var ErrNodeErrorInvalidBlindedPaths = fmt.Errorf("NodeErrorInvalidBlindedPaths")
View Source
var ErrNodeErrorInvalidChannelId = fmt.Errorf("NodeErrorInvalidChannelId")
View Source
var ErrNodeErrorInvalidCustomTlv = fmt.Errorf("NodeErrorInvalidCustomTlv")
View Source
var ErrNodeErrorInvalidCustomTlvs = fmt.Errorf("NodeErrorInvalidCustomTlvs")
View Source
var ErrNodeErrorInvalidDateTime = fmt.Errorf("NodeErrorInvalidDateTime")
View Source
var ErrNodeErrorInvalidFeeRate = fmt.Errorf("NodeErrorInvalidFeeRate")
View Source
var ErrNodeErrorInvalidInvoice = fmt.Errorf("NodeErrorInvalidInvoice")
View Source
var ErrNodeErrorInvalidNetwork = fmt.Errorf("NodeErrorInvalidNetwork")
View Source
var ErrNodeErrorInvalidNodeAlias = fmt.Errorf("NodeErrorInvalidNodeAlias")
View Source
var ErrNodeErrorInvalidNodeId = fmt.Errorf("NodeErrorInvalidNodeId")
View Source
var ErrNodeErrorInvalidOffer = fmt.Errorf("NodeErrorInvalidOffer")
View Source
var ErrNodeErrorInvalidOfferId = fmt.Errorf("NodeErrorInvalidOfferId")
View Source
var ErrNodeErrorInvalidPaymentHash = fmt.Errorf("NodeErrorInvalidPaymentHash")
View Source
var ErrNodeErrorInvalidPaymentId = fmt.Errorf("NodeErrorInvalidPaymentId")
View Source
var ErrNodeErrorInvalidPaymentPreimage = fmt.Errorf("NodeErrorInvalidPaymentPreimage")
View Source
var ErrNodeErrorInvalidPaymentSecret = fmt.Errorf("NodeErrorInvalidPaymentSecret")
View Source
var ErrNodeErrorInvalidPublicKey = fmt.Errorf("NodeErrorInvalidPublicKey")
View Source
var ErrNodeErrorInvalidQuantity = fmt.Errorf("NodeErrorInvalidQuantity")
View Source
var ErrNodeErrorInvalidRefund = fmt.Errorf("NodeErrorInvalidRefund")
View Source
var ErrNodeErrorInvalidSecretKey = fmt.Errorf("NodeErrorInvalidSecretKey")
View Source
var ErrNodeErrorInvalidSocketAddress = fmt.Errorf("NodeErrorInvalidSocketAddress")
View Source
var ErrNodeErrorInvalidUri = fmt.Errorf("NodeErrorInvalidUri")
View Source
var ErrNodeErrorInvoiceCreationFailed = fmt.Errorf("NodeErrorInvoiceCreationFailed")
View Source
var ErrNodeErrorInvoiceRequestCreationFailed = fmt.Errorf("NodeErrorInvoiceRequestCreationFailed")
View Source
var ErrNodeErrorLiquidityFeeTooHigh = fmt.Errorf("NodeErrorLiquidityFeeTooHigh")
View Source
var ErrNodeErrorLiquidityRequestFailed = fmt.Errorf("NodeErrorLiquidityRequestFailed")
View Source
var ErrNodeErrorLiquiditySourceUnavailable = fmt.Errorf("NodeErrorLiquiditySourceUnavailable")
View Source
var ErrNodeErrorNotRunning = fmt.Errorf("NodeErrorNotRunning")
View Source
var ErrNodeErrorOfferCreationFailed = fmt.Errorf("NodeErrorOfferCreationFailed")
View Source
var ErrNodeErrorOnchainTxCreationFailed = fmt.Errorf("NodeErrorOnchainTxCreationFailed")
View Source
var ErrNodeErrorOnchainTxSigningFailed = fmt.Errorf("NodeErrorOnchainTxSigningFailed")
View Source
var ErrNodeErrorPaymentSendingFailed = fmt.Errorf("NodeErrorPaymentSendingFailed")
View Source
var ErrNodeErrorPersistenceFailed = fmt.Errorf("NodeErrorPersistenceFailed")
View Source
var ErrNodeErrorProbeSendingFailed = fmt.Errorf("NodeErrorProbeSendingFailed")
View Source
var ErrNodeErrorRefundCreationFailed = fmt.Errorf("NodeErrorRefundCreationFailed")
View Source
var ErrNodeErrorTxSyncFailed = fmt.Errorf("NodeErrorTxSyncFailed")
View Source
var ErrNodeErrorTxSyncTimeout = fmt.Errorf("NodeErrorTxSyncTimeout")
View Source
var ErrNodeErrorUnsupportedCurrency = fmt.Errorf("NodeErrorUnsupportedCurrency")
View Source
var ErrNodeErrorUriParameterParsingFailed = fmt.Errorf("NodeErrorUriParameterParsingFailed")
View Source
var ErrNodeErrorWalletOperationFailed = fmt.Errorf("NodeErrorWalletOperationFailed")
View Source
var ErrNodeErrorWalletOperationTimeout = fmt.Errorf("NodeErrorWalletOperationTimeout")
View Source
var ErrVssHeaderProviderErrorAuthorizationError = fmt.Errorf("VssHeaderProviderErrorAuthorizationError")
View Source
var ErrVssHeaderProviderErrorInternalError = fmt.Errorf("VssHeaderProviderErrorInternalError")
View Source
var ErrVssHeaderProviderErrorInvalidData = fmt.Errorf("VssHeaderProviderErrorInvalidData")

Err* are used for checking error type with `errors.Is`

View Source
var ErrVssHeaderProviderErrorRequestError = fmt.Errorf("VssHeaderProviderErrorRequestError")
View Source
var FfiConverterAnchorChannelsConfigINSTANCE = FfiConverterAnchorChannelsConfig{}
View Source
var FfiConverterAsyncPaymentsRoleINSTANCE = FfiConverterAsyncPaymentsRole{}
View Source
var FfiConverterBackgroundSyncConfigINSTANCE = FfiConverterBackgroundSyncConfig{}
View Source
var FfiConverterBalanceDetailsINSTANCE = FfiConverterBalanceDetails{}
View Source
var FfiConverterBalanceSourceINSTANCE = FfiConverterBalanceSource{}
View Source
var FfiConverterBestBlockINSTANCE = FfiConverterBestBlock{}
View Source
var FfiConverterBolt11InvoiceDescriptionINSTANCE = FfiConverterBolt11InvoiceDescription{}
View Source
var FfiConverterBolt11InvoiceINSTANCE = FfiConverterBolt11Invoice{}
View Source
var FfiConverterBolt11PaymentINSTANCE = FfiConverterBolt11Payment{}
View Source
var FfiConverterBolt12InvoiceINSTANCE = FfiConverterBolt12Invoice{}
View Source
var FfiConverterBolt12PaymentINSTANCE = FfiConverterBolt12Payment{}
View Source
var FfiConverterBoolINSTANCE = FfiConverterBool{}
View Source
var FfiConverterBuildErrorINSTANCE = FfiConverterBuildError{}
View Source
var FfiConverterBuilderINSTANCE = FfiConverterBuilder{}
View Source
var FfiConverterBytesINSTANCE = FfiConverterBytes{}
View Source
var FfiConverterChannelConfigINSTANCE = FfiConverterChannelConfig{}
View Source
var FfiConverterChannelDetailsINSTANCE = FfiConverterChannelDetails{}
View Source
var FfiConverterChannelInfoINSTANCE = FfiConverterChannelInfo{}
View Source
var FfiConverterChannelMonitorSizeInfoINSTANCE = FfiConverterChannelMonitorSizeInfo{}
View Source
var FfiConverterChannelUpdateInfoINSTANCE = FfiConverterChannelUpdateInfo{}
View Source
var FfiConverterClosureReasonINSTANCE = FfiConverterClosureReason{}
View Source
var FfiConverterConfigINSTANCE = FfiConverterConfig{}
View Source
var FfiConverterConfirmationStatusINSTANCE = FfiConverterConfirmationStatus{}
View Source
var FfiConverterCurrencyINSTANCE = FfiConverterCurrency{}
View Source
var FfiConverterCustomTlvRecordINSTANCE = FfiConverterCustomTlvRecord{}
View Source
var FfiConverterElectrumSyncConfigINSTANCE = FfiConverterElectrumSyncConfig{}
View Source
var FfiConverterEsploraSyncConfigINSTANCE = FfiConverterEsploraSyncConfig{}
View Source
var FfiConverterEventINSTANCE = FfiConverterEvent{}
View Source
var FfiConverterFeeRateINSTANCE = FfiConverterFeeRate{}
View Source
var FfiConverterKeyValueINSTANCE = FfiConverterKeyValue{}
View Source
var FfiConverterLightningBalanceINSTANCE = FfiConverterLightningBalance{}
View Source
var FfiConverterLogLevelINSTANCE = FfiConverterLogLevel{}
View Source
var FfiConverterLogRecordINSTANCE = FfiConverterLogRecord{}
View Source
var FfiConverterLogWriterINSTANCE = FfiConverterLogWriter{
	// contains filtered or unexported fields
}
View Source
var FfiConverterLspFeeLimitsINSTANCE = FfiConverterLspFeeLimits{}
View Source
var FfiConverterLsps1Bolt11PaymentInfoINSTANCE = FfiConverterLsps1Bolt11PaymentInfo{}
View Source
var FfiConverterLsps1ChannelInfoINSTANCE = FfiConverterLsps1ChannelInfo{}
View Source
var FfiConverterLsps1LiquidityINSTANCE = FfiConverterLsps1Liquidity{}
View Source
var FfiConverterLsps1OnchainPaymentInfoINSTANCE = FfiConverterLsps1OnchainPaymentInfo{}
View Source
var FfiConverterLsps1OrderParamsINSTANCE = FfiConverterLsps1OrderParams{}
View Source
var FfiConverterLsps1OrderStatusINSTANCE = FfiConverterLsps1OrderStatus{}
View Source
var FfiConverterLsps1PaymentInfoINSTANCE = FfiConverterLsps1PaymentInfo{}
View Source
var FfiConverterLsps1PaymentStateINSTANCE = FfiConverterLsps1PaymentState{}
View Source
var FfiConverterLsps2ServiceConfigINSTANCE = FfiConverterLsps2ServiceConfig{}
View Source
var FfiConverterMapStringStringINSTANCE = FfiConverterMapStringString{}
View Source
var FfiConverterMaxDustHtlcExposureINSTANCE = FfiConverterMaxDustHtlcExposure{}
View Source
var FfiConverterMigrateStorageINSTANCE = FfiConverterMigrateStorage{}
View Source
var FfiConverterNetworkGraphINSTANCE = FfiConverterNetworkGraph{}
View Source
var FfiConverterNetworkINSTANCE = FfiConverterNetwork{}
View Source
var FfiConverterNodeAnnouncementInfoINSTANCE = FfiConverterNodeAnnouncementInfo{}
View Source
var FfiConverterNodeErrorINSTANCE = FfiConverterNodeError{}
View Source
var FfiConverterNodeINSTANCE = FfiConverterNode{}
View Source
var FfiConverterNodeInfoINSTANCE = FfiConverterNodeInfo{}
View Source
var FfiConverterNodeStatusINSTANCE = FfiConverterNodeStatus{}
View Source
var FfiConverterOfferAmountINSTANCE = FfiConverterOfferAmount{}
View Source
var FfiConverterOfferINSTANCE = FfiConverterOffer{}
View Source
var FfiConverterOnchainPaymentINSTANCE = FfiConverterOnchainPayment{}
View Source
var FfiConverterOptionalAnchorChannelsConfigINSTANCE = FfiConverterOptionalAnchorChannelsConfig{}
View Source
var FfiConverterOptionalAsyncPaymentsRoleINSTANCE = FfiConverterOptionalAsyncPaymentsRole{}
View Source
var FfiConverterOptionalBackgroundSyncConfigINSTANCE = FfiConverterOptionalBackgroundSyncConfig{}
View Source
var FfiConverterOptionalBoolINSTANCE = FfiConverterOptionalBool{}
View Source
var FfiConverterOptionalChannelConfigINSTANCE = FfiConverterOptionalChannelConfig{}
View Source
var FfiConverterOptionalChannelInfoINSTANCE = FfiConverterOptionalChannelInfo{}
View Source
var FfiConverterOptionalChannelUpdateInfoINSTANCE = FfiConverterOptionalChannelUpdateInfo{}
View Source
var FfiConverterOptionalClosureReasonINSTANCE = FfiConverterOptionalClosureReason{}
View Source
var FfiConverterOptionalElectrumSyncConfigINSTANCE = FfiConverterOptionalElectrumSyncConfig{}
View Source
var FfiConverterOptionalEsploraSyncConfigINSTANCE = FfiConverterOptionalEsploraSyncConfig{}
View Source
var FfiConverterOptionalEventINSTANCE = FfiConverterOptionalEvent{}
View Source
var FfiConverterOptionalFeeRateINSTANCE = FfiConverterOptionalFeeRate{}
View Source
var FfiConverterOptionalLogLevelINSTANCE = FfiConverterOptionalLogLevel{}
View Source
var FfiConverterOptionalLsps1Bolt11PaymentInfoINSTANCE = FfiConverterOptionalLsps1Bolt11PaymentInfo{}
View Source
var FfiConverterOptionalLsps1ChannelInfoINSTANCE = FfiConverterOptionalLsps1ChannelInfo{}
View Source
var FfiConverterOptionalLsps1OnchainPaymentInfoINSTANCE = FfiConverterOptionalLsps1OnchainPaymentInfo{}
View Source
var FfiConverterOptionalNetworkINSTANCE = FfiConverterOptionalNetwork{}
View Source
var FfiConverterOptionalNodeAnnouncementInfoINSTANCE = FfiConverterOptionalNodeAnnouncementInfo{}
View Source
var FfiConverterOptionalNodeInfoINSTANCE = FfiConverterOptionalNodeInfo{}
View Source
var FfiConverterOptionalOfferAmountINSTANCE = FfiConverterOptionalOfferAmount{}
View Source
var FfiConverterOptionalOutPointINSTANCE = FfiConverterOptionalOutPoint{}
View Source
var FfiConverterOptionalPaymentDetailsINSTANCE = FfiConverterOptionalPaymentDetails{}
View Source
var FfiConverterOptionalPaymentFailureReasonINSTANCE = FfiConverterOptionalPaymentFailureReason{}
View Source
var FfiConverterOptionalRouteParametersConfigINSTANCE = FfiConverterOptionalRouteParametersConfig{}
View Source
var FfiConverterOptionalSequenceSequenceUint8INSTANCE = FfiConverterOptionalSequenceSequenceUint8{}
View Source
var FfiConverterOptionalSequenceTypeSocketAddressINSTANCE = FfiConverterOptionalSequenceTypeSocketAddress{}
View Source
var FfiConverterOptionalSequenceUint8INSTANCE = FfiConverterOptionalSequenceUint8{}
View Source
var FfiConverterOptionalStringINSTANCE = FfiConverterOptionalString{}
View Source
var FfiConverterOptionalTypeAddressINSTANCE = FfiConverterOptionalTypeAddress{}
View Source
var FfiConverterOptionalTypeChannelIdINSTANCE = FfiConverterOptionalTypeChannelId{}
View Source
var FfiConverterOptionalTypeNodeAliasINSTANCE = FfiConverterOptionalTypeNodeAlias{}
View Source
var FfiConverterOptionalTypePaymentHashINSTANCE = FfiConverterOptionalTypePaymentHash{}
View Source
var FfiConverterOptionalTypePaymentIdINSTANCE = FfiConverterOptionalTypePaymentId{}
View Source
var FfiConverterOptionalTypePaymentPreimageINSTANCE = FfiConverterOptionalTypePaymentPreimage{}
View Source
var FfiConverterOptionalTypePaymentSecretINSTANCE = FfiConverterOptionalTypePaymentSecret{}
View Source
var FfiConverterOptionalTypePublicKeyINSTANCE = FfiConverterOptionalTypePublicKey{}
View Source
var FfiConverterOptionalTypeTxidINSTANCE = FfiConverterOptionalTypeTxid{}
View Source
var FfiConverterOptionalTypeUntrustedStringINSTANCE = FfiConverterOptionalTypeUntrustedString{}
View Source
var FfiConverterOptionalTypeUserChannelIdINSTANCE = FfiConverterOptionalTypeUserChannelId{}
View Source
var FfiConverterOptionalUint16INSTANCE = FfiConverterOptionalUint16{}
View Source
var FfiConverterOptionalUint32INSTANCE = FfiConverterOptionalUint32{}
View Source
var FfiConverterOptionalUint64INSTANCE = FfiConverterOptionalUint64{}
View Source
var FfiConverterOptionalWordCountINSTANCE = FfiConverterOptionalWordCount{}
View Source
var FfiConverterOutPointINSTANCE = FfiConverterOutPoint{}
View Source
var FfiConverterPaymentDetailsINSTANCE = FfiConverterPaymentDetails{}
View Source
var FfiConverterPaymentDirectionINSTANCE = FfiConverterPaymentDirection{}
View Source
var FfiConverterPaymentFailureReasonINSTANCE = FfiConverterPaymentFailureReason{}
View Source
var FfiConverterPaymentKindINSTANCE = FfiConverterPaymentKind{}
View Source
var FfiConverterPaymentStatusINSTANCE = FfiConverterPaymentStatus{}
View Source
var FfiConverterPeerDetailsINSTANCE = FfiConverterPeerDetails{}
View Source
var FfiConverterPendingSweepBalanceINSTANCE = FfiConverterPendingSweepBalance{}
View Source
var FfiConverterQrPaymentResultINSTANCE = FfiConverterQrPaymentResult{}
View Source
var FfiConverterRefundINSTANCE = FfiConverterRefund{}
View Source
var FfiConverterResetStateINSTANCE = FfiConverterResetState{}
View Source
var FfiConverterRouteHintHopINSTANCE = FfiConverterRouteHintHop{}
View Source
var FfiConverterRouteParametersConfigINSTANCE = FfiConverterRouteParametersConfig{}
View Source
var FfiConverterRoutingFeesINSTANCE = FfiConverterRoutingFees{}
View Source
var FfiConverterSequenceChannelDetailsINSTANCE = FfiConverterSequenceChannelDetails{}
View Source
var FfiConverterSequenceChannelMonitorSizeInfoINSTANCE = FfiConverterSequenceChannelMonitorSizeInfo{}
View Source
var FfiConverterSequenceCustomTlvRecordINSTANCE = FfiConverterSequenceCustomTlvRecord{}
View Source
var FfiConverterSequenceKeyValueINSTANCE = FfiConverterSequenceKeyValue{}
View Source
var FfiConverterSequenceLightningBalanceINSTANCE = FfiConverterSequenceLightningBalance{}
View Source
var FfiConverterSequenceNetworkINSTANCE = FfiConverterSequenceNetwork{}
View Source
var FfiConverterSequencePaymentDetailsINSTANCE = FfiConverterSequencePaymentDetails{}
View Source
var FfiConverterSequencePeerDetailsINSTANCE = FfiConverterSequencePeerDetails{}
View Source
var FfiConverterSequencePendingSweepBalanceINSTANCE = FfiConverterSequencePendingSweepBalance{}
View Source
var FfiConverterSequenceRouteHintHopINSTANCE = FfiConverterSequenceRouteHintHop{}
View Source
var FfiConverterSequenceSequenceRouteHintHopINSTANCE = FfiConverterSequenceSequenceRouteHintHop{}
View Source
var FfiConverterSequenceSequenceUint8INSTANCE = FfiConverterSequenceSequenceUint8{}
View Source
var FfiConverterSequenceTlvEntryINSTANCE = FfiConverterSequenceTlvEntry{}
View Source
var FfiConverterSequenceTypeAddressINSTANCE = FfiConverterSequenceTypeAddress{}
View Source
var FfiConverterSequenceTypeNodeIdINSTANCE = FfiConverterSequenceTypeNodeId{}
View Source
var FfiConverterSequenceTypePublicKeyINSTANCE = FfiConverterSequenceTypePublicKey{}
View Source
var FfiConverterSequenceTypeSocketAddressINSTANCE = FfiConverterSequenceTypeSocketAddress{}
View Source
var FfiConverterSequenceUint64INSTANCE = FfiConverterSequenceUint64{}
View Source
var FfiConverterSequenceUint8INSTANCE = FfiConverterSequenceUint8{}
View Source
var FfiConverterSpontaneousPaymentINSTANCE = FfiConverterSpontaneousPayment{}
View Source
var FfiConverterStringINSTANCE = FfiConverterString{}
View Source
var FfiConverterTlvEntryINSTANCE = FfiConverterTlvEntry{}
View Source
var FfiConverterTypeAddressINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypeBlockHashINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypeChannelIdINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypeLSPS1OrderIdINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypeLSPSDateTimeINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypeMnemonicINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypeNodeAliasINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypeNodeIdINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypeOfferIdINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypePaymentHashINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypePaymentIdINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypePaymentPreimageINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypePaymentSecretINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypePublicKeyINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypeSocketAddressINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypeTxidINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypeUntrustedStringINSTANCE = FfiConverterString{}
View Source
var FfiConverterTypeUserChannelIdINSTANCE = FfiConverterString{}
View Source
var FfiConverterUint16INSTANCE = FfiConverterUint16{}
View Source
var FfiConverterUint32INSTANCE = FfiConverterUint32{}
View Source
var FfiConverterUint64INSTANCE = FfiConverterUint64{}
View Source
var FfiConverterUint8INSTANCE = FfiConverterUint8{}
View Source
var FfiConverterUnifiedQrPaymentINSTANCE = FfiConverterUnifiedQrPayment{}
View Source
var FfiConverterVssHeaderProviderErrorINSTANCE = FfiConverterVssHeaderProviderError{}
View Source
var FfiConverterWordCountINSTANCE = FfiConverterWordCount{}
View Source
var UniffiVTableCallbackInterfaceLogWriterINSTANCE = C.UniffiVTableCallbackInterfaceLogWriter{
	// contains filtered or unexported fields
}

Functions

func LiftFromRustBuffer

func LiftFromRustBuffer[GoType any](bufReader BufReader[GoType], rbuf RustBufferI) GoType

func LowerIntoRustBuffer

func LowerIntoRustBuffer[GoType any](bufWriter BufWriter[GoType], value GoType) C.RustBuffer

Types

type Address

type Address = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type AnchorChannelsConfig

type AnchorChannelsConfig struct {
	TrustedPeersNoReserve []PublicKey
	PerChannelReserveSats uint64
}

func (*AnchorChannelsConfig) Destroy

func (r *AnchorChannelsConfig) Destroy()

type AsyncPaymentsRole

type AsyncPaymentsRole uint
const (
	AsyncPaymentsRoleClient AsyncPaymentsRole = 1
	AsyncPaymentsRoleServer AsyncPaymentsRole = 2
)

type BackgroundSyncConfig

type BackgroundSyncConfig struct {
	OnchainWalletSyncIntervalSecs   uint64
	LightningWalletSyncIntervalSecs uint64
	FeeRateCacheUpdateIntervalSecs  uint64
}

func (*BackgroundSyncConfig) Destroy

func (r *BackgroundSyncConfig) Destroy()

type BalanceDetails

type BalanceDetails struct {
	TotalOnchainBalanceSats            uint64
	SpendableOnchainBalanceSats        uint64
	TotalAnchorChannelsReserveSats     uint64
	TotalLightningBalanceSats          uint64
	LightningBalances                  []LightningBalance
	PendingBalancesFromChannelClosures []PendingSweepBalance
}

func (*BalanceDetails) Destroy

func (r *BalanceDetails) Destroy()

type BalanceSource

type BalanceSource uint
const (
	BalanceSourceHolderForceClosed       BalanceSource = 1
	BalanceSourceCounterpartyForceClosed BalanceSource = 2
	BalanceSourceCoopClose               BalanceSource = 3
	BalanceSourceHtlc                    BalanceSource = 4
)

type BestBlock

type BestBlock struct {
	BlockHash BlockHash
	Height    uint32
}

func (*BestBlock) Destroy

func (r *BestBlock) Destroy()

type BlockHash

type BlockHash = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type Bolt11Invoice

type Bolt11Invoice struct {
	// contains filtered or unexported fields
}

func Bolt11InvoiceFromStr

func Bolt11InvoiceFromStr(invoiceStr string) (*Bolt11Invoice, error)

func (*Bolt11Invoice) AmountMilliSatoshis

func (_self *Bolt11Invoice) AmountMilliSatoshis() *uint64

func (*Bolt11Invoice) Currency

func (_self *Bolt11Invoice) Currency() Currency

func (*Bolt11Invoice) DebugString

func (_self *Bolt11Invoice) DebugString() string

func (*Bolt11Invoice) Destroy

func (object *Bolt11Invoice) Destroy()

func (*Bolt11Invoice) Eq

func (_self *Bolt11Invoice) Eq(other *Bolt11Invoice) bool

func (*Bolt11Invoice) ExpiryTimeSeconds

func (_self *Bolt11Invoice) ExpiryTimeSeconds() uint64

func (*Bolt11Invoice) FallbackAddresses

func (_self *Bolt11Invoice) FallbackAddresses() []Address

func (*Bolt11Invoice) InvoiceDescription

func (_self *Bolt11Invoice) InvoiceDescription() Bolt11InvoiceDescription

func (*Bolt11Invoice) IsExpired

func (_self *Bolt11Invoice) IsExpired() bool

func (*Bolt11Invoice) MinFinalCltvExpiryDelta

func (_self *Bolt11Invoice) MinFinalCltvExpiryDelta() uint64

func (*Bolt11Invoice) Ne

func (_self *Bolt11Invoice) Ne(other *Bolt11Invoice) bool

func (*Bolt11Invoice) Network

func (_self *Bolt11Invoice) Network() Network

func (*Bolt11Invoice) PaymentHash

func (_self *Bolt11Invoice) PaymentHash() PaymentHash

func (*Bolt11Invoice) PaymentSecret

func (_self *Bolt11Invoice) PaymentSecret() PaymentSecret

func (*Bolt11Invoice) RecoverPayeePubKey

func (_self *Bolt11Invoice) RecoverPayeePubKey() PublicKey

func (*Bolt11Invoice) RouteHints

func (_self *Bolt11Invoice) RouteHints() [][]RouteHintHop

func (*Bolt11Invoice) SecondsSinceEpoch

func (_self *Bolt11Invoice) SecondsSinceEpoch() uint64

func (*Bolt11Invoice) SecondsUntilExpiry

func (_self *Bolt11Invoice) SecondsUntilExpiry() uint64

func (*Bolt11Invoice) SignableHash

func (_self *Bolt11Invoice) SignableHash() []uint8

func (*Bolt11Invoice) String

func (_self *Bolt11Invoice) String() string

func (*Bolt11Invoice) WouldExpire

func (_self *Bolt11Invoice) WouldExpire(atTimeSeconds uint64) bool

type Bolt11InvoiceDescription

type Bolt11InvoiceDescription interface {
	Destroy()
}

type Bolt11InvoiceDescriptionDirect

type Bolt11InvoiceDescriptionDirect struct {
	Description string
}

func (Bolt11InvoiceDescriptionDirect) Destroy

func (e Bolt11InvoiceDescriptionDirect) Destroy()

type Bolt11InvoiceDescriptionHash

type Bolt11InvoiceDescriptionHash struct {
	Hash string
}

func (Bolt11InvoiceDescriptionHash) Destroy

func (e Bolt11InvoiceDescriptionHash) Destroy()

type Bolt11InvoiceInterface

type Bolt11InvoiceInterface interface {
	AmountMilliSatoshis() *uint64
	Currency() Currency
	ExpiryTimeSeconds() uint64
	FallbackAddresses() []Address
	InvoiceDescription() Bolt11InvoiceDescription
	IsExpired() bool
	MinFinalCltvExpiryDelta() uint64
	Network() Network
	PaymentHash() PaymentHash
	PaymentSecret() PaymentSecret
	RecoverPayeePubKey() PublicKey
	RouteHints() [][]RouteHintHop
	SecondsSinceEpoch() uint64
	SecondsUntilExpiry() uint64
	SignableHash() []uint8
	WouldExpire(atTimeSeconds uint64) bool
}

type Bolt11Payment

type Bolt11Payment struct {
	// contains filtered or unexported fields
}

func (*Bolt11Payment) ClaimForHash

func (_self *Bolt11Payment) ClaimForHash(paymentHash PaymentHash, claimableAmountMsat uint64, preimage PaymentPreimage) error

func (*Bolt11Payment) Destroy

func (object *Bolt11Payment) Destroy()

func (*Bolt11Payment) FailForHash

func (_self *Bolt11Payment) FailForHash(paymentHash PaymentHash) error

func (*Bolt11Payment) Receive

func (_self *Bolt11Payment) Receive(amountMsat uint64, description Bolt11InvoiceDescription, expirySecs uint32) (*Bolt11Invoice, error)

func (*Bolt11Payment) ReceiveForHash

func (_self *Bolt11Payment) ReceiveForHash(amountMsat uint64, description Bolt11InvoiceDescription, expirySecs uint32, paymentHash PaymentHash) (*Bolt11Invoice, error)

func (*Bolt11Payment) ReceiveVariableAmount

func (_self *Bolt11Payment) ReceiveVariableAmount(description Bolt11InvoiceDescription, expirySecs uint32) (*Bolt11Invoice, error)

func (*Bolt11Payment) ReceiveVariableAmountForHash

func (_self *Bolt11Payment) ReceiveVariableAmountForHash(description Bolt11InvoiceDescription, expirySecs uint32, paymentHash PaymentHash) (*Bolt11Invoice, error)

func (*Bolt11Payment) ReceiveVariableAmountViaJitChannel

func (_self *Bolt11Payment) ReceiveVariableAmountViaJitChannel(description Bolt11InvoiceDescription, expirySecs uint32, maxProportionalLspFeeLimitPpmMsat *uint64) (*Bolt11Invoice, error)

func (*Bolt11Payment) ReceiveVariableAmountViaJitChannelForHash

func (_self *Bolt11Payment) ReceiveVariableAmountViaJitChannelForHash(description Bolt11InvoiceDescription, expirySecs uint32, maxProportionalLspFeeLimitPpmMsat *uint64, paymentHash PaymentHash) (*Bolt11Invoice, error)

func (*Bolt11Payment) ReceiveViaJitChannel

func (_self *Bolt11Payment) ReceiveViaJitChannel(amountMsat uint64, description Bolt11InvoiceDescription, expirySecs uint32, maxLspFeeLimitMsat *uint64) (*Bolt11Invoice, error)

func (*Bolt11Payment) ReceiveViaJitChannelForHash

func (_self *Bolt11Payment) ReceiveViaJitChannelForHash(amountMsat uint64, description Bolt11InvoiceDescription, expirySecs uint32, maxLspFeeLimitMsat *uint64, paymentHash PaymentHash) (*Bolt11Invoice, error)

func (*Bolt11Payment) Send

func (_self *Bolt11Payment) Send(invoice *Bolt11Invoice, routeParameters *RouteParametersConfig) (PaymentId, error)

func (*Bolt11Payment) SendProbes

func (_self *Bolt11Payment) SendProbes(invoice *Bolt11Invoice, routeParameters *RouteParametersConfig) error

func (*Bolt11Payment) SendProbesUsingAmount

func (_self *Bolt11Payment) SendProbesUsingAmount(invoice *Bolt11Invoice, amountMsat uint64, routeParameters *RouteParametersConfig) error

func (*Bolt11Payment) SendUsingAmount

func (_self *Bolt11Payment) SendUsingAmount(invoice *Bolt11Invoice, amountMsat uint64, routeParameters *RouteParametersConfig) (PaymentId, error)

type Bolt11PaymentInterface

type Bolt11PaymentInterface interface {
	ClaimForHash(paymentHash PaymentHash, claimableAmountMsat uint64, preimage PaymentPreimage) error
	FailForHash(paymentHash PaymentHash) error
	Receive(amountMsat uint64, description Bolt11InvoiceDescription, expirySecs uint32) (*Bolt11Invoice, error)
	ReceiveForHash(amountMsat uint64, description Bolt11InvoiceDescription, expirySecs uint32, paymentHash PaymentHash) (*Bolt11Invoice, error)
	ReceiveVariableAmount(description Bolt11InvoiceDescription, expirySecs uint32) (*Bolt11Invoice, error)
	ReceiveVariableAmountForHash(description Bolt11InvoiceDescription, expirySecs uint32, paymentHash PaymentHash) (*Bolt11Invoice, error)
	ReceiveVariableAmountViaJitChannel(description Bolt11InvoiceDescription, expirySecs uint32, maxProportionalLspFeeLimitPpmMsat *uint64) (*Bolt11Invoice, error)
	ReceiveVariableAmountViaJitChannelForHash(description Bolt11InvoiceDescription, expirySecs uint32, maxProportionalLspFeeLimitPpmMsat *uint64, paymentHash PaymentHash) (*Bolt11Invoice, error)
	ReceiveViaJitChannel(amountMsat uint64, description Bolt11InvoiceDescription, expirySecs uint32, maxLspFeeLimitMsat *uint64) (*Bolt11Invoice, error)
	ReceiveViaJitChannelForHash(amountMsat uint64, description Bolt11InvoiceDescription, expirySecs uint32, maxLspFeeLimitMsat *uint64, paymentHash PaymentHash) (*Bolt11Invoice, error)
	Send(invoice *Bolt11Invoice, routeParameters *RouteParametersConfig) (PaymentId, error)
	SendProbes(invoice *Bolt11Invoice, routeParameters *RouteParametersConfig) error
	SendProbesUsingAmount(invoice *Bolt11Invoice, amountMsat uint64, routeParameters *RouteParametersConfig) error
	SendUsingAmount(invoice *Bolt11Invoice, amountMsat uint64, routeParameters *RouteParametersConfig) (PaymentId, error)
}

type Bolt12Invoice

type Bolt12Invoice struct {
	// contains filtered or unexported fields
}

func Bolt12InvoiceFromStr

func Bolt12InvoiceFromStr(invoiceStr string) (*Bolt12Invoice, error)

func (*Bolt12Invoice) AbsoluteExpirySeconds

func (_self *Bolt12Invoice) AbsoluteExpirySeconds() *uint64

func (*Bolt12Invoice) Amount

func (_self *Bolt12Invoice) Amount() *OfferAmount

func (*Bolt12Invoice) AmountMsats

func (_self *Bolt12Invoice) AmountMsats() uint64

func (*Bolt12Invoice) Chain

func (_self *Bolt12Invoice) Chain() []uint8

func (*Bolt12Invoice) CreatedAt

func (_self *Bolt12Invoice) CreatedAt() uint64

func (*Bolt12Invoice) Destroy

func (object *Bolt12Invoice) Destroy()

func (*Bolt12Invoice) Encode

func (_self *Bolt12Invoice) Encode() []uint8

func (*Bolt12Invoice) FallbackAddresses

func (_self *Bolt12Invoice) FallbackAddresses() []Address

func (*Bolt12Invoice) InvoiceDescription

func (_self *Bolt12Invoice) InvoiceDescription() *string

func (*Bolt12Invoice) IsExpired

func (_self *Bolt12Invoice) IsExpired() bool

func (*Bolt12Invoice) Issuer

func (_self *Bolt12Invoice) Issuer() *string

func (*Bolt12Invoice) IssuerSigningPubkey

func (_self *Bolt12Invoice) IssuerSigningPubkey() *PublicKey

func (*Bolt12Invoice) Metadata

func (_self *Bolt12Invoice) Metadata() *[]uint8

func (*Bolt12Invoice) OfferChains

func (_self *Bolt12Invoice) OfferChains() *[][]uint8

func (*Bolt12Invoice) PayerNote

func (_self *Bolt12Invoice) PayerNote() *string

func (*Bolt12Invoice) PayerSigningPubkey

func (_self *Bolt12Invoice) PayerSigningPubkey() PublicKey

func (*Bolt12Invoice) PaymentHash

func (_self *Bolt12Invoice) PaymentHash() PaymentHash

func (*Bolt12Invoice) Quantity

func (_self *Bolt12Invoice) Quantity() *uint64

func (*Bolt12Invoice) RelativeExpiry

func (_self *Bolt12Invoice) RelativeExpiry() uint64

func (*Bolt12Invoice) SignableHash

func (_self *Bolt12Invoice) SignableHash() []uint8

func (*Bolt12Invoice) SigningPubkey

func (_self *Bolt12Invoice) SigningPubkey() PublicKey

type Bolt12InvoiceInterface

type Bolt12InvoiceInterface interface {
	AbsoluteExpirySeconds() *uint64
	Amount() *OfferAmount
	AmountMsats() uint64
	Chain() []uint8
	CreatedAt() uint64
	Encode() []uint8
	FallbackAddresses() []Address
	InvoiceDescription() *string
	IsExpired() bool
	Issuer() *string
	IssuerSigningPubkey() *PublicKey
	Metadata() *[]uint8
	OfferChains() *[][]uint8
	PayerNote() *string
	PayerSigningPubkey() PublicKey
	PaymentHash() PaymentHash
	Quantity() *uint64
	RelativeExpiry() uint64
	SignableHash() []uint8
	SigningPubkey() PublicKey
}

type Bolt12Payment

type Bolt12Payment struct {
	// contains filtered or unexported fields
}

func (*Bolt12Payment) BlindedPathsForAsyncRecipient

func (_self *Bolt12Payment) BlindedPathsForAsyncRecipient(recipientId []byte) ([]byte, error)

func (*Bolt12Payment) Destroy

func (object *Bolt12Payment) Destroy()

func (*Bolt12Payment) InitiateRefund

func (_self *Bolt12Payment) InitiateRefund(amountMsat uint64, expirySecs uint32, quantity *uint64, payerNote *string, routeParameters *RouteParametersConfig) (*Refund, error)

func (*Bolt12Payment) Receive

func (_self *Bolt12Payment) Receive(amountMsat uint64, description string, expirySecs *uint32, quantity *uint64) (*Offer, error)

func (*Bolt12Payment) ReceiveAsync

func (_self *Bolt12Payment) ReceiveAsync() (*Offer, error)

func (*Bolt12Payment) ReceiveVariableAmount

func (_self *Bolt12Payment) ReceiveVariableAmount(description string, expirySecs *uint32) (*Offer, error)

func (*Bolt12Payment) RequestRefundPayment

func (_self *Bolt12Payment) RequestRefundPayment(refund *Refund) (*Bolt12Invoice, error)

func (*Bolt12Payment) Send

func (_self *Bolt12Payment) Send(offer *Offer, quantity *uint64, payerNote *string, routeParameters *RouteParametersConfig) (PaymentId, error)

func (*Bolt12Payment) SendUsingAmount

func (_self *Bolt12Payment) SendUsingAmount(offer *Offer, amountMsat uint64, quantity *uint64, payerNote *string, routeParameters *RouteParametersConfig) (PaymentId, error)

func (*Bolt12Payment) SetPathsToStaticInvoiceServer

func (_self *Bolt12Payment) SetPathsToStaticInvoiceServer(paths []byte) error

type Bolt12PaymentInterface

type Bolt12PaymentInterface interface {
	BlindedPathsForAsyncRecipient(recipientId []byte) ([]byte, error)
	InitiateRefund(amountMsat uint64, expirySecs uint32, quantity *uint64, payerNote *string, routeParameters *RouteParametersConfig) (*Refund, error)
	Receive(amountMsat uint64, description string, expirySecs *uint32, quantity *uint64) (*Offer, error)
	ReceiveAsync() (*Offer, error)
	ReceiveVariableAmount(description string, expirySecs *uint32) (*Offer, error)
	RequestRefundPayment(refund *Refund) (*Bolt12Invoice, error)
	Send(offer *Offer, quantity *uint64, payerNote *string, routeParameters *RouteParametersConfig) (PaymentId, error)
	SendUsingAmount(offer *Offer, amountMsat uint64, quantity *uint64, payerNote *string, routeParameters *RouteParametersConfig) (PaymentId, error)
	SetPathsToStaticInvoiceServer(paths []byte) error
}

type BufLifter

type BufLifter[GoType any] interface {
	Lift(value RustBufferI) GoType
}

type BufLowerer

type BufLowerer[GoType any] interface {
	Lower(value GoType) C.RustBuffer
}

type BufReader

type BufReader[GoType any] interface {
	Read(reader io.Reader) GoType
}

type BufWriter

type BufWriter[GoType any] interface {
	Write(writer io.Writer, value GoType)
}

type BuildError

type BuildError struct {
	// contains filtered or unexported fields
}

func NewBuildErrorAsyncPaymentsConfigMismatch

func NewBuildErrorAsyncPaymentsConfigMismatch() *BuildError

func NewBuildErrorInvalidAnnouncementAddresses

func NewBuildErrorInvalidAnnouncementAddresses() *BuildError

func NewBuildErrorInvalidChannelMonitor

func NewBuildErrorInvalidChannelMonitor() *BuildError

func NewBuildErrorInvalidListeningAddresses

func NewBuildErrorInvalidListeningAddresses() *BuildError

func NewBuildErrorInvalidNodeAlias

func NewBuildErrorInvalidNodeAlias() *BuildError

func NewBuildErrorInvalidSeedBytes

func NewBuildErrorInvalidSeedBytes() *BuildError

func NewBuildErrorInvalidSeedFile

func NewBuildErrorInvalidSeedFile() *BuildError

func NewBuildErrorInvalidSystemTime

func NewBuildErrorInvalidSystemTime() *BuildError

func NewBuildErrorKvStoreSetupFailed

func NewBuildErrorKvStoreSetupFailed() *BuildError

func NewBuildErrorLoggerSetupFailed

func NewBuildErrorLoggerSetupFailed() *BuildError

func NewBuildErrorNetworkMismatch

func NewBuildErrorNetworkMismatch() *BuildError

func NewBuildErrorReadFailed

func NewBuildErrorReadFailed() *BuildError

func NewBuildErrorRuntimeSetupFailed

func NewBuildErrorRuntimeSetupFailed() *BuildError

func NewBuildErrorStoragePathAccessFailed

func NewBuildErrorStoragePathAccessFailed() *BuildError

func NewBuildErrorWalletSetupFailed

func NewBuildErrorWalletSetupFailed() *BuildError

func NewBuildErrorWriteFailed

func NewBuildErrorWriteFailed() *BuildError

func (*BuildError) AsError

func (err *BuildError) AsError() error

Convience method to turn *BuildError into error Avoiding treating nil pointer as non nil error interface

func (BuildError) Error

func (err BuildError) Error() string

func (BuildError) Unwrap

func (err BuildError) Unwrap() error

type BuildErrorAsyncPaymentsConfigMismatch

type BuildErrorAsyncPaymentsConfigMismatch struct {
	// contains filtered or unexported fields
}

func (BuildErrorAsyncPaymentsConfigMismatch) Error

func (BuildErrorAsyncPaymentsConfigMismatch) Is

type BuildErrorInvalidAnnouncementAddresses

type BuildErrorInvalidAnnouncementAddresses struct {
	// contains filtered or unexported fields
}

func (BuildErrorInvalidAnnouncementAddresses) Error

func (BuildErrorInvalidAnnouncementAddresses) Is

type BuildErrorInvalidChannelMonitor

type BuildErrorInvalidChannelMonitor struct {
	// contains filtered or unexported fields
}

func (BuildErrorInvalidChannelMonitor) Error

func (BuildErrorInvalidChannelMonitor) Is

func (self BuildErrorInvalidChannelMonitor) Is(target error) bool

type BuildErrorInvalidListeningAddresses

type BuildErrorInvalidListeningAddresses struct {
	// contains filtered or unexported fields
}

func (BuildErrorInvalidListeningAddresses) Error

func (BuildErrorInvalidListeningAddresses) Is

type BuildErrorInvalidNodeAlias

type BuildErrorInvalidNodeAlias struct {
	// contains filtered or unexported fields
}

func (BuildErrorInvalidNodeAlias) Error

func (err BuildErrorInvalidNodeAlias) Error() string

func (BuildErrorInvalidNodeAlias) Is

func (self BuildErrorInvalidNodeAlias) Is(target error) bool

type BuildErrorInvalidSeedBytes

type BuildErrorInvalidSeedBytes struct {
	// contains filtered or unexported fields
}

Variant structs

func (BuildErrorInvalidSeedBytes) Error

func (err BuildErrorInvalidSeedBytes) Error() string

func (BuildErrorInvalidSeedBytes) Is

func (self BuildErrorInvalidSeedBytes) Is(target error) bool

type BuildErrorInvalidSeedFile

type BuildErrorInvalidSeedFile struct {
	// contains filtered or unexported fields
}

func (BuildErrorInvalidSeedFile) Error

func (err BuildErrorInvalidSeedFile) Error() string

func (BuildErrorInvalidSeedFile) Is

func (self BuildErrorInvalidSeedFile) Is(target error) bool

type BuildErrorInvalidSystemTime

type BuildErrorInvalidSystemTime struct {
	// contains filtered or unexported fields
}

func (BuildErrorInvalidSystemTime) Error

func (err BuildErrorInvalidSystemTime) Error() string

func (BuildErrorInvalidSystemTime) Is

func (self BuildErrorInvalidSystemTime) Is(target error) bool

type BuildErrorKvStoreSetupFailed

type BuildErrorKvStoreSetupFailed struct {
	// contains filtered or unexported fields
}

func (BuildErrorKvStoreSetupFailed) Error

func (BuildErrorKvStoreSetupFailed) Is

func (self BuildErrorKvStoreSetupFailed) Is(target error) bool

type BuildErrorLoggerSetupFailed

type BuildErrorLoggerSetupFailed struct {
	// contains filtered or unexported fields
}

func (BuildErrorLoggerSetupFailed) Error

func (err BuildErrorLoggerSetupFailed) Error() string

func (BuildErrorLoggerSetupFailed) Is

func (self BuildErrorLoggerSetupFailed) Is(target error) bool

type BuildErrorNetworkMismatch

type BuildErrorNetworkMismatch struct {
	// contains filtered or unexported fields
}

func (BuildErrorNetworkMismatch) Error

func (err BuildErrorNetworkMismatch) Error() string

func (BuildErrorNetworkMismatch) Is

func (self BuildErrorNetworkMismatch) Is(target error) bool

type BuildErrorReadFailed

type BuildErrorReadFailed struct {
	// contains filtered or unexported fields
}

func (BuildErrorReadFailed) Error

func (err BuildErrorReadFailed) Error() string

func (BuildErrorReadFailed) Is

func (self BuildErrorReadFailed) Is(target error) bool

type BuildErrorRuntimeSetupFailed

type BuildErrorRuntimeSetupFailed struct {
	// contains filtered or unexported fields
}

func (BuildErrorRuntimeSetupFailed) Error

func (BuildErrorRuntimeSetupFailed) Is

func (self BuildErrorRuntimeSetupFailed) Is(target error) bool

type BuildErrorStoragePathAccessFailed

type BuildErrorStoragePathAccessFailed struct {
	// contains filtered or unexported fields
}

func (BuildErrorStoragePathAccessFailed) Error

func (BuildErrorStoragePathAccessFailed) Is

type BuildErrorWalletSetupFailed

type BuildErrorWalletSetupFailed struct {
	// contains filtered or unexported fields
}

func (BuildErrorWalletSetupFailed) Error

func (err BuildErrorWalletSetupFailed) Error() string

func (BuildErrorWalletSetupFailed) Is

func (self BuildErrorWalletSetupFailed) Is(target error) bool

type BuildErrorWriteFailed

type BuildErrorWriteFailed struct {
	// contains filtered or unexported fields
}

func (BuildErrorWriteFailed) Error

func (err BuildErrorWriteFailed) Error() string

func (BuildErrorWriteFailed) Is

func (self BuildErrorWriteFailed) Is(target error) bool

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func BuilderFromConfig

func BuilderFromConfig(config Config) *Builder

func NewBuilder

func NewBuilder() *Builder

func (*Builder) Build

func (_self *Builder) Build() (*Node, error)

func (*Builder) BuildWithFsStore

func (_self *Builder) BuildWithFsStore() (*Node, error)

func (*Builder) BuildWithVssStore

func (_self *Builder) BuildWithVssStore(vssUrl string, storeId string, lnurlAuthServerUrl string, fixedHeaders map[string]string) (*Node, error)

func (*Builder) BuildWithVssStoreAndFixedHeaders

func (_self *Builder) BuildWithVssStoreAndFixedHeaders(vssUrl string, storeId string, fixedHeaders map[string]string) (*Node, error)

func (*Builder) Destroy

func (object *Builder) Destroy()

func (*Builder) MigrateStorage

func (_self *Builder) MigrateStorage(what MigrateStorage)

func (*Builder) ResetState

func (_self *Builder) ResetState(what ResetState)

func (*Builder) RestoreEncodedChannelMonitors

func (_self *Builder) RestoreEncodedChannelMonitors(monitors []KeyValue)

func (*Builder) SetAnnouncementAddresses

func (_self *Builder) SetAnnouncementAddresses(announcementAddresses []SocketAddress) error

func (*Builder) SetAsyncPaymentsRole

func (_self *Builder) SetAsyncPaymentsRole(role *AsyncPaymentsRole) error

func (*Builder) SetChainSourceBitcoindRest

func (_self *Builder) SetChainSourceBitcoindRest(restHost string, restPort uint16, rpcHost string, rpcPort uint16, rpcUser string, rpcPassword string)

func (*Builder) SetChainSourceBitcoindRpc

func (_self *Builder) SetChainSourceBitcoindRpc(rpcHost string, rpcPort uint16, rpcUser string, rpcPassword string)

func (*Builder) SetChainSourceElectrum

func (_self *Builder) SetChainSourceElectrum(serverUrl string, config *ElectrumSyncConfig)

func (*Builder) SetChainSourceEsplora

func (_self *Builder) SetChainSourceEsplora(serverUrl string, config *EsploraSyncConfig)

func (*Builder) SetCustomLogger

func (_self *Builder) SetCustomLogger(logWriter LogWriter)

func (*Builder) SetEntropyBip39Mnemonic

func (_self *Builder) SetEntropyBip39Mnemonic(mnemonic Mnemonic, passphrase *string)

func (*Builder) SetEntropySeedBytes

func (_self *Builder) SetEntropySeedBytes(seedBytes []uint8) error

func (*Builder) SetEntropySeedPath

func (_self *Builder) SetEntropySeedPath(seedPath string)

func (*Builder) SetFilesystemLogger

func (_self *Builder) SetFilesystemLogger(logFilePath *string, maxLogLevel *LogLevel)

func (*Builder) SetGossipSourceP2p

func (_self *Builder) SetGossipSourceP2p()

func (*Builder) SetGossipSourceRgs

func (_self *Builder) SetGossipSourceRgs(rgsServerUrl string)

func (*Builder) SetLiquiditySourceLsps1

func (_self *Builder) SetLiquiditySourceLsps1(nodeId PublicKey, address SocketAddress, token *string)

func (*Builder) SetLiquiditySourceLsps2

func (_self *Builder) SetLiquiditySourceLsps2(nodeId PublicKey, address SocketAddress, token *string)

func (*Builder) SetListeningAddresses

func (_self *Builder) SetListeningAddresses(listeningAddresses []SocketAddress) error

func (*Builder) SetLogFacadeLogger

func (_self *Builder) SetLogFacadeLogger()

func (*Builder) SetNetwork

func (_self *Builder) SetNetwork(network Network)

func (*Builder) SetNodeAlias

func (_self *Builder) SetNodeAlias(nodeAlias string) error

func (*Builder) SetPathfindingScoresSource

func (_self *Builder) SetPathfindingScoresSource(url string)

func (*Builder) SetStorageDirPath

func (_self *Builder) SetStorageDirPath(storageDirPath string)

type BuilderInterface

type BuilderInterface interface {
	Build() (*Node, error)
	BuildWithFsStore() (*Node, error)
	BuildWithVssStore(vssUrl string, storeId string, lnurlAuthServerUrl string, fixedHeaders map[string]string) (*Node, error)
	BuildWithVssStoreAndFixedHeaders(vssUrl string, storeId string, fixedHeaders map[string]string) (*Node, error)
	MigrateStorage(what MigrateStorage)
	ResetState(what ResetState)
	RestoreEncodedChannelMonitors(monitors []KeyValue)
	SetAnnouncementAddresses(announcementAddresses []SocketAddress) error
	SetAsyncPaymentsRole(role *AsyncPaymentsRole) error
	SetChainSourceBitcoindRest(restHost string, restPort uint16, rpcHost string, rpcPort uint16, rpcUser string, rpcPassword string)
	SetChainSourceBitcoindRpc(rpcHost string, rpcPort uint16, rpcUser string, rpcPassword string)
	SetChainSourceElectrum(serverUrl string, config *ElectrumSyncConfig)
	SetChainSourceEsplora(serverUrl string, config *EsploraSyncConfig)
	SetCustomLogger(logWriter LogWriter)
	SetEntropyBip39Mnemonic(mnemonic Mnemonic, passphrase *string)
	SetEntropySeedBytes(seedBytes []uint8) error
	SetEntropySeedPath(seedPath string)
	SetFilesystemLogger(logFilePath *string, maxLogLevel *LogLevel)
	SetGossipSourceP2p()
	SetGossipSourceRgs(rgsServerUrl string)
	SetLiquiditySourceLsps1(nodeId PublicKey, address SocketAddress, token *string)
	SetLiquiditySourceLsps2(nodeId PublicKey, address SocketAddress, token *string)
	SetListeningAddresses(listeningAddresses []SocketAddress) error
	SetLogFacadeLogger()
	SetNetwork(network Network)
	SetNodeAlias(nodeAlias string) error
	SetPathfindingScoresSource(url string)
	SetStorageDirPath(storageDirPath string)
}

type ChannelConfig

type ChannelConfig struct {
	ForwardingFeeProportionalMillionths uint32
	ForwardingFeeBaseMsat               uint32
	CltvExpiryDelta                     uint16
	MaxDustHtlcExposure                 MaxDustHtlcExposure
	ForceCloseAvoidanceMaxFeeSatoshis   uint64
	AcceptUnderpayingHtlcs              bool
}

func (*ChannelConfig) Destroy

func (r *ChannelConfig) Destroy()

type ChannelDetails

type ChannelDetails struct {
	ChannelId                                           ChannelId
	CounterpartyNodeId                                  PublicKey
	FundingTxo                                          *OutPoint
	ShortChannelId                                      *uint64
	OutboundScidAlias                                   *uint64
	InboundScidAlias                                    *uint64
	ChannelValueSats                                    uint64
	UnspendablePunishmentReserve                        *uint64
	UserChannelId                                       UserChannelId
	FeerateSatPer1000Weight                             uint32
	OutboundCapacityMsat                                uint64
	InboundCapacityMsat                                 uint64
	ConfirmationsRequired                               *uint32
	Confirmations                                       *uint32
	IsOutbound                                          bool
	IsChannelReady                                      bool
	IsUsable                                            bool
	IsAnnounced                                         bool
	CltvExpiryDelta                                     *uint16
	CounterpartyUnspendablePunishmentReserve            uint64
	CounterpartyOutboundHtlcMinimumMsat                 *uint64
	CounterpartyOutboundHtlcMaximumMsat                 *uint64
	CounterpartyForwardingInfoFeeBaseMsat               *uint32
	CounterpartyForwardingInfoFeeProportionalMillionths *uint32
	CounterpartyForwardingInfoCltvExpiryDelta           *uint16
	NextOutboundHtlcLimitMsat                           uint64
	NextOutboundHtlcMinimumMsat                         uint64
	ForceCloseSpendDelay                                *uint16
	InboundHtlcMinimumMsat                              uint64
	InboundHtlcMaximumMsat                              *uint64
	Config                                              ChannelConfig
}

func (*ChannelDetails) Destroy

func (r *ChannelDetails) Destroy()

type ChannelId

type ChannelId = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type ChannelInfo

type ChannelInfo struct {
	NodeOne      NodeId
	OneToTwo     *ChannelUpdateInfo
	NodeTwo      NodeId
	TwoToOne     *ChannelUpdateInfo
	CapacitySats *uint64
}

func (*ChannelInfo) Destroy

func (r *ChannelInfo) Destroy()

type ChannelMonitorSizeInfo

type ChannelMonitorSizeInfo struct {
	ChannelId ChannelId
	SizeBytes uint64
}

func (*ChannelMonitorSizeInfo) Destroy

func (r *ChannelMonitorSizeInfo) Destroy()

type ChannelUpdateInfo

type ChannelUpdateInfo struct {
	LastUpdate      uint32
	Enabled         bool
	CltvExpiryDelta uint16
	HtlcMinimumMsat uint64
	HtlcMaximumMsat uint64
	Fees            RoutingFees
}

func (*ChannelUpdateInfo) Destroy

func (r *ChannelUpdateInfo) Destroy()

type ClosureReason

type ClosureReason interface {
	Destroy()
}

type ClosureReasonCommitmentTxConfirmed

type ClosureReasonCommitmentTxConfirmed struct {
}

func (ClosureReasonCommitmentTxConfirmed) Destroy

type ClosureReasonCounterpartyCoopClosedUnfundedChannel

type ClosureReasonCounterpartyCoopClosedUnfundedChannel struct {
}

func (ClosureReasonCounterpartyCoopClosedUnfundedChannel) Destroy

type ClosureReasonCounterpartyForceClosed

type ClosureReasonCounterpartyForceClosed struct {
	PeerMsg UntrustedString
}

func (ClosureReasonCounterpartyForceClosed) Destroy

type ClosureReasonCounterpartyInitiatedCooperativeClosure

type ClosureReasonCounterpartyInitiatedCooperativeClosure struct {
}

func (ClosureReasonCounterpartyInitiatedCooperativeClosure) Destroy

type ClosureReasonDisconnectedPeer

type ClosureReasonDisconnectedPeer struct {
}

func (ClosureReasonDisconnectedPeer) Destroy

func (e ClosureReasonDisconnectedPeer) Destroy()

type ClosureReasonFundingBatchClosure

type ClosureReasonFundingBatchClosure struct {
}

func (ClosureReasonFundingBatchClosure) Destroy

type ClosureReasonFundingTimedOut

type ClosureReasonFundingTimedOut struct {
}

func (ClosureReasonFundingTimedOut) Destroy

func (e ClosureReasonFundingTimedOut) Destroy()

type ClosureReasonHolderForceClosed

type ClosureReasonHolderForceClosed struct {
	BroadcastedLatestTxn *bool
	Message              string
}

func (ClosureReasonHolderForceClosed) Destroy

func (e ClosureReasonHolderForceClosed) Destroy()

type ClosureReasonHtlCsTimedOut

type ClosureReasonHtlCsTimedOut struct {
	PaymentHash *PaymentHash
}

func (ClosureReasonHtlCsTimedOut) Destroy

func (e ClosureReasonHtlCsTimedOut) Destroy()

type ClosureReasonLegacyCooperativeClosure

type ClosureReasonLegacyCooperativeClosure struct {
}

func (ClosureReasonLegacyCooperativeClosure) Destroy

type ClosureReasonLocallyCoopClosedUnfundedChannel

type ClosureReasonLocallyCoopClosedUnfundedChannel struct {
}

func (ClosureReasonLocallyCoopClosedUnfundedChannel) Destroy

type ClosureReasonLocallyInitiatedCooperativeClosure

type ClosureReasonLocallyInitiatedCooperativeClosure struct {
}

func (ClosureReasonLocallyInitiatedCooperativeClosure) Destroy

type ClosureReasonOutdatedChannelManager

type ClosureReasonOutdatedChannelManager struct {
}

func (ClosureReasonOutdatedChannelManager) Destroy

type ClosureReasonPeerFeerateTooLow

type ClosureReasonPeerFeerateTooLow struct {
	PeerFeerateSatPerKw     uint32
	RequiredFeerateSatPerKw uint32
}

func (ClosureReasonPeerFeerateTooLow) Destroy

func (e ClosureReasonPeerFeerateTooLow) Destroy()

type ClosureReasonProcessingError

type ClosureReasonProcessingError struct {
	Err string
}

func (ClosureReasonProcessingError) Destroy

func (e ClosureReasonProcessingError) Destroy()

type Config

type Config struct {
	StorageDirPath                  string
	Network                         Network
	ListeningAddresses              *[]SocketAddress
	AnnouncementAddresses           *[]SocketAddress
	NodeAlias                       *NodeAlias
	TrustedPeers0conf               []PublicKey
	ProbingLiquidityLimitMultiplier uint64
	AnchorChannelsConfig            *AnchorChannelsConfig
	TransientNetworkGraph           bool
	RouteParameters                 *RouteParametersConfig
}

func DefaultConfig

func DefaultConfig() Config

func (*Config) Destroy

func (r *Config) Destroy()

type ConfirmationStatus

type ConfirmationStatus interface {
	Destroy()
}

type ConfirmationStatusConfirmed

type ConfirmationStatusConfirmed struct {
	BlockHash BlockHash
	Height    uint32
	Timestamp uint64
}

func (ConfirmationStatusConfirmed) Destroy

func (e ConfirmationStatusConfirmed) Destroy()

type ConfirmationStatusUnconfirmed

type ConfirmationStatusUnconfirmed struct {
}

func (ConfirmationStatusUnconfirmed) Destroy

func (e ConfirmationStatusUnconfirmed) Destroy()

type Currency

type Currency uint
const (
	CurrencyBitcoin        Currency = 1
	CurrencyBitcoinTestnet Currency = 2
	CurrencyRegtest        Currency = 3
	CurrencySimnet         Currency = 4
	CurrencySignet         Currency = 5
)

type CustomTlvRecord

type CustomTlvRecord struct {
	TypeNum uint64
	Value   []uint8
}

func (*CustomTlvRecord) Destroy

func (r *CustomTlvRecord) Destroy()

type ElectrumSyncConfig

type ElectrumSyncConfig struct {
	BackgroundSyncConfig *BackgroundSyncConfig
}

func (*ElectrumSyncConfig) Destroy

func (r *ElectrumSyncConfig) Destroy()

type EsploraSyncConfig

type EsploraSyncConfig struct {
	BackgroundSyncConfig *BackgroundSyncConfig
}

func (*EsploraSyncConfig) Destroy

func (r *EsploraSyncConfig) Destroy()

type Event

type Event interface {
	Destroy()
}

type EventChannelClosed

type EventChannelClosed struct {
	ChannelId          ChannelId
	UserChannelId      UserChannelId
	CounterpartyNodeId *PublicKey
	Reason             *ClosureReason
}

func (EventChannelClosed) Destroy

func (e EventChannelClosed) Destroy()

type EventChannelPending

type EventChannelPending struct {
	ChannelId                ChannelId
	UserChannelId            UserChannelId
	FormerTemporaryChannelId ChannelId
	CounterpartyNodeId       PublicKey
	FundingTxo               OutPoint
}

func (EventChannelPending) Destroy

func (e EventChannelPending) Destroy()

type EventChannelReady

type EventChannelReady struct {
	ChannelId          ChannelId
	UserChannelId      UserChannelId
	CounterpartyNodeId *PublicKey
	FundingTxo         *OutPoint
}

func (EventChannelReady) Destroy

func (e EventChannelReady) Destroy()

type EventPaymentClaimable

type EventPaymentClaimable struct {
	PaymentId           PaymentId
	PaymentHash         PaymentHash
	ClaimableAmountMsat uint64
	ClaimDeadline       *uint32
	CustomRecords       []CustomTlvRecord
}

func (EventPaymentClaimable) Destroy

func (e EventPaymentClaimable) Destroy()

type EventPaymentFailed

type EventPaymentFailed struct {
	PaymentId   *PaymentId
	PaymentHash *PaymentHash
	Reason      *PaymentFailureReason
}

func (EventPaymentFailed) Destroy

func (e EventPaymentFailed) Destroy()

type EventPaymentForwarded

type EventPaymentForwarded struct {
	PrevChannelId               ChannelId
	NextChannelId               ChannelId
	PrevUserChannelId           *UserChannelId
	NextUserChannelId           *UserChannelId
	PrevNodeId                  *PublicKey
	NextNodeId                  *PublicKey
	TotalFeeEarnedMsat          *uint64
	SkimmedFeeMsat              *uint64
	ClaimFromOnchainTx          bool
	OutboundAmountForwardedMsat *uint64
}

func (EventPaymentForwarded) Destroy

func (e EventPaymentForwarded) Destroy()

type EventPaymentReceived

type EventPaymentReceived struct {
	PaymentId     *PaymentId
	PaymentHash   PaymentHash
	AmountMsat    uint64
	CustomRecords []CustomTlvRecord
}

func (EventPaymentReceived) Destroy

func (e EventPaymentReceived) Destroy()

type EventPaymentSuccessful

type EventPaymentSuccessful struct {
	PaymentId       *PaymentId
	PaymentHash     PaymentHash
	PaymentPreimage *PaymentPreimage
	FeePaidMsat     *uint64
}

func (EventPaymentSuccessful) Destroy

func (e EventPaymentSuccessful) Destroy()

type EventSpliceFailed

type EventSpliceFailed struct {
	ChannelId           ChannelId
	UserChannelId       UserChannelId
	CounterpartyNodeId  PublicKey
	AbandonedFundingTxo *OutPoint
}

func (EventSpliceFailed) Destroy

func (e EventSpliceFailed) Destroy()

type EventSplicePending

type EventSplicePending struct {
	ChannelId          ChannelId
	UserChannelId      UserChannelId
	CounterpartyNodeId PublicKey
	NewFundingTxo      OutPoint
}

func (EventSplicePending) Destroy

func (e EventSplicePending) Destroy()

type FeeRate

type FeeRate struct {
	// contains filtered or unexported fields
}

func FeeRateFromSatPerKwu

func FeeRateFromSatPerKwu(satKwu uint64) *FeeRate

func FeeRateFromSatPerVbUnchecked

func FeeRateFromSatPerVbUnchecked(satVb uint64) *FeeRate

func (*FeeRate) Destroy

func (object *FeeRate) Destroy()

func (*FeeRate) ToSatPerKwu

func (_self *FeeRate) ToSatPerKwu() uint64

func (*FeeRate) ToSatPerVbCeil

func (_self *FeeRate) ToSatPerVbCeil() uint64

func (*FeeRate) ToSatPerVbFloor

func (_self *FeeRate) ToSatPerVbFloor() uint64

type FeeRateInterface

type FeeRateInterface interface {
	ToSatPerKwu() uint64
	ToSatPerVbCeil() uint64
	ToSatPerVbFloor() uint64
}

type FfiConverterAnchorChannelsConfig

type FfiConverterAnchorChannelsConfig struct{}

func (FfiConverterAnchorChannelsConfig) Lift

func (FfiConverterAnchorChannelsConfig) Lower

func (FfiConverterAnchorChannelsConfig) Read

func (FfiConverterAnchorChannelsConfig) Write

type FfiConverterAsyncPaymentsRole

type FfiConverterAsyncPaymentsRole struct{}

func (FfiConverterAsyncPaymentsRole) Lift

func (FfiConverterAsyncPaymentsRole) Lower

func (FfiConverterAsyncPaymentsRole) Read

func (FfiConverterAsyncPaymentsRole) Write

type FfiConverterBackgroundSyncConfig

type FfiConverterBackgroundSyncConfig struct{}

func (FfiConverterBackgroundSyncConfig) Lift

func (FfiConverterBackgroundSyncConfig) Lower

func (FfiConverterBackgroundSyncConfig) Read

func (FfiConverterBackgroundSyncConfig) Write

type FfiConverterBalanceDetails

type FfiConverterBalanceDetails struct{}

func (FfiConverterBalanceDetails) Lift

func (FfiConverterBalanceDetails) Lower

func (FfiConverterBalanceDetails) Read

func (FfiConverterBalanceDetails) Write

func (c FfiConverterBalanceDetails) Write(writer io.Writer, value BalanceDetails)

type FfiConverterBalanceSource

type FfiConverterBalanceSource struct{}

func (FfiConverterBalanceSource) Lift

func (FfiConverterBalanceSource) Lower

func (FfiConverterBalanceSource) Read

func (FfiConverterBalanceSource) Write

func (FfiConverterBalanceSource) Write(writer io.Writer, value BalanceSource)

type FfiConverterBestBlock

type FfiConverterBestBlock struct{}

func (FfiConverterBestBlock) Lift

func (FfiConverterBestBlock) Lower

func (FfiConverterBestBlock) Read

func (c FfiConverterBestBlock) Read(reader io.Reader) BestBlock

func (FfiConverterBestBlock) Write

func (c FfiConverterBestBlock) Write(writer io.Writer, value BestBlock)

type FfiConverterBolt11Invoice

type FfiConverterBolt11Invoice struct{}

func (FfiConverterBolt11Invoice) Lift

func (FfiConverterBolt11Invoice) Lower

func (FfiConverterBolt11Invoice) Read

func (FfiConverterBolt11Invoice) Write

func (c FfiConverterBolt11Invoice) Write(writer io.Writer, value *Bolt11Invoice)

type FfiConverterBolt11InvoiceDescription

type FfiConverterBolt11InvoiceDescription struct{}

func (FfiConverterBolt11InvoiceDescription) Lift

func (FfiConverterBolt11InvoiceDescription) Lower

func (FfiConverterBolt11InvoiceDescription) Read

func (FfiConverterBolt11InvoiceDescription) Write

type FfiConverterBolt11Payment

type FfiConverterBolt11Payment struct{}

func (FfiConverterBolt11Payment) Lift

func (FfiConverterBolt11Payment) Lower

func (FfiConverterBolt11Payment) Read

func (FfiConverterBolt11Payment) Write

func (c FfiConverterBolt11Payment) Write(writer io.Writer, value *Bolt11Payment)

type FfiConverterBolt12Invoice

type FfiConverterBolt12Invoice struct{}

func (FfiConverterBolt12Invoice) Lift

func (FfiConverterBolt12Invoice) Lower

func (FfiConverterBolt12Invoice) Read

func (FfiConverterBolt12Invoice) Write

func (c FfiConverterBolt12Invoice) Write(writer io.Writer, value *Bolt12Invoice)

type FfiConverterBolt12Payment

type FfiConverterBolt12Payment struct{}

func (FfiConverterBolt12Payment) Lift

func (FfiConverterBolt12Payment) Lower

func (FfiConverterBolt12Payment) Read

func (FfiConverterBolt12Payment) Write

func (c FfiConverterBolt12Payment) Write(writer io.Writer, value *Bolt12Payment)

type FfiConverterBool

type FfiConverterBool struct{}

func (FfiConverterBool) Lift

func (FfiConverterBool) Lift(value C.int8_t) bool

func (FfiConverterBool) Lower

func (FfiConverterBool) Lower(value bool) C.int8_t

func (FfiConverterBool) Read

func (FfiConverterBool) Read(reader io.Reader) bool

func (FfiConverterBool) Write

func (FfiConverterBool) Write(writer io.Writer, value bool)

type FfiConverterBuildError

type FfiConverterBuildError struct{}

func (FfiConverterBuildError) Lift

func (FfiConverterBuildError) Lower

func (FfiConverterBuildError) Read

func (c FfiConverterBuildError) Read(reader io.Reader) *BuildError

func (FfiConverterBuildError) Write

func (c FfiConverterBuildError) Write(writer io.Writer, value *BuildError)

type FfiConverterBuilder

type FfiConverterBuilder struct{}

func (FfiConverterBuilder) Lift

func (c FfiConverterBuilder) Lift(pointer unsafe.Pointer) *Builder

func (FfiConverterBuilder) Lower

func (c FfiConverterBuilder) Lower(value *Builder) unsafe.Pointer

func (FfiConverterBuilder) Read

func (c FfiConverterBuilder) Read(reader io.Reader) *Builder

func (FfiConverterBuilder) Write

func (c FfiConverterBuilder) Write(writer io.Writer, value *Builder)

type FfiConverterBytes

type FfiConverterBytes struct{}

func (FfiConverterBytes) Lift

func (c FfiConverterBytes) Lift(rb RustBufferI) []byte

func (FfiConverterBytes) Lower

func (c FfiConverterBytes) Lower(value []byte) C.RustBuffer

func (FfiConverterBytes) Read

func (c FfiConverterBytes) Read(reader io.Reader) []byte

func (FfiConverterBytes) Write

func (c FfiConverterBytes) Write(writer io.Writer, value []byte)

type FfiConverterChannelConfig

type FfiConverterChannelConfig struct{}

func (FfiConverterChannelConfig) Lift

func (FfiConverterChannelConfig) Lower

func (FfiConverterChannelConfig) Read

func (FfiConverterChannelConfig) Write

func (c FfiConverterChannelConfig) Write(writer io.Writer, value ChannelConfig)

type FfiConverterChannelDetails

type FfiConverterChannelDetails struct{}

func (FfiConverterChannelDetails) Lift

func (FfiConverterChannelDetails) Lower

func (FfiConverterChannelDetails) Read

func (FfiConverterChannelDetails) Write

func (c FfiConverterChannelDetails) Write(writer io.Writer, value ChannelDetails)

type FfiConverterChannelInfo

type FfiConverterChannelInfo struct{}

func (FfiConverterChannelInfo) Lift

func (FfiConverterChannelInfo) Lower

func (FfiConverterChannelInfo) Read

func (FfiConverterChannelInfo) Write

func (c FfiConverterChannelInfo) Write(writer io.Writer, value ChannelInfo)

type FfiConverterChannelMonitorSizeInfo

type FfiConverterChannelMonitorSizeInfo struct{}

func (FfiConverterChannelMonitorSizeInfo) Lift

func (FfiConverterChannelMonitorSizeInfo) Lower

func (FfiConverterChannelMonitorSizeInfo) Read

func (FfiConverterChannelMonitorSizeInfo) Write

type FfiConverterChannelUpdateInfo

type FfiConverterChannelUpdateInfo struct{}

func (FfiConverterChannelUpdateInfo) Lift

func (FfiConverterChannelUpdateInfo) Lower

func (FfiConverterChannelUpdateInfo) Read

func (FfiConverterChannelUpdateInfo) Write

type FfiConverterClosureReason

type FfiConverterClosureReason struct{}

func (FfiConverterClosureReason) Lift

func (FfiConverterClosureReason) Lower

func (FfiConverterClosureReason) Read

func (FfiConverterClosureReason) Write

func (FfiConverterClosureReason) Write(writer io.Writer, value ClosureReason)

type FfiConverterConfig

type FfiConverterConfig struct{}

func (FfiConverterConfig) Lift

func (FfiConverterConfig) Lower

func (c FfiConverterConfig) Lower(value Config) C.RustBuffer

func (FfiConverterConfig) Read

func (c FfiConverterConfig) Read(reader io.Reader) Config

func (FfiConverterConfig) Write

func (c FfiConverterConfig) Write(writer io.Writer, value Config)

type FfiConverterConfirmationStatus

type FfiConverterConfirmationStatus struct{}

func (FfiConverterConfirmationStatus) Lift

func (FfiConverterConfirmationStatus) Lower

func (FfiConverterConfirmationStatus) Read

func (FfiConverterConfirmationStatus) Write

type FfiConverterCurrency

type FfiConverterCurrency struct{}

func (FfiConverterCurrency) Lift

func (FfiConverterCurrency) Lower

func (c FfiConverterCurrency) Lower(value Currency) C.RustBuffer

func (FfiConverterCurrency) Read

func (FfiConverterCurrency) Read(reader io.Reader) Currency

func (FfiConverterCurrency) Write

func (FfiConverterCurrency) Write(writer io.Writer, value Currency)

type FfiConverterCustomTlvRecord

type FfiConverterCustomTlvRecord struct{}

func (FfiConverterCustomTlvRecord) Lift

func (FfiConverterCustomTlvRecord) Lower

func (FfiConverterCustomTlvRecord) Read

func (FfiConverterCustomTlvRecord) Write

func (c FfiConverterCustomTlvRecord) Write(writer io.Writer, value CustomTlvRecord)

type FfiConverterElectrumSyncConfig

type FfiConverterElectrumSyncConfig struct{}

func (FfiConverterElectrumSyncConfig) Lift

func (FfiConverterElectrumSyncConfig) Lower

func (FfiConverterElectrumSyncConfig) Read

func (FfiConverterElectrumSyncConfig) Write

type FfiConverterEsploraSyncConfig

type FfiConverterEsploraSyncConfig struct{}

func (FfiConverterEsploraSyncConfig) Lift

func (FfiConverterEsploraSyncConfig) Lower

func (FfiConverterEsploraSyncConfig) Read

func (FfiConverterEsploraSyncConfig) Write

type FfiConverterEvent

type FfiConverterEvent struct{}

func (FfiConverterEvent) Lift

func (c FfiConverterEvent) Lift(rb RustBufferI) Event

func (FfiConverterEvent) Lower

func (c FfiConverterEvent) Lower(value Event) C.RustBuffer

func (FfiConverterEvent) Read

func (FfiConverterEvent) Read(reader io.Reader) Event

func (FfiConverterEvent) Write

func (FfiConverterEvent) Write(writer io.Writer, value Event)

type FfiConverterFeeRate

type FfiConverterFeeRate struct{}

func (FfiConverterFeeRate) Lift

func (c FfiConverterFeeRate) Lift(pointer unsafe.Pointer) *FeeRate

func (FfiConverterFeeRate) Lower

func (c FfiConverterFeeRate) Lower(value *FeeRate) unsafe.Pointer

func (FfiConverterFeeRate) Read

func (c FfiConverterFeeRate) Read(reader io.Reader) *FeeRate

func (FfiConverterFeeRate) Write

func (c FfiConverterFeeRate) Write(writer io.Writer, value *FeeRate)

type FfiConverterKeyValue

type FfiConverterKeyValue struct{}

func (FfiConverterKeyValue) Lift

func (FfiConverterKeyValue) Lower

func (c FfiConverterKeyValue) Lower(value KeyValue) C.RustBuffer

func (FfiConverterKeyValue) Read

func (c FfiConverterKeyValue) Read(reader io.Reader) KeyValue

func (FfiConverterKeyValue) Write

func (c FfiConverterKeyValue) Write(writer io.Writer, value KeyValue)

type FfiConverterLightningBalance

type FfiConverterLightningBalance struct{}

func (FfiConverterLightningBalance) Lift

func (FfiConverterLightningBalance) Lower

func (FfiConverterLightningBalance) Read

func (FfiConverterLightningBalance) Write

type FfiConverterLogLevel

type FfiConverterLogLevel struct{}

func (FfiConverterLogLevel) Lift

func (FfiConverterLogLevel) Lower

func (c FfiConverterLogLevel) Lower(value LogLevel) C.RustBuffer

func (FfiConverterLogLevel) Read

func (FfiConverterLogLevel) Read(reader io.Reader) LogLevel

func (FfiConverterLogLevel) Write

func (FfiConverterLogLevel) Write(writer io.Writer, value LogLevel)

type FfiConverterLogRecord

type FfiConverterLogRecord struct{}

func (FfiConverterLogRecord) Lift

func (FfiConverterLogRecord) Lower

func (FfiConverterLogRecord) Read

func (c FfiConverterLogRecord) Read(reader io.Reader) LogRecord

func (FfiConverterLogRecord) Write

func (c FfiConverterLogRecord) Write(writer io.Writer, value LogRecord)

type FfiConverterLogWriter

type FfiConverterLogWriter struct {
	// contains filtered or unexported fields
}

func (FfiConverterLogWriter) Lift

func (FfiConverterLogWriter) Lower

func (FfiConverterLogWriter) Read

func (c FfiConverterLogWriter) Read(reader io.Reader) LogWriter

func (FfiConverterLogWriter) Write

func (c FfiConverterLogWriter) Write(writer io.Writer, value LogWriter)

type FfiConverterLspFeeLimits

type FfiConverterLspFeeLimits struct{}

func (FfiConverterLspFeeLimits) Lift

func (FfiConverterLspFeeLimits) Lower

func (FfiConverterLspFeeLimits) Read

func (FfiConverterLspFeeLimits) Write

func (c FfiConverterLspFeeLimits) Write(writer io.Writer, value LspFeeLimits)

type FfiConverterLsps1Bolt11PaymentInfo

type FfiConverterLsps1Bolt11PaymentInfo struct{}

func (FfiConverterLsps1Bolt11PaymentInfo) Lift

func (FfiConverterLsps1Bolt11PaymentInfo) Lower

func (FfiConverterLsps1Bolt11PaymentInfo) Read

func (FfiConverterLsps1Bolt11PaymentInfo) Write

type FfiConverterLsps1ChannelInfo

type FfiConverterLsps1ChannelInfo struct{}

func (FfiConverterLsps1ChannelInfo) Lift

func (FfiConverterLsps1ChannelInfo) Lower

func (FfiConverterLsps1ChannelInfo) Read

func (FfiConverterLsps1ChannelInfo) Write

func (c FfiConverterLsps1ChannelInfo) Write(writer io.Writer, value Lsps1ChannelInfo)

type FfiConverterLsps1Liquidity

type FfiConverterLsps1Liquidity struct{}

func (FfiConverterLsps1Liquidity) Lift

func (FfiConverterLsps1Liquidity) Lower

func (FfiConverterLsps1Liquidity) Read

func (FfiConverterLsps1Liquidity) Write

func (c FfiConverterLsps1Liquidity) Write(writer io.Writer, value *Lsps1Liquidity)

type FfiConverterLsps1OnchainPaymentInfo

type FfiConverterLsps1OnchainPaymentInfo struct{}

func (FfiConverterLsps1OnchainPaymentInfo) Lift

func (FfiConverterLsps1OnchainPaymentInfo) Lower

func (FfiConverterLsps1OnchainPaymentInfo) Read

func (FfiConverterLsps1OnchainPaymentInfo) Write

type FfiConverterLsps1OrderParams

type FfiConverterLsps1OrderParams struct{}

func (FfiConverterLsps1OrderParams) Lift

func (FfiConverterLsps1OrderParams) Lower

func (FfiConverterLsps1OrderParams) Read

func (FfiConverterLsps1OrderParams) Write

func (c FfiConverterLsps1OrderParams) Write(writer io.Writer, value Lsps1OrderParams)

type FfiConverterLsps1OrderStatus

type FfiConverterLsps1OrderStatus struct{}

func (FfiConverterLsps1OrderStatus) Lift

func (FfiConverterLsps1OrderStatus) Lower

func (FfiConverterLsps1OrderStatus) Read

func (FfiConverterLsps1OrderStatus) Write

func (c FfiConverterLsps1OrderStatus) Write(writer io.Writer, value Lsps1OrderStatus)

type FfiConverterLsps1PaymentInfo

type FfiConverterLsps1PaymentInfo struct{}

func (FfiConverterLsps1PaymentInfo) Lift

func (FfiConverterLsps1PaymentInfo) Lower

func (FfiConverterLsps1PaymentInfo) Read

func (FfiConverterLsps1PaymentInfo) Write

func (c FfiConverterLsps1PaymentInfo) Write(writer io.Writer, value Lsps1PaymentInfo)

type FfiConverterLsps1PaymentState

type FfiConverterLsps1PaymentState struct{}

func (FfiConverterLsps1PaymentState) Lift

func (FfiConverterLsps1PaymentState) Lower

func (FfiConverterLsps1PaymentState) Read

func (FfiConverterLsps1PaymentState) Write

type FfiConverterLsps2ServiceConfig

type FfiConverterLsps2ServiceConfig struct{}

func (FfiConverterLsps2ServiceConfig) Lift

func (FfiConverterLsps2ServiceConfig) Lower

func (FfiConverterLsps2ServiceConfig) Read

func (FfiConverterLsps2ServiceConfig) Write

type FfiConverterMapStringString

type FfiConverterMapStringString struct{}

func (FfiConverterMapStringString) Lift

func (FfiConverterMapStringString) Lower

func (FfiConverterMapStringString) Read

func (_ FfiConverterMapStringString) Read(reader io.Reader) map[string]string

func (FfiConverterMapStringString) Write

func (_ FfiConverterMapStringString) Write(writer io.Writer, mapValue map[string]string)

type FfiConverterMaxDustHtlcExposure

type FfiConverterMaxDustHtlcExposure struct{}

func (FfiConverterMaxDustHtlcExposure) Lift

func (FfiConverterMaxDustHtlcExposure) Lower

func (FfiConverterMaxDustHtlcExposure) Read

func (FfiConverterMaxDustHtlcExposure) Write

type FfiConverterMigrateStorage

type FfiConverterMigrateStorage struct{}

func (FfiConverterMigrateStorage) Lift

func (FfiConverterMigrateStorage) Lower

func (FfiConverterMigrateStorage) Read

func (FfiConverterMigrateStorage) Write

func (FfiConverterMigrateStorage) Write(writer io.Writer, value MigrateStorage)

type FfiConverterNetwork

type FfiConverterNetwork struct{}

func (FfiConverterNetwork) Lift

func (FfiConverterNetwork) Lower

func (c FfiConverterNetwork) Lower(value Network) C.RustBuffer

func (FfiConverterNetwork) Read

func (FfiConverterNetwork) Read(reader io.Reader) Network

func (FfiConverterNetwork) Write

func (FfiConverterNetwork) Write(writer io.Writer, value Network)

type FfiConverterNetworkGraph

type FfiConverterNetworkGraph struct{}

func (FfiConverterNetworkGraph) Lift

func (FfiConverterNetworkGraph) Lower

func (FfiConverterNetworkGraph) Read

func (FfiConverterNetworkGraph) Write

func (c FfiConverterNetworkGraph) Write(writer io.Writer, value *NetworkGraph)

type FfiConverterNode

type FfiConverterNode struct{}

func (FfiConverterNode) Lift

func (c FfiConverterNode) Lift(pointer unsafe.Pointer) *Node

func (FfiConverterNode) Lower

func (c FfiConverterNode) Lower(value *Node) unsafe.Pointer

func (FfiConverterNode) Read

func (c FfiConverterNode) Read(reader io.Reader) *Node

func (FfiConverterNode) Write

func (c FfiConverterNode) Write(writer io.Writer, value *Node)

type FfiConverterNodeAnnouncementInfo

type FfiConverterNodeAnnouncementInfo struct{}

func (FfiConverterNodeAnnouncementInfo) Lift

func (FfiConverterNodeAnnouncementInfo) Lower

func (FfiConverterNodeAnnouncementInfo) Read

func (FfiConverterNodeAnnouncementInfo) Write

type FfiConverterNodeError

type FfiConverterNodeError struct{}

func (FfiConverterNodeError) Lift

func (FfiConverterNodeError) Lower

func (c FfiConverterNodeError) Lower(value *NodeError) C.RustBuffer

func (FfiConverterNodeError) Read

func (c FfiConverterNodeError) Read(reader io.Reader) *NodeError

func (FfiConverterNodeError) Write

func (c FfiConverterNodeError) Write(writer io.Writer, value *NodeError)

type FfiConverterNodeInfo

type FfiConverterNodeInfo struct{}

func (FfiConverterNodeInfo) Lift

func (FfiConverterNodeInfo) Lower

func (c FfiConverterNodeInfo) Lower(value NodeInfo) C.RustBuffer

func (FfiConverterNodeInfo) Read

func (c FfiConverterNodeInfo) Read(reader io.Reader) NodeInfo

func (FfiConverterNodeInfo) Write

func (c FfiConverterNodeInfo) Write(writer io.Writer, value NodeInfo)

type FfiConverterNodeStatus

type FfiConverterNodeStatus struct{}

func (FfiConverterNodeStatus) Lift

func (FfiConverterNodeStatus) Lower

func (FfiConverterNodeStatus) Read

func (c FfiConverterNodeStatus) Read(reader io.Reader) NodeStatus

func (FfiConverterNodeStatus) Write

func (c FfiConverterNodeStatus) Write(writer io.Writer, value NodeStatus)

type FfiConverterOffer

type FfiConverterOffer struct{}

func (FfiConverterOffer) Lift

func (c FfiConverterOffer) Lift(pointer unsafe.Pointer) *Offer

func (FfiConverterOffer) Lower

func (c FfiConverterOffer) Lower(value *Offer) unsafe.Pointer

func (FfiConverterOffer) Read

func (c FfiConverterOffer) Read(reader io.Reader) *Offer

func (FfiConverterOffer) Write

func (c FfiConverterOffer) Write(writer io.Writer, value *Offer)

type FfiConverterOfferAmount

type FfiConverterOfferAmount struct{}

func (FfiConverterOfferAmount) Lift

func (FfiConverterOfferAmount) Lower

func (FfiConverterOfferAmount) Read

func (FfiConverterOfferAmount) Write

func (FfiConverterOfferAmount) Write(writer io.Writer, value OfferAmount)

type FfiConverterOnchainPayment

type FfiConverterOnchainPayment struct{}

func (FfiConverterOnchainPayment) Lift

func (FfiConverterOnchainPayment) Lower

func (FfiConverterOnchainPayment) Read

func (FfiConverterOnchainPayment) Write

func (c FfiConverterOnchainPayment) Write(writer io.Writer, value *OnchainPayment)

type FfiConverterOptionalAnchorChannelsConfig

type FfiConverterOptionalAnchorChannelsConfig struct{}

func (FfiConverterOptionalAnchorChannelsConfig) Lift

func (FfiConverterOptionalAnchorChannelsConfig) Lower

func (FfiConverterOptionalAnchorChannelsConfig) Read

func (FfiConverterOptionalAnchorChannelsConfig) Write

type FfiConverterOptionalAsyncPaymentsRole

type FfiConverterOptionalAsyncPaymentsRole struct{}

func (FfiConverterOptionalAsyncPaymentsRole) Lift

func (FfiConverterOptionalAsyncPaymentsRole) Lower

func (FfiConverterOptionalAsyncPaymentsRole) Read

func (FfiConverterOptionalAsyncPaymentsRole) Write

type FfiConverterOptionalBackgroundSyncConfig

type FfiConverterOptionalBackgroundSyncConfig struct{}

func (FfiConverterOptionalBackgroundSyncConfig) Lift

func (FfiConverterOptionalBackgroundSyncConfig) Lower

func (FfiConverterOptionalBackgroundSyncConfig) Read

func (FfiConverterOptionalBackgroundSyncConfig) Write

type FfiConverterOptionalBool

type FfiConverterOptionalBool struct{}

func (FfiConverterOptionalBool) Lift

func (FfiConverterOptionalBool) Lower

func (c FfiConverterOptionalBool) Lower(value *bool) C.RustBuffer

func (FfiConverterOptionalBool) Read

func (_ FfiConverterOptionalBool) Read(reader io.Reader) *bool

func (FfiConverterOptionalBool) Write

func (_ FfiConverterOptionalBool) Write(writer io.Writer, value *bool)

type FfiConverterOptionalChannelConfig

type FfiConverterOptionalChannelConfig struct{}

func (FfiConverterOptionalChannelConfig) Lift

func (FfiConverterOptionalChannelConfig) Lower

func (FfiConverterOptionalChannelConfig) Read

func (FfiConverterOptionalChannelConfig) Write

func (_ FfiConverterOptionalChannelConfig) Write(writer io.Writer, value *ChannelConfig)

type FfiConverterOptionalChannelInfo

type FfiConverterOptionalChannelInfo struct{}

func (FfiConverterOptionalChannelInfo) Lift

func (FfiConverterOptionalChannelInfo) Lower

func (FfiConverterOptionalChannelInfo) Read

func (FfiConverterOptionalChannelInfo) Write

func (_ FfiConverterOptionalChannelInfo) Write(writer io.Writer, value *ChannelInfo)

type FfiConverterOptionalChannelUpdateInfo

type FfiConverterOptionalChannelUpdateInfo struct{}

func (FfiConverterOptionalChannelUpdateInfo) Lift

func (FfiConverterOptionalChannelUpdateInfo) Lower

func (FfiConverterOptionalChannelUpdateInfo) Read

func (FfiConverterOptionalChannelUpdateInfo) Write

type FfiConverterOptionalClosureReason

type FfiConverterOptionalClosureReason struct{}

func (FfiConverterOptionalClosureReason) Lift

func (FfiConverterOptionalClosureReason) Lower

func (FfiConverterOptionalClosureReason) Read

func (FfiConverterOptionalClosureReason) Write

func (_ FfiConverterOptionalClosureReason) Write(writer io.Writer, value *ClosureReason)

type FfiConverterOptionalElectrumSyncConfig

type FfiConverterOptionalElectrumSyncConfig struct{}

func (FfiConverterOptionalElectrumSyncConfig) Lift

func (FfiConverterOptionalElectrumSyncConfig) Lower

func (FfiConverterOptionalElectrumSyncConfig) Read

func (FfiConverterOptionalElectrumSyncConfig) Write

type FfiConverterOptionalEsploraSyncConfig

type FfiConverterOptionalEsploraSyncConfig struct{}

func (FfiConverterOptionalEsploraSyncConfig) Lift

func (FfiConverterOptionalEsploraSyncConfig) Lower

func (FfiConverterOptionalEsploraSyncConfig) Read

func (FfiConverterOptionalEsploraSyncConfig) Write

type FfiConverterOptionalEvent

type FfiConverterOptionalEvent struct{}

func (FfiConverterOptionalEvent) Lift

func (FfiConverterOptionalEvent) Lower

func (c FfiConverterOptionalEvent) Lower(value *Event) C.RustBuffer

func (FfiConverterOptionalEvent) Read

func (_ FfiConverterOptionalEvent) Read(reader io.Reader) *Event

func (FfiConverterOptionalEvent) Write

func (_ FfiConverterOptionalEvent) Write(writer io.Writer, value *Event)

type FfiConverterOptionalFeeRate

type FfiConverterOptionalFeeRate struct{}

func (FfiConverterOptionalFeeRate) Lift

func (FfiConverterOptionalFeeRate) Lower

func (FfiConverterOptionalFeeRate) Read

func (_ FfiConverterOptionalFeeRate) Read(reader io.Reader) **FeeRate

func (FfiConverterOptionalFeeRate) Write

func (_ FfiConverterOptionalFeeRate) Write(writer io.Writer, value **FeeRate)

type FfiConverterOptionalLogLevel

type FfiConverterOptionalLogLevel struct{}

func (FfiConverterOptionalLogLevel) Lift

func (FfiConverterOptionalLogLevel) Lower

func (FfiConverterOptionalLogLevel) Read

func (FfiConverterOptionalLogLevel) Write

func (_ FfiConverterOptionalLogLevel) Write(writer io.Writer, value *LogLevel)

type FfiConverterOptionalLsps1Bolt11PaymentInfo

type FfiConverterOptionalLsps1Bolt11PaymentInfo struct{}

func (FfiConverterOptionalLsps1Bolt11PaymentInfo) Lift

func (FfiConverterOptionalLsps1Bolt11PaymentInfo) Lower

func (FfiConverterOptionalLsps1Bolt11PaymentInfo) Read

func (FfiConverterOptionalLsps1Bolt11PaymentInfo) Write

type FfiConverterOptionalLsps1ChannelInfo

type FfiConverterOptionalLsps1ChannelInfo struct{}

func (FfiConverterOptionalLsps1ChannelInfo) Lift

func (FfiConverterOptionalLsps1ChannelInfo) Lower

func (FfiConverterOptionalLsps1ChannelInfo) Read

func (FfiConverterOptionalLsps1ChannelInfo) Write

type FfiConverterOptionalLsps1OnchainPaymentInfo

type FfiConverterOptionalLsps1OnchainPaymentInfo struct{}

func (FfiConverterOptionalLsps1OnchainPaymentInfo) Lift

func (FfiConverterOptionalLsps1OnchainPaymentInfo) Lower

func (FfiConverterOptionalLsps1OnchainPaymentInfo) Read

func (FfiConverterOptionalLsps1OnchainPaymentInfo) Write

type FfiConverterOptionalNetwork

type FfiConverterOptionalNetwork struct{}

func (FfiConverterOptionalNetwork) Lift

func (FfiConverterOptionalNetwork) Lower

func (FfiConverterOptionalNetwork) Read

func (_ FfiConverterOptionalNetwork) Read(reader io.Reader) *Network

func (FfiConverterOptionalNetwork) Write

func (_ FfiConverterOptionalNetwork) Write(writer io.Writer, value *Network)

type FfiConverterOptionalNodeAnnouncementInfo

type FfiConverterOptionalNodeAnnouncementInfo struct{}

func (FfiConverterOptionalNodeAnnouncementInfo) Lift

func (FfiConverterOptionalNodeAnnouncementInfo) Lower

func (FfiConverterOptionalNodeAnnouncementInfo) Read

func (FfiConverterOptionalNodeAnnouncementInfo) Write

type FfiConverterOptionalNodeInfo

type FfiConverterOptionalNodeInfo struct{}

func (FfiConverterOptionalNodeInfo) Lift

func (FfiConverterOptionalNodeInfo) Lower

func (FfiConverterOptionalNodeInfo) Read

func (FfiConverterOptionalNodeInfo) Write

func (_ FfiConverterOptionalNodeInfo) Write(writer io.Writer, value *NodeInfo)

type FfiConverterOptionalOfferAmount

type FfiConverterOptionalOfferAmount struct{}

func (FfiConverterOptionalOfferAmount) Lift

func (FfiConverterOptionalOfferAmount) Lower

func (FfiConverterOptionalOfferAmount) Read

func (FfiConverterOptionalOfferAmount) Write

func (_ FfiConverterOptionalOfferAmount) Write(writer io.Writer, value *OfferAmount)

type FfiConverterOptionalOutPoint

type FfiConverterOptionalOutPoint struct{}

func (FfiConverterOptionalOutPoint) Lift

func (FfiConverterOptionalOutPoint) Lower

func (FfiConverterOptionalOutPoint) Read

func (FfiConverterOptionalOutPoint) Write

func (_ FfiConverterOptionalOutPoint) Write(writer io.Writer, value *OutPoint)

type FfiConverterOptionalPaymentDetails

type FfiConverterOptionalPaymentDetails struct{}

func (FfiConverterOptionalPaymentDetails) Lift

func (FfiConverterOptionalPaymentDetails) Lower

func (FfiConverterOptionalPaymentDetails) Read

func (FfiConverterOptionalPaymentDetails) Write

type FfiConverterOptionalPaymentFailureReason

type FfiConverterOptionalPaymentFailureReason struct{}

func (FfiConverterOptionalPaymentFailureReason) Lift

func (FfiConverterOptionalPaymentFailureReason) Lower

func (FfiConverterOptionalPaymentFailureReason) Read

func (FfiConverterOptionalPaymentFailureReason) Write

type FfiConverterOptionalRouteParametersConfig

type FfiConverterOptionalRouteParametersConfig struct{}

func (FfiConverterOptionalRouteParametersConfig) Lift

func (FfiConverterOptionalRouteParametersConfig) Lower

func (FfiConverterOptionalRouteParametersConfig) Read

func (FfiConverterOptionalRouteParametersConfig) Write

type FfiConverterOptionalSequenceSequenceUint8

type FfiConverterOptionalSequenceSequenceUint8 struct{}

func (FfiConverterOptionalSequenceSequenceUint8) Lift

func (FfiConverterOptionalSequenceSequenceUint8) Lower

func (FfiConverterOptionalSequenceSequenceUint8) Read

func (FfiConverterOptionalSequenceSequenceUint8) Write

func (_ FfiConverterOptionalSequenceSequenceUint8) Write(writer io.Writer, value *[][]uint8)

type FfiConverterOptionalSequenceTypeSocketAddress

type FfiConverterOptionalSequenceTypeSocketAddress struct{}

func (FfiConverterOptionalSequenceTypeSocketAddress) Lift

func (FfiConverterOptionalSequenceTypeSocketAddress) Lower

func (FfiConverterOptionalSequenceTypeSocketAddress) Read

func (FfiConverterOptionalSequenceTypeSocketAddress) Write

type FfiConverterOptionalSequenceUint8

type FfiConverterOptionalSequenceUint8 struct{}

func (FfiConverterOptionalSequenceUint8) Lift

func (FfiConverterOptionalSequenceUint8) Lower

func (FfiConverterOptionalSequenceUint8) Read

func (FfiConverterOptionalSequenceUint8) Write

func (_ FfiConverterOptionalSequenceUint8) Write(writer io.Writer, value *[]uint8)

type FfiConverterOptionalString

type FfiConverterOptionalString struct{}

func (FfiConverterOptionalString) Lift

func (FfiConverterOptionalString) Lower

func (FfiConverterOptionalString) Read

func (_ FfiConverterOptionalString) Read(reader io.Reader) *string

func (FfiConverterOptionalString) Write

func (_ FfiConverterOptionalString) Write(writer io.Writer, value *string)

type FfiConverterOptionalTypeAddress

type FfiConverterOptionalTypeAddress struct{}

func (FfiConverterOptionalTypeAddress) Lift

func (FfiConverterOptionalTypeAddress) Lower

func (FfiConverterOptionalTypeAddress) Read

func (FfiConverterOptionalTypeAddress) Write

func (_ FfiConverterOptionalTypeAddress) Write(writer io.Writer, value *Address)

type FfiConverterOptionalTypeChannelId

type FfiConverterOptionalTypeChannelId struct{}

func (FfiConverterOptionalTypeChannelId) Lift

func (FfiConverterOptionalTypeChannelId) Lower

func (FfiConverterOptionalTypeChannelId) Read

func (FfiConverterOptionalTypeChannelId) Write

func (_ FfiConverterOptionalTypeChannelId) Write(writer io.Writer, value *ChannelId)

type FfiConverterOptionalTypeNodeAlias

type FfiConverterOptionalTypeNodeAlias struct{}

func (FfiConverterOptionalTypeNodeAlias) Lift

func (FfiConverterOptionalTypeNodeAlias) Lower

func (FfiConverterOptionalTypeNodeAlias) Read

func (FfiConverterOptionalTypeNodeAlias) Write

func (_ FfiConverterOptionalTypeNodeAlias) Write(writer io.Writer, value *NodeAlias)

type FfiConverterOptionalTypePaymentHash

type FfiConverterOptionalTypePaymentHash struct{}

func (FfiConverterOptionalTypePaymentHash) Lift

func (FfiConverterOptionalTypePaymentHash) Lower

func (FfiConverterOptionalTypePaymentHash) Read

func (FfiConverterOptionalTypePaymentHash) Write

func (_ FfiConverterOptionalTypePaymentHash) Write(writer io.Writer, value *PaymentHash)

type FfiConverterOptionalTypePaymentId

type FfiConverterOptionalTypePaymentId struct{}

func (FfiConverterOptionalTypePaymentId) Lift

func (FfiConverterOptionalTypePaymentId) Lower

func (FfiConverterOptionalTypePaymentId) Read

func (FfiConverterOptionalTypePaymentId) Write

func (_ FfiConverterOptionalTypePaymentId) Write(writer io.Writer, value *PaymentId)

type FfiConverterOptionalTypePaymentPreimage

type FfiConverterOptionalTypePaymentPreimage struct{}

func (FfiConverterOptionalTypePaymentPreimage) Lift

func (FfiConverterOptionalTypePaymentPreimage) Lower

func (FfiConverterOptionalTypePaymentPreimage) Read

func (FfiConverterOptionalTypePaymentPreimage) Write

type FfiConverterOptionalTypePaymentSecret

type FfiConverterOptionalTypePaymentSecret struct{}

func (FfiConverterOptionalTypePaymentSecret) Lift

func (FfiConverterOptionalTypePaymentSecret) Lower

func (FfiConverterOptionalTypePaymentSecret) Read

func (FfiConverterOptionalTypePaymentSecret) Write

type FfiConverterOptionalTypePublicKey

type FfiConverterOptionalTypePublicKey struct{}

func (FfiConverterOptionalTypePublicKey) Lift

func (FfiConverterOptionalTypePublicKey) Lower

func (FfiConverterOptionalTypePublicKey) Read

func (FfiConverterOptionalTypePublicKey) Write

func (_ FfiConverterOptionalTypePublicKey) Write(writer io.Writer, value *PublicKey)

type FfiConverterOptionalTypeTxid

type FfiConverterOptionalTypeTxid struct{}

func (FfiConverterOptionalTypeTxid) Lift

func (FfiConverterOptionalTypeTxid) Lower

func (FfiConverterOptionalTypeTxid) Read

func (_ FfiConverterOptionalTypeTxid) Read(reader io.Reader) *Txid

func (FfiConverterOptionalTypeTxid) Write

func (_ FfiConverterOptionalTypeTxid) Write(writer io.Writer, value *Txid)

type FfiConverterOptionalTypeUntrustedString

type FfiConverterOptionalTypeUntrustedString struct{}

func (FfiConverterOptionalTypeUntrustedString) Lift

func (FfiConverterOptionalTypeUntrustedString) Lower

func (FfiConverterOptionalTypeUntrustedString) Read

func (FfiConverterOptionalTypeUntrustedString) Write

type FfiConverterOptionalTypeUserChannelId

type FfiConverterOptionalTypeUserChannelId struct{}

func (FfiConverterOptionalTypeUserChannelId) Lift

func (FfiConverterOptionalTypeUserChannelId) Lower

func (FfiConverterOptionalTypeUserChannelId) Read

func (FfiConverterOptionalTypeUserChannelId) Write

type FfiConverterOptionalUint16

type FfiConverterOptionalUint16 struct{}

func (FfiConverterOptionalUint16) Lift

func (FfiConverterOptionalUint16) Lower

func (FfiConverterOptionalUint16) Read

func (_ FfiConverterOptionalUint16) Read(reader io.Reader) *uint16

func (FfiConverterOptionalUint16) Write

func (_ FfiConverterOptionalUint16) Write(writer io.Writer, value *uint16)

type FfiConverterOptionalUint32

type FfiConverterOptionalUint32 struct{}

func (FfiConverterOptionalUint32) Lift

func (FfiConverterOptionalUint32) Lower

func (FfiConverterOptionalUint32) Read

func (_ FfiConverterOptionalUint32) Read(reader io.Reader) *uint32

func (FfiConverterOptionalUint32) Write

func (_ FfiConverterOptionalUint32) Write(writer io.Writer, value *uint32)

type FfiConverterOptionalUint64

type FfiConverterOptionalUint64 struct{}

func (FfiConverterOptionalUint64) Lift

func (FfiConverterOptionalUint64) Lower

func (FfiConverterOptionalUint64) Read

func (_ FfiConverterOptionalUint64) Read(reader io.Reader) *uint64

func (FfiConverterOptionalUint64) Write

func (_ FfiConverterOptionalUint64) Write(writer io.Writer, value *uint64)

type FfiConverterOptionalWordCount

type FfiConverterOptionalWordCount struct{}

func (FfiConverterOptionalWordCount) Lift

func (FfiConverterOptionalWordCount) Lower

func (FfiConverterOptionalWordCount) Read

func (FfiConverterOptionalWordCount) Write

func (_ FfiConverterOptionalWordCount) Write(writer io.Writer, value *WordCount)

type FfiConverterOutPoint

type FfiConverterOutPoint struct{}

func (FfiConverterOutPoint) Lift

func (FfiConverterOutPoint) Lower

func (c FfiConverterOutPoint) Lower(value OutPoint) C.RustBuffer

func (FfiConverterOutPoint) Read

func (c FfiConverterOutPoint) Read(reader io.Reader) OutPoint

func (FfiConverterOutPoint) Write

func (c FfiConverterOutPoint) Write(writer io.Writer, value OutPoint)

type FfiConverterPaymentDetails

type FfiConverterPaymentDetails struct{}

func (FfiConverterPaymentDetails) Lift

func (FfiConverterPaymentDetails) Lower

func (FfiConverterPaymentDetails) Read

func (FfiConverterPaymentDetails) Write

func (c FfiConverterPaymentDetails) Write(writer io.Writer, value PaymentDetails)

type FfiConverterPaymentDirection

type FfiConverterPaymentDirection struct{}

func (FfiConverterPaymentDirection) Lift

func (FfiConverterPaymentDirection) Lower

func (FfiConverterPaymentDirection) Read

func (FfiConverterPaymentDirection) Write

type FfiConverterPaymentFailureReason

type FfiConverterPaymentFailureReason struct{}

func (FfiConverterPaymentFailureReason) Lift

func (FfiConverterPaymentFailureReason) Lower

func (FfiConverterPaymentFailureReason) Read

func (FfiConverterPaymentFailureReason) Write

type FfiConverterPaymentKind

type FfiConverterPaymentKind struct{}

func (FfiConverterPaymentKind) Lift

func (FfiConverterPaymentKind) Lower

func (FfiConverterPaymentKind) Read

func (FfiConverterPaymentKind) Write

func (FfiConverterPaymentKind) Write(writer io.Writer, value PaymentKind)

type FfiConverterPaymentStatus

type FfiConverterPaymentStatus struct{}

func (FfiConverterPaymentStatus) Lift

func (FfiConverterPaymentStatus) Lower

func (FfiConverterPaymentStatus) Read

func (FfiConverterPaymentStatus) Write

func (FfiConverterPaymentStatus) Write(writer io.Writer, value PaymentStatus)

type FfiConverterPeerDetails

type FfiConverterPeerDetails struct{}

func (FfiConverterPeerDetails) Lift

func (FfiConverterPeerDetails) Lower

func (FfiConverterPeerDetails) Read

func (FfiConverterPeerDetails) Write

func (c FfiConverterPeerDetails) Write(writer io.Writer, value PeerDetails)

type FfiConverterPendingSweepBalance

type FfiConverterPendingSweepBalance struct{}

func (FfiConverterPendingSweepBalance) Lift

func (FfiConverterPendingSweepBalance) Lower

func (FfiConverterPendingSweepBalance) Read

func (FfiConverterPendingSweepBalance) Write

type FfiConverterQrPaymentResult

type FfiConverterQrPaymentResult struct{}

func (FfiConverterQrPaymentResult) Lift

func (FfiConverterQrPaymentResult) Lower

func (FfiConverterQrPaymentResult) Read

func (FfiConverterQrPaymentResult) Write

type FfiConverterRefund

type FfiConverterRefund struct{}

func (FfiConverterRefund) Lift

func (c FfiConverterRefund) Lift(pointer unsafe.Pointer) *Refund

func (FfiConverterRefund) Lower

func (c FfiConverterRefund) Lower(value *Refund) unsafe.Pointer

func (FfiConverterRefund) Read

func (c FfiConverterRefund) Read(reader io.Reader) *Refund

func (FfiConverterRefund) Write

func (c FfiConverterRefund) Write(writer io.Writer, value *Refund)

type FfiConverterResetState

type FfiConverterResetState struct{}

func (FfiConverterResetState) Lift

func (FfiConverterResetState) Lower

func (FfiConverterResetState) Read

func (FfiConverterResetState) Write

func (FfiConverterResetState) Write(writer io.Writer, value ResetState)

type FfiConverterRouteHintHop

type FfiConverterRouteHintHop struct{}

func (FfiConverterRouteHintHop) Lift

func (FfiConverterRouteHintHop) Lower

func (FfiConverterRouteHintHop) Read

func (FfiConverterRouteHintHop) Write

func (c FfiConverterRouteHintHop) Write(writer io.Writer, value RouteHintHop)

type FfiConverterRouteParametersConfig

type FfiConverterRouteParametersConfig struct{}

func (FfiConverterRouteParametersConfig) Lift

func (FfiConverterRouteParametersConfig) Lower

func (FfiConverterRouteParametersConfig) Read

func (FfiConverterRouteParametersConfig) Write

type FfiConverterRoutingFees

type FfiConverterRoutingFees struct{}

func (FfiConverterRoutingFees) Lift

func (FfiConverterRoutingFees) Lower

func (FfiConverterRoutingFees) Read

func (FfiConverterRoutingFees) Write

func (c FfiConverterRoutingFees) Write(writer io.Writer, value RoutingFees)

type FfiConverterSequenceChannelDetails

type FfiConverterSequenceChannelDetails struct{}

func (FfiConverterSequenceChannelDetails) Lift

func (FfiConverterSequenceChannelDetails) Lower

func (FfiConverterSequenceChannelDetails) Read

func (FfiConverterSequenceChannelDetails) Write

type FfiConverterSequenceChannelMonitorSizeInfo

type FfiConverterSequenceChannelMonitorSizeInfo struct{}

func (FfiConverterSequenceChannelMonitorSizeInfo) Lift

func (FfiConverterSequenceChannelMonitorSizeInfo) Lower

func (FfiConverterSequenceChannelMonitorSizeInfo) Read

func (FfiConverterSequenceChannelMonitorSizeInfo) Write

type FfiConverterSequenceCustomTlvRecord

type FfiConverterSequenceCustomTlvRecord struct{}

func (FfiConverterSequenceCustomTlvRecord) Lift

func (FfiConverterSequenceCustomTlvRecord) Lower

func (FfiConverterSequenceCustomTlvRecord) Read

func (FfiConverterSequenceCustomTlvRecord) Write

type FfiConverterSequenceKeyValue

type FfiConverterSequenceKeyValue struct{}

func (FfiConverterSequenceKeyValue) Lift

func (FfiConverterSequenceKeyValue) Lower

func (FfiConverterSequenceKeyValue) Read

func (FfiConverterSequenceKeyValue) Write

func (c FfiConverterSequenceKeyValue) Write(writer io.Writer, value []KeyValue)

type FfiConverterSequenceLightningBalance

type FfiConverterSequenceLightningBalance struct{}

func (FfiConverterSequenceLightningBalance) Lift

func (FfiConverterSequenceLightningBalance) Lower

func (FfiConverterSequenceLightningBalance) Read

func (FfiConverterSequenceLightningBalance) Write

type FfiConverterSequenceNetwork

type FfiConverterSequenceNetwork struct{}

func (FfiConverterSequenceNetwork) Lift

func (FfiConverterSequenceNetwork) Lower

func (FfiConverterSequenceNetwork) Read

func (c FfiConverterSequenceNetwork) Read(reader io.Reader) []Network

func (FfiConverterSequenceNetwork) Write

func (c FfiConverterSequenceNetwork) Write(writer io.Writer, value []Network)

type FfiConverterSequencePaymentDetails

type FfiConverterSequencePaymentDetails struct{}

func (FfiConverterSequencePaymentDetails) Lift

func (FfiConverterSequencePaymentDetails) Lower

func (FfiConverterSequencePaymentDetails) Read

func (FfiConverterSequencePaymentDetails) Write

type FfiConverterSequencePeerDetails

type FfiConverterSequencePeerDetails struct{}

func (FfiConverterSequencePeerDetails) Lift

func (FfiConverterSequencePeerDetails) Lower

func (FfiConverterSequencePeerDetails) Read

func (FfiConverterSequencePeerDetails) Write

func (c FfiConverterSequencePeerDetails) Write(writer io.Writer, value []PeerDetails)

type FfiConverterSequencePendingSweepBalance

type FfiConverterSequencePendingSweepBalance struct{}

func (FfiConverterSequencePendingSweepBalance) Lift

func (FfiConverterSequencePendingSweepBalance) Lower

func (FfiConverterSequencePendingSweepBalance) Read

func (FfiConverterSequencePendingSweepBalance) Write

type FfiConverterSequenceRouteHintHop

type FfiConverterSequenceRouteHintHop struct{}

func (FfiConverterSequenceRouteHintHop) Lift

func (FfiConverterSequenceRouteHintHop) Lower

func (FfiConverterSequenceRouteHintHop) Read

func (FfiConverterSequenceRouteHintHop) Write

func (c FfiConverterSequenceRouteHintHop) Write(writer io.Writer, value []RouteHintHop)

type FfiConverterSequenceSequenceRouteHintHop

type FfiConverterSequenceSequenceRouteHintHop struct{}

func (FfiConverterSequenceSequenceRouteHintHop) Lift

func (FfiConverterSequenceSequenceRouteHintHop) Lower

func (FfiConverterSequenceSequenceRouteHintHop) Read

func (FfiConverterSequenceSequenceRouteHintHop) Write

type FfiConverterSequenceSequenceUint8

type FfiConverterSequenceSequenceUint8 struct{}

func (FfiConverterSequenceSequenceUint8) Lift

func (FfiConverterSequenceSequenceUint8) Lower

func (FfiConverterSequenceSequenceUint8) Read

func (c FfiConverterSequenceSequenceUint8) Read(reader io.Reader) [][]uint8

func (FfiConverterSequenceSequenceUint8) Write

func (c FfiConverterSequenceSequenceUint8) Write(writer io.Writer, value [][]uint8)

type FfiConverterSequenceTlvEntry

type FfiConverterSequenceTlvEntry struct{}

func (FfiConverterSequenceTlvEntry) Lift

func (FfiConverterSequenceTlvEntry) Lower

func (FfiConverterSequenceTlvEntry) Read

func (FfiConverterSequenceTlvEntry) Write

func (c FfiConverterSequenceTlvEntry) Write(writer io.Writer, value []TlvEntry)

type FfiConverterSequenceTypeAddress

type FfiConverterSequenceTypeAddress struct{}

func (FfiConverterSequenceTypeAddress) Lift

func (FfiConverterSequenceTypeAddress) Lower

func (FfiConverterSequenceTypeAddress) Read

func (FfiConverterSequenceTypeAddress) Write

func (c FfiConverterSequenceTypeAddress) Write(writer io.Writer, value []Address)

type FfiConverterSequenceTypeNodeId

type FfiConverterSequenceTypeNodeId struct{}

func (FfiConverterSequenceTypeNodeId) Lift

func (FfiConverterSequenceTypeNodeId) Lower

func (FfiConverterSequenceTypeNodeId) Read

func (FfiConverterSequenceTypeNodeId) Write

func (c FfiConverterSequenceTypeNodeId) Write(writer io.Writer, value []NodeId)

type FfiConverterSequenceTypePublicKey

type FfiConverterSequenceTypePublicKey struct{}

func (FfiConverterSequenceTypePublicKey) Lift

func (FfiConverterSequenceTypePublicKey) Lower

func (FfiConverterSequenceTypePublicKey) Read

func (FfiConverterSequenceTypePublicKey) Write

func (c FfiConverterSequenceTypePublicKey) Write(writer io.Writer, value []PublicKey)

type FfiConverterSequenceTypeSocketAddress

type FfiConverterSequenceTypeSocketAddress struct{}

func (FfiConverterSequenceTypeSocketAddress) Lift

func (FfiConverterSequenceTypeSocketAddress) Lower

func (FfiConverterSequenceTypeSocketAddress) Read

func (FfiConverterSequenceTypeSocketAddress) Write

type FfiConverterSequenceUint64

type FfiConverterSequenceUint64 struct{}

func (FfiConverterSequenceUint64) Lift

func (FfiConverterSequenceUint64) Lower

func (c FfiConverterSequenceUint64) Lower(value []uint64) C.RustBuffer

func (FfiConverterSequenceUint64) Read

func (c FfiConverterSequenceUint64) Read(reader io.Reader) []uint64

func (FfiConverterSequenceUint64) Write

func (c FfiConverterSequenceUint64) Write(writer io.Writer, value []uint64)

type FfiConverterSequenceUint8

type FfiConverterSequenceUint8 struct{}

func (FfiConverterSequenceUint8) Lift

func (FfiConverterSequenceUint8) Lower

func (c FfiConverterSequenceUint8) Lower(value []uint8) C.RustBuffer

func (FfiConverterSequenceUint8) Read

func (c FfiConverterSequenceUint8) Read(reader io.Reader) []uint8

func (FfiConverterSequenceUint8) Write

func (c FfiConverterSequenceUint8) Write(writer io.Writer, value []uint8)

type FfiConverterSpontaneousPayment

type FfiConverterSpontaneousPayment struct{}

func (FfiConverterSpontaneousPayment) Lift

func (FfiConverterSpontaneousPayment) Lower

func (FfiConverterSpontaneousPayment) Read

func (FfiConverterSpontaneousPayment) Write

type FfiConverterString

type FfiConverterString struct{}

func (FfiConverterString) Lift

func (FfiConverterString) Lower

func (FfiConverterString) Lower(value string) C.RustBuffer

func (FfiConverterString) Read

func (FfiConverterString) Read(reader io.Reader) string

func (FfiConverterString) Write

func (FfiConverterString) Write(writer io.Writer, value string)

type FfiConverterTlvEntry

type FfiConverterTlvEntry struct{}

func (FfiConverterTlvEntry) Lift

func (FfiConverterTlvEntry) Lower

func (c FfiConverterTlvEntry) Lower(value TlvEntry) C.RustBuffer

func (FfiConverterTlvEntry) Read

func (c FfiConverterTlvEntry) Read(reader io.Reader) TlvEntry

func (FfiConverterTlvEntry) Write

func (c FfiConverterTlvEntry) Write(writer io.Writer, value TlvEntry)

type FfiConverterTypeAddress

type FfiConverterTypeAddress = FfiConverterString

type FfiConverterTypeBlockHash

type FfiConverterTypeBlockHash = FfiConverterString

type FfiConverterTypeChannelId

type FfiConverterTypeChannelId = FfiConverterString

type FfiConverterTypeLSPS1OrderId

type FfiConverterTypeLSPS1OrderId = FfiConverterString

type FfiConverterTypeLSPSDateTime

type FfiConverterTypeLSPSDateTime = FfiConverterString

type FfiConverterTypeMnemonic

type FfiConverterTypeMnemonic = FfiConverterString

type FfiConverterTypeNodeAlias

type FfiConverterTypeNodeAlias = FfiConverterString

type FfiConverterTypeNodeId

type FfiConverterTypeNodeId = FfiConverterString

type FfiConverterTypeOfferId

type FfiConverterTypeOfferId = FfiConverterString

type FfiConverterTypePaymentHash

type FfiConverterTypePaymentHash = FfiConverterString

type FfiConverterTypePaymentId

type FfiConverterTypePaymentId = FfiConverterString

type FfiConverterTypePaymentPreimage

type FfiConverterTypePaymentPreimage = FfiConverterString

type FfiConverterTypePaymentSecret

type FfiConverterTypePaymentSecret = FfiConverterString

type FfiConverterTypePublicKey

type FfiConverterTypePublicKey = FfiConverterString

type FfiConverterTypeSocketAddress

type FfiConverterTypeSocketAddress = FfiConverterString

type FfiConverterTypeTxid

type FfiConverterTypeTxid = FfiConverterString

type FfiConverterTypeUntrustedString

type FfiConverterTypeUntrustedString = FfiConverterString

type FfiConverterTypeUserChannelId

type FfiConverterTypeUserChannelId = FfiConverterString

type FfiConverterUint16

type FfiConverterUint16 struct{}

func (FfiConverterUint16) Lift

func (FfiConverterUint16) Lift(value C.uint16_t) uint16

func (FfiConverterUint16) Lower

func (FfiConverterUint16) Lower(value uint16) C.uint16_t

func (FfiConverterUint16) Read

func (FfiConverterUint16) Read(reader io.Reader) uint16

func (FfiConverterUint16) Write

func (FfiConverterUint16) Write(writer io.Writer, value uint16)

type FfiConverterUint32

type FfiConverterUint32 struct{}

func (FfiConverterUint32) Lift

func (FfiConverterUint32) Lift(value C.uint32_t) uint32

func (FfiConverterUint32) Lower

func (FfiConverterUint32) Lower(value uint32) C.uint32_t

func (FfiConverterUint32) Read

func (FfiConverterUint32) Read(reader io.Reader) uint32

func (FfiConverterUint32) Write

func (FfiConverterUint32) Write(writer io.Writer, value uint32)

type FfiConverterUint64

type FfiConverterUint64 struct{}

func (FfiConverterUint64) Lift

func (FfiConverterUint64) Lift(value C.uint64_t) uint64

func (FfiConverterUint64) Lower

func (FfiConverterUint64) Lower(value uint64) C.uint64_t

func (FfiConverterUint64) Read

func (FfiConverterUint64) Read(reader io.Reader) uint64

func (FfiConverterUint64) Write

func (FfiConverterUint64) Write(writer io.Writer, value uint64)

type FfiConverterUint8

type FfiConverterUint8 struct{}

func (FfiConverterUint8) Lift

func (FfiConverterUint8) Lift(value C.uint8_t) uint8

func (FfiConverterUint8) Lower

func (FfiConverterUint8) Lower(value uint8) C.uint8_t

func (FfiConverterUint8) Read

func (FfiConverterUint8) Read(reader io.Reader) uint8

func (FfiConverterUint8) Write

func (FfiConverterUint8) Write(writer io.Writer, value uint8)

type FfiConverterUnifiedQrPayment

type FfiConverterUnifiedQrPayment struct{}

func (FfiConverterUnifiedQrPayment) Lift

func (FfiConverterUnifiedQrPayment) Lower

func (FfiConverterUnifiedQrPayment) Read

func (FfiConverterUnifiedQrPayment) Write

func (c FfiConverterUnifiedQrPayment) Write(writer io.Writer, value *UnifiedQrPayment)

type FfiConverterVssHeaderProviderError

type FfiConverterVssHeaderProviderError struct{}

func (FfiConverterVssHeaderProviderError) Lift

func (FfiConverterVssHeaderProviderError) Lower

func (FfiConverterVssHeaderProviderError) Read

func (FfiConverterVssHeaderProviderError) Write

type FfiConverterWordCount

type FfiConverterWordCount struct{}

func (FfiConverterWordCount) Lift

func (FfiConverterWordCount) Lower

func (FfiConverterWordCount) Read

func (FfiConverterWordCount) Write

func (FfiConverterWordCount) Write(writer io.Writer, value WordCount)

type FfiDestroyerAnchorChannelsConfig

type FfiDestroyerAnchorChannelsConfig struct{}

func (FfiDestroyerAnchorChannelsConfig) Destroy

type FfiDestroyerAsyncPaymentsRole

type FfiDestroyerAsyncPaymentsRole struct{}

func (FfiDestroyerAsyncPaymentsRole) Destroy

type FfiDestroyerBackgroundSyncConfig

type FfiDestroyerBackgroundSyncConfig struct{}

func (FfiDestroyerBackgroundSyncConfig) Destroy

type FfiDestroyerBalanceDetails

type FfiDestroyerBalanceDetails struct{}

func (FfiDestroyerBalanceDetails) Destroy

func (_ FfiDestroyerBalanceDetails) Destroy(value BalanceDetails)

type FfiDestroyerBalanceSource

type FfiDestroyerBalanceSource struct{}

func (FfiDestroyerBalanceSource) Destroy

func (_ FfiDestroyerBalanceSource) Destroy(value BalanceSource)

type FfiDestroyerBestBlock

type FfiDestroyerBestBlock struct{}

func (FfiDestroyerBestBlock) Destroy

func (_ FfiDestroyerBestBlock) Destroy(value BestBlock)

type FfiDestroyerBolt11Invoice

type FfiDestroyerBolt11Invoice struct{}

func (FfiDestroyerBolt11Invoice) Destroy

func (_ FfiDestroyerBolt11Invoice) Destroy(value *Bolt11Invoice)

type FfiDestroyerBolt11InvoiceDescription

type FfiDestroyerBolt11InvoiceDescription struct{}

func (FfiDestroyerBolt11InvoiceDescription) Destroy

type FfiDestroyerBolt11Payment

type FfiDestroyerBolt11Payment struct{}

func (FfiDestroyerBolt11Payment) Destroy

func (_ FfiDestroyerBolt11Payment) Destroy(value *Bolt11Payment)

type FfiDestroyerBolt12Invoice

type FfiDestroyerBolt12Invoice struct{}

func (FfiDestroyerBolt12Invoice) Destroy

func (_ FfiDestroyerBolt12Invoice) Destroy(value *Bolt12Invoice)

type FfiDestroyerBolt12Payment

type FfiDestroyerBolt12Payment struct{}

func (FfiDestroyerBolt12Payment) Destroy

func (_ FfiDestroyerBolt12Payment) Destroy(value *Bolt12Payment)

type FfiDestroyerBool

type FfiDestroyerBool struct{}

func (FfiDestroyerBool) Destroy

func (FfiDestroyerBool) Destroy(_ bool)

type FfiDestroyerBuildError

type FfiDestroyerBuildError struct{}

func (FfiDestroyerBuildError) Destroy

func (_ FfiDestroyerBuildError) Destroy(value *BuildError)

type FfiDestroyerBuilder

type FfiDestroyerBuilder struct{}

func (FfiDestroyerBuilder) Destroy

func (_ FfiDestroyerBuilder) Destroy(value *Builder)

type FfiDestroyerBytes

type FfiDestroyerBytes struct{}

func (FfiDestroyerBytes) Destroy

func (FfiDestroyerBytes) Destroy(_ []byte)

type FfiDestroyerChannelConfig

type FfiDestroyerChannelConfig struct{}

func (FfiDestroyerChannelConfig) Destroy

func (_ FfiDestroyerChannelConfig) Destroy(value ChannelConfig)

type FfiDestroyerChannelDetails

type FfiDestroyerChannelDetails struct{}

func (FfiDestroyerChannelDetails) Destroy

func (_ FfiDestroyerChannelDetails) Destroy(value ChannelDetails)

type FfiDestroyerChannelInfo

type FfiDestroyerChannelInfo struct{}

func (FfiDestroyerChannelInfo) Destroy

func (_ FfiDestroyerChannelInfo) Destroy(value ChannelInfo)

type FfiDestroyerChannelMonitorSizeInfo

type FfiDestroyerChannelMonitorSizeInfo struct{}

func (FfiDestroyerChannelMonitorSizeInfo) Destroy

type FfiDestroyerChannelUpdateInfo

type FfiDestroyerChannelUpdateInfo struct{}

func (FfiDestroyerChannelUpdateInfo) Destroy

type FfiDestroyerClosureReason

type FfiDestroyerClosureReason struct{}

func (FfiDestroyerClosureReason) Destroy

func (_ FfiDestroyerClosureReason) Destroy(value ClosureReason)

type FfiDestroyerConfig

type FfiDestroyerConfig struct{}

func (FfiDestroyerConfig) Destroy

func (_ FfiDestroyerConfig) Destroy(value Config)

type FfiDestroyerConfirmationStatus

type FfiDestroyerConfirmationStatus struct{}

func (FfiDestroyerConfirmationStatus) Destroy

type FfiDestroyerCurrency

type FfiDestroyerCurrency struct{}

func (FfiDestroyerCurrency) Destroy

func (_ FfiDestroyerCurrency) Destroy(value Currency)

type FfiDestroyerCustomTlvRecord

type FfiDestroyerCustomTlvRecord struct{}

func (FfiDestroyerCustomTlvRecord) Destroy

type FfiDestroyerElectrumSyncConfig

type FfiDestroyerElectrumSyncConfig struct{}

func (FfiDestroyerElectrumSyncConfig) Destroy

type FfiDestroyerEsploraSyncConfig

type FfiDestroyerEsploraSyncConfig struct{}

func (FfiDestroyerEsploraSyncConfig) Destroy

type FfiDestroyerEvent

type FfiDestroyerEvent struct{}

func (FfiDestroyerEvent) Destroy

func (_ FfiDestroyerEvent) Destroy(value Event)

type FfiDestroyerFeeRate

type FfiDestroyerFeeRate struct{}

func (FfiDestroyerFeeRate) Destroy

func (_ FfiDestroyerFeeRate) Destroy(value *FeeRate)

type FfiDestroyerKeyValue

type FfiDestroyerKeyValue struct{}

func (FfiDestroyerKeyValue) Destroy

func (_ FfiDestroyerKeyValue) Destroy(value KeyValue)

type FfiDestroyerLightningBalance

type FfiDestroyerLightningBalance struct{}

func (FfiDestroyerLightningBalance) Destroy

type FfiDestroyerLogLevel

type FfiDestroyerLogLevel struct{}

func (FfiDestroyerLogLevel) Destroy

func (_ FfiDestroyerLogLevel) Destroy(value LogLevel)

type FfiDestroyerLogRecord

type FfiDestroyerLogRecord struct{}

func (FfiDestroyerLogRecord) Destroy

func (_ FfiDestroyerLogRecord) Destroy(value LogRecord)

type FfiDestroyerLogWriter

type FfiDestroyerLogWriter struct{}

func (FfiDestroyerLogWriter) Destroy

func (_ FfiDestroyerLogWriter) Destroy(value LogWriter)

type FfiDestroyerLspFeeLimits

type FfiDestroyerLspFeeLimits struct{}

func (FfiDestroyerLspFeeLimits) Destroy

func (_ FfiDestroyerLspFeeLimits) Destroy(value LspFeeLimits)

type FfiDestroyerLsps1Bolt11PaymentInfo

type FfiDestroyerLsps1Bolt11PaymentInfo struct{}

func (FfiDestroyerLsps1Bolt11PaymentInfo) Destroy

type FfiDestroyerLsps1ChannelInfo

type FfiDestroyerLsps1ChannelInfo struct{}

func (FfiDestroyerLsps1ChannelInfo) Destroy

type FfiDestroyerLsps1Liquidity

type FfiDestroyerLsps1Liquidity struct{}

func (FfiDestroyerLsps1Liquidity) Destroy

func (_ FfiDestroyerLsps1Liquidity) Destroy(value *Lsps1Liquidity)

type FfiDestroyerLsps1OnchainPaymentInfo

type FfiDestroyerLsps1OnchainPaymentInfo struct{}

func (FfiDestroyerLsps1OnchainPaymentInfo) Destroy

type FfiDestroyerLsps1OrderParams

type FfiDestroyerLsps1OrderParams struct{}

func (FfiDestroyerLsps1OrderParams) Destroy

type FfiDestroyerLsps1OrderStatus

type FfiDestroyerLsps1OrderStatus struct{}

func (FfiDestroyerLsps1OrderStatus) Destroy

type FfiDestroyerLsps1PaymentInfo

type FfiDestroyerLsps1PaymentInfo struct{}

func (FfiDestroyerLsps1PaymentInfo) Destroy

type FfiDestroyerLsps1PaymentState

type FfiDestroyerLsps1PaymentState struct{}

func (FfiDestroyerLsps1PaymentState) Destroy

type FfiDestroyerLsps2ServiceConfig

type FfiDestroyerLsps2ServiceConfig struct{}

func (FfiDestroyerLsps2ServiceConfig) Destroy

type FfiDestroyerMapStringString

type FfiDestroyerMapStringString struct{}

func (FfiDestroyerMapStringString) Destroy

func (_ FfiDestroyerMapStringString) Destroy(mapValue map[string]string)

type FfiDestroyerMaxDustHtlcExposure

type FfiDestroyerMaxDustHtlcExposure struct{}

func (FfiDestroyerMaxDustHtlcExposure) Destroy

type FfiDestroyerMigrateStorage

type FfiDestroyerMigrateStorage struct{}

func (FfiDestroyerMigrateStorage) Destroy

func (_ FfiDestroyerMigrateStorage) Destroy(value MigrateStorage)

type FfiDestroyerNetwork

type FfiDestroyerNetwork struct{}

func (FfiDestroyerNetwork) Destroy

func (_ FfiDestroyerNetwork) Destroy(value Network)

type FfiDestroyerNetworkGraph

type FfiDestroyerNetworkGraph struct{}

func (FfiDestroyerNetworkGraph) Destroy

func (_ FfiDestroyerNetworkGraph) Destroy(value *NetworkGraph)

type FfiDestroyerNode

type FfiDestroyerNode struct{}

func (FfiDestroyerNode) Destroy

func (_ FfiDestroyerNode) Destroy(value *Node)

type FfiDestroyerNodeAnnouncementInfo

type FfiDestroyerNodeAnnouncementInfo struct{}

func (FfiDestroyerNodeAnnouncementInfo) Destroy

type FfiDestroyerNodeError

type FfiDestroyerNodeError struct{}

func (FfiDestroyerNodeError) Destroy

func (_ FfiDestroyerNodeError) Destroy(value *NodeError)

type FfiDestroyerNodeInfo

type FfiDestroyerNodeInfo struct{}

func (FfiDestroyerNodeInfo) Destroy

func (_ FfiDestroyerNodeInfo) Destroy(value NodeInfo)

type FfiDestroyerNodeStatus

type FfiDestroyerNodeStatus struct{}

func (FfiDestroyerNodeStatus) Destroy

func (_ FfiDestroyerNodeStatus) Destroy(value NodeStatus)

type FfiDestroyerOffer

type FfiDestroyerOffer struct{}

func (FfiDestroyerOffer) Destroy

func (_ FfiDestroyerOffer) Destroy(value *Offer)

type FfiDestroyerOfferAmount

type FfiDestroyerOfferAmount struct{}

func (FfiDestroyerOfferAmount) Destroy

func (_ FfiDestroyerOfferAmount) Destroy(value OfferAmount)

type FfiDestroyerOnchainPayment

type FfiDestroyerOnchainPayment struct{}

func (FfiDestroyerOnchainPayment) Destroy

func (_ FfiDestroyerOnchainPayment) Destroy(value *OnchainPayment)

type FfiDestroyerOptionalAnchorChannelsConfig

type FfiDestroyerOptionalAnchorChannelsConfig struct{}

func (FfiDestroyerOptionalAnchorChannelsConfig) Destroy

type FfiDestroyerOptionalAsyncPaymentsRole

type FfiDestroyerOptionalAsyncPaymentsRole struct{}

func (FfiDestroyerOptionalAsyncPaymentsRole) Destroy

type FfiDestroyerOptionalBackgroundSyncConfig

type FfiDestroyerOptionalBackgroundSyncConfig struct{}

func (FfiDestroyerOptionalBackgroundSyncConfig) Destroy

type FfiDestroyerOptionalBool

type FfiDestroyerOptionalBool struct{}

func (FfiDestroyerOptionalBool) Destroy

func (_ FfiDestroyerOptionalBool) Destroy(value *bool)

type FfiDestroyerOptionalChannelConfig

type FfiDestroyerOptionalChannelConfig struct{}

func (FfiDestroyerOptionalChannelConfig) Destroy

type FfiDestroyerOptionalChannelInfo

type FfiDestroyerOptionalChannelInfo struct{}

func (FfiDestroyerOptionalChannelInfo) Destroy

func (_ FfiDestroyerOptionalChannelInfo) Destroy(value *ChannelInfo)

type FfiDestroyerOptionalChannelUpdateInfo

type FfiDestroyerOptionalChannelUpdateInfo struct{}

func (FfiDestroyerOptionalChannelUpdateInfo) Destroy

type FfiDestroyerOptionalClosureReason

type FfiDestroyerOptionalClosureReason struct{}

func (FfiDestroyerOptionalClosureReason) Destroy

type FfiDestroyerOptionalElectrumSyncConfig

type FfiDestroyerOptionalElectrumSyncConfig struct{}

func (FfiDestroyerOptionalElectrumSyncConfig) Destroy

type FfiDestroyerOptionalEsploraSyncConfig

type FfiDestroyerOptionalEsploraSyncConfig struct{}

func (FfiDestroyerOptionalEsploraSyncConfig) Destroy

type FfiDestroyerOptionalEvent

type FfiDestroyerOptionalEvent struct{}

func (FfiDestroyerOptionalEvent) Destroy

func (_ FfiDestroyerOptionalEvent) Destroy(value *Event)

type FfiDestroyerOptionalFeeRate

type FfiDestroyerOptionalFeeRate struct{}

func (FfiDestroyerOptionalFeeRate) Destroy

func (_ FfiDestroyerOptionalFeeRate) Destroy(value **FeeRate)

type FfiDestroyerOptionalLogLevel

type FfiDestroyerOptionalLogLevel struct{}

func (FfiDestroyerOptionalLogLevel) Destroy

func (_ FfiDestroyerOptionalLogLevel) Destroy(value *LogLevel)

type FfiDestroyerOptionalLsps1Bolt11PaymentInfo

type FfiDestroyerOptionalLsps1Bolt11PaymentInfo struct{}

func (FfiDestroyerOptionalLsps1Bolt11PaymentInfo) Destroy

type FfiDestroyerOptionalLsps1ChannelInfo

type FfiDestroyerOptionalLsps1ChannelInfo struct{}

func (FfiDestroyerOptionalLsps1ChannelInfo) Destroy

type FfiDestroyerOptionalLsps1OnchainPaymentInfo

type FfiDestroyerOptionalLsps1OnchainPaymentInfo struct{}

func (FfiDestroyerOptionalLsps1OnchainPaymentInfo) Destroy

type FfiDestroyerOptionalNetwork

type FfiDestroyerOptionalNetwork struct{}

func (FfiDestroyerOptionalNetwork) Destroy

func (_ FfiDestroyerOptionalNetwork) Destroy(value *Network)

type FfiDestroyerOptionalNodeAnnouncementInfo

type FfiDestroyerOptionalNodeAnnouncementInfo struct{}

func (FfiDestroyerOptionalNodeAnnouncementInfo) Destroy

type FfiDestroyerOptionalNodeInfo

type FfiDestroyerOptionalNodeInfo struct{}

func (FfiDestroyerOptionalNodeInfo) Destroy

func (_ FfiDestroyerOptionalNodeInfo) Destroy(value *NodeInfo)

type FfiDestroyerOptionalOfferAmount

type FfiDestroyerOptionalOfferAmount struct{}

func (FfiDestroyerOptionalOfferAmount) Destroy

func (_ FfiDestroyerOptionalOfferAmount) Destroy(value *OfferAmount)

type FfiDestroyerOptionalOutPoint

type FfiDestroyerOptionalOutPoint struct{}

func (FfiDestroyerOptionalOutPoint) Destroy

func (_ FfiDestroyerOptionalOutPoint) Destroy(value *OutPoint)

type FfiDestroyerOptionalPaymentDetails

type FfiDestroyerOptionalPaymentDetails struct{}

func (FfiDestroyerOptionalPaymentDetails) Destroy

type FfiDestroyerOptionalPaymentFailureReason

type FfiDestroyerOptionalPaymentFailureReason struct{}

func (FfiDestroyerOptionalPaymentFailureReason) Destroy

type FfiDestroyerOptionalRouteParametersConfig

type FfiDestroyerOptionalRouteParametersConfig struct{}

func (FfiDestroyerOptionalRouteParametersConfig) Destroy

type FfiDestroyerOptionalSequenceSequenceUint8

type FfiDestroyerOptionalSequenceSequenceUint8 struct{}

func (FfiDestroyerOptionalSequenceSequenceUint8) Destroy

func (_ FfiDestroyerOptionalSequenceSequenceUint8) Destroy(value *[][]uint8)

type FfiDestroyerOptionalSequenceTypeSocketAddress

type FfiDestroyerOptionalSequenceTypeSocketAddress struct{}

func (FfiDestroyerOptionalSequenceTypeSocketAddress) Destroy

type FfiDestroyerOptionalSequenceUint8

type FfiDestroyerOptionalSequenceUint8 struct{}

func (FfiDestroyerOptionalSequenceUint8) Destroy

func (_ FfiDestroyerOptionalSequenceUint8) Destroy(value *[]uint8)

type FfiDestroyerOptionalString

type FfiDestroyerOptionalString struct{}

func (FfiDestroyerOptionalString) Destroy

func (_ FfiDestroyerOptionalString) Destroy(value *string)

type FfiDestroyerOptionalTypeAddress

type FfiDestroyerOptionalTypeAddress struct{}

func (FfiDestroyerOptionalTypeAddress) Destroy

func (_ FfiDestroyerOptionalTypeAddress) Destroy(value *Address)

type FfiDestroyerOptionalTypeChannelId

type FfiDestroyerOptionalTypeChannelId struct{}

func (FfiDestroyerOptionalTypeChannelId) Destroy

func (_ FfiDestroyerOptionalTypeChannelId) Destroy(value *ChannelId)

type FfiDestroyerOptionalTypeNodeAlias

type FfiDestroyerOptionalTypeNodeAlias struct{}

func (FfiDestroyerOptionalTypeNodeAlias) Destroy

func (_ FfiDestroyerOptionalTypeNodeAlias) Destroy(value *NodeAlias)

type FfiDestroyerOptionalTypePaymentHash

type FfiDestroyerOptionalTypePaymentHash struct{}

func (FfiDestroyerOptionalTypePaymentHash) Destroy

type FfiDestroyerOptionalTypePaymentId

type FfiDestroyerOptionalTypePaymentId struct{}

func (FfiDestroyerOptionalTypePaymentId) Destroy

func (_ FfiDestroyerOptionalTypePaymentId) Destroy(value *PaymentId)

type FfiDestroyerOptionalTypePaymentPreimage

type FfiDestroyerOptionalTypePaymentPreimage struct{}

func (FfiDestroyerOptionalTypePaymentPreimage) Destroy

type FfiDestroyerOptionalTypePaymentSecret

type FfiDestroyerOptionalTypePaymentSecret struct{}

func (FfiDestroyerOptionalTypePaymentSecret) Destroy

type FfiDestroyerOptionalTypePublicKey

type FfiDestroyerOptionalTypePublicKey struct{}

func (FfiDestroyerOptionalTypePublicKey) Destroy

func (_ FfiDestroyerOptionalTypePublicKey) Destroy(value *PublicKey)

type FfiDestroyerOptionalTypeTxid

type FfiDestroyerOptionalTypeTxid struct{}

func (FfiDestroyerOptionalTypeTxid) Destroy

func (_ FfiDestroyerOptionalTypeTxid) Destroy(value *Txid)

type FfiDestroyerOptionalTypeUntrustedString

type FfiDestroyerOptionalTypeUntrustedString struct{}

func (FfiDestroyerOptionalTypeUntrustedString) Destroy

type FfiDestroyerOptionalTypeUserChannelId

type FfiDestroyerOptionalTypeUserChannelId struct{}

func (FfiDestroyerOptionalTypeUserChannelId) Destroy

type FfiDestroyerOptionalUint16

type FfiDestroyerOptionalUint16 struct{}

func (FfiDestroyerOptionalUint16) Destroy

func (_ FfiDestroyerOptionalUint16) Destroy(value *uint16)

type FfiDestroyerOptionalUint32

type FfiDestroyerOptionalUint32 struct{}

func (FfiDestroyerOptionalUint32) Destroy

func (_ FfiDestroyerOptionalUint32) Destroy(value *uint32)

type FfiDestroyerOptionalUint64

type FfiDestroyerOptionalUint64 struct{}

func (FfiDestroyerOptionalUint64) Destroy

func (_ FfiDestroyerOptionalUint64) Destroy(value *uint64)

type FfiDestroyerOptionalWordCount

type FfiDestroyerOptionalWordCount struct{}

func (FfiDestroyerOptionalWordCount) Destroy

func (_ FfiDestroyerOptionalWordCount) Destroy(value *WordCount)

type FfiDestroyerOutPoint

type FfiDestroyerOutPoint struct{}

func (FfiDestroyerOutPoint) Destroy

func (_ FfiDestroyerOutPoint) Destroy(value OutPoint)

type FfiDestroyerPaymentDetails

type FfiDestroyerPaymentDetails struct{}

func (FfiDestroyerPaymentDetails) Destroy

func (_ FfiDestroyerPaymentDetails) Destroy(value PaymentDetails)

type FfiDestroyerPaymentDirection

type FfiDestroyerPaymentDirection struct{}

func (FfiDestroyerPaymentDirection) Destroy

type FfiDestroyerPaymentFailureReason

type FfiDestroyerPaymentFailureReason struct{}

func (FfiDestroyerPaymentFailureReason) Destroy

type FfiDestroyerPaymentKind

type FfiDestroyerPaymentKind struct{}

func (FfiDestroyerPaymentKind) Destroy

func (_ FfiDestroyerPaymentKind) Destroy(value PaymentKind)

type FfiDestroyerPaymentStatus

type FfiDestroyerPaymentStatus struct{}

func (FfiDestroyerPaymentStatus) Destroy

func (_ FfiDestroyerPaymentStatus) Destroy(value PaymentStatus)

type FfiDestroyerPeerDetails

type FfiDestroyerPeerDetails struct{}

func (FfiDestroyerPeerDetails) Destroy

func (_ FfiDestroyerPeerDetails) Destroy(value PeerDetails)

type FfiDestroyerPendingSweepBalance

type FfiDestroyerPendingSweepBalance struct{}

func (FfiDestroyerPendingSweepBalance) Destroy

type FfiDestroyerQrPaymentResult

type FfiDestroyerQrPaymentResult struct{}

func (FfiDestroyerQrPaymentResult) Destroy

type FfiDestroyerRefund

type FfiDestroyerRefund struct{}

func (FfiDestroyerRefund) Destroy

func (_ FfiDestroyerRefund) Destroy(value *Refund)

type FfiDestroyerResetState

type FfiDestroyerResetState struct{}

func (FfiDestroyerResetState) Destroy

func (_ FfiDestroyerResetState) Destroy(value ResetState)

type FfiDestroyerRouteHintHop

type FfiDestroyerRouteHintHop struct{}

func (FfiDestroyerRouteHintHop) Destroy

func (_ FfiDestroyerRouteHintHop) Destroy(value RouteHintHop)

type FfiDestroyerRouteParametersConfig

type FfiDestroyerRouteParametersConfig struct{}

func (FfiDestroyerRouteParametersConfig) Destroy

type FfiDestroyerRoutingFees

type FfiDestroyerRoutingFees struct{}

func (FfiDestroyerRoutingFees) Destroy

func (_ FfiDestroyerRoutingFees) Destroy(value RoutingFees)

type FfiDestroyerSequenceChannelDetails

type FfiDestroyerSequenceChannelDetails struct{}

func (FfiDestroyerSequenceChannelDetails) Destroy

type FfiDestroyerSequenceChannelMonitorSizeInfo

type FfiDestroyerSequenceChannelMonitorSizeInfo struct{}

func (FfiDestroyerSequenceChannelMonitorSizeInfo) Destroy

type FfiDestroyerSequenceCustomTlvRecord

type FfiDestroyerSequenceCustomTlvRecord struct{}

func (FfiDestroyerSequenceCustomTlvRecord) Destroy

type FfiDestroyerSequenceKeyValue

type FfiDestroyerSequenceKeyValue struct{}

func (FfiDestroyerSequenceKeyValue) Destroy

func (FfiDestroyerSequenceKeyValue) Destroy(sequence []KeyValue)

type FfiDestroyerSequenceLightningBalance

type FfiDestroyerSequenceLightningBalance struct{}

func (FfiDestroyerSequenceLightningBalance) Destroy

type FfiDestroyerSequenceNetwork

type FfiDestroyerSequenceNetwork struct{}

func (FfiDestroyerSequenceNetwork) Destroy

func (FfiDestroyerSequenceNetwork) Destroy(sequence []Network)

type FfiDestroyerSequencePaymentDetails

type FfiDestroyerSequencePaymentDetails struct{}

func (FfiDestroyerSequencePaymentDetails) Destroy

type FfiDestroyerSequencePeerDetails

type FfiDestroyerSequencePeerDetails struct{}

func (FfiDestroyerSequencePeerDetails) Destroy

func (FfiDestroyerSequencePeerDetails) Destroy(sequence []PeerDetails)

type FfiDestroyerSequencePendingSweepBalance

type FfiDestroyerSequencePendingSweepBalance struct{}

func (FfiDestroyerSequencePendingSweepBalance) Destroy

type FfiDestroyerSequenceRouteHintHop

type FfiDestroyerSequenceRouteHintHop struct{}

func (FfiDestroyerSequenceRouteHintHop) Destroy

func (FfiDestroyerSequenceRouteHintHop) Destroy(sequence []RouteHintHop)

type FfiDestroyerSequenceSequenceRouteHintHop

type FfiDestroyerSequenceSequenceRouteHintHop struct{}

func (FfiDestroyerSequenceSequenceRouteHintHop) Destroy

type FfiDestroyerSequenceSequenceUint8

type FfiDestroyerSequenceSequenceUint8 struct{}

func (FfiDestroyerSequenceSequenceUint8) Destroy

func (FfiDestroyerSequenceSequenceUint8) Destroy(sequence [][]uint8)

type FfiDestroyerSequenceTlvEntry

type FfiDestroyerSequenceTlvEntry struct{}

func (FfiDestroyerSequenceTlvEntry) Destroy

func (FfiDestroyerSequenceTlvEntry) Destroy(sequence []TlvEntry)

type FfiDestroyerSequenceTypeAddress

type FfiDestroyerSequenceTypeAddress struct{}

func (FfiDestroyerSequenceTypeAddress) Destroy

func (FfiDestroyerSequenceTypeAddress) Destroy(sequence []Address)

type FfiDestroyerSequenceTypeNodeId

type FfiDestroyerSequenceTypeNodeId struct{}

func (FfiDestroyerSequenceTypeNodeId) Destroy

func (FfiDestroyerSequenceTypeNodeId) Destroy(sequence []NodeId)

type FfiDestroyerSequenceTypePublicKey

type FfiDestroyerSequenceTypePublicKey struct{}

func (FfiDestroyerSequenceTypePublicKey) Destroy

func (FfiDestroyerSequenceTypePublicKey) Destroy(sequence []PublicKey)

type FfiDestroyerSequenceTypeSocketAddress

type FfiDestroyerSequenceTypeSocketAddress struct{}

func (FfiDestroyerSequenceTypeSocketAddress) Destroy

type FfiDestroyerSequenceUint64

type FfiDestroyerSequenceUint64 struct{}

func (FfiDestroyerSequenceUint64) Destroy

func (FfiDestroyerSequenceUint64) Destroy(sequence []uint64)

type FfiDestroyerSequenceUint8

type FfiDestroyerSequenceUint8 struct{}

func (FfiDestroyerSequenceUint8) Destroy

func (FfiDestroyerSequenceUint8) Destroy(sequence []uint8)

type FfiDestroyerSpontaneousPayment

type FfiDestroyerSpontaneousPayment struct{}

func (FfiDestroyerSpontaneousPayment) Destroy

type FfiDestroyerString

type FfiDestroyerString struct{}

func (FfiDestroyerString) Destroy

func (FfiDestroyerString) Destroy(_ string)

type FfiDestroyerTlvEntry

type FfiDestroyerTlvEntry struct{}

func (FfiDestroyerTlvEntry) Destroy

func (_ FfiDestroyerTlvEntry) Destroy(value TlvEntry)

type FfiDestroyerTypeAddress

type FfiDestroyerTypeAddress = FfiDestroyerString

type FfiDestroyerTypeBlockHash

type FfiDestroyerTypeBlockHash = FfiDestroyerString

type FfiDestroyerTypeChannelId

type FfiDestroyerTypeChannelId = FfiDestroyerString

type FfiDestroyerTypeLSPS1OrderId

type FfiDestroyerTypeLSPS1OrderId = FfiDestroyerString

type FfiDestroyerTypeLSPSDateTime

type FfiDestroyerTypeLSPSDateTime = FfiDestroyerString

type FfiDestroyerTypeMnemonic

type FfiDestroyerTypeMnemonic = FfiDestroyerString

type FfiDestroyerTypeNodeAlias

type FfiDestroyerTypeNodeAlias = FfiDestroyerString

type FfiDestroyerTypeNodeId

type FfiDestroyerTypeNodeId = FfiDestroyerString

type FfiDestroyerTypeOfferId

type FfiDestroyerTypeOfferId = FfiDestroyerString

type FfiDestroyerTypePaymentHash

type FfiDestroyerTypePaymentHash = FfiDestroyerString

type FfiDestroyerTypePaymentId

type FfiDestroyerTypePaymentId = FfiDestroyerString

type FfiDestroyerTypePaymentPreimage

type FfiDestroyerTypePaymentPreimage = FfiDestroyerString

type FfiDestroyerTypePaymentSecret

type FfiDestroyerTypePaymentSecret = FfiDestroyerString

type FfiDestroyerTypePublicKey

type FfiDestroyerTypePublicKey = FfiDestroyerString

type FfiDestroyerTypeSocketAddress

type FfiDestroyerTypeSocketAddress = FfiDestroyerString

type FfiDestroyerTypeTxid

type FfiDestroyerTypeTxid = FfiDestroyerString

type FfiDestroyerTypeUntrustedString

type FfiDestroyerTypeUntrustedString = FfiDestroyerString

type FfiDestroyerTypeUserChannelId

type FfiDestroyerTypeUserChannelId = FfiDestroyerString

type FfiDestroyerUint16

type FfiDestroyerUint16 struct{}

func (FfiDestroyerUint16) Destroy

func (FfiDestroyerUint16) Destroy(_ uint16)

type FfiDestroyerUint32

type FfiDestroyerUint32 struct{}

func (FfiDestroyerUint32) Destroy

func (FfiDestroyerUint32) Destroy(_ uint32)

type FfiDestroyerUint64

type FfiDestroyerUint64 struct{}

func (FfiDestroyerUint64) Destroy

func (FfiDestroyerUint64) Destroy(_ uint64)

type FfiDestroyerUint8

type FfiDestroyerUint8 struct{}

func (FfiDestroyerUint8) Destroy

func (FfiDestroyerUint8) Destroy(_ uint8)

type FfiDestroyerUnifiedQrPayment

type FfiDestroyerUnifiedQrPayment struct{}

func (FfiDestroyerUnifiedQrPayment) Destroy

type FfiDestroyerVssHeaderProviderError

type FfiDestroyerVssHeaderProviderError struct{}

func (FfiDestroyerVssHeaderProviderError) Destroy

type FfiDestroyerWordCount

type FfiDestroyerWordCount struct{}

func (FfiDestroyerWordCount) Destroy

func (_ FfiDestroyerWordCount) Destroy(value WordCount)

type FfiObject

type FfiObject struct {
	// contains filtered or unexported fields
}

type GoRustBuffer

type GoRustBuffer struct {
	// contains filtered or unexported fields
}

This is needed, because as of go 1.24 type RustBuffer C.RustBuffer cannot have methods, RustBuffer is treated as non-local type

func RustBufferFromExternal

func RustBufferFromExternal(b RustBufferI) GoRustBuffer

func (GoRustBuffer) AsReader

func (cb GoRustBuffer) AsReader() *bytes.Reader

func (GoRustBuffer) Capacity

func (cb GoRustBuffer) Capacity() uint64

func (GoRustBuffer) Data

func (cb GoRustBuffer) Data() unsafe.Pointer

func (GoRustBuffer) Free

func (cb GoRustBuffer) Free()

func (GoRustBuffer) Len

func (cb GoRustBuffer) Len() uint64

func (GoRustBuffer) ToGoBytes

func (cb GoRustBuffer) ToGoBytes() []byte

type KeyValue

type KeyValue struct {
	Key   string
	Value []uint8
}

func (*KeyValue) Destroy

func (r *KeyValue) Destroy()

type LSPS1OrderId

type LSPS1OrderId = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type LSPSDateTime

type LSPSDateTime = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type LightningBalance

type LightningBalance interface {
	Destroy()
}

type LightningBalanceClaimableAwaitingConfirmations

type LightningBalanceClaimableAwaitingConfirmations struct {
	ChannelId          ChannelId
	CounterpartyNodeId PublicKey
	FundingTxId        Txid
	FundingTxIndex     uint16
	AmountSatoshis     uint64
	ConfirmationHeight uint32
	Source             BalanceSource
}

func (LightningBalanceClaimableAwaitingConfirmations) Destroy

type LightningBalanceClaimableOnChannelClose

type LightningBalanceClaimableOnChannelClose struct {
	ChannelId                        ChannelId
	CounterpartyNodeId               PublicKey
	FundingTxId                      Txid
	FundingTxIndex                   uint16
	AmountSatoshis                   uint64
	TransactionFeeSatoshis           uint64
	OutboundPaymentHtlcRoundedMsat   uint64
	OutboundForwardedHtlcRoundedMsat uint64
	InboundClaimingHtlcRoundedMsat   uint64
	InboundHtlcRoundedMsat           uint64
}

func (LightningBalanceClaimableOnChannelClose) Destroy

type LightningBalanceContentiousClaimable

type LightningBalanceContentiousClaimable struct {
	ChannelId          ChannelId
	CounterpartyNodeId PublicKey
	FundingTxId        Txid
	FundingTxIndex     uint16
	AmountSatoshis     uint64
	TimeoutHeight      uint32
	PaymentHash        PaymentHash
	PaymentPreimage    PaymentPreimage
}

func (LightningBalanceContentiousClaimable) Destroy

type LightningBalanceCounterpartyRevokedOutputClaimable

type LightningBalanceCounterpartyRevokedOutputClaimable struct {
	ChannelId          ChannelId
	CounterpartyNodeId PublicKey
	FundingTxId        Txid
	FundingTxIndex     uint16
	AmountSatoshis     uint64
}

func (LightningBalanceCounterpartyRevokedOutputClaimable) Destroy

type LightningBalanceMaybePreimageClaimableHtlc

type LightningBalanceMaybePreimageClaimableHtlc struct {
	ChannelId          ChannelId
	CounterpartyNodeId PublicKey
	FundingTxId        Txid
	FundingTxIndex     uint16
	AmountSatoshis     uint64
	ExpiryHeight       uint32
	PaymentHash        PaymentHash
}

func (LightningBalanceMaybePreimageClaimableHtlc) Destroy

type LightningBalanceMaybeTimeoutClaimableHtlc

type LightningBalanceMaybeTimeoutClaimableHtlc struct {
	ChannelId          ChannelId
	CounterpartyNodeId PublicKey
	FundingTxId        Txid
	FundingTxIndex     uint16
	AmountSatoshis     uint64
	ClaimableHeight    uint32
	PaymentHash        PaymentHash
	OutboundPayment    bool
}

func (LightningBalanceMaybeTimeoutClaimableHtlc) Destroy

type LogLevel

type LogLevel uint
const (
	LogLevelGossip LogLevel = 1
	LogLevelTrace  LogLevel = 2
	LogLevelDebug  LogLevel = 3
	LogLevelInfo   LogLevel = 4
	LogLevelWarn   LogLevel = 5
	LogLevelError  LogLevel = 6
)

type LogRecord

type LogRecord struct {
	Level      LogLevel
	Args       string
	ModulePath string
	Line       uint32
}

func (*LogRecord) Destroy

func (r *LogRecord) Destroy()

type LogWriter

type LogWriter interface {
	Log(record LogRecord)
}

type LogWriterImpl

type LogWriterImpl struct {
	// contains filtered or unexported fields
}

func (*LogWriterImpl) Destroy

func (object *LogWriterImpl) Destroy()

func (*LogWriterImpl) Log

func (_self *LogWriterImpl) Log(record LogRecord)

type LspFeeLimits

type LspFeeLimits struct {
	MaxTotalOpeningFeeMsat           *uint64
	MaxProportionalOpeningFeePpmMsat *uint64
}

func (*LspFeeLimits) Destroy

func (r *LspFeeLimits) Destroy()

type Lsps1Bolt11PaymentInfo

type Lsps1Bolt11PaymentInfo struct {
	State         Lsps1PaymentState
	ExpiresAt     LSPSDateTime
	FeeTotalSat   uint64
	OrderTotalSat uint64
	Invoice       *Bolt11Invoice
}

func (*Lsps1Bolt11PaymentInfo) Destroy

func (r *Lsps1Bolt11PaymentInfo) Destroy()

type Lsps1ChannelInfo

type Lsps1ChannelInfo struct {
	FundedAt        LSPSDateTime
	FundingOutpoint OutPoint
	ExpiresAt       LSPSDateTime
}

func (*Lsps1ChannelInfo) Destroy

func (r *Lsps1ChannelInfo) Destroy()

type Lsps1Liquidity

type Lsps1Liquidity struct {
	// contains filtered or unexported fields
}

func (*Lsps1Liquidity) CheckOrderStatus

func (_self *Lsps1Liquidity) CheckOrderStatus(orderId LSPS1OrderId) (Lsps1OrderStatus, error)

func (*Lsps1Liquidity) Destroy

func (object *Lsps1Liquidity) Destroy()

func (*Lsps1Liquidity) RequestChannel

func (_self *Lsps1Liquidity) RequestChannel(lspBalanceSat uint64, clientBalanceSat uint64, channelExpiryBlocks uint32, announceChannel bool) (Lsps1OrderStatus, error)

type Lsps1LiquidityInterface

type Lsps1LiquidityInterface interface {
	CheckOrderStatus(orderId LSPS1OrderId) (Lsps1OrderStatus, error)
	RequestChannel(lspBalanceSat uint64, clientBalanceSat uint64, channelExpiryBlocks uint32, announceChannel bool) (Lsps1OrderStatus, error)
}

type Lsps1OnchainPaymentInfo

type Lsps1OnchainPaymentInfo struct {
	State                          Lsps1PaymentState
	ExpiresAt                      LSPSDateTime
	FeeTotalSat                    uint64
	OrderTotalSat                  uint64
	Address                        Address
	MinOnchainPaymentConfirmations *uint16
	MinFeeFor0conf                 *FeeRate
	RefundOnchainAddress           *Address
}

func (*Lsps1OnchainPaymentInfo) Destroy

func (r *Lsps1OnchainPaymentInfo) Destroy()

type Lsps1OrderParams

type Lsps1OrderParams struct {
	LspBalanceSat                uint64
	ClientBalanceSat             uint64
	RequiredChannelConfirmations uint16
	FundingConfirmsWithinBlocks  uint16
	ChannelExpiryBlocks          uint32
	Token                        *string
	AnnounceChannel              bool
}

func (*Lsps1OrderParams) Destroy

func (r *Lsps1OrderParams) Destroy()

type Lsps1OrderStatus

type Lsps1OrderStatus struct {
	OrderId        LSPS1OrderId
	OrderParams    Lsps1OrderParams
	PaymentOptions Lsps1PaymentInfo
	ChannelState   *Lsps1ChannelInfo
}

func (*Lsps1OrderStatus) Destroy

func (r *Lsps1OrderStatus) Destroy()

type Lsps1PaymentInfo

type Lsps1PaymentInfo struct {
	Bolt11  *Lsps1Bolt11PaymentInfo
	Onchain *Lsps1OnchainPaymentInfo
}

func (*Lsps1PaymentInfo) Destroy

func (r *Lsps1PaymentInfo) Destroy()

type Lsps1PaymentState

type Lsps1PaymentState uint
const (
	Lsps1PaymentStateExpectPayment Lsps1PaymentState = 1
	Lsps1PaymentStatePaid          Lsps1PaymentState = 2
	Lsps1PaymentStateRefunded      Lsps1PaymentState = 3
)

type Lsps2ServiceConfig

type Lsps2ServiceConfig struct {
	RequireToken               *string
	AdvertiseService           bool
	ChannelOpeningFeePpm       uint32
	ChannelOverProvisioningPpm uint32
	MinChannelOpeningFeeMsat   uint64
	MinChannelLifetime         uint32
	MaxClientToSelfDelay       uint32
	MinPaymentSizeMsat         uint64
	MaxPaymentSizeMsat         uint64
	ClientTrustsLsp            bool
}

func (*Lsps2ServiceConfig) Destroy

func (r *Lsps2ServiceConfig) Destroy()

type MaxDustHtlcExposure

type MaxDustHtlcExposure interface {
	Destroy()
}

type MaxDustHtlcExposureFeeRateMultiplier

type MaxDustHtlcExposureFeeRateMultiplier struct {
	Multiplier uint64
}

func (MaxDustHtlcExposureFeeRateMultiplier) Destroy

type MaxDustHtlcExposureFixedLimit

type MaxDustHtlcExposureFixedLimit struct {
	LimitMsat uint64
}

func (MaxDustHtlcExposureFixedLimit) Destroy

func (e MaxDustHtlcExposureFixedLimit) Destroy()

type MigrateStorage

type MigrateStorage uint
const (
	MigrateStorageVss MigrateStorage = 1
)

type Mnemonic

type Mnemonic = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

func GenerateEntropyMnemonic

func GenerateEntropyMnemonic(wordCount *WordCount) Mnemonic

type NativeError

type NativeError interface {
	AsError() error
}

type Network

type Network uint
const (
	NetworkBitcoin Network = 1
	NetworkTestnet Network = 2
	NetworkSignet  Network = 3
	NetworkRegtest Network = 4
)

type NetworkGraph

type NetworkGraph struct {
	// contains filtered or unexported fields
}

func (*NetworkGraph) Channel

func (_self *NetworkGraph) Channel(shortChannelId uint64) *ChannelInfo

func (*NetworkGraph) Destroy

func (object *NetworkGraph) Destroy()

func (*NetworkGraph) ListChannels

func (_self *NetworkGraph) ListChannels() []uint64

func (*NetworkGraph) ListNodes

func (_self *NetworkGraph) ListNodes() []NodeId

func (*NetworkGraph) Node

func (_self *NetworkGraph) Node(nodeId NodeId) *NodeInfo

type NetworkGraphInterface

type NetworkGraphInterface interface {
	Channel(shortChannelId uint64) *ChannelInfo
	ListChannels() []uint64
	ListNodes() []NodeId
	Node(nodeId NodeId) *NodeInfo
}

type Node

type Node struct {
	// contains filtered or unexported fields
}

func (*Node) AnnouncementAddresses

func (_self *Node) AnnouncementAddresses() *[]SocketAddress

func (*Node) Bolt11Payment

func (_self *Node) Bolt11Payment() *Bolt11Payment

func (*Node) Bolt12Payment

func (_self *Node) Bolt12Payment() *Bolt12Payment

func (*Node) CloseChannel

func (_self *Node) CloseChannel(userChannelId UserChannelId, counterpartyNodeId PublicKey) error

func (*Node) Config

func (_self *Node) Config() Config

func (*Node) Connect

func (_self *Node) Connect(nodeId PublicKey, address SocketAddress, persist bool) error

func (*Node) Destroy

func (object *Node) Destroy()

func (*Node) Disconnect

func (_self *Node) Disconnect(nodeId PublicKey) error

func (*Node) EventHandled

func (_self *Node) EventHandled() error

func (*Node) ExportPathfindingScores

func (_self *Node) ExportPathfindingScores() ([]byte, error)

func (*Node) ForceCloseChannel

func (_self *Node) ForceCloseChannel(userChannelId UserChannelId, counterpartyNodeId PublicKey, reason *string) error

func (*Node) GetEncodedChannelMonitors

func (_self *Node) GetEncodedChannelMonitors() ([]KeyValue, error)

func (*Node) ListBalances

func (_self *Node) ListBalances() BalanceDetails

func (*Node) ListChannelMonitorSizes

func (_self *Node) ListChannelMonitorSizes() []ChannelMonitorSizeInfo

func (*Node) ListChannels

func (_self *Node) ListChannels() []ChannelDetails

func (*Node) ListPayments

func (_self *Node) ListPayments() []PaymentDetails

func (*Node) ListPeers

func (_self *Node) ListPeers() []PeerDetails

func (*Node) ListeningAddresses

func (_self *Node) ListeningAddresses() *[]SocketAddress

func (*Node) Lsps1Liquidity

func (_self *Node) Lsps1Liquidity() *Lsps1Liquidity

func (*Node) NetworkGraph

func (_self *Node) NetworkGraph() *NetworkGraph

func (*Node) NextEvent

func (_self *Node) NextEvent() *Event

func (*Node) NodeAlias

func (_self *Node) NodeAlias() *NodeAlias

func (*Node) NodeId

func (_self *Node) NodeId() PublicKey

func (*Node) OnchainPayment

func (_self *Node) OnchainPayment() *OnchainPayment

func (*Node) OpenAnnouncedChannel

func (_self *Node) OpenAnnouncedChannel(nodeId PublicKey, address SocketAddress, channelAmountSats uint64, pushToCounterpartyMsat *uint64, channelConfig *ChannelConfig) (UserChannelId, error)

func (*Node) OpenChannel

func (_self *Node) OpenChannel(nodeId PublicKey, address SocketAddress, channelAmountSats uint64, pushToCounterpartyMsat *uint64, channelConfig *ChannelConfig) (UserChannelId, error)

func (*Node) Payment

func (_self *Node) Payment(paymentId PaymentId) *PaymentDetails

func (*Node) RemovePayment

func (_self *Node) RemovePayment(paymentId PaymentId) error

func (*Node) SignMessage

func (_self *Node) SignMessage(msg []uint8) string

func (*Node) SpliceIn

func (_self *Node) SpliceIn(userChannelId UserChannelId, counterpartyNodeId PublicKey, spliceAmountSats uint64) error

func (*Node) SpliceOut

func (_self *Node) SpliceOut(userChannelId UserChannelId, counterpartyNodeId PublicKey, address Address, spliceAmountSats uint64) error

func (*Node) SpontaneousPayment

func (_self *Node) SpontaneousPayment() *SpontaneousPayment

func (*Node) Start

func (_self *Node) Start() error

func (*Node) Status

func (_self *Node) Status() NodeStatus

func (*Node) Stop

func (_self *Node) Stop() error

func (*Node) SyncWallets

func (_self *Node) SyncWallets() error

func (*Node) UnifiedQrPayment

func (_self *Node) UnifiedQrPayment() *UnifiedQrPayment

func (*Node) UpdateChannelConfig

func (_self *Node) UpdateChannelConfig(userChannelId UserChannelId, counterpartyNodeId PublicKey, channelConfig ChannelConfig) error

func (*Node) UpdateFeeEstimates

func (_self *Node) UpdateFeeEstimates() error

func (*Node) VerifySignature

func (_self *Node) VerifySignature(msg []uint8, sig string, pkey PublicKey) bool

func (*Node) WaitNextEvent

func (_self *Node) WaitNextEvent() Event

type NodeAlias

type NodeAlias = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type NodeAnnouncementInfo

type NodeAnnouncementInfo struct {
	LastUpdate uint32
	Alias      string
	Addresses  []SocketAddress
}

func (*NodeAnnouncementInfo) Destroy

func (r *NodeAnnouncementInfo) Destroy()

type NodeError

type NodeError struct {
	// contains filtered or unexported fields
}

func NewNodeErrorAlreadyRunning

func NewNodeErrorAlreadyRunning() *NodeError

func NewNodeErrorAsyncPaymentServicesDisabled

func NewNodeErrorAsyncPaymentServicesDisabled() *NodeError

func NewNodeErrorChannelClosingFailed

func NewNodeErrorChannelClosingFailed() *NodeError

func NewNodeErrorChannelConfigUpdateFailed

func NewNodeErrorChannelConfigUpdateFailed() *NodeError

func NewNodeErrorChannelCreationFailed

func NewNodeErrorChannelCreationFailed() *NodeError

func NewNodeErrorChannelSplicingFailed

func NewNodeErrorChannelSplicingFailed() *NodeError

func NewNodeErrorConnectionFailed

func NewNodeErrorConnectionFailed() *NodeError

func NewNodeErrorDuplicatePayment

func NewNodeErrorDuplicatePayment() *NodeError

func NewNodeErrorFeerateEstimationUpdateFailed

func NewNodeErrorFeerateEstimationUpdateFailed() *NodeError

func NewNodeErrorFeerateEstimationUpdateTimeout

func NewNodeErrorFeerateEstimationUpdateTimeout() *NodeError

func NewNodeErrorGossipUpdateFailed

func NewNodeErrorGossipUpdateFailed() *NodeError

func NewNodeErrorGossipUpdateTimeout

func NewNodeErrorGossipUpdateTimeout() *NodeError

func NewNodeErrorInsufficientFunds

func NewNodeErrorInsufficientFunds() *NodeError

func NewNodeErrorInvalidAddress

func NewNodeErrorInvalidAddress() *NodeError

func NewNodeErrorInvalidAmount

func NewNodeErrorInvalidAmount() *NodeError

func NewNodeErrorInvalidBlindedPaths

func NewNodeErrorInvalidBlindedPaths() *NodeError

func NewNodeErrorInvalidChannelId

func NewNodeErrorInvalidChannelId() *NodeError

func NewNodeErrorInvalidCustomTlv

func NewNodeErrorInvalidCustomTlv() *NodeError

func NewNodeErrorInvalidCustomTlvs

func NewNodeErrorInvalidCustomTlvs() *NodeError

func NewNodeErrorInvalidDateTime

func NewNodeErrorInvalidDateTime() *NodeError

func NewNodeErrorInvalidFeeRate

func NewNodeErrorInvalidFeeRate() *NodeError

func NewNodeErrorInvalidInvoice

func NewNodeErrorInvalidInvoice() *NodeError

func NewNodeErrorInvalidNetwork

func NewNodeErrorInvalidNetwork() *NodeError

func NewNodeErrorInvalidNodeAlias

func NewNodeErrorInvalidNodeAlias() *NodeError

func NewNodeErrorInvalidNodeId

func NewNodeErrorInvalidNodeId() *NodeError

func NewNodeErrorInvalidOffer

func NewNodeErrorInvalidOffer() *NodeError

func NewNodeErrorInvalidOfferId

func NewNodeErrorInvalidOfferId() *NodeError

func NewNodeErrorInvalidPaymentHash

func NewNodeErrorInvalidPaymentHash() *NodeError

func NewNodeErrorInvalidPaymentId

func NewNodeErrorInvalidPaymentId() *NodeError

func NewNodeErrorInvalidPaymentPreimage

func NewNodeErrorInvalidPaymentPreimage() *NodeError

func NewNodeErrorInvalidPaymentSecret

func NewNodeErrorInvalidPaymentSecret() *NodeError

func NewNodeErrorInvalidPublicKey

func NewNodeErrorInvalidPublicKey() *NodeError

func NewNodeErrorInvalidQuantity

func NewNodeErrorInvalidQuantity() *NodeError

func NewNodeErrorInvalidRefund

func NewNodeErrorInvalidRefund() *NodeError

func NewNodeErrorInvalidSecretKey

func NewNodeErrorInvalidSecretKey() *NodeError

func NewNodeErrorInvalidSocketAddress

func NewNodeErrorInvalidSocketAddress() *NodeError

func NewNodeErrorInvalidUri

func NewNodeErrorInvalidUri() *NodeError

func NewNodeErrorInvoiceCreationFailed

func NewNodeErrorInvoiceCreationFailed() *NodeError

func NewNodeErrorInvoiceRequestCreationFailed

func NewNodeErrorInvoiceRequestCreationFailed() *NodeError

func NewNodeErrorLiquidityFeeTooHigh

func NewNodeErrorLiquidityFeeTooHigh() *NodeError

func NewNodeErrorLiquidityRequestFailed

func NewNodeErrorLiquidityRequestFailed() *NodeError

func NewNodeErrorLiquiditySourceUnavailable

func NewNodeErrorLiquiditySourceUnavailable() *NodeError

func NewNodeErrorNotRunning

func NewNodeErrorNotRunning() *NodeError

func NewNodeErrorOfferCreationFailed

func NewNodeErrorOfferCreationFailed() *NodeError

func NewNodeErrorOnchainTxCreationFailed

func NewNodeErrorOnchainTxCreationFailed() *NodeError

func NewNodeErrorOnchainTxSigningFailed

func NewNodeErrorOnchainTxSigningFailed() *NodeError

func NewNodeErrorPaymentSendingFailed

func NewNodeErrorPaymentSendingFailed() *NodeError

func NewNodeErrorPersistenceFailed

func NewNodeErrorPersistenceFailed() *NodeError

func NewNodeErrorProbeSendingFailed

func NewNodeErrorProbeSendingFailed() *NodeError

func NewNodeErrorRefundCreationFailed

func NewNodeErrorRefundCreationFailed() *NodeError

func NewNodeErrorTxSyncFailed

func NewNodeErrorTxSyncFailed() *NodeError

func NewNodeErrorTxSyncTimeout

func NewNodeErrorTxSyncTimeout() *NodeError

func NewNodeErrorUnsupportedCurrency

func NewNodeErrorUnsupportedCurrency() *NodeError

func NewNodeErrorUriParameterParsingFailed

func NewNodeErrorUriParameterParsingFailed() *NodeError

func NewNodeErrorWalletOperationFailed

func NewNodeErrorWalletOperationFailed() *NodeError

func NewNodeErrorWalletOperationTimeout

func NewNodeErrorWalletOperationTimeout() *NodeError

func (*NodeError) AsError

func (err *NodeError) AsError() error

Convience method to turn *NodeError into error Avoiding treating nil pointer as non nil error interface

func (NodeError) Error

func (err NodeError) Error() string

func (NodeError) Unwrap

func (err NodeError) Unwrap() error

type NodeErrorAlreadyRunning

type NodeErrorAlreadyRunning struct {
	// contains filtered or unexported fields
}

Variant structs

func (NodeErrorAlreadyRunning) Error

func (err NodeErrorAlreadyRunning) Error() string

func (NodeErrorAlreadyRunning) Is

func (self NodeErrorAlreadyRunning) Is(target error) bool

type NodeErrorAsyncPaymentServicesDisabled

type NodeErrorAsyncPaymentServicesDisabled struct {
	// contains filtered or unexported fields
}

func (NodeErrorAsyncPaymentServicesDisabled) Error

func (NodeErrorAsyncPaymentServicesDisabled) Is

type NodeErrorChannelClosingFailed

type NodeErrorChannelClosingFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorChannelClosingFailed) Error

func (NodeErrorChannelClosingFailed) Is

func (self NodeErrorChannelClosingFailed) Is(target error) bool

type NodeErrorChannelConfigUpdateFailed

type NodeErrorChannelConfigUpdateFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorChannelConfigUpdateFailed) Error

func (NodeErrorChannelConfigUpdateFailed) Is

type NodeErrorChannelCreationFailed

type NodeErrorChannelCreationFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorChannelCreationFailed) Error

func (NodeErrorChannelCreationFailed) Is

func (self NodeErrorChannelCreationFailed) Is(target error) bool

type NodeErrorChannelSplicingFailed

type NodeErrorChannelSplicingFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorChannelSplicingFailed) Error

func (NodeErrorChannelSplicingFailed) Is

func (self NodeErrorChannelSplicingFailed) Is(target error) bool

type NodeErrorConnectionFailed

type NodeErrorConnectionFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorConnectionFailed) Error

func (err NodeErrorConnectionFailed) Error() string

func (NodeErrorConnectionFailed) Is

func (self NodeErrorConnectionFailed) Is(target error) bool

type NodeErrorDuplicatePayment

type NodeErrorDuplicatePayment struct {
	// contains filtered or unexported fields
}

func (NodeErrorDuplicatePayment) Error

func (err NodeErrorDuplicatePayment) Error() string

func (NodeErrorDuplicatePayment) Is

func (self NodeErrorDuplicatePayment) Is(target error) bool

type NodeErrorFeerateEstimationUpdateFailed

type NodeErrorFeerateEstimationUpdateFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorFeerateEstimationUpdateFailed) Error

func (NodeErrorFeerateEstimationUpdateFailed) Is

type NodeErrorFeerateEstimationUpdateTimeout

type NodeErrorFeerateEstimationUpdateTimeout struct {
	// contains filtered or unexported fields
}

func (NodeErrorFeerateEstimationUpdateTimeout) Error

func (NodeErrorFeerateEstimationUpdateTimeout) Is

type NodeErrorGossipUpdateFailed

type NodeErrorGossipUpdateFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorGossipUpdateFailed) Error

func (err NodeErrorGossipUpdateFailed) Error() string

func (NodeErrorGossipUpdateFailed) Is

func (self NodeErrorGossipUpdateFailed) Is(target error) bool

type NodeErrorGossipUpdateTimeout

type NodeErrorGossipUpdateTimeout struct {
	// contains filtered or unexported fields
}

func (NodeErrorGossipUpdateTimeout) Error

func (NodeErrorGossipUpdateTimeout) Is

func (self NodeErrorGossipUpdateTimeout) Is(target error) bool

type NodeErrorInsufficientFunds

type NodeErrorInsufficientFunds struct {
	// contains filtered or unexported fields
}

func (NodeErrorInsufficientFunds) Error

func (err NodeErrorInsufficientFunds) Error() string

func (NodeErrorInsufficientFunds) Is

func (self NodeErrorInsufficientFunds) Is(target error) bool

type NodeErrorInvalidAddress

type NodeErrorInvalidAddress struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidAddress) Error

func (err NodeErrorInvalidAddress) Error() string

func (NodeErrorInvalidAddress) Is

func (self NodeErrorInvalidAddress) Is(target error) bool

type NodeErrorInvalidAmount

type NodeErrorInvalidAmount struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidAmount) Error

func (err NodeErrorInvalidAmount) Error() string

func (NodeErrorInvalidAmount) Is

func (self NodeErrorInvalidAmount) Is(target error) bool

type NodeErrorInvalidBlindedPaths

type NodeErrorInvalidBlindedPaths struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidBlindedPaths) Error

func (NodeErrorInvalidBlindedPaths) Is

func (self NodeErrorInvalidBlindedPaths) Is(target error) bool

type NodeErrorInvalidChannelId

type NodeErrorInvalidChannelId struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidChannelId) Error

func (err NodeErrorInvalidChannelId) Error() string

func (NodeErrorInvalidChannelId) Is

func (self NodeErrorInvalidChannelId) Is(target error) bool

type NodeErrorInvalidCustomTlv

type NodeErrorInvalidCustomTlv struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidCustomTlv) Error

func (err NodeErrorInvalidCustomTlv) Error() string

func (NodeErrorInvalidCustomTlv) Is

func (self NodeErrorInvalidCustomTlv) Is(target error) bool

type NodeErrorInvalidCustomTlvs

type NodeErrorInvalidCustomTlvs struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidCustomTlvs) Error

func (err NodeErrorInvalidCustomTlvs) Error() string

func (NodeErrorInvalidCustomTlvs) Is

func (self NodeErrorInvalidCustomTlvs) Is(target error) bool

type NodeErrorInvalidDateTime

type NodeErrorInvalidDateTime struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidDateTime) Error

func (err NodeErrorInvalidDateTime) Error() string

func (NodeErrorInvalidDateTime) Is

func (self NodeErrorInvalidDateTime) Is(target error) bool

type NodeErrorInvalidFeeRate

type NodeErrorInvalidFeeRate struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidFeeRate) Error

func (err NodeErrorInvalidFeeRate) Error() string

func (NodeErrorInvalidFeeRate) Is

func (self NodeErrorInvalidFeeRate) Is(target error) bool

type NodeErrorInvalidInvoice

type NodeErrorInvalidInvoice struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidInvoice) Error

func (err NodeErrorInvalidInvoice) Error() string

func (NodeErrorInvalidInvoice) Is

func (self NodeErrorInvalidInvoice) Is(target error) bool

type NodeErrorInvalidNetwork

type NodeErrorInvalidNetwork struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidNetwork) Error

func (err NodeErrorInvalidNetwork) Error() string

func (NodeErrorInvalidNetwork) Is

func (self NodeErrorInvalidNetwork) Is(target error) bool

type NodeErrorInvalidNodeAlias

type NodeErrorInvalidNodeAlias struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidNodeAlias) Error

func (err NodeErrorInvalidNodeAlias) Error() string

func (NodeErrorInvalidNodeAlias) Is

func (self NodeErrorInvalidNodeAlias) Is(target error) bool

type NodeErrorInvalidNodeId

type NodeErrorInvalidNodeId struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidNodeId) Error

func (err NodeErrorInvalidNodeId) Error() string

func (NodeErrorInvalidNodeId) Is

func (self NodeErrorInvalidNodeId) Is(target error) bool

type NodeErrorInvalidOffer

type NodeErrorInvalidOffer struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidOffer) Error

func (err NodeErrorInvalidOffer) Error() string

func (NodeErrorInvalidOffer) Is

func (self NodeErrorInvalidOffer) Is(target error) bool

type NodeErrorInvalidOfferId

type NodeErrorInvalidOfferId struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidOfferId) Error

func (err NodeErrorInvalidOfferId) Error() string

func (NodeErrorInvalidOfferId) Is

func (self NodeErrorInvalidOfferId) Is(target error) bool

type NodeErrorInvalidPaymentHash

type NodeErrorInvalidPaymentHash struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidPaymentHash) Error

func (err NodeErrorInvalidPaymentHash) Error() string

func (NodeErrorInvalidPaymentHash) Is

func (self NodeErrorInvalidPaymentHash) Is(target error) bool

type NodeErrorInvalidPaymentId

type NodeErrorInvalidPaymentId struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidPaymentId) Error

func (err NodeErrorInvalidPaymentId) Error() string

func (NodeErrorInvalidPaymentId) Is

func (self NodeErrorInvalidPaymentId) Is(target error) bool

type NodeErrorInvalidPaymentPreimage

type NodeErrorInvalidPaymentPreimage struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidPaymentPreimage) Error

func (NodeErrorInvalidPaymentPreimage) Is

func (self NodeErrorInvalidPaymentPreimage) Is(target error) bool

type NodeErrorInvalidPaymentSecret

type NodeErrorInvalidPaymentSecret struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidPaymentSecret) Error

func (NodeErrorInvalidPaymentSecret) Is

func (self NodeErrorInvalidPaymentSecret) Is(target error) bool

type NodeErrorInvalidPublicKey

type NodeErrorInvalidPublicKey struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidPublicKey) Error

func (err NodeErrorInvalidPublicKey) Error() string

func (NodeErrorInvalidPublicKey) Is

func (self NodeErrorInvalidPublicKey) Is(target error) bool

type NodeErrorInvalidQuantity

type NodeErrorInvalidQuantity struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidQuantity) Error

func (err NodeErrorInvalidQuantity) Error() string

func (NodeErrorInvalidQuantity) Is

func (self NodeErrorInvalidQuantity) Is(target error) bool

type NodeErrorInvalidRefund

type NodeErrorInvalidRefund struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidRefund) Error

func (err NodeErrorInvalidRefund) Error() string

func (NodeErrorInvalidRefund) Is

func (self NodeErrorInvalidRefund) Is(target error) bool

type NodeErrorInvalidSecretKey

type NodeErrorInvalidSecretKey struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidSecretKey) Error

func (err NodeErrorInvalidSecretKey) Error() string

func (NodeErrorInvalidSecretKey) Is

func (self NodeErrorInvalidSecretKey) Is(target error) bool

type NodeErrorInvalidSocketAddress

type NodeErrorInvalidSocketAddress struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidSocketAddress) Error

func (NodeErrorInvalidSocketAddress) Is

func (self NodeErrorInvalidSocketAddress) Is(target error) bool

type NodeErrorInvalidUri

type NodeErrorInvalidUri struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvalidUri) Error

func (err NodeErrorInvalidUri) Error() string

func (NodeErrorInvalidUri) Is

func (self NodeErrorInvalidUri) Is(target error) bool

type NodeErrorInvoiceCreationFailed

type NodeErrorInvoiceCreationFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvoiceCreationFailed) Error

func (NodeErrorInvoiceCreationFailed) Is

func (self NodeErrorInvoiceCreationFailed) Is(target error) bool

type NodeErrorInvoiceRequestCreationFailed

type NodeErrorInvoiceRequestCreationFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorInvoiceRequestCreationFailed) Error

func (NodeErrorInvoiceRequestCreationFailed) Is

type NodeErrorLiquidityFeeTooHigh

type NodeErrorLiquidityFeeTooHigh struct {
	// contains filtered or unexported fields
}

func (NodeErrorLiquidityFeeTooHigh) Error

func (NodeErrorLiquidityFeeTooHigh) Is

func (self NodeErrorLiquidityFeeTooHigh) Is(target error) bool

type NodeErrorLiquidityRequestFailed

type NodeErrorLiquidityRequestFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorLiquidityRequestFailed) Error

func (NodeErrorLiquidityRequestFailed) Is

func (self NodeErrorLiquidityRequestFailed) Is(target error) bool

type NodeErrorLiquiditySourceUnavailable

type NodeErrorLiquiditySourceUnavailable struct {
	// contains filtered or unexported fields
}

func (NodeErrorLiquiditySourceUnavailable) Error

func (NodeErrorLiquiditySourceUnavailable) Is

type NodeErrorNotRunning

type NodeErrorNotRunning struct {
	// contains filtered or unexported fields
}

func (NodeErrorNotRunning) Error

func (err NodeErrorNotRunning) Error() string

func (NodeErrorNotRunning) Is

func (self NodeErrorNotRunning) Is(target error) bool

type NodeErrorOfferCreationFailed

type NodeErrorOfferCreationFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorOfferCreationFailed) Error

func (NodeErrorOfferCreationFailed) Is

func (self NodeErrorOfferCreationFailed) Is(target error) bool

type NodeErrorOnchainTxCreationFailed

type NodeErrorOnchainTxCreationFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorOnchainTxCreationFailed) Error

func (NodeErrorOnchainTxCreationFailed) Is

type NodeErrorOnchainTxSigningFailed

type NodeErrorOnchainTxSigningFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorOnchainTxSigningFailed) Error

func (NodeErrorOnchainTxSigningFailed) Is

func (self NodeErrorOnchainTxSigningFailed) Is(target error) bool

type NodeErrorPaymentSendingFailed

type NodeErrorPaymentSendingFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorPaymentSendingFailed) Error

func (NodeErrorPaymentSendingFailed) Is

func (self NodeErrorPaymentSendingFailed) Is(target error) bool

type NodeErrorPersistenceFailed

type NodeErrorPersistenceFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorPersistenceFailed) Error

func (err NodeErrorPersistenceFailed) Error() string

func (NodeErrorPersistenceFailed) Is

func (self NodeErrorPersistenceFailed) Is(target error) bool

type NodeErrorProbeSendingFailed

type NodeErrorProbeSendingFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorProbeSendingFailed) Error

func (err NodeErrorProbeSendingFailed) Error() string

func (NodeErrorProbeSendingFailed) Is

func (self NodeErrorProbeSendingFailed) Is(target error) bool

type NodeErrorRefundCreationFailed

type NodeErrorRefundCreationFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorRefundCreationFailed) Error

func (NodeErrorRefundCreationFailed) Is

func (self NodeErrorRefundCreationFailed) Is(target error) bool

type NodeErrorTxSyncFailed

type NodeErrorTxSyncFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorTxSyncFailed) Error

func (err NodeErrorTxSyncFailed) Error() string

func (NodeErrorTxSyncFailed) Is

func (self NodeErrorTxSyncFailed) Is(target error) bool

type NodeErrorTxSyncTimeout

type NodeErrorTxSyncTimeout struct {
	// contains filtered or unexported fields
}

func (NodeErrorTxSyncTimeout) Error

func (err NodeErrorTxSyncTimeout) Error() string

func (NodeErrorTxSyncTimeout) Is

func (self NodeErrorTxSyncTimeout) Is(target error) bool

type NodeErrorUnsupportedCurrency

type NodeErrorUnsupportedCurrency struct {
	// contains filtered or unexported fields
}

func (NodeErrorUnsupportedCurrency) Error

func (NodeErrorUnsupportedCurrency) Is

func (self NodeErrorUnsupportedCurrency) Is(target error) bool

type NodeErrorUriParameterParsingFailed

type NodeErrorUriParameterParsingFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorUriParameterParsingFailed) Error

func (NodeErrorUriParameterParsingFailed) Is

type NodeErrorWalletOperationFailed

type NodeErrorWalletOperationFailed struct {
	// contains filtered or unexported fields
}

func (NodeErrorWalletOperationFailed) Error

func (NodeErrorWalletOperationFailed) Is

func (self NodeErrorWalletOperationFailed) Is(target error) bool

type NodeErrorWalletOperationTimeout

type NodeErrorWalletOperationTimeout struct {
	// contains filtered or unexported fields
}

func (NodeErrorWalletOperationTimeout) Error

func (NodeErrorWalletOperationTimeout) Is

func (self NodeErrorWalletOperationTimeout) Is(target error) bool

type NodeId

type NodeId = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type NodeInfo

type NodeInfo struct {
	Channels         []uint64
	AnnouncementInfo *NodeAnnouncementInfo
}

func (*NodeInfo) Destroy

func (r *NodeInfo) Destroy()

type NodeInterface

type NodeInterface interface {
	AnnouncementAddresses() *[]SocketAddress
	Bolt11Payment() *Bolt11Payment
	Bolt12Payment() *Bolt12Payment
	CloseChannel(userChannelId UserChannelId, counterpartyNodeId PublicKey) error
	Config() Config
	Connect(nodeId PublicKey, address SocketAddress, persist bool) error
	Disconnect(nodeId PublicKey) error
	EventHandled() error
	ExportPathfindingScores() ([]byte, error)
	ForceCloseChannel(userChannelId UserChannelId, counterpartyNodeId PublicKey, reason *string) error
	GetEncodedChannelMonitors() ([]KeyValue, error)
	ListBalances() BalanceDetails
	ListChannelMonitorSizes() []ChannelMonitorSizeInfo
	ListChannels() []ChannelDetails
	ListPayments() []PaymentDetails
	ListPeers() []PeerDetails
	ListeningAddresses() *[]SocketAddress
	Lsps1Liquidity() *Lsps1Liquidity
	NetworkGraph() *NetworkGraph
	NextEvent() *Event
	NodeAlias() *NodeAlias
	NodeId() PublicKey
	OnchainPayment() *OnchainPayment
	OpenAnnouncedChannel(nodeId PublicKey, address SocketAddress, channelAmountSats uint64, pushToCounterpartyMsat *uint64, channelConfig *ChannelConfig) (UserChannelId, error)
	OpenChannel(nodeId PublicKey, address SocketAddress, channelAmountSats uint64, pushToCounterpartyMsat *uint64, channelConfig *ChannelConfig) (UserChannelId, error)
	Payment(paymentId PaymentId) *PaymentDetails
	RemovePayment(paymentId PaymentId) error
	SignMessage(msg []uint8) string
	SpliceIn(userChannelId UserChannelId, counterpartyNodeId PublicKey, spliceAmountSats uint64) error
	SpliceOut(userChannelId UserChannelId, counterpartyNodeId PublicKey, address Address, spliceAmountSats uint64) error
	SpontaneousPayment() *SpontaneousPayment
	Start() error
	Status() NodeStatus
	Stop() error
	SyncWallets() error
	UnifiedQrPayment() *UnifiedQrPayment
	UpdateChannelConfig(userChannelId UserChannelId, counterpartyNodeId PublicKey, channelConfig ChannelConfig) error
	UpdateFeeEstimates() error
	VerifySignature(msg []uint8, sig string, pkey PublicKey) bool
	WaitNextEvent() Event
}

type NodeStatus

type NodeStatus struct {
	IsRunning                                bool
	CurrentBestBlock                         BestBlock
	LatestLightningWalletSyncTimestamp       *uint64
	LatestOnchainWalletSyncTimestamp         *uint64
	LatestFeeRateCacheUpdateTimestamp        *uint64
	LatestRgsSnapshotTimestamp               *uint64
	LatestPathfindingScoresSyncTimestamp     *uint64
	LatestNodeAnnouncementBroadcastTimestamp *uint64
	LatestChannelMonitorArchivalHeight       *uint32
}

func (*NodeStatus) Destroy

func (r *NodeStatus) Destroy()

type Offer

type Offer struct {
	// contains filtered or unexported fields
}

func OfferFromStr

func OfferFromStr(offerStr string) (*Offer, error)

func (*Offer) AbsoluteExpirySeconds

func (_self *Offer) AbsoluteExpirySeconds() *uint64

func (*Offer) Amount

func (_self *Offer) Amount() *OfferAmount

func (*Offer) Chains

func (_self *Offer) Chains() []Network

func (*Offer) DebugString

func (_self *Offer) DebugString() string

func (*Offer) Destroy

func (object *Offer) Destroy()

func (*Offer) Eq

func (_self *Offer) Eq(other *Offer) bool

func (*Offer) ExpectsQuantity

func (_self *Offer) ExpectsQuantity() bool

func (*Offer) Id

func (_self *Offer) Id() OfferId

func (*Offer) IsExpired

func (_self *Offer) IsExpired() bool

func (*Offer) IsValidQuantity

func (_self *Offer) IsValidQuantity(quantity uint64) bool

func (*Offer) Issuer

func (_self *Offer) Issuer() *string

func (*Offer) IssuerSigningPubkey

func (_self *Offer) IssuerSigningPubkey() *PublicKey

func (*Offer) Metadata

func (_self *Offer) Metadata() *[]uint8

func (*Offer) Ne

func (_self *Offer) Ne(other *Offer) bool

func (*Offer) OfferDescription

func (_self *Offer) OfferDescription() *string

func (*Offer) String

func (_self *Offer) String() string

func (*Offer) SupportsChain

func (_self *Offer) SupportsChain(chain Network) bool

type OfferAmount

type OfferAmount interface {
	Destroy()
}

type OfferAmountBitcoin

type OfferAmountBitcoin struct {
	AmountMsats uint64
}

func (OfferAmountBitcoin) Destroy

func (e OfferAmountBitcoin) Destroy()

type OfferAmountCurrency

type OfferAmountCurrency struct {
	Iso4217Code string
	Amount      uint64
}

func (OfferAmountCurrency) Destroy

func (e OfferAmountCurrency) Destroy()

type OfferId

type OfferId = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type OfferInterface

type OfferInterface interface {
	AbsoluteExpirySeconds() *uint64
	Amount() *OfferAmount
	Chains() []Network
	ExpectsQuantity() bool
	Id() OfferId
	IsExpired() bool
	IsValidQuantity(quantity uint64) bool
	Issuer() *string
	IssuerSigningPubkey() *PublicKey
	Metadata() *[]uint8
	OfferDescription() *string
	SupportsChain(chain Network) bool
}

type OnchainPayment

type OnchainPayment struct {
	// contains filtered or unexported fields
}

func (*OnchainPayment) Destroy

func (object *OnchainPayment) Destroy()

func (*OnchainPayment) NewAddress

func (_self *OnchainPayment) NewAddress() (Address, error)

func (*OnchainPayment) SendAllToAddress

func (_self *OnchainPayment) SendAllToAddress(address Address, retainReserve bool, feeRate **FeeRate) (Txid, error)

func (*OnchainPayment) SendToAddress

func (_self *OnchainPayment) SendToAddress(address Address, amountSats uint64, feeRate **FeeRate) (Txid, error)

type OnchainPaymentInterface

type OnchainPaymentInterface interface {
	NewAddress() (Address, error)
	SendAllToAddress(address Address, retainReserve bool, feeRate **FeeRate) (Txid, error)
	SendToAddress(address Address, amountSats uint64, feeRate **FeeRate) (Txid, error)
}

type OutPoint

type OutPoint struct {
	Txid Txid
	Vout uint32
}

func (*OutPoint) Destroy

func (r *OutPoint) Destroy()

type PaymentDetails

type PaymentDetails struct {
	Id                    PaymentId
	Kind                  PaymentKind
	AmountMsat            *uint64
	FeePaidMsat           *uint64
	Direction             PaymentDirection
	Status                PaymentStatus
	CreatedAt             uint64
	LatestUpdateTimestamp uint64
}

func (*PaymentDetails) Destroy

func (r *PaymentDetails) Destroy()

type PaymentDirection

type PaymentDirection uint
const (
	PaymentDirectionInbound  PaymentDirection = 1
	PaymentDirectionOutbound PaymentDirection = 2
)

type PaymentFailureReason

type PaymentFailureReason uint
const (
	PaymentFailureReasonRecipientRejected         PaymentFailureReason = 1
	PaymentFailureReasonUserAbandoned             PaymentFailureReason = 2
	PaymentFailureReasonRetriesExhausted          PaymentFailureReason = 3
	PaymentFailureReasonPaymentExpired            PaymentFailureReason = 4
	PaymentFailureReasonRouteNotFound             PaymentFailureReason = 5
	PaymentFailureReasonUnexpectedError           PaymentFailureReason = 6
	PaymentFailureReasonUnknownRequiredFeatures   PaymentFailureReason = 7
	PaymentFailureReasonInvoiceRequestExpired     PaymentFailureReason = 8
	PaymentFailureReasonInvoiceRequestRejected    PaymentFailureReason = 9
	PaymentFailureReasonBlindedPathCreationFailed PaymentFailureReason = 10
)

type PaymentHash

type PaymentHash = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type PaymentId

type PaymentId = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type PaymentKind

type PaymentKind interface {
	Destroy()
}

type PaymentKindBolt11

type PaymentKindBolt11 struct {
	Hash          PaymentHash
	Preimage      *PaymentPreimage
	Secret        *PaymentSecret
	Bolt11Invoice *string
}

func (PaymentKindBolt11) Destroy

func (e PaymentKindBolt11) Destroy()

type PaymentKindBolt11Jit

type PaymentKindBolt11Jit struct {
	Hash                       PaymentHash
	Preimage                   *PaymentPreimage
	Secret                     *PaymentSecret
	CounterpartySkimmedFeeMsat *uint64
	LspFeeLimits               LspFeeLimits
}

func (PaymentKindBolt11Jit) Destroy

func (e PaymentKindBolt11Jit) Destroy()

type PaymentKindBolt12Offer

type PaymentKindBolt12Offer struct {
	Hash      *PaymentHash
	Preimage  *PaymentPreimage
	Secret    *PaymentSecret
	OfferId   OfferId
	PayerNote *UntrustedString
	Quantity  *uint64
}

func (PaymentKindBolt12Offer) Destroy

func (e PaymentKindBolt12Offer) Destroy()

type PaymentKindBolt12Refund

type PaymentKindBolt12Refund struct {
	Hash      *PaymentHash
	Preimage  *PaymentPreimage
	Secret    *PaymentSecret
	PayerNote *UntrustedString
	Quantity  *uint64
}

func (PaymentKindBolt12Refund) Destroy

func (e PaymentKindBolt12Refund) Destroy()

type PaymentKindOnchain

type PaymentKindOnchain struct {
	Txid   Txid
	Status ConfirmationStatus
}

func (PaymentKindOnchain) Destroy

func (e PaymentKindOnchain) Destroy()

type PaymentKindSpontaneous

type PaymentKindSpontaneous struct {
	Hash       PaymentHash
	Preimage   *PaymentPreimage
	CustomTlvs []TlvEntry
}

func (PaymentKindSpontaneous) Destroy

func (e PaymentKindSpontaneous) Destroy()

type PaymentPreimage

type PaymentPreimage = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type PaymentSecret

type PaymentSecret = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type PaymentStatus

type PaymentStatus uint
const (
	PaymentStatusPending   PaymentStatus = 1
	PaymentStatusSucceeded PaymentStatus = 2
	PaymentStatusFailed    PaymentStatus = 3
)

type PeerDetails

type PeerDetails struct {
	NodeId      PublicKey
	Address     SocketAddress
	IsPersisted bool
	IsConnected bool
}

func (*PeerDetails) Destroy

func (r *PeerDetails) Destroy()

type PendingSweepBalance

type PendingSweepBalance interface {
	Destroy()
}

type PendingSweepBalanceAwaitingThresholdConfirmations

type PendingSweepBalanceAwaitingThresholdConfirmations struct {
	ChannelId          *ChannelId
	LatestSpendingTxid Txid
	ConfirmationHash   BlockHash
	ConfirmationHeight uint32
	AmountSatoshis     uint64
	CounterpartyNodeId *PublicKey
	FundingTxId        *Txid
	FundingTxIndex     *uint16
}

func (PendingSweepBalanceAwaitingThresholdConfirmations) Destroy

type PendingSweepBalanceBroadcastAwaitingConfirmation

type PendingSweepBalanceBroadcastAwaitingConfirmation struct {
	ChannelId             *ChannelId
	LatestBroadcastHeight uint32
	LatestSpendingTxid    Txid
	AmountSatoshis        uint64
	CounterpartyNodeId    *PublicKey
	FundingTxId           *Txid
	FundingTxIndex        *uint16
}

func (PendingSweepBalanceBroadcastAwaitingConfirmation) Destroy

type PendingSweepBalancePendingBroadcast

type PendingSweepBalancePendingBroadcast struct {
	ChannelId          *ChannelId
	AmountSatoshis     uint64
	CounterpartyNodeId *PublicKey
	FundingTxId        *Txid
	FundingTxIndex     *uint16
}

func (PendingSweepBalancePendingBroadcast) Destroy

type PublicKey

type PublicKey = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type QrPaymentResult

type QrPaymentResult interface {
	Destroy()
}

type QrPaymentResultBolt11

type QrPaymentResultBolt11 struct {
	PaymentId PaymentId
}

func (QrPaymentResultBolt11) Destroy

func (e QrPaymentResultBolt11) Destroy()

type QrPaymentResultBolt12

type QrPaymentResultBolt12 struct {
	PaymentId PaymentId
}

func (QrPaymentResultBolt12) Destroy

func (e QrPaymentResultBolt12) Destroy()

type QrPaymentResultOnchain

type QrPaymentResultOnchain struct {
	Txid Txid
}

func (QrPaymentResultOnchain) Destroy

func (e QrPaymentResultOnchain) Destroy()

type Refund

type Refund struct {
	// contains filtered or unexported fields
}

func RefundFromStr

func RefundFromStr(refundStr string) (*Refund, error)

func (*Refund) AbsoluteExpirySeconds

func (_self *Refund) AbsoluteExpirySeconds() *uint64

func (*Refund) AmountMsats

func (_self *Refund) AmountMsats() uint64

func (*Refund) Chain

func (_self *Refund) Chain() *Network

func (*Refund) DebugString

func (_self *Refund) DebugString() string

func (*Refund) Destroy

func (object *Refund) Destroy()

func (*Refund) Eq

func (_self *Refund) Eq(other *Refund) bool

func (*Refund) IsExpired

func (_self *Refund) IsExpired() bool

func (*Refund) Issuer

func (_self *Refund) Issuer() *string

func (*Refund) Ne

func (_self *Refund) Ne(other *Refund) bool

func (*Refund) PayerMetadata

func (_self *Refund) PayerMetadata() []uint8

func (*Refund) PayerNote

func (_self *Refund) PayerNote() *string

func (*Refund) PayerSigningPubkey

func (_self *Refund) PayerSigningPubkey() PublicKey

func (*Refund) Quantity

func (_self *Refund) Quantity() *uint64

func (*Refund) RefundDescription

func (_self *Refund) RefundDescription() string

func (*Refund) String

func (_self *Refund) String() string

type RefundInterface

type RefundInterface interface {
	AbsoluteExpirySeconds() *uint64
	AmountMsats() uint64
	Chain() *Network
	IsExpired() bool
	Issuer() *string
	PayerMetadata() []uint8
	PayerNote() *string
	PayerSigningPubkey() PublicKey
	Quantity() *uint64
	RefundDescription() string
}

type ResetState

type ResetState uint
const (
	ResetStateNodeMetrics  ResetState = 1
	ResetStateScorer       ResetState = 2
	ResetStateNetworkGraph ResetState = 3
	ResetStateAll          ResetState = 4
)

type RouteHintHop

type RouteHintHop struct {
	SrcNodeId       PublicKey
	ShortChannelId  uint64
	CltvExpiryDelta uint16
	HtlcMinimumMsat *uint64
	HtlcMaximumMsat *uint64
	Fees            RoutingFees
}

func (*RouteHintHop) Destroy

func (r *RouteHintHop) Destroy()

type RouteParametersConfig

type RouteParametersConfig struct {
	MaxTotalRoutingFeeMsat          *uint64
	MaxTotalCltvExpiryDelta         uint32
	MaxPathCount                    uint8
	MaxChannelSaturationPowerOfHalf uint8
}

func (*RouteParametersConfig) Destroy

func (r *RouteParametersConfig) Destroy()

type RoutingFees

type RoutingFees struct {
	BaseMsat               uint32
	ProportionalMillionths uint32
}

func (*RoutingFees) Destroy

func (r *RoutingFees) Destroy()

type RustBufferI

type RustBufferI interface {
	AsReader() *bytes.Reader
	Free()
	ToGoBytes() []byte
	Data() unsafe.Pointer
	Len() uint64
	Capacity() uint64
}

type SocketAddress

type SocketAddress = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type SpontaneousPayment

type SpontaneousPayment struct {
	// contains filtered or unexported fields
}

func (*SpontaneousPayment) Destroy

func (object *SpontaneousPayment) Destroy()

func (*SpontaneousPayment) Send

func (_self *SpontaneousPayment) Send(amountMsat uint64, nodeId PublicKey, routeParameters *RouteParametersConfig) (PaymentId, error)

func (*SpontaneousPayment) SendProbes

func (_self *SpontaneousPayment) SendProbes(amountMsat uint64, nodeId PublicKey) error

func (*SpontaneousPayment) SendWithCustomTlvs

func (_self *SpontaneousPayment) SendWithCustomTlvs(amountMsat uint64, nodeId PublicKey, routeParameters *RouteParametersConfig, customTlvs []CustomTlvRecord) (PaymentId, error)

func (*SpontaneousPayment) SendWithPreimage

func (_self *SpontaneousPayment) SendWithPreimage(amountMsat uint64, nodeId PublicKey, preimage PaymentPreimage, routeParameters *RouteParametersConfig) (PaymentId, error)

func (*SpontaneousPayment) SendWithPreimageAndCustomTlvs

func (_self *SpontaneousPayment) SendWithPreimageAndCustomTlvs(amountMsat uint64, nodeId PublicKey, customTlvs []CustomTlvRecord, preimage PaymentPreimage, routeParameters *RouteParametersConfig) (PaymentId, error)

type SpontaneousPaymentInterface

type SpontaneousPaymentInterface interface {
	Send(amountMsat uint64, nodeId PublicKey, routeParameters *RouteParametersConfig) (PaymentId, error)
	SendProbes(amountMsat uint64, nodeId PublicKey) error
	SendWithCustomTlvs(amountMsat uint64, nodeId PublicKey, routeParameters *RouteParametersConfig, customTlvs []CustomTlvRecord) (PaymentId, error)
	SendWithPreimage(amountMsat uint64, nodeId PublicKey, preimage PaymentPreimage, routeParameters *RouteParametersConfig) (PaymentId, error)
	SendWithPreimageAndCustomTlvs(amountMsat uint64, nodeId PublicKey, customTlvs []CustomTlvRecord, preimage PaymentPreimage, routeParameters *RouteParametersConfig) (PaymentId, error)
}

type TlvEntry

type TlvEntry struct {
	Type  uint64
	Value []uint8
}

func (*TlvEntry) Destroy

func (r *TlvEntry) Destroy()

type Txid

type Txid = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type UnifiedQrPayment

type UnifiedQrPayment struct {
	// contains filtered or unexported fields
}

func (*UnifiedQrPayment) Destroy

func (object *UnifiedQrPayment) Destroy()

func (*UnifiedQrPayment) Receive

func (_self *UnifiedQrPayment) Receive(amountSats uint64, message string, expirySec uint32) (string, error)

func (*UnifiedQrPayment) Send

func (_self *UnifiedQrPayment) Send(uriStr string, routeParameters *RouteParametersConfig) (QrPaymentResult, error)

type UnifiedQrPaymentInterface

type UnifiedQrPaymentInterface interface {
	Receive(amountSats uint64, message string, expirySec uint32) (string, error)
	Send(uriStr string, routeParameters *RouteParametersConfig) (QrPaymentResult, error)
}

type UntrustedString

type UntrustedString = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type UserChannelId

type UserChannelId = string

*

  • Typealias from the type name used in the UDL file to the builtin type. This
  • is needed because the UDL type name is used in function/method signatures.
  • It's also what we have an external type that references a custom type.

type VssHeaderProviderError

type VssHeaderProviderError struct {
	// contains filtered or unexported fields
}

func NewVssHeaderProviderErrorAuthorizationError

func NewVssHeaderProviderErrorAuthorizationError() *VssHeaderProviderError

func NewVssHeaderProviderErrorInternalError

func NewVssHeaderProviderErrorInternalError() *VssHeaderProviderError

func NewVssHeaderProviderErrorInvalidData

func NewVssHeaderProviderErrorInvalidData() *VssHeaderProviderError

func NewVssHeaderProviderErrorRequestError

func NewVssHeaderProviderErrorRequestError() *VssHeaderProviderError

func (*VssHeaderProviderError) AsError

func (err *VssHeaderProviderError) AsError() error

Convience method to turn *VssHeaderProviderError into error Avoiding treating nil pointer as non nil error interface

func (VssHeaderProviderError) Error

func (err VssHeaderProviderError) Error() string

func (VssHeaderProviderError) Unwrap

func (err VssHeaderProviderError) Unwrap() error

type VssHeaderProviderErrorAuthorizationError

type VssHeaderProviderErrorAuthorizationError struct {
	// contains filtered or unexported fields
}

func (VssHeaderProviderErrorAuthorizationError) Error

func (VssHeaderProviderErrorAuthorizationError) Is

type VssHeaderProviderErrorInternalError

type VssHeaderProviderErrorInternalError struct {
	// contains filtered or unexported fields
}

func (VssHeaderProviderErrorInternalError) Error

func (VssHeaderProviderErrorInternalError) Is

type VssHeaderProviderErrorInvalidData

type VssHeaderProviderErrorInvalidData struct {
	// contains filtered or unexported fields
}

Variant structs

func (VssHeaderProviderErrorInvalidData) Error

func (VssHeaderProviderErrorInvalidData) Is

type VssHeaderProviderErrorRequestError

type VssHeaderProviderErrorRequestError struct {
	// contains filtered or unexported fields
}

func (VssHeaderProviderErrorRequestError) Error

func (VssHeaderProviderErrorRequestError) Is

type WordCount

type WordCount uint
const (
	WordCountWords12 WordCount = 1
	WordCountWords15 WordCount = 2
	WordCountWords18 WordCount = 3
	WordCountWords21 WordCount = 4
	WordCountWords24 WordCount = 5
)

Jump to

Keyboard shortcuts

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