You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lnd: wire read-only reputation subsystem behind a flag
Construct the local reputation manager in the server when the experimental
routing.reputation flag is set (default off), and wire it into the switch via
a small adapter that bridges the switch's ReputationManager interface to the
reputation package. When the flag is off the manager is nil and the hooks are
no-ops with zero overhead, so the switch is byte-for-byte unchanged.
This also registers the REPM subsystem logger with the root logger; without
it the log-only subsystem would emit nothing in a running node.
Copy file name to clipboardExpand all lines: lncfg/routing.go
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ type Routing struct {
10
10
11
11
StrictZombiePruningbool`long:"strictgraphpruning" description:"If true, then the graph will be pruned more aggressively for zombies. In practice this means that edges with a single stale edge will be considered a zombie."`
12
12
13
+
Reputationbool`long:"reputation" description:"EXPERIMENTAL: enable the read-only local reputation subsystem (channel jamming mitigation). It only observes HTLC forwarding to compute and log reputation; it does NOT affect routing."`
0 commit comments