]> git.bitcoin.ninja Git - rust-lightning/commit
Allow to set manual node penalties
authorElias Rohrer <ero@tnull.de>
Mon, 4 Jul 2022 07:36:06 +0000 (09:36 +0200)
committerElias Rohrer <ero@tnull.de>
Tue, 5 Jul 2022 14:39:53 +0000 (16:39 +0200)
commit1ddc6f10890d990452fe7ec5639b6c5d83ff3b1b
treeab9fd0de8ad4ea45f26a109c5653bd2e927578de
parentf3d5b945c3c9d5b1d9abb3d1cd58f4159d1084e3
Allow to set manual node penalties

A user might want to explicitly penalize or prioritize a particular
node. We now allow them to do so by specifying a manual penalty
override for a given node that is then returned by the scorer.
lightning/src/routing/router.rs
lightning/src/routing/scoring.rs