-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[custom channels]: test forward traffic shaper #912
Conversation
9db23ae
to
98c9819
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, pending base PRs
d4505dd
to
868e57c
Compare
07497a9
to
b41c464
Compare
82c8511
to
e413905
Compare
492d1e6
to
8249b69
Compare
8249b69
to
03db2c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
pending base PR
Will need to highly prioritize for rc2 |
8ac370b
to
8371d03
Compare
03db2c7
to
59a6553
Compare
t.Logf("Got quote for %v asset units at %3f msat/unit from peer %s "+ | ||
"with SCID %d", numUnits, msatPerUnit, erin.PubKeyStr, | ||
quote.AcceptedQuote.Scid) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, I think it would be better if log messages were written with args at the end:
t.Logf("Got quote from peer (asset_units=%v, msat_to_asset_units=%3f, peer=%s, "+
"scid=%d)", numUnits, msatPerUnit, erin.PubKeyStr,
quote.AcceptedQuote.Scid)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I generally agree. And with the new slog
based logging library we'll be able to do that in a more generalized manner (at least in lnd
).
For now I'm trying to keep this aligned with other such messages in other tests.
59a6553
to
a08e051
Compare
Depends on lightningnetwork/lnd#9333.Depends on lightninglabs/taproot-assets#1236.
Makes sure channels aren't force closed in certain edge cases.