Pages:
Author

Topic: Why does transaction works this way?? - page 2. (Read 292 times)

legendary
Activity: 2310
Merit: 4085
Farewell o_e_l_e_o
June 12, 2024, 07:26:35 AM
#4
I've been curious about why transaction had to deal with spending of all inputs on a particular address.
Although I'm not new to the fact that all transaction  have to be spent in a single output  buy why does it have to work that way??
With a non custodial wallet, you control private keys, coin control feature allows you to choose what inputs will be used for your transactions and your outputs will be chosen by you too.

You can send all amount in your chosen inputs to one output or some outputs include your change address.

For privacy reason, the common advice is don't send round number, don't send all inputs to one output and try to use change addresses.
Quote from: Blockchair.com
Don't send round numbers
  • Don't send round amounts. Instead of sending 0.1 BTC, send 0.10125

Use Bitcoin Mixers
  • Mixers add an additional layer of privacy to a transaction to avoid exposing user identities.

Avoid reusing wallets
  • Don't send your Bitcoin change to the same address you use for sending bitcoins.

Avoid including many of your addresses in one transaction
  • Any time you can, try not to send BTC from your various Bitcoin addresses.

Avoid using "send everything" option
  • If you are withdrawing funds from an exchange, it is okay.
  • If you're moving funds to another wallet, do not transfer the whole amount to another address. It greatly compromises your privacy.
legendary
Activity: 2380
Merit: 5213
June 12, 2024, 07:24:31 AM
#3
I've been curious about why transaction had to deal with spending of all inputs on a particular address.
You don't have to spend all the UTXOs you have to make a transaction.

Let's say you have 2 UTXOs and they are both assosicated with the same address.
One is worth 0.2 BTC and the other one is worth 0.3 BTC. If you want to make transaction paying 0.1 BTC, you can use each of UTXOs you want. You can also use both UTXOs.


So the change I'm  receiving  can I call it an output  or a new input ??
The change you receive is the output of the transaction and you can use that as an input in a new transaction.


If it's not on a new address but on the same address(the received  UTXO), will it be counted as part of inputs along with other input when I want to send again  to a new address.
It doesn't matter you received all the coins at the same address or different addresses.
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
June 12, 2024, 07:15:47 AM
#2
That is how bitcoin is. If you want something different, you can become a bitcoin developer and make a proposal.

So the change I'm  receiving  can I call it an output  or a new input ??
If
The change you receive and the amount that you sent are both called unspent transaction output (UTXO).
newbie
Activity: 19
Merit: 6
June 12, 2024, 06:45:52 AM
#1
I've been curious about why transaction had to deal with spending of all inputs on a particular address.
Although I'm not new to the fact that all transaction  have to be spent in a single output  buy why does it have to work that way??

So the change I'm  receiving  can I call it an output  or a new input ??
If it's not on a new address but on the same address(the received  UTXO), will it be counted as part of inputs along with other input when I want to send again  to a new address.
Pages:
Jump to: