Author

Topic: UTXO Consolidation using Segwit and Taproot (Read 214 times)

hero member
Activity: 1442
Merit: 775
September 28, 2023, 06:29:11 AM
#15
My question now is, when sending does the sender and the receiver have to use the same address in order to achieve the reduced transaction fee?
Consolidating your inputs first if you have many inputs in your wallets when mempools are clear and give your perfect fee rate like 1 satoshi/vbyte or 2 satoshi/vbyte for consolidation with cheap transaction fee.

Do it first as consolidation is your preparation for future on-chain transactions when mempools are no longer clear.

I have two topics about Bitcoin Taproot but I have to update those image links.
Bitcoin Taproot (Bech32m - bc1p) adoption
Create Taproot address for your Bitcoin

Bitcoin transaction size calculator
https://jlopp.github.io/bitcoin-transaction-size-calculator/
https://bitcoindata.science/plot-your-transaction-in-mempool.html
https://bitcoinops.org/en/tools/calc-size/

Usually you can not control what receivers do so don't mind about it too much.
hero member
Activity: 868
Merit: 952
September 27, 2023, 11:53:34 AM
#14
After consolidating and one still wants to have a reduced or higher transaction fee for the transaction, is it still permissible or possible to modify the transaction fee before sending?

If I get your question right you are asking if after consolidating all the transactions and the wallet suggests a transaction fee for you, you wish to customize that fee?

Yes it is possible but it depends on the wallet you’re using, my guess is currently almost all HD wallets allow customization of transactions fee and as such you can edit it. But before doing that you need to check the mempool for fees and if the transaction fee is quite high I.e the pool is congested then it is best to leave the consolidation till it goes down. Just as un_rank said you can set the fee low and wait but if you grow impatient then you can bump it using either RBF method or CPFP.

Check for transactions fee from;

https://mempool.space/

https://jochen-hoenicke.de/queue/#BTC%20(default%20mempool),24h,weight
legendary
Activity: 2380
Merit: 5213
September 27, 2023, 11:40:16 AM
#13
After consolidating and one still wants to have a reduced or higher transaction fee for the transaction, is it still permissible or possible to modify the transaction fee before sending?
Yes. Why not?
Consolidation your UTXOs is like any other bitcoin transaction and you can set the fee rate by yourself. After consolidation your UTXOs, you will have a single UTXO and whenever you want to spend that, you must make a new transaction and again you can set the fee rate by yourself.
hero member
Activity: 644
Merit: 661
- Jay -
September 27, 2023, 11:32:56 AM
#12
After consolidating and one still wants to have a reduced or higher transaction fee for the transaction, is it still permissible or possible to modify the transaction fee before sending?
You can edit the fee of the transaction before signing, depending on what wallet you are using. You can edit it after sending too but only to "bump" up the fee, not to reduce it.

Since you are consolidating, you should be looking to reduce the fee and not to increase it. You are sending to yourself, so just border around the minimum feerate at the time.

- Jay -
hero member
Activity: 862
Merit: 662
September 27, 2023, 11:19:24 AM
#11
One tool that i like to calcualte the stimate fee:



It have only few options but they explain the size of the headers and each input and output

Page:  https://bitcoinops.org/en/tools/calc-size/
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
September 27, 2023, 11:08:09 AM
#10
Thank you all for your responses!
-snip-
After consolidating and one still wants to have a reduced or higher transaction fee for the transaction, is it still permissible or possible to modify the transaction fee before sending?
The process depends on the wallet, some have back button to return to the step where the fee is selected, some haven't.
But in any case, you can just cancel the transaction with undesirable fee that you're creating (haven't broadcasted yet) and you can make another with the preferred fee.

Anyways, the phrases "after consolidating" and "before sending" made me read your question twice.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
September 27, 2023, 07:07:39 AM
#9
But difference of each possible combination is negligible and IMO you better use your effort to check mempool condition before determining TX fee rate for transaction you're going to make.

After consolidating and one still wants to have a reduced or higher transaction fee for the transaction, is it still permissible or possible to modify the transaction fee before sending?

Yes that is possible.
sr. member
Activity: 532
Merit: 250
September 27, 2023, 07:05:53 AM
#8
Thank you all for your responses!

But difference of each possible combination is negligible and IMO you better use your effort to check mempool condition before determining TX fee rate for transaction you're going to make.

After consolidating and one still wants to have a reduced or higher transaction fee for the transaction, is it still permissible or possible to modify the transaction fee before sending?


hero member
Activity: 868
Merit: 952
September 26, 2023, 07:22:35 AM
#7
My question now is, when sending does the sender and the receiver have to use the same address in order to achieve the reduced transaction fee?

Realistically since it is about consolidating you can’t change the sender address but the recipient address is where the fee reduction comes In for consolidation. Both the segwit versions 0 (bc1q) and version 1(bc1p) actually saves or reduce transaction fee by just moving the witness data or signature data separately there by reducing the the weight of the transaction and not the size. The reduction of fees then occurs since the fee rate is now calculated based on virtual size (weight).

But in general the saving of fees actually comes from the input address, because the outputs address (both old legacy and the segwit) have just 3vbytes difference while the inputs differs is around 80vbytes.


Sending from Taproot (bc1p...) address to SegWit (bc1q....) address should achieve lowest possible transaction size which lead to lower total TX fee. But difference of each possible combination is negligible and IMO you better use your effort to check mempool condition before determining TX fee rate for transaction you're going to make.

Agreed, taproot inputs are much smaller than SegWit inputs but the as for the outputs then Segwit is better, if is even a case of 1-input and many outputs then SegWit version 0 edges the version 1
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
September 26, 2023, 07:11:18 AM
#6
My question now is, when sending does the sender and the receiver have to use the same address in order to achieve the reduced transaction fee?

Sending from Taproot (bc1p...) address to SegWit (bc1q....) address should achieve lowest possible transaction size which lead to lower total TX fee. But difference of each possible combination is negligible and IMO you better use your effort to check mempool condition before determining TX fee rate for transaction you're going to make.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
September 26, 2023, 06:45:10 AM
#5
My question now is, when sending does the sender and the receiver have to use the same address in order to achieve the reduced transaction fee?
It doesn't matter.
Each output will be counted as one UTXO whether you sent it through the same address or not;
And those UTXO will always count as one input when used to generate a transaction whether it's received through the same address.

Just take note that addresses are just a way for your wallet to show balances and receive Bitcoins.
In the blockchain, your transactions create/spend UTXOs that has their own locking/unlocking scripts and their respective amounts.
So, for example: for ten inbound transactions that your wallet shows that received by 'bc1pxxx', those will be spent as ten separate inputs when you consolidate.
You'll get the same result if you received those 10 transactions with ten different 'bc1p' addresses.
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
September 26, 2023, 06:24:19 AM
#4
My question now is, when sending does the sender and the receiver have to use the same address in order to achieve the reduced transaction fee?
Do not bother about this, segwit version 0 and pay-to-taproot fees are cheap. If the transaction input will be more, use pay-to-taproot to send. If the outputs will be more, you can use segwit version 0 for sending.

If you want to compare the input and output, you can use this bitcoin transaction virtual size calculator: https://bitcoinops.org/en/tools/calc-size/
legendary
Activity: 2380
Merit: 5213
September 26, 2023, 06:16:55 AM
#3
It gives them a decreased number of inputs during transactions after consolidating many transactions outputs into one, provides low transaction fees and more privacy.
With consolidating your UTXOs when the fees are low, you can make your next transactions cheaper, but you don't increase your privacy and you may even decrease your privacy.
Take note that with using multiple UTXOs in the same transaction, everyone can conclude they are owned by the same person and that may harm your privacy.


Between BTC segregated witness (segwit) starting with bc1q and BTC tap root that starts with bc1p;
Note that taproot addresses are also segwit.
Bech32 addresses (those that start with bc1q) are segwit version 0 and taproot addresses (those that start with bc1p) are segwit version 1.


My question now is, when sending does the sender and the receiver have to use the same address in order to achieve the reduced transaction fee?
No.
sr. member
Activity: 910
Merit: 284
September 26, 2023, 06:14:52 AM
#2
My question now is, when sending does the sender and the receiver have to use the same address in order to achieve the reduced transaction fee?

You will achieve the less fee if the sender and receiver use Segwit address or P2TR.

But what matters most is number of inputs from which kind of address (higher if it's legacy, lesser of it's Segwit or Taproot) and number of outputs.
sr. member
Activity: 532
Merit: 250
September 26, 2023, 06:09:30 AM
#1
UTXO consolidation has a lot of benefits for bitcoin users. It gives them a decreased number of inputs during transactions after consolidating many transactions outputs into one, provides low transaction fees and more privacy. It also makes the user to manage their portfolio simply.

Between BTC segregated witness (segwit) starting with bc1q and BTC tap root that starts with bc1p; For instance, when sending transaction to many addresses at a time, segwit is the best to use for reduced transaction fees and when sending from many addresses to one address tap root is the best to use. My question now is, when sending does the sender and the receiver have to use the same address in order to achieve the reduced transaction fee?
Jump to: