Skip to content

Conversation

@ValuedMammal
Copy link
Contributor

@ValuedMammal ValuedMammal commented Oct 29, 2025

Change ConfigBuilder::timeout to accept Option<Duration>. This makes the API more explicit and less error prone, as the caller no longer needs to assume the units of the given duration.

Also updated the code to run clippy check in CI using rust 1.90.0.

BREAKING:

The timeout method on ConfigBuilder is changed to accept a timeout: Option<Duration>. Previously it was Option<u8>.

fix #151
fix #175
Supersedes #179

Changed `test_relay_fee` to no longer assert the value of min
relay fee, and instead assert that the value is non-zero.
This fixes a test failure likely due to some nodes now having a
smaller default min relay fee (100sat).
- Fixed hidden lifetime in `Batch::iter`
- Use `io::Error::other` in place of `io::Error::new`
when the error kind is `ErrorKind::Other`.
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.

[ci] Update clippy toolchain Timeout should be set with a std::time::Duration

1 participant