]> git.bitcoin.ninja Git - rust-lightning/commit
Add unit tests for Scorer
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 4 Nov 2021 21:55:01 +0000 (16:55 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 8 Nov 2021 21:31:42 +0000 (15:31 -0600)
commitb57ed7982f735c91171dfcf1d0dde5c607dba702
tree768afc179a4d0f3ef34f15c478f65090bc09f2a6
parent2a7d9c8ddd08bcc205eec223a0f35730271de072
Add unit tests for Scorer

Test basic and channel failure penalties, including after a
(de-)serialization round trip.
lightning/src/routing/scorer.rs