Bitcoin Transaction Fees and UTXO Management

-------------------------

- when bitcoin blocks are full, highest fee transactions are confirmed first

- your bitcoin wallet may show a single balance but the reality is that it is made of many different unspent transaction outputs (UTXOs)

- when you make a bitcoin transaction your wallet will select as many UTXOs as necessary to reach the amount of bitcoin you wish to send

- onchain transaction fees are calculated based on size in bytes not the amount of sats sent

- the more utxos required on the input side the higher the fee paid

- from a cost perspective you want to consolidate utxos, fewer utxos with larger amounts

- consolidation has privacy tradeoffs though: you link any UTXOs you consolidate as owned by the same person + larger UTXOs mean you will dox more of your stack to anyone you pay in the future

Therefore you want to reduce the number of UTXOs you have while being mindful of the privacy concerns.

Lightning Transaction fees are calculated differently: based on the amount in sats sent. Opening lightning channels when fees are low can enable you to save money in the future when fees rise. 🤙

Reply to this note

Please Login to reply.

Discussion

#[0]

Thanks man. This info was great refresher and a nice link to send people for quick FAQs

🤙🏼

how do you manage your UTXOs

One by one

Specter or Sparrow

Curious about the same

Cheers brother. 🍻

Any tips for the relays here for a non-techy guy? Should we be subscribed to more than the default 7?

high value concise bullet points here 🤙

Except when a miner decides to skip your fees and mine a 4mb block for free right?

#[0]

I observed different LN fees depending on whom and from wallet I sent them. How does that work? 🐶🐾⚡️

Is it best to consolidate first before mixing? Or mix and then consolidate?

You can consolidate within a coinjoin using Wasabi Wallet so you keep your privacy on every input.

Any step by step guides that you know of that you can recommend?

Yes, here's the download and setup walkthrough: https://www.youtube.com/watch?v=fM5pVMj91D0

And here's the coinjoin walkthrough: https://www.youtube.com/watch?v=UbOAbXjzBJg

Awesome! Thanks 🤙🏼

1. Receive bitcoin

2. Wait

3. Spend bitcoin anonymously

Using Wasabi got pretty simple, coinjoin just happens by default in the background.

If we take whirlpool as an example, you are effectively doing both at the same time. You select a number of UTXO inputs to coinjoin,selectt pool size which represents the size of each UTXO output. In general you want to batch into material amounts to minimize coinjoin and miner fees.

Whirlpool does not do both at the same time. It creates a pre mix transaction called "tx0" that consolidates your inputs and produces traceable change.

Thankyou for clarifying. That's a better way to explain it.

The privacy piece is hard, haven’t wrapped my head around it yet.

Mixing services seem like an “easy” component of the privacy piece, but the Tornado Cash debacle has me second guessing this. What’s to stop bitcoin mixed through whirlpool et al being tagged & declared tainted like other coins did with Tornado Cash?

Is this a false equivalence or a real risk?

This is a real risk

Did you format this, or is that just happening client side?

For privacy minded people it is worth the extra fees to use more utxo's like with stonewall tx's

Great recap

What an awesome explanation

Zap 🤙⚡️

#[0]

This is very educational. Wow

#[0]

Its overwhelming for tug

Your post is getting a lot of eyes on it.

Added to the https://member.cash/hot feed

#[0]

good one @npub1qgwhaaa2lsp54rl0hfx7qa3z678ax6wlre0em475rhpvl7n54cpqgg7y7n

Consolidate???

LMAO....

I think each of my utxo are bigger enough for the future...

#[0]

"highest fee transactions are processed first" - not exactly. Miner selects transactions. Because the miner consumes fees mostly his primary goal will be to select highest fee transactions. But small transactions with low fees can be lucky to be used to fill a block. And a miner has the ability to set other priorities.

Thanks. But how do you reduce utxo from your wallets without fee?

“you link any UTXOs you consolidate as owned by the same person” until you normalize payjoin 🤠

Isn't payjoin obvious like reverse peelchain that merchant just accumulates payments into ever growing UTXO?

if you only accept payjoin and always choose to contribute the same coin, sure. otherwise it’s covert

(the default Unnecessary Input Heuristic avoidant coin selection in use in BTCpay and elsewhere avoids this problem)

What is the acceptable amount per utxo for you ? 0.1btc ? 0.01btc ? 100k sats ?

If we are in an hyper bitcoinised world 1 sats will be worth a few cents.

Buying a beer will be done over Lighting or whatever second/third layer will be in use with low fees right ?

So On-chain payment will be use for expencive stuff like a house or just a used car.

What ever you will get that day, your spent utxo may be or too much or not enough. And those services requiere your ID anyway... 🤔

Awesome summary.

Nostr needs a bookmark feature.

#[0]

I think one should have a diversified set of utxos from small to very large so that he can combine the smallest amount of utxo possible to pay any amount, the different coinjoin sets in sparrow comes in handy 100k sats 1m sats 5m sats..

Wasabi does this even better since you get private outputs of many denominations, allowing you to easily compose transactions that don't even create a change output-

That's one of the important improvements of Wasabi 2.0, low hamming weight standard denominations help in two ways:

First, in a coinjoin to efficiently decompose any arbitrary input value into less than 8 output values. This avoids non-standard change output.

Second, in a single user transaction to efficiently consolidate only a few inputs to generate an arbitrary output value. This avoids payment change output.

I have my all my utxos in 1 adress only, an issue or not? All superior to 100k sats

Personally, I am stacking a diversified set of utxos. Thinking long term, I want to have smaller utxos available to spend when their purchasing power is much greater than today.

You think mixing at higher amounts is a good compromise? Like .05 or higher?

The best and most succinct description of UTXOs I have seen. 👏

How to open a lightning channel for complete newbies? Anyone?

Download wallet of satoshi for iOS or android

Plug your LNURL to your profile under edit profile

Once that’s done let me know, I’ll send you some sats

Thanks! I'll try when I get home. I've got amethyst on my Android, Iris and astral on my computer. And get Alby. If I can't do it through through those i'll try wallet of Satoshi

Congratulations to everyone who benefited from my company yesterday. I still want more people to benefit. Ask me how And I will show on how you can earn $3500 in 24hours ...

100% legit..join the telegram link for more info

👇👇👇👇👇👇👇👇

https://t.me/httpsinnotechkeyworkjobs