Wednesday, 16 September 2020

Fun with low fee TXNs on Mainnet

Here's a 0.493 sat/vB TXN I put on mainnet today. You'll have to use the SoChain block explorer to see it though. I give it a 3% chance of getting confirmed, but we'll wait and see. The TXN is a donation to Addy@Bitnodes since I use their seeder for my network herder.

So last month, I voiced the unpopular opinion that node operators should lower the minrelaytxfee setting to allow low-fee TXNs to propagate more freely throughout the network. Then I asked why miners weren't mining 0.999 sat/vB TXNs during idle periods since it should be more profitable than mining no TXNs at all. Finally I wrote a node herder to walk the network looking for node operators that were running minrelaytxfee below the default (1000 sat). After walking about 26% of the network, turns out about 5% of nodes are allowing low fee TXNs.

So in that vein of discussion, I decided to just sign some low-fee TXNs and send them to the 5% of nodes I found and see what happens. To my surprise it showed up on one of the 23 block explorers I tried after broadcasting it. Surprisingly, that comes out to about 5% of explorers accepting low fee TXNs as well. So hopefully 5% or so of the miners will confirm low fee TXNs. We'll see.

BTW, to do this, this is what I did.

  1. Pair my HW wallet to Electrum
  2. Use the paytomany Electrum API to craft a TXN below 1 sat/vB
  3. Import the TXN to sign in Electrum
  4. Ran a full node with minrelaytxfee set to 1 sat (0.001 sat/vB)
  5. Walked the network to find a good number of low-fee peers
  6. Use bitcoin addnode API to herd my node to the low-fee peers I discovered.
  7. Use bitcoin sendrawtransaction API to broadcast TXN

Wait and see if it can propagate to a miner and if a miner will accept it.

BTW, there is a PR to lower the minrelaytxfee in core, but it's dragged on for years. The setting was lowered about every year or so in the early days, but hasn't been touched for many years now.

submitted by /u/brianddk
[link] [comments]

No comments:

Post a Comment