Skip to content

Conversation

@tnull
Copy link
Contributor

@tnull tnull commented Nov 3, 2025

Fixes #181

We default to use ring if multiple features are set, ensuring the features are additive. To that end, we also add a check to CI that asserts we succeed to build with both features set.

Would be cool to get a patch release for this, as it's currently breaking our docs.rs builds in lightning-liquidity.

tnull added 2 commits November 3, 2025 10:49
We assert that we still succeed compilation if multiple `rustls`
features are set.
@tnull
Copy link
Contributor Author

tnull commented Nov 3, 2025

CI failure seems unrelated: #184.

@ValuedMammal
Copy link
Contributor

ACK 0e28021.

I'll see about adding a commit ValuedMammal/rust-electrum-client@7664faf to fix CI before merging.

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).
@ValuedMammal
Copy link
Contributor

ACK 80bf744.

Copy link
Contributor

@oleonardolima oleonardolima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cACK 80bf744

@ValuedMammal ValuedMammal merged commit b185259 into bitcoindevkit:master Nov 3, 2025
4 checks passed
radiant-smith-lk20 added a commit to radiant-smith-lk20/rust-electrum-client that referenced this pull request Dec 15, 2025
…ltiple `rustls` features are set

80bf744a706caf60f08a97cf49f02531239715cd test: don't assert the value returned by `relay_fee` (valued mammal)
0e28021b3e5f16a792d2eeb3864333c8e762d784 Check in CI that we compile if all `rustls` features are set (Elias Rohrer)
980fa4afd69e8a3700958d28ce99780369e10313 Default to `ring` if multiple `rustls` features are set (Elias Rohrer)

Pull request description:

  Fixes #181

  We default to use `ring` if multiple features are set, ensuring the features are additive. To that end, we also add a check to CI that asserts we succeed to build with both features set.

  Would be cool to get a patch release for this, as it's currently breaking our docs.rs builds in `lightning-liquidity`.

ACKs for top commit:
  ValuedMammal:
    ACK 80bf744a706caf60f08a97cf49f02531239715cd.
  oleonardolima:
    cACK 80bf744a706caf60f08a97cf49f02531239715cd

Tree-SHA512: 0b1bacb0f3a57fd8c666e1ece14b9a733f9d5dfdec7efd6461b400d58ef0e302c286597531381e417b5fdf1b97659ed36266d2cf89f8a0c4cab5e4d9b3fdeed7
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.

use-rustls and use-rustls-ring conflict

3 participants