parsePaymentRequest: Addsignetsupport
- Add support for LND 0.21.2
- Add support for LND 0.20.3
- Add support for LND 0.20.2
getChannels: Correct issue where peer alias scid was invalid
openChannel,openChannels: Add support for standard P2TR channels:is_standard_taproot
- Add support for LND 0.21.1
- Add support for LND 0.21.0
- Eliminate support for
channel_capacityin payment hops - End support for node.js 20, require 22 or higher
- End support for LND 0.19 and below
getChannels: Add support forpartner_scid_alias
- Add support for LND 0.20.1-beta
- End support for node.js 18, require 20 or higher
pay,payViaPaymentRequest,subscribeToPayViaRequest: Allow short CLTV limit payments when the payment request final CLTV delta is very short
- Add support for LND 0.20.0-beta
getPendingChannels: Add support foropening_funding_height,opening_waiting_blocks
- Add support for LND 0.19.3-beta
- Add support for LND 0.19.2-beta
openChannelsaddis_allowing_minimal_reserveto allow low peer reserve
- Add support for LND 0.19.1-beta
- Add support for LND 0.19.0-beta
- Add support for Testnet4
closeChannel: Addis_graceful_closeoption to wait for pending resolution
- Add support for LND 0.18.5
getRoutingFeeEstimate: Add method to estimate an offchain payment fee
- Add support for LND 0.18.4
createFundedPsbt: Add support forchange_formatfor change address type
fundPsbt: Add support forchange_formatto specify change address type
- Add support for LND 0.18.3
payViaPaymentRequest,subscribeToPayViaRequest: Addindexto response for payment offset number in payments set
-
createInvoice: addis_encrypting_routesto enable blinded paths feature -
pay,subscribeToPastPayment,subscribeToPayViaDetails,subscribeToPayViaRequest,subscribeToPayments: Addis_canceledfor when the payment loop was explicitly canceled.
getMinimumRelayFee: Add method to get the chain backend minimum relay fee
getFeeRates: Add support forinbound_base_discount_mtokens,inbound_rate_discountfor inbound fee policy discounts
getClosedChannels: Add support for anchor resolution status via new attributesanchor_is_confirmed,anchor_is_pending,anchor_spent_by, andanchor_vout
authenticatedLndGrpc,unauthenticatedLndGrpc: Addpathto specify the protos directory
getChannel: Add support for specifyingtransaction_idandtransaction_voutinstead ofid
getWalletInfo: Add support for LND 0.18.0subscribeToGraph: Add support forinbound_base_discount_mtokensandinbound_rate_discount
createFundedPsbt: Add method to create a funded PSBT given inputs/outputs
getChannel,getNetworkGraph,getNode: Addinbound_base_discount_mtokensandinbound_rate_discount
getChainFeeEstimate: Add default chain fee conf target when none is passed
closeChannel,openChannel,sendToChainAddress,sendToChainAddresses: Add default chain fee conf target when no chain fee is specified
getPendingSweeps: Add method to get the list of pending outpoints to sweeprequestBatchedFeeIncrease: Add method to batch a CPFP sweep of an outpoint
- Add support for LND 0.17.5
fundPsbt,getChainFeeEstimate,sendToChainAddress,sendToChainAddresses,sendToChainOutputScripts: Addutxo_selectionto specify preferred coin selection behavior.
payand payment via request methods: disallow features 30/31 from payments
removeAdvertisedFeature: Add method to remove a feature bit support ad
getPendingChannels: Add support forclose_transactionto return raw tx
addAdvertisedFeature: Add method to advertise a feature bit support
getSweepTransactions: Addafterto scope sweep result set
getConnectedWatchtowers: Addis_taprootto get P2TR channels
getConfiguration: Add method to return configuration information
deleteChainTransaction: Add method to delete a chain transactiongetChainTransaction: Add method to get a chain transaction
- Add support for LND 0.17.3
- Add support for LND 0.17.2
- Add support for LND 0.17.1
getBlockHeader: Add method to get the header portion of a block
- Add support for LND 0.17.0
- End support for node.js 16, require 18 or higher
- Remove method
grpcProxyServer
openChannel: Addis_allowing_minimal_reserveto allow no reserve on peer
openChannels: Addis_simplified_taprootto make a simplified taproot chan
openChannel: Addis_simplified_taprootto make a simplified taproot chan
openChannel: Addinputsto select inputs for channel open funding
createInvoice,createHodlInvoice: Addroutesto customize the hop hints
openChannel: Addis_trusted_fundingto support skipping confirmation wait
subscribeToForwards: Cancel subscription when there are no event listeners
getPendingChannels: Addblocks_until_expiryfor opening funding expiry
isDestinationPayable: Correct behavior for passing variations of amounts
getPendingChannels: Adddescriptionto return pending channel descriptiongetPendingChannels: Addis_privateto show pending channel announcement
getPendingChannels: Addtypeto return pending channel type
getPendingChannels: Fix returning closing transaction id for waiting close
getWalletInfo: Add support for LND 0.16.3
getChannels: Adddescriptionto show the channel descriptionopenChannel,openChannels,proposeChannel: Adddescriptionto set the channel descriptionsubscribeToChannels: Adddescriptiontochannel_openedsubscribeToRpcRequests: Adddescriptiontoopen_channel_request
subscribeToPastPayment,subscribeToPayViaDetails,subscribeToPayViaRequest,subscribeToPayments: Addidforfailedpayment hash
getChannels: Add support fortypeto show channel typegetWalletInfo: Add support for LND 0.16.2subscribeToChannels: Add support forchannel_openedtypeto show type
getWalletInfo: Add support for LND 0.16.1subscribeToOpenRequests: Addtypefor channel request commitment type
- Minimum version of node.js is moved up from 14 to 16
openChannel: Addis_max_fundingto fund a channel maximallysubscribeToRpcRequests: Add support for returningis_max_fundinginopen_channel_request
subscribeToRpcRequests:open_channel_request:local_tokensis now an optional value
signChainAddressMessage: Add method to sign a message given a chain addressverifyChainAddressMessage: Add method to verify a chain address message
getChainAddresses: Add method to get the list of chain addresses
subscribeToRpcRequests: addmax_tokens_per_vbyteto RPC close requests
getBlock: addheightto allow fetching a raw block at a specified height
getBlock: Add method to retrieve the raw bytes of a block in the chain
getFailedPayments,getInvoices,getPayments,getPendingPayments: add support for date based filtering withcreated_afterandcreated_beforearguments
subscribeToRpcRequests:open_channel_requestadd support forfee_rate,base_fee_mtokens
getWalletInfo: Add support for LND 0.15.5
createUnsignedRequest: Fix support for empty description requests
getSettlementStatus: Add method to lookup received htlc settlement status
getWalletInfo: Add support for LND 0.14.5
getWalletInfo: Add support for LND 0.15.4
getWalletInfo: Add support for LND 0.15.3
getWalletInfo: Add support for LND 0.14.4
-
getWalletInfo: Add support for LND 0.15.2 -
Due to LND chain sync failure prior to LND 0.15.2, those versions are no longer supported
openChannel,openChannels: Addbase_fee_mtokens,fee_rateto set initial routing fee rate.
subscribeToRpcRequests: Fix support for LND 0.15.1
subscribeToPayments: Add method to listen to all outgoing payments
- Versions of Node.js before 14 are no longer supported
getChainFeeEstimate: Add support for specifying minutxo_confirmations
parsePaymentRequest: Add support for parsing payment request metadata
getLockedUtxos: Add support for locked UTXOoutput_script,tokens
closeChannel: Add support formax_tokens_per_vbyteto set max fee rategetChainTransactions: Addinputssupport for previous outpointssubscribeToTransactions: Addinputssupport for previous outpoints
signBytes: Addtypeand support for specifyingschnorrtype signingverifyBytesSignature: Add support for verifying Schnorr signatures
getChannels: Add support foris_trusted_fundingandother_idsgetClosedChannels: Add support forother_idsgetEphemeralChannelIds: Add method to get other channel idsopenChannels: Add support foris_trusted_fundingfor instant openingsubscribeToChannels: Add support foris_trusted_funding,other_idssubscribeToOpenRequests: Add support foris_trusted_funding
signTransaction: Addroot_hashto support Taproot signatures with scripts
getFailedPayments,getPayments,getPendingPayments: Removeconfirmed_atdate when a payment is not confirmed, addcreated_atandfailed_atdates for attempt start and attempt failed dates.
beginGroupSigningSession: Add method to start a MuSig2 signing sessionendGroupSigningSession: Add method to complete a MuSig2 signing sessionupdateGroupSigningSession: Add method to add nonces to a MuSig2 session
getRouteToDestination,isDestinationPayable,pay,payViaPaymentDetails,payViaPaymentRequest,probeForRoute,subscribeToPayViaDetails,subscribeToPayViaRequest,subscribeToProbeForRoute- add support for pathfindingconfidence
signTransaction: Fix multi-input signing for upcoming Taproot API changes
addExternalSocket: Add method to add a socket to graph announcementsremoveExternalSocket: Add method to remove sockets from graph announcements
getWalletVersion: Add support for LND 0.14.3-beta
updateAlias: Add method to update the node graph announcement aliasupdateColor: Add method to update the node graph announcement color
- Use TLV for all hops when sending HTLCs along routes
signTransaction: Addspendingattribute for specifying external inputs
createChainAddress: Add support for creating P2TR addressesgetUtxos: Add support for showing P2TR address types
getPendingPayments: Add method to get payments in flight
fundPsbt: Fix bip32 key derivation error
getMasterPublicKeys: Add method to get bip32 master public keys
payViaRoutes,subscribeToPayViaRoutes: Add support for relay messages
partiallySignPsbt: Add method to add a partial signature to a PSBT
getPayments: Correct paging issue that prevented paging through all results
createWallet: Add support for returning the adminmacaroon
pay,payViaPaymentRequest: Fix support foroutgoing_channelsconstraint
deletePendingChannel: Add method to remove a stuck pending channel open
getInvoices: Addis_unconfirmedto filter out canceled/settled invoices
getPendingChannels: Add support for channelcapacity
openChannels: Fixcooperative_close_addressnot being set on channels
- Add support for LND 0.14.1
openChannels: Addis_avoiding_broadcastto avoid all funding broadcast
-
Removed support for determining the type of channel to support LND 0.14.0.
-
createChainAddress: Make address format optional and add p2wpkh as default -
sendToChainOutputScripts: Fix specification offee_tokens_per_vbyte
getChannels,getPendingChannels,subscribeToChannels: Remove attributesis_anchor,is_static_remote_key,is_variable_remote_key.
subscribeToPayViaDetails,subscribeToPayViaRequest: Addpaying, androuting_failureevents to follow in-flight attempts and encountered routing failures
getPayment,subscribeToPastPayment: Addpendingfor pending payment details
probeForRoute,subscribeToProbeForRoute,subscribeToPayViaRoutes,payViaRoutes: When probing (no hash), delete the payment failure record after the probe
- Add method
sendMessageToPeerto send a custom peer message - Add method
subscribeToPeerMessagesto be notified on custom peer messages
getFailedPayments: Add method to get payments that failed
subscribeToRpcRequests: Addidto provide for explicitly named middlewaresubscribeToRpcRequests: Addis_intercepting_close_channel_requestsfor closessubscribeToRpcRequests: Addis_intercepting_open_channel_requestsfor openssubscribeToRpcRequests: Addis_intercepting_pay_via_routes_requestsfor route pay
grantAccess: Fix support for non-working methods
getWalletVersion: Add support for LND v0.13.3-beta
getChannels: Addpast_statesto reflect the number of updatessubscribeToChannels: Addpast_statesto reflect to number of updatessubscribeToRpcRequests: Add method to intercept RPC requests and responses
grantAccess: Add support for specifyingmethodsfor permissions
updateRoutingFees: Addfailuresto result to indicate failed policy updates
verifyAccess: Add method to check if a macaroon is granted permissions
getPayment: Addcreated_atto indicate the creation date of the paymentgetPayment: Addrequestto indicate serialized payment requestsubscribeToPastPayment: Addcreated_atto indicate the creation date of the paymentsubscribeToPastPayment: Addrequestto indicate serialized payment requestsubscribeToPastPayments: Addcreated_atto indicate the creation date of the paymentsubscribeToPastPayments: Addrequestto indicate serialized payment request
getPayment: Adddestinationto indicate the destination of the paymentsubscribeToPastPayment: Adddestinationto indicate the destination of the paymentsubscribeToPastPayments: Adddestinationto indicate the destination of the payment
deletePayment: Add method to delete a single paymentdeleteFailedPayAttempts: Addidargument to delete attempts for a single paymentgetWalletStatus:is_ready: Add wallet server ready statussubscribeToWalletStatus: Addreadyevent to indicate server ready status
getPayment: Addconfirmed_atto indicate when payment resolved successfullygetPayments: Addconfirmed_atto indicate when payments resolve successfullypay: Addconfirmed_atto indicate when payment resolved successfullypayViaPaymentDetails: Addconfirmed_atto indicate when payment was sentpayViaPaymentRequest: Addconfirmed_atto indicate when payment was sentpayViaRoutes: Addconfirmed_atto indicate when payment resolved successfullysubscribeToPastPayment: Addconfirmed_atto indicate when payment succeededsubscribeToPastPayments: Addconfirmed_atto indicate when payments succeedsubscribeToPayViaDetails: Addconfirmed_atto indicate when payment was sentsubscribeToPayViaRequest: Addconfirmed_atto indicate when payment was sentsubscribeToPayViaRoutes: Addconfirmed_atto indicate when payment was sent
getPendingChannels: Addis_timelockedandtimelock_blocksto force closes
subscribeToPastPayments: Add method to subscribe to successful past payments
lockUtxo: Return correct error message when attempting to lock an unknown UTXOlockUtxo: Fix error when specifying a custom lock identifier
- Switch to
sendToRouteV2to execute payments over a specific route
getWalletStatus: Add method to do a one-off query of the wallet state
- Node.js version 12 or higher is now required
getWalletVersion: Add support for LND 0.13.1-betafundPsbt: Add support formin_confirmations
subscribeToForwards: Addsecretattribute to settle forward events
getNode: Return to fallback channels lookup when version commit hash is unavailablegetWalletVersion: Add support for builds that do not report a commit hash
getNode: Improve performance on LND 0.13.0+ by using returned channel data
Support AMP push payments in invoices
parsePaymentRequest: Return zero values when mtokens are undefined
getWalletVersion: Add support for LND 0.13.0
pay: Fix error when paying a zero amount invoice but specifying mtokenssubscribeToInvoices: Fix restart timeout to add longer default timeout
requestChainFeeIncrease: Add method to increase the relative fee of an unconfirmed UTXO
sendToChainOutputScripts: Add method to send to arbitrary output scripts
getLockedUtxos: Add method to list leased UTXOslockUtxo: Addexpires_atattribute to specify lock expiration date
subscribeToForwards: Fix documentation offorwardevent fee attributessubscribeToWalletStatus: Add method to subscribe to the status of the node
disableChannel: Add method to mark a channel as disabled for outgoing paymentsenableChannel: Add method to mark a channel as enabled for outgoing payments
getPathfindingSettings: Retrieve configuration settings of pathfinding systemupdatePathfindingSettings: Update configuration settings of pathfinding system
deleteFailedPayAttempts: Delete records of attempts to make payments that faileddeleteFailedPayments: Delete records of payments that failed to pay
pay: Addmax_path_mtokensto control path splitting when not specifying routespayViaPaymentDetails: Addmax_path_mtokensto control path splittingpayViaPaymentRequest: Addmax_path_mtokensto control path splittingsubscribeToPayViaDetails: Addmax_path_mtokensto control path splittingsubscribeToPayViaRequest: Addmax_path_mtokensto control path splitting
- Remove
calculateHops,calculatePathsmethods, abstracted out toln-pathfinding
authenticatedLndGrpc: Remove requirement for passing a macaroon
grpcProxyServer: Fix issue with subscriptions not being closed when ws is closedpayViaPaymentDetails: Add support for payment identifier noncesubscribeToPayViaDetails: Add support for payment identifier nonce
decodePaymentRequest: Addcreated_atdate,is_expiredattributesgetInvoices: Addcltv_delta,confirmed_index,index, and HTLCtimeout
getPendingChannels: Addis_anchorto indicate if a channel is an anchor channel
subscribeToOpenRequests: Addis_privateattribute to open channel requests
subscribeToChainAddress: Correct byte ordering in tx hash when specifying tx id
subscribeToGraph: Use native graph updates when feature flags are available
getChannels: Add support foris_anchorandis_variable_remote_keychan typessubscribeToChannels: Add support foris_anchor,is_variable_remote_keychan types
addInvoice: Returnpaymentrecord identifier in responsegetConnectedWatchtowers: Addis_anchorto get anchor tower infogetInvoice: Returnpaymentrecord identifier in responsegetInvoices: Returnpaymentrecord identifier in responsesubscribeToInvoice: Returnpaymentrecord identifier in responsesubscribeToInvoices: Returnpaymentrecord identifier in response
fundPsbt: Fix issue specifying a transaction feegetPublicKey: Support omittingindexto generate a fresh public keyprepareForChannelProposal: Add method to prepare for a channel proposalproposeChannel: Add method to propose a channel to a prepared peer
createInvoice: Add support for specifyingmtokensinstead oftokensgetChannels: Showcooperative_close_delay_heightto indicate coop close deny heightsubscribeToChannels: Showcooperative_close_delay_heightfor coop close deny height
getForwardingReputations: Fix broken attributes from unsupported LND versionsgetForwardingReputations: Addfailed_tokens,last_failed_forward_atgetForwardingReputations: Addforwarded_tokens,last_forward_at
subscribeToOpenRequests: Addcooperative_close_address,remote_csvtoaccept()subscribeToOpenRequests: Addmin_confirmations,remote_reservetoaccept()subscribeToOpenRequests: Addremote_max_htlcs,remote_max_pending_mtokenssubscribeToOpenRequests: Addremote_min_htlc_mtokensto accept()subscribeToOpenRequests: Addreasonto reject()
createInvoice: Decrease default expiration timegetSweepTransactions: Fix method returning error when sweep tx were missing from dbsubscribeToForwardRequests: Add suppoort for surfacing the rawonionpackage
getChannels: Add support forin_channel,in_payment,is_forward,out_channel,out_payment, andpaymentfields to surface forwarding details
Update grpc dependency to native JS version.
pay: Fix unhandled error in failure condition
pay: Fix method to use non-deprecated APIspay: Addincoming_peerargument to specify last forwarding nodepay: Addmax_fee_mtokensargument to specify maximum fees in mtokenspay: Addmax_pathsargument to enable multi-path paymentspay: Addmessagesargument to pass messages to the destinationpay: Addmtokensargument to specify the amount to pay in mtokenspay: Addoutgoing_channelsto specify multiple outgoing channels to pay out of
subscribeToBlocks: Fix blockhashendian output
getHeight: method added to get the current block height
Due to security issues, versions of LND lower than v0.11.0 should not be used and are no longer supported.
getChannels:is_static_remote_keyis now always definedgetChannels:local_csv,local_dust,local_max_htlcsare now always definedgetChannels:local_max_pending_mtokens,local_min_htlc_mtokensare now definedgetChannels:remote_csv,remote_dust,remote_max_htlcsare now always definedgetChannels:remote_max_pending_mtokens,remote_min_htlc_mtokensare now definedgetChannels:time_offlineandtime_onlineis now always definedgetFeeRates:idis now always definedgetForwards:mtokensis now always definedgetIdentity: Convenience method added to get the backing node's identity public keylockUtxo: Specifying a custom id for a UTXO lock is now supportedsubscribeToChannels:is_static_remote_keyis now always defined
- Versions of LND v0.7.1 through v0.10.4 are no longer supported
getRoutes: method is removed, usegetRouteToDestinationinsteadpay:wssis no longer supportedprobe: method is removed, useprobeForRouteinsteadsubscribeToProbe: method is removed, usesubscribeToProbeForRouteinstead
subscribeToBackups: Improve error handling and subscription removalsubscribeToTransactions: Improve error handling and subscription removal
fundPsbt: Setup a PSBT with internal funding or an internal change outputsignPsbt: Finalize and sign a PSBT where internal keys are specified
sendToChainAddress: Addutxo_confirmationsto set confs required for UTXO selectionsendToChainAddresses: Addutxo_confirmationsto set confs required for UTXO selection
probeForRoute: Fix specifyingtotal_mtokenswhen probing for a route
probeForRoute: Add support for specifying onlymtokensin a probe for a route
getChannelBalance: Add support forchannel_balance_mtokensto show local mtokensgetChannelBalance: Add support forinbound,inbound_mtokensto show remote balancegetChannelBalance: Add support forpending_inboundto show pending remote balancegetChannelBalance: Add support forunsettled_balanceto show HTLCs balancegetChannelBalance: Add support forunsettled_balance_mtokensto show HTLCs balance
addPeer: Allow specifying atimeoutin milliseconds to abort a connect attemptopenChannels: Fix giving tokens to peers
getPeers: Returnlast_reconnectedto indicate last reconnection dategetPeers: Returnreconnection_rateto indicate frequency of reconnections
createUnsignedRequest: Add support for empty descriptionsparsePaymentRequest: Improve consistency withdecodePaymentRequest
getMethods: Add method to list available methods and related permissions
getAccessIds: Add method to list macaroon root ids granted accessgrantAccess: Add support foridto specify a root id number for a macaroonrevokeAccess: Add method to revoke access to macaroons with a root id number
subscribeToChannels: Makechannel_closedconsistent w/getClosedChannelssubscribeToChannels: Makechannel_openedvalues consistent w/getChannels
subscribeToGraph: Correct consistency issues in event valuessubscribeToGraph: Add support forfeaturesin node announcements
createHodlInvoice: Add support fordescription_hashcreateInvoice: Add support fordescription_hash
payViaPaymentRequest: Fix validation ofoutgoing_channel
getRouteThroughHops: Add support for specifying MPP records and TLV messagesrouteFromChannels: Add support for specifying TLV messages
updateRoutingFees: Allow specifying zerobase_fee_tokens,fee_rate
getFeeRates: Add support forbase_fee_mtokensto show precise base fees
getClosedChannels: Addclose_balance_spent_byto show close sweep txgetClosedChannels: Addclose_balance_voutto show close sweep txoutgetClosedChannels: Addclose_paymentsto show on-chain HTLCs
updateRoutingFees: Allow specifyingbase_fee_mtokensforwarding fee
subscribeToForwards: Attempt to restart subscription if it is terminated
getChannels: Add support for csv, dust value, max htlcs, max pending amount, min htlc size
subscribeToForwardRequests: Add method to control forwarding of HTLCs
subscribeToChainAddress: Propagate remove listeners to original subscription
probeForRoute: returnconfidencescore of returned routeprobeForRoute: allow specifyingfeaturesof destination nodeprobeForRoute: allow specifyingincoming_peerfor the final hop forwardprobeForRoute: allow specifyingmessagesfor messages to destinationprobeForRoute: allow specifyingpaymentto set the payment identifierprobeForRoute: allow specifyingtotal_mtokensfor updated payment protocol
Method probeForRoute pathfinding drops support for options:
- Specifying
is_ignoring_past_failuresis no longer supported in LND 0.10.0+ - Specifying
is_strict_hintsis not supported in LND 0.10 or above
Use --ignore and --incoming_peer instead of these options where possible.
lockUtxo: Add method to obtain a temporary lock on a UTXOunlockUtxo: Add method to release the temporary lock on a UTXO
getWalletVersion: Add 0.10.1-beta recognition
updateChainTransaction: Add support for updating chain transaction label
broadcastChainTransaction: Add support for transactiondescriptiongetChainTransactions: Add support for transactiondescriptionsendToChainAddress: Add support for adding adescriptionsendToChainAddresses: Add support for adding adescription
getChainTransactions: Addafterandbeforeto specify height rangesgetSweepTransactions: Add support for fetching 2nd level sweep transactionsgetWalletVersion: Addversionto return known release version stringspayViaPaymentDetails: Add support for specifyingmax_pathspayViaPaymentDetails: Add support for specifyingoutgoing_channelspayViaPaymentRequest: Add support for specifyingmax_pathspayViaPaymentRequest: Add support for specifyingoutgoing_channelssubscribeToPayViaDetails: Add support for specifyingmax_pathssubscribeToPayViaDetails: Add support for specifyingoutgoing_channelssubscribeToPayViaRequest: Add support for specifyingmax_pathssubscribeToPayViaRequest: Add support for specifyingoutgoing_channelssubscribeToTransactions: Changeconfirmation_countzero to undefinedsubscribeToTransactions: Returnconfirmation_heightattribute when definedsubscribeToTransactions: Returncreated_atattributesubscribeToTransactions: Changefeezero fee to undefinedsubscribeToTransactions: Addoutput_addressesattributesubscribeToTransactions: AddtokensattributesubscribeToTransactions: Addtransactionattribute when definedsubscribeToTransactions: Suppress errors when there are no error listeners
getPayments: Add support for add index
authenticatedLndGrpc: Fix support for hex encoded macaroons
addPeer: Addretry_delayto specify delay to retry connectionauthenticatedLndGrpc: Addrouter_legacyfor LND 0.9.2 and belowauthenticatedLndGrpc: Addversionfor version server methodscancelPendingChannel: Add method to cancel a pending opening channelfundPendingChannel: Add method to pay to a pending open channel addressgetNetworkCentrality: Add method to calculate node betweenness centralitygetPayments: Addlimitandtokenmethods for paging paymentsgetWalletVersion: Add method to determine the version of the LND walletgrantAccess: Addpermissionsto directly specify and view permissionsopenChannels: Add method to open channels with external fundingpayViaPaymentDetails: Addpathsto return all payment pathspayViaPaymentRequest: Addpathsto return all payment pathssubscribeToPayViaDetails: Addpathsto return all payment pathssubscribeToPayViaRequest: Addpathsto return all payment paths
Support for the REST server is eliminated. Use grpcProxyServer instead
getPendingChainBalance: limbo balance from pending channels is removedpayViaPaymentDetails: Attributehopsnow returns only the first path hopspayViaPaymentRequest: Attributehopsnow returns only the first path hopssubscribeToPayViaDetails: Attributehopsnow returns only first path hopssubscribeToPayViaRequest: Attributehopsnow returns only first path hops
getPendingChannels: show initiator withis_partner_initiatedattributegetChannels: addpartner_public_keyargument to filter channels by pubkeygetChannels: show push amounts vialocal_givenandremote_givengetFeeRates: addidattribute to show the short channel id of channelsgetForwardingConfidence: removepast_failure_at,past_failure_tokensgetForwardingConfidence: removepast_success_atgetPayment: addfeeandforwardto hops to show rounded up amountsgetPayment: addis_insufficient_balanceto payment statuspayViaPaymentRequest: addis_insufficient_balanceto payment methodssubscribeToForwards: add method to get HTLC event notificationsubscribeToPastPayment: addfee,forwardin hops for rounded up amountssubscribeToPastPayment: addis_insufficient_balanceto payment statussubscribeToPayViaDetails: addis_insufficient_balanceto payment statussubscribeToPayViaRequest: addis_insufficient_balanceto payment status
Improve support for node version 10
getClosedChannels: indicateis_partner_closedandis_partner_initiated
getNode: Return feature bits as numbers instead of strings
- Increase message maximum limit for gRPC to accomodate large responses
Fix issue with circular payments failing due to LND circular payment ban
getNode: rollback lookup improvement due to sometimes policy mismatch
getNode: improve with-channels lookup speed when a node has features
subscribeToChannels: addchannel_openingevent for new channels
subscribeToProbeForRoute: add method to probe for a route using TLV
decodePaymentRequest: addpaymentattribute for payment identifiergetRouteToDestination: add method to get a route to a destination with TLV
diffieHellmanComputeSecret: add method to create shared key
getChannels: Fix partner initiated inaccurate outputgetInvoice: Addis_pushto indicate push paymentgetInvoices: Addis_pushto indicate push paymentsubscribeToInvoices: Addis_pushto indicate push payment
If a payment is a push payment, request may now be undefined on an invoice
getInvoice: Add support forfeaturesandmessagesgetInvoices: Add support forfeaturesandmessagespayViaPaymentDetails: Add support for specifyingfeaturesandmessagespayViaPaymentRequest: Add support formessagespayViaRoutes: Add support for specifyingmessagessubscribeToInvoice: Add support forfeaturesandmessagessubscribeToInvoices: Add support formessagessubscribeToPayViaRoutes: Add support for specifyingmessagessubscribeToPayViaDetails: Add support for specifyingfeatures,messagessubscribeToPayViaRequest: Add support for specifyingmessages
getChannels: addcooperative_close_addressto show coop close addressgetWalletInfo: addfeaturesfor listing supported featuresopenChannel: addcooperative_close_addressto specify coop close addresssubscribeToPeers: added method to listen for peer connects and disconnects
createUnsignedRequest: Add support forfeaturesandpaymentidentifiergetNode: Add support forfeaturesfeature flag listgetPeers: Add support forfeaturesfeature flag listparsePaymentRequest: Add support forfeaturesandpaymentidentifier
grantAccess: Addis_ok_to_sign_bytesto allow signing arbitrary bytesgrantAccess: Addis_ok_to_verify_bytes_signaturesto verify the signatures
closeChannel: Addaddressto specify address to attempt to send funds tocreateUnsignedRequest: Addpreimageattribute for hash to sign preimagedecodePaymentRequest: Fix zero value invoice parsing, add invoice featuressignBytes: Add arbitrary bytes signer methodupdateRoutingFees: Add argumentmin_htlc_mtokensto update minimum HTLCverifyBytesSignature: Add signature validation method
subscribeToChannels: Fix incorrect error emission
Introducing safe_fee and safe_tokens for payments. This represents token
values as rounded up versions of themselves to avoid unsafely ignoring the
amount spent as millitokens.
decodePaymentRequest: addmtokensdecodePaymentRequest: addsafe_tokensgetPayment: addsafe_feeandsafe_tokensgetRoutes: addsafe_feeandsafe_tokenspay: addsafe_feeandsafe_tokenspayViaPaymentDetails: addsafe_feeandsafe_tokenspayViaPaymentRequest: addsafe_feeandsafe_tokenspayViaRoutes: addsafe_feeandsafe_tokensprobeForRoute: addsafe_feeandsafe_tokenssubscribeToPastPayment: addsafe_feeandsafe_tokenssubscribeToPayViaDetails: addsafe_feeandsafe_tokenssubscribeToPayViaRequest: addsafe_feeandsafe_tokenssubscribeToPayViaRoutes: addsafe_feeandsafe_tokenssubscribeToProbe: addsafe_feeandsafe_tokens
getRoutes: allow overflowing the payment sizeopenChannel: addpartner_socketto attempt connecting before opening
payViaPaymentDetails: addfeeattribute for fee tokens paidpayViaPaymentRequest: addfeeattribute for fee tokens paidsubscribeToPayViaDetails: addfeeattribute for fee tokens paidsubscribeToPayViaRequest: addfeeattribute for fee tokens paid
getPayments: Addattemptsattribute for HTLC details related to a payment
isDestinationPayable: Addincoming_peerto specify last hop peerpayViaPaymentDetails: Addincoming_peerto specify last hop peerpayViaPaymentRequest: Addincoming_peerto specify last hop peersubscribeToPayViaDetails: Addincoming_peerto specify last hop peersubscribeToPayViaRequest: Addincoming_peerto specify last hop peerrestrictMacaroon: Add method to add ip/timeout restrictions to a macaroon
createHodlInvoice: Add support formtokenssubscribeToInvoice: Add supportmtokens
parsePaymentRequest: support uppercase payment requests
getPayment: addtokensto indicate amount paidpayViaPaymentDetails: addmax_fee_mtokens,mtokensto specify mtokenspayViaPaymentRequest: addmax_fee_mtokens,mtokensto specify mtokensprobeForRoute: addmax_fee_mtokens,mtokensto specify mtokenssubscribeToPastPayment: addtokensto indicate amount paidsubscribeToPayViaDetails: addmax_fee_mtokens,mtokensfor mtokenssubscribeToPayViaRequest: addmax_fee_mtokens,mtokensfor mtokenssubscribeToPayViaRequest: addmax_fee_mtokens,mtokensfor mtokenssubscribeToProbe: addmax_fee_mtokens,mtokensto specify mtokens
getForwards: Fix issue where new forward mtokens field was not included
-
Add support for future TLV payment id and amount fields in routes
-
Improve robustness of invoices subscription.
-
getRoutes: Add argspaymentandtotal_mtokens -
payViaRoutes: Add argspaymentandtotal_mtokens -
subscribeToInvoices: Addadded_afterarg to specify minimum invoice index -
subscribeToInvoices: Addconfirmed_afterarg to specify min confirm index -
subscribeToInvoices: add support for add and confirm indexes -
subscribeToInvoices: now restarts automatically on failure -
subscribeToInvoices: new argrestart_delay_msto specify restart delay -
subscribeToPayViaRoutes: Add argspaymentandtotal_mtokens -
subscribeToProbe: Add argspaymentandtotal_mtokens -
routeFromChannels: Add argspaymentandtotal_mtokens
getForwardingConfidence: Add method to get forwarding confidence of forwarding between two peers
getPaymentOdds: Rename togetRouteConfidencegetForwardingReputations: Rename "odds" to "confidence"probabilityattribute changes toconfidencegeneral_success_oddsattribute toconfidencesuccess_oddsattribute changes toconfidence
getChannels: addtime_offlineandtime_onlineto show channel livenessgrantAccess: add method to create authorization macaroons
getRoutes: correct issues in route finding with CLTV values
getForwards: addmtokensto show forwarded millitokens for a forward.
getRoutes: addmax_timeout_heightto limit the maximum CLTV height when pathfinding.
getRoutes: addconfidencescore to indicate quality of route resultsubscribeToProbe: addconfidencetoprobingevent
subscribeToTransactions: Added attributeconfirmation_heighttochain_transactioneventupdateRoutingFees: add support for adjustingmax_htlc_mtokens
getRouteThroughHops: Added method to convert a set of public keys to a full route
getChannels:is_static_remote_keyadded to indicate static remote keyssubscribeToOpenRequests: Added method to listen and accept/reject open channel requests
- Support for
lnd-v0.7.0is removed.
subscribeToPayViaRoutes: Addedindextorouting_failureindicating which hop failed
getInvoice: Addedpaymentsto show HTLC payments to the invoicegetInvoices: AddedpaymentssubscribeToInvoice: AddedpaymentssubscribeToInvoices: Addedpayments
getInvoices: Remove attributeroutes. To get private routes decode the payment request
getRoutesImprove route construction correctnessrouteFromChannels,routeFromHops, standardizecltvargument ascltv_delta
routeFromChannelsargumentcltvis renamedcltv_deltarouteFromHopsmethod removed, userouteFromChannelsinsteadsubscribeToChainAddressargumentmin_heightis now requiredsubscribeToChainSpendargumentmin_heightis now required
getNodeaddedis_omitting_channels. This is recommended if not getting channels.
subscribeToTransactionsinclude the derived output addresses in chain_transaction event
getForwardingReputationsadd support for general peer reputations
getForwardingReputationsreturns either channel or peer odds depending on lnd version
- Fix
closeChannelto allow specifying a channel id when closing a channel - Add
connectWatchtowerto connect to a watchtower - Add
disconnectWatchtowerto disconnect a watchtower - Add
getConnectedWatchtowersto get watchtowers and watchtower info - Add
isDestinationPayableto check if a destination is payable - Add
probeForRouteoptionis_ignoring_past_failuresto ignore mission control in probe - Add
updateConnectedWatchtowerto update a connected watchtower
getRoutes:timeoutargument for the final cltv delta is renamedcltv_deltagetRoutes:feeargument for the max fee is renamedmax_feepaymax timeout rename:timeout_heighttomax_timeout_heightpayViaPaymentDetails: max cltv rename:timeout_heighttomax_timeout_heightpayViaPaymentRequest: max cltv rename:timeout_heighttomax_timeout_heightprobeForRoute: Ignoring below probability optionignore_probability_beloweliminatedsubscribeToPayViaDetails: max cltv rename:timeout_heighttomax_timeout_heightsubscribeToProbe: max cltv rename:timeout_heighttomax_timeout_heightsubscribeToProbe: removeignore_probability_below
- Add hop hints strictness option to getRoutes to only find routes that go through specified routes
- Add hop hints strictness to subscribeToProbe, probeForRoute
- Add outgoing channel support to getRoutes
- Pad the final CLTV of getRoutes output
- Add is_synced_to_graph to getWalletInfo
- Add watchtower server status method
- Improve compatibility with lnd 0.7.1
- Abstract out accounting methods to ln-accounting
- Standardize the output of
verify_messageto match expectations
- Add support for route hints in payment details
- Add support for failure reasons in router rpc payments
- Add support for reserve tokens in get channels
- Allow using mission control probabilities in probing
- Add support for getting chain receives in accounting report
- Add support for deleting all payments
- Avoid returning null transaction ids in graph updates
- Add uris to getWalletInfo method
- Add getPaymentOdds method to calculate the odds of a successful payment
Fixes:
- Add missing subscribeToPayViaRequest
All previously cbk type functions can now also be used as Promises
- Add deleteForwardingReputations to clear mission control reputations
- Add getForwardingReputations to get mission control reputations
- Add getPayment method to lookup a payment
- Add payViaPaymentDetails method to make a payment using deconstructed details
- Add payViaPaymentRequest method to make a payment using BOLT 11 pay request
- Add subscribeToPastPayment to subscribe to a payment's status
- Add subscribeToPayViaDetails to make a payment using details and sub to it
- Add subscribeToPayViaRequest to make a payment using a request and sub to it
- All promisified methods are removed
- Response type strings are being phased out
- Open channel static fee amount is no longer subtracted
- Open channel requires an explicit local amount
subscribeToBackupemits named eventssubscribeToBlocksemits named eventssubscribeToChannelsemits named eventssubscribeToGraphemits named eventssubscribeToInvoiceemits named eventssubscribeToInvoicesemits named events
- Add helper method for probing to find a route
- Emit a payment in flight event for pay via routes subscription
- Add support for returning original payment request in getPayments
- Add support for paying via routes in the routerrpc API.
- Add support for node color in getWalletInfo
- Add support for watching arbitrary output scripts when subscribing to address
- Add support for returning chain ids in getWalletInfo
lightningDaemon is renamed to authenticatedLndGrpc and
unauthenticatedLndGrpc and there is no more need to pass a service argument.
These two methods also now return their result wrapped in lnd in an object.
Pass the object wrapped in lnd to methods and they will now select the
appropriate service automatically.
pay arguments have been renamed:
max_feereplacesfeeoutgoing_channelreplacesouttimeout_heightreplacestimeout
pay also has a new argument for use when specifying a path:
pathfinding_timeout. This is the cutoff time for starting a new pay attempt.
There have been multiple error codes changed