Repository navigation
Conversation
halseth
previously approved these changes
May 24, 2018
Contributor
There was a problem hiding this comment.
nit: "returns a slice containing the active chains"
* master: (34 commits) test: fix constant compliation error Revert "test: account for block race by mining additional block in remote htlc force close test" test: detect funding output sweep tx after force close test: expect sweep txs for both sides in the mempool after csv delay htlcswitch: remove unused Disconnect from Peer interface htlcswitch/link: add failed variable to ensure exit lnd_test: add testFailingLink htlcswitch/link: settle with fake preimage if BogusSettle active htlcswitch/hodl: add flag BogusSettle htlcswitch/link_test: add TestChannelLinkFail htlcswitch/link_test: extract adding link to switch peer: populate OnChannelFailure in link config htlcswitch/link: make fail() call OnChannelFailure with LinkFailureError htlcswitch/linkfailure: define LinkFailureError peer: move link creation into new method contractcourt/chan_arb: specify that ForceCloseChan removes link from switch multi: increase max funding and payment amount 60x under Litecoin test: modify waitForTxInMempool to expect only one tx in the mempool test: use graph notifications to receive node announcement lntest: wait until channel is active within AssertChannelExists ...
* master: (57 commits) fundingmanager: hold mutex during ctx cancellation fundingmanager test: check that error is sent on timeout fundingmanager: send on resCtx.err in failFundingFlow fundingmanager: simplify handleErrorMsg fundingmanager: send error directly in CancelPeerReservations fundingmanager: fail funding flow on confirmation timeout fundingmanager: delete empty peer in deleteReservationCtx fundingmanager: don't block on pendingChannels chan send server: increase updateChan buffer to 2 fundingmanager: use non-zero channel ID discovery: if unable to find gossipSyncer for peer, create one cmd/lncli: add changepassword command lnd+walletunlocker: implement ChangePassword RPC macaroons: export db filename lnd+lnwallet: extract default wallet password vars into lnwallet lnd+walletunlocker: remove macaroon dependency from UnlockerService lnrpc: add new ChangePassword RPC to WalletUnlocker discovery: attempt to request the full chan ann for stray chan updates discovery: add new SyncState method to gossipSyncer channeldb: ensure that when we delete a channel we delete entry in edge update index ...
* master: (122 commits) docs: further clarify --txindex usage for full nodes README: update README to indicate tx index is no longer required for full node backends htlcswitch: add basic table driven tests for ExpectedFee rpc: sort closed channels in order of ascending height peer: remove no longer needed block epoch discovery/gossiper: hold ref to block epoch stream and cancel when stopped multi: move block epochs dependency from links to switch peer+htlcswitch: randomize link commitment fee updates discovery: log failed attempts in replyShortChanIDs discovery: randomize order of different bootstrappers server: improve initial peer bootstrapping utxonursery: rebroadcast finalized kinder txns on startup lnrpc: add ClosedChannels call lncli: add closedchannels command rpcserver: add ClosedChannels call gitignore: exclude debug binaries walletunlocker: pass unlocked wallet back to lnd to avoid double unlock lnd: use unlocked wallet from WalletUnlocker for chain control btcwallet: extend config to allow passing of an unlocked wallet btcwallet: use already unlocked wallet if available ...
Member
|
Committed as ee65605. |
GeorgeTsagk
added a commit
to GeorgeTsagk/lnd
that referenced
this pull request
Jul 27, 2026
Add the numeric primitives underlying local reputation scoring, following the "Decaying Average" and "Revenue Threshold Aggregation" sections of BOLT lightningnetwork#1280, plus a package README describing the subsystem: - saturatedI64: int64 arithmetic that clamps rather than wraps, so the long-window fee accumulators never silently flip sign. - decayingAverage: a value decaying as e^(-elapsed/window) per the spec's decay_rate. - aggregatedWindowAverage: a decaying average over several windows with the spec's exponential warm-up factor.
GeorgeTsagk
added a commit
to GeorgeTsagk/lnd
that referenced
this pull request
Jul 27, 2026
Add the per-channel reputation state and the BOLT lightningnetwork#1280 scoring rules built on the decaying-average primitives: - Config: the tunable parameters (resolution period, revenue window, reputation multiplier, revenue window count) with the spec defaults. - effectiveFee/opportunityCost/inFlightRisk: an HTLC's contribution to reputation and its worst-case in-flight risk. - channelReputation: the per-channel outgoing reputation, incoming revenue threshold and pending HTLCs, plus the sufficiency inequality outgoing_reputation - htlc_risk >= revenue_threshold.
GeorgeTsagk
added a commit
to GeorgeTsagk/lnd
that referenced
this pull request
Aug 18, 2026
Add the numeric primitives underlying local reputation scoring, following the "Decaying Average" and "Revenue Threshold Aggregation" sections of BOLT lightningnetwork#1280, plus a package README describing the subsystem: - saturatedI64: int64 arithmetic that clamps rather than wraps, so the long-window fee accumulators never silently flip sign. - decayingAverage: a value decaying as e^(-elapsed/window) per the spec's decay_rate. - aggregatedWindowAverage: a decaying average over several windows with the spec's exponential warm-up factor.
GeorgeTsagk
added a commit
to GeorgeTsagk/lnd
that referenced
this pull request
Aug 18, 2026
Add the per-channel reputation state and the BOLT lightningnetwork#1280 scoring rules built on the decaying-average primitives: - Config: the tunable parameters (resolution period, revenue window, reputation multiplier, revenue window count) with the spec defaults. - effectiveFee/opportunityCost/inFlightRisk: an HTLC's contribution to reputation and its worst-case in-flight risk. - channelReputation: the per-channel outgoing reputation, incoming revenue threshold and pending HTLCs, plus the sufficiency inequality outgoing_reputation - risk >= revenue_threshold.
GeorgeTsagk
added a commit
to GeorgeTsagk/lnd
that referenced
this pull request
Aug 18, 2026
Add the numeric primitives underlying local reputation scoring, following the "Decaying Average" and "Revenue Threshold Aggregation" sections of BOLT lightningnetwork#1280, plus a package README describing the subsystem: - saturatedI64: int64 arithmetic that clamps rather than wraps, so the long-window fee accumulators never silently flip sign. - decayingAverage: a value decaying as e^(-elapsed/window) per the spec's decay_rate. - aggregatedWindowAverage: a decaying average over several windows with the spec's exponential warm-up factor.
GeorgeTsagk
added a commit
to GeorgeTsagk/lnd
that referenced
this pull request
Aug 18, 2026
Add the per-channel reputation state and the BOLT lightningnetwork#1280 scoring rules built on the decaying-average primitives: - Config: the tunable parameters (resolution period, revenue window, reputation multiplier, revenue window count) with the spec defaults. - effectiveFee/opportunityCost/inFlightRisk: an HTLC's contribution to reputation and its worst-case in-flight risk. - channelReputation: the per-channel outgoing reputation, incoming revenue threshold and pending HTLCs, plus the sufficiency inequality outgoing_reputation - risk >= revenue_threshold.
GeorgeTsagk
added a commit
to GeorgeTsagk/lnd
that referenced
this pull request
Oct 6, 2026
Add the numeric primitives underlying local reputation scoring, following the "Decaying Average" and "Revenue Threshold Aggregation" sections of BOLT lightningnetwork#1280, plus a package README describing the subsystem: - saturatedI64: int64 arithmetic that clamps rather than wraps, so the long-window fee accumulators never silently flip sign. - decayingAverage: a value decaying as e^(-elapsed/window) per the spec's decay_rate. - aggregatedWindowAverage: a decaying average over several windows with the spec's exponential warm-up factor.
GeorgeTsagk
added a commit
to GeorgeTsagk/lnd
that referenced
this pull request
Oct 6, 2026
Add the per-channel reputation state and the BOLT lightningnetwork#1280 scoring rules built on the decaying-average primitives: - Config: the tunable parameters (resolution period, revenue window, reputation multiplier, revenue window count) with the spec defaults. - effectiveFee/opportunityCost/inFlightRisk: an HTLC's contribution to reputation and its worst-case in-flight risk. - channelReputation: the per-channel outgoing reputation, incoming revenue threshold and pending HTLCs, plus the sufficiency inequality outgoing_reputation - risk >= revenue_threshold.
GeorgeTsagk
added a commit
to GeorgeTsagk/lnd
that referenced
this pull request
Oct 9, 2026
Add the numeric primitives underlying local reputation scoring, following the "Decaying Average" and "Revenue Threshold Aggregation" sections of BOLT lightningnetwork#1280, plus a package README describing the subsystem: - saturatedI64: int64 arithmetic that clamps rather than wraps, so the long-window fee accumulators never silently flip sign. - decayingAverage: a value decaying as e^(-elapsed/window) per the spec's decay_rate. - aggregatedWindowAverage: a decaying average over several windows with the spec's exponential warm-up factor.
GeorgeTsagk
added a commit
to GeorgeTsagk/lnd
that referenced
this pull request
Oct 9, 2026
Add the per-channel reputation state and the BOLT lightningnetwork#1280 scoring rules built on the decaying-average primitives: - Config: the tunable parameters (resolution period, revenue window, reputation multiplier, revenue window count) with the spec defaults. - effectiveFee/opportunityCost/inFlightRisk: an HTLC's contribution to reputation and its worst-case in-flight risk. - channelReputation: the per-channel outgoing reputation, incoming revenue threshold and pending HTLCs, plus the sufficiency inequality outgoing_reputation - risk >= revenue_threshold.
GeorgeTsagk
added a commit
to GeorgeTsagk/lnd
that referenced
this pull request
Oct 9, 2026
Add the numeric primitives underlying local reputation scoring, following the "Decaying Average" and "Revenue Threshold Aggregation" sections of BOLT lightningnetwork#1280, plus a package README describing the subsystem: - saturatedI64: int64 arithmetic that clamps rather than wraps, so the long-window fee accumulators never silently flip sign. - decayingAverage: a value decaying as e^(-elapsed/window) per the spec's decay_rate. - aggregatedWindowAverage: a decaying average over several windows with the spec's exponential warm-up factor.
GeorgeTsagk
added a commit
to GeorgeTsagk/lnd
that referenced
this pull request
Oct 9, 2026
Add the per-channel reputation state and the BOLT lightningnetwork#1280 scoring rules built on the decaying-average primitives: - Config: the tunable parameters (resolution period, revenue window, reputation multiplier, revenue window count) with the spec defaults. - effectiveFee/opportunityCost/inFlightRisk: an HTLC's contribution to reputation and its worst-case in-flight risk. - channelReputation: the per-channel outgoing reputation, incoming revenue threshold and pending HTLCs, plus the sufficiency inequality outgoing_reputation - risk >= revenue_threshold.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.