rust-payjoin
rust-payjoin copied to clipboard
Payjoin Dev Kit scales Bitcoin, saves fees, and preserves privacy with one tiny library
> I looked to see if this was used anywhere in the v1 app. It's not and thus should not pub. The wrapper method is used in the v2 app,...
When a directory responds with [Key Configuration Rejected](https://github.com/payjoin/rust-payjoin/blob/515e06a82632a0bb368287606bdf4dff51f47a51/payjoin-directory/src/lib.rs#L220) 400 error, clients should switch on that error variant and attempt to re-fetch fresh OHTTP keys. Currently they keep retrying and failing:...
BIP 78 does not restrict the size of the response, but specifies that content length must be included. The v1 receiver enforces a reasonable limit on the request: https://github.com/payjoin/rust-payjoin/blob/34ee78d44e1527210a343f4e08128e41a82a67a1/payjoin/src/receive/v1.rs#L95-L97 however,...
Add content length checks in v1 send and payjoin-cli. Fixes #483
BIP 78 got some fixes merged this morning - [Keep input utxo data through input finalization ](https://github.com/bitcoin/bips/pull/1396#event-15924379793) - [Allow mixed inputs](https://github.com/bitcoin/bips/pull/1605) We must adjust to keep up to date as...
Our payjoin-cli implementation only uses one OHTTP Relay by configuration, and [BullBitcoin Mobile selects one from those available at random](https://github.com/SatoshiPortal/bullbitcoin-mobile/blob/f52da087ea36ed0aa5a4a261c2dbe19e16cbf44e/lib/_pkg/payjoin/manager.dart#L487-L492) However, if a request fails due to an unresponsive OHTTP...
Our dependency is twofold, in function arguments and in errors. We can more easily maintain stability of our public API if we internalize our `url` dependencies in both function arguments...
instead of std::time::SystemTime To support time in browsers/wasm re: #594
# Add Consolidation Input Selection Strategy ## Overview This PR introduces a new input selection strategy for receivers that optimizes for UTXO consolidation. This enables receivers to use payjoins as...
with the default options, which we use, the tracing-subscriber crate already includes tracing-log as a dependency, so might as well enable the std::log event bridge opening as a draft primarily...