Skip to content

chainregistry: fix ActiveChains comment - #1280

Closed
maurycy wants to merge 4 commits into
lightningnetwork:masterfrom
maurycy:chainregistry-activechains-comment
Closed

maurycy wants to merge 4 commits into
lightningnetwork:masterfrom
maurycy:chainregistry-activechains-comment

Conversation

@maurycy

@maurycy maurycy commented May 23, 2018

Copy link
Copy Markdown
Contributor

No description provided.

halseth
halseth previously approved these changes May 24, 2018
Comment thread chainregistry.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: "returns a slice containing the active chains"

maurycy added 3 commits May 25, 2018 00:22
* 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
  ...
@meshcollider meshcollider added the code health Related to code commenting, refactoring, and other non-behaviour improvements label Jun 15, 2018
* 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
  ...
@Roasbeef

Copy link
Copy Markdown
Member

Committed as ee65605.

@Roasbeef Roasbeef closed this Jul 10, 2018
@maurycy
maurycy deleted the chainregistry-activechains-comment branch July 23, 2018 03:27
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code health Related to code commenting, refactoring, and other non-behaviour improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants