Proposal: SPV Fee Discovery mechanism



Summary:

The email thread discusses the issue of transaction fees for SPV wallets and proposes an alternative way for them to learn about fees. The current method of updating a hard-coded value every so often is not ideal as it does not take into account network congestion at the time of connection. The proposed solution requires a new transaction version that embeds output values into the signed data and an upgrade to the P2P protocol to send UTXO data. The wallet sets a Bloom filter with an FP rate that ensures it will see some random subset of all transactions being broadcast on the network, and with the extra data, it can calculate the fee paid. This method has the advantage of not having to trust miners to publish data accurately, but it requires significant protocol upgrades and new code in SPV wallets.


Updated on: 2023-06-09T22:47:43.662498+00:00