joinmarket-clientserver icon indicating copy to clipboard operation
joinmarket-clientserver copied to clipboard

[PoC] Use Esplora for fee estimation and tx broadcast for blocksonly nodes

Open kristapsk opened this issue 1 year ago • 9 comments

Proof of concept, not for merging at current state.

See #1466. This allows to run JoinMarket with Bitcoin node configured in blocksonly mode (no local mempool). It fallbacks to Esplora (blockstream.info) for fee estimation, which locally will not work at all, and also tries to push tx to the network through it too, not local node, for privacy reasons.

So far have tested with direct (non coinjoin) sends on a testnet3 (unfortunatelly Blockstream doesn't run signet instance of Esplora and https://explorer.bc-2.jp/ which everyone used for signet is down for some time).

Currently this is kinda hacky, Esplora code should not be integrated into blockchaininterface, some refactorizations would be needed. But first I would want to finish with #1462.

kristapsk avatar Apr 26 '23 14:04 kristapsk