Skip to content

Conversation

@carlaKC
Copy link
Contributor

@carlaKC carlaKC commented Aug 8, 2025

Depends on #277.

This PR contains some follow ups for this PR, primarily style fixes and refactors.

@carlaKC carlaKC marked this pull request as ready for review August 12, 2025 13:57
carlaKC added 12 commits August 12, 2025 09:57
Then the Sender<SimulationOutput> is dropped by setup_payemnt_events,
the corresponding Receiver<SimulationOutput> will send None once all
of the events have been drained from it. If we listen on shutdown
triggers, we don't have the opportunity to drain this channel and
complete reporting all of our payments.

Remove listening on the listener, as we can just rely on canonical
channel mechanics.
Absolute is already apparent from the use of SystemTime, rename to
indicate what this is used for.

simln-lib/refactor: rename absolute_time to execution_time

Absolute is already apparent from the use of SystemTime, rename to
indicate what this is used for.
We already have to look up our payment executor in generate_payment,
so here we remove unnecessary additional parameter telling us a value
we'll be looking up anyway.
Also shorten some log lines while we're here.
Rather than need to downcast the dyn LightningNode, we store the
raw mock in our test builder output and add a helper to cast to dyn.
@carlaKC
Copy link
Contributor Author

carlaKC commented Aug 12, 2025

@carlaKC carlaKC merged commit 2dda472 into bitcoin-dev-project:main Aug 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants