Open habibitcoin opened 1 week ago
@habibitcoin was this behavior encountered while using litd or tapd?
@dstadulis was using tapd specifically
I wasn't able to reproduce the issue, but for testing purposes I use regtest. so that might have to do with it.
What I did is create an itest that creates a synthetic situation where the fees don't meet the min relay fee. That way I recreated the issue. PR #1191 should fix this by bumping the fees to the min relay fee before broadcasting.
awesome @gijswijs that should work! and yeah, i couldn't reproduce on regtest either, seemed to be strictly a signet issue
What chain backend are you using for the lnd
that's backing tapd
for your signet setup?
It's possible that the fee floor LND is using is misconfigured, or the min relay fee LND is reading from that chain backend is not being propagated correctly.
From mempool.space
it looks like the feerate for signet is often 1 sat/vB, but I think LND has sanity checks before TX broadcast that maybe should have caught this anyways.
Background
When using signet, it seems that calls to AnchorVirtualPSBT RPC and to SendAsset RPC will result in a transaction that does not meet the min-relay-fee. The vsize of the transaction ends up being 254.5 vB usually (see https://mempool.space/signet/tx/aff4e70f1816ec611da03a89889be79b81b57067355abe99c14e89f0f2085ba8#vin=0 as an example).
Here is an example txn that will not relay with a fee rate of barely under 1.00 sats/vB (size is 254.5, fee is 254)
I'm not sure exactly the problem here, perhaps something related to the nature of signet transactions (I havent seen this problem on other networks). Also unfortunately it seems not everyone has adopted package relay, so unable to use CPFP via package relay to unstuck the above txn using the below child:
Your environment
Steps to reproduce
Mint any asset and finalize the batch. Then try to spend the asset using the CLI and do NOT specify a fee rate.
Expected behavior
Transaction should be generated with 254.5 sats --> round up to 255 sats
Actual behavior
Transaction generated is 254 sats