Bitcoin Forum
June 18, 2024, 05:46:45 AM
Welcome,
Guest
. Please
login
or
register
.
News
:
Voting for pizza day contest
Home
Help
Search
Login
Register
More
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
>
Wallet software
>
What order should I follow when creating a transaction
Pages: [
1
]
« previous topic
next topic »
Print
Author
Topic: What order should I follow when creating a transaction (Read 161 times)
angelo1oc
(OP)
Newbie
Offline
Activity: 10
Merit: 3
What order should I follow when creating a transaction
November 24, 2022, 04:11:03 PM
#1
What order should I follow when creating a transaction
Is there any standard or recommendation on how to join coins in order to send a particular amount?
Do you add base on oldest to newest? (or viceversa)
Do you add them based on amount, meaning lowest to highest (or viceversa)?
Do you randomly pick until you add-up enough for the total to send?
Thanks
angelo
joniboini
Legendary
Offline
Activity: 2226
Merit: 1795
Re: What order should I follow when creating a transaction
November 24, 2022, 05:21:46 PM
#2
Most of the time people will recommend you consolidate your input so you can make your transaction cheaper. If privacy is your concern then you can learn and use coinjoin or a mixer (not a random mixer since they can just scam you). In my case, I always consolidate my inputs and then let Electrum decide how to split it when I make a TX.
███████████████████████████
██
█████▄
████████████
▄████
██
██
██████▄
████
▄
████
▄██████
██
███
▀█████▀
█
▄███▄
█
▀█████▀
███
█████
▀█▀
█
▄██▀▀▀██▄
█
▀█▀
█████
███████
▄████
███
████▄
███████
██████
███████████████
██████
███████
▀████
███
████▀
███████
████
▄██▄
█
▀██▄▄▄██▀
█
▄██▄
████
████
▄████▄
█
▀███▀
█
▄████▄
████
██
▄███▀▀█▀
███
▀
███
▀█▀███▄
███
██
▀█▀
████████████████
▀█▀
███
███████████████████████████
.
.
Duelbits
.
│
.
.
.
.
.
.
.
.
.
.
UNLEASH
.
.
.
.
.
.
.
.
.
.
THE
ULTIMATE
GAMING EXPERIENCE
│
DUELBITS
FANTASY
SPORTS
████
▄▄
▄
█████
▄
▄▄
░▄████
█
███
██
██████▄
▐███
██████████
█████▄
███
███████
████
█
█████
███
███████
████
█
█████▌
███
████████
██
███
█████
███
█████████████
▀▀▀
███
████████████▌
███
████████████▌
███
█████████████
███
█████████████
███
█████████████
████
▀▀███████▀▀
.
▬▬
VS
▬▬
████
▄▄▄
█████
▄▄▄
░▄█████
███
████████▄
▐██████████████████▄
██████████
████
██████
██████████
████
██████▌
███
████████
██
██████
██
███
█████████████
███
███
████████████▌
███
████████████▌
███
█████████████
███
█████████████
███
█████████████
████
▀▀███████▀▀
/// PLAY FOR
FREE
///
WIN FOR REAL
│
..
PLAY NOW
..
hosseinimr93
Legendary
Offline
Activity: 2436
Merit: 5386
Re: What order should I follow when creating a transaction
November 24, 2022, 05:34:10 PM
Last edit: November 24, 2022, 05:49:30 PM by hosseinimr93
Merited
by
pooya87
(2)
#3
If you want to pay lower transaction fee, consider consolidating your UTXOs when transactions can be made with the fee rate of only 1 sat/vbyte.
If you haven't consolidate your UTXOs before and now you want to make a transaction, select your UTXOs so that the number of inputs is as small as possible. The more inputs you add to your transaction, the more fee you have to pay.
It doesn't really matter which UTXO has been received earlier and which one has been received later.
Note that in the case you care about your privacy, it may be bad if you use multiple UTXOs in a single transaction.
▄▄███████▄▄
▄███
████████
█
███▄
▄██
███
█████████
██
█
██▄
▄█
██
█▀▀▀▀███▀▀▀▀███
█
██▄
▄█
██
██
█████
▀
███
▄█▀
█
██
█
██▄
█
██
███
███
▄
███
▄██
███
██████
█
██
███
███
██▄█▀██
███
██████
█
██
███
███
██▀
███
▀
███
██████
▀█
██
██
█
▄█▀
███
▄
█████
█████▀
▀█
█
█
███▄▄▄▄███▄▄▄▄████▀
▀██
██
█
██████████████▀
▀███
██
██
████████▀
▀▀███████▀▀
.
MΞTAWIN
│
THE FIRST
WEB3 CASINO
.
▄▄███████▄▄
▄███████████████▄
███▀██████▀░░░▀▄███
████▄░░▀▀▀░░░░░░▄████
████▄░░░░░░░░░░▄█████
█████▄▄░░░░░░░▄██████
███▄▄░░░░▄▄▄███████
▀███████████████▀
▀▀███████▀▀
TWITTER
.
▄▄███████▄▄
▄███████████████▄
███████████▀▀▀░░███
██████▀▀▀░░▄▄▀░░▐████
███▄▄░░░▄█▀░░░░░█████
██████▌▐▀░░░░░░▐█████
██████▌░▄█▄▄░░█████
▀███████████████▀
▀▀███████▀▀
TELEGRAM
.
▄▄███████▄▄
▄███████████████▄
████▀▀░░▀▀▀░░▀▀████
████▀░░░░░░░░░░░▀████
███▌░░░██░░░██░░░▐███
███▌░░░░░░░░░░░░░▐███
███▄░▀█▄▄▄▄▄█▀░▄███
▀███████████████▀
▀▀███████▀▀
DISCORD
.
..
PLAY NOW
..
jackg
Copper Member
Legendary
Offline
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
Re: What order should I follow when creating a transaction
November 24, 2022, 06:05:30 PM
#4
If you can't get a 1 sat/byte fee to confirm or you care about privacy constantly then I'd prioritise spending the highest input just above how much you need to spend.
If you can get a low fee to confirm and you don't send too many transactions then the best practice is to consolidate them.
angelo1oc
(OP)
Newbie
Offline
Activity: 10
Merit: 3
Re: What order should I follow when creating a transaction
November 24, 2022, 07:34:12 PM
#5
Thanks
All of it make sense
pooya87
Legendary
Offline
Activity: 3486
Merit: 10664
Re: What order should I follow when creating a transaction
November 25, 2022, 07:56:06 AM
#6
Apart from fees and privacy concerns if you are doing manual coin control you should try not to break down your outputs into too many small ones and focus on decreasing the number of "coins" you have instead.
For example if you want to pay 0.1
BTC
it is best to use two 0.05
BTC
inputs instead of using a 0.2
BTC
input and breaking it down into two new outputs.
You should also pay some attention to how much change you are being left with and avoid too small change.
For example if you want to make a 0.1
BTC
payment avoid using an input that is 0.10001000
BTC
and would leave you with 0.00001000
BTC
change.
.
.
B
L
A
C
K
J
A
C
K
♠
F
U
N
.
███
▄
██
██
██
█████
██
██
██
███
▀
██
████████
██
███
██
██████
██
██
██
██
██
████████
██
██
▄▄
░██
████
██
█████
▀░▀▀
██
████████████
████
░██
██████████
██
██████
█
██
███
██
███
▄
░████
██████
██
██
▀
███████
███
██
██
██
███
██████
██░██
██████
██
██
CRYPTO
CASINO
&
SPORTS
BETTING
│
.
REWARD SYSTEM
.
E
L
I
T
E
S
E
A
T
..
│
▄▄███████▄▄
▄████
███████
████▄
███
█████████████
███
██
█████
█████████
███
██
██
█████
██
██
██
████████
██
██
█████
███████████
█████
██
██
█████
██
███
██
█████████
██
██
██████
██████
█████████
██
██
█████████
██
████████
██
██
████████
██
███████
██
███
████
███
██████
███
▀████
███████
████▀
█
█
█
█
█
█████████
█
█
█
█
█
.
Whitepaper
J
A
C
K
LoyceV
Legendary
Offline
Activity: 3346
Merit: 16838
Thick-Skinned Gang Leader and Golden Feather 2021
Re: What order should I follow when creating a transaction
November 29, 2022, 09:43:13 AM
#7
Allow me to recommend
my topic on how to Consolidate your small inputs
. It explains how to save money on fees.
Depending on my needs at the moment, I either consolidate transactions before I need to make a transaction, or I select the inputs that best match the amount I need to pay. Years ago, using old coins got you a zero-fee transaction ("destroy coin days"), but that doesn't matter anymore. Now it's a balance between privacy and reducing fees.
LoyceV's Signature for rent
Pmalek
Legendary
Offline
Activity: 2800
Merit: 7202
Re: What order should I follow when creating a transaction
December 03, 2022, 10:31:19 AM
#8
There are several things you need to consider. Always remember that Bitcoin uses a public ledger, and transaction data is available for the general public to look at.
The "age" of the transactions doesn't matter as long as they are confirmed or will soon be confirmed.
Let's say you have several different UTXOs.
- 3 BTC
- 1 BTC
- And a few small ones like 0.01 BTC, 0.005 BTC, etc.
If you are paying for something that costs 0.02 BTC, you can do as pooya87 said and spend 2x 0.01 UTXOs (actually a little bit more because you need to pay mining fees as well). Or you can spend the 1 or 3 BTC coin and pay with that.
Now consider the following points and decide what is more important for you:
- The more UTXOs you spend, the larger the transaction. That means more sats spent on transaction fees.
- If you spend a 3 BTC UTXO when paying for a low-cost item/service, do you really want the other party to be able to check that you have 3 BTC (at least) in your possession?
.
.
B
L
A
C
K
J
A
C
K
♠
F
U
N
.
███
▄
██
██
██
█████
██
██
██
███
▀
██
████████
██
███
██
██████
██
██
██
██
██
████████
██
██
▄▄
░██
████
██
█████
▀░▀▀
██
████████████
████
░██
██████████
██
██████
█
██
███
██
███
▄
░████
██████
██
██
▀
███████
███
██
██
██
███
██████
██░██
██████
██
██
CRYPTO
CASINO
&
SPORTS
BETTING
│
.
REWARD SYSTEM
.
E
L
I
T
E
S
E
A
T
..
│
▄▄███████▄▄
▄████
███████
████▄
███
█████████████
███
██
█████
█████████
███
██
██
█████
██
██
██
████████
██
██
█████
███████████
█████
██
██
█████
██
███
██
█████████
██
██
██████
██████
█████████
██
██
█████████
██
████████
██
██
████████
██
███████
██
███
████
███
██████
███
▀████
███████
████▀
█
█
█
█
█
█████████
█
█
█
█
█
.
Whitepaper
J
A
C
K
Pages: [
1
]
Print
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
>
Wallet software
>
What order should I follow when creating a transaction
« previous topic
next topic »
Jump to:
Please select a destination:
-----------------------------
Bitcoin
-----------------------------
=> Bitcoin Discussion
===> Legal
===> Press
===> Meetups
===> Important Announcements
=> Development & Technical Discussion
===> Wallet software
=====> Electrum
=====> Bitcoin Wallet for Android
=====> BitcoinJ
=====> Armory
=====> Mycelium
=====> Hardware wallets
=> Mining
===> Mining support
===> Pools
===> Mining software (miners)
===> Hardware
=====> Group buys
===> Mining speculation
=> Bitcoin Technical Support
=> Project Development
-----------------------------
Economy
-----------------------------
=> Economics
===> Speculation
=> Marketplace
===> Goods
=====> Computer hardware
=====> Digital goods
=======> Invites & Accounts
=====> Collectibles
===> Services
===> Currency exchange
===> Gambling
=====> Games and rounds
=====> Investor-based games
=====> Gambling discussion
===> Lending
=====> Long-term offers
===> Securities
===> Auctions
===> Service Announcements
=====> Micro Earnings
===> Service Discussion
=====> Web Wallets
=====> Exchanges
=> Trading Discussion
===> Scam Accusations
===> Reputation
-----------------------------
Other
-----------------------------
=> Meta
===> New forum software
===> Bitcoin Wiki
=> Politics & Society
=> Beginners & Help
=> Off-topic
=> Serious discussion
===> Ivory Tower
=> Archival
===> Корзина
===> CPU/GPU Bitcoin mining hardware
===> Chinese students
===> Obsolete (buying)
===> Obsolete (selling)
===> MultiBit
-----------------------------
Alternate cryptocurrencies
-----------------------------
=> Altcoin Discussion
=> Announcements (Altcoins)
===> Tokens (Altcoins)
=> Mining (Altcoins)
===> Pools (Altcoins)
=> Marketplace (Altcoins)
===> Service Announcements (Altcoins)
===> Service Discussion (Altcoins)
===> Bounties (Altcoins)
=> Speculation (Altcoins)
-----------------------------
Local
-----------------------------
=> العربية (Arabic)
===> العملات البديلة (Altcoins)
=====> النقاشات
===> إستفسارات و أسئلة المبتدئين
===> التعدين
===> النقاشات الأخرى
===> منصات التبادل
=> Bahasa Indonesia (Indonesian)
===> Marketplace (Bahasa Indonesia)
===> Mining (Bahasa Indonesia)
===> Altcoins (Bahasa Indonesia)
===> Trading dan Spekulasi
===> Ekonomi, Politik, dan Budaya
===> Topik Lainnya
=> Español (Spanish)
===> Mercado y Economía
=====> Servicios
=====> Trading y especulación
===> Hardware y Minería
===> Esquina Libre
===> Mercadillo
=====> Mexico
=====> Argentina
=====> España
=====> Centroamerica y Caribe
===> Primeros pasos y ayuda
===> Altcoins (criptomonedas alternativas)
=====> Minería de altcoins
=====> Servicios
=====> Tokens (Español)
=> 中文 (Chinese)
===> 跳蚤市场
===> 山寨币
===> 媒体
===> 挖矿
===> 离题万里
=> Hrvatski (Croatian)
===> Trgovina
===> Altcoins (Hrvatski)
=====> Announcements (Hrvatski)
===> Off-topic (Hrvatski)
=> Deutsch (German)
===> Anfänger und Hilfe
===> Mining (Deutsch)
===> Trading und Spekulation
===> Projektentwicklung
===> Off-Topic (Deutsch)
===> Treffen
===> Presse
===> Altcoins (Deutsch)
=====> Announcements (Deutsch)
===> Marktplatz
=====> Auktionen
=====> Suche
=====> Biete
=> Ελληνικά (Greek)
===> Αγορά
===> Mining Discussion (Ελληνικά)
===> Altcoins (Ελληνικά)
=====> Altcoin Announcements (Ελληνικά)
=====> Altcoin Mining (Ελληνικά)
=> עברית (Hebrew)
=> Français
===> Actualité et News
===> Débutants
===> Discussions générales et utilisation du Bitcoin
===> Mining et Hardware
===> Économie et spéculation
===> Place de marché
=====> Échanges
=====> Produits et services
=====> Petites annonces
===> Le Bitcoin et la loi
===> Wiki, documentation et traduction
===> Développement et technique
===> Vos sites et projets
===> Hors-sujet
===> Altcoins (Français)
=====> Annonces
=> India
===> Mining (India)
===> Marketplace (India)
===> Regional Languages (India)
===> Press & News from India
===> Alt Coins (India)
===> Buyer/ Seller Reputations (India)
===> Off-Topic (India)
=> Italiano (Italian)
===> Guide (Italiano)
===> Progetti
===> Discussioni avanzate e sviluppo
===> Trading, analisi e speculazione
===> Mercato
=====> Mercato valute
=====> Beni
=====> Servizi
=====> Esercizi commerciali
=====> Hardware/Mining (Italiano)
=====> Gambling (Italiano)
===> Accuse scam/truffe
===> Mining (Italiano)
===> Alt-Currencies (Italiano)
=====> Annunci
===> Raduni/Meeting (Italiano)
===> Crittografia e decentralizzazione
===> Off-Topic (Italiano)
=> 日本語 (Japanese)
===> アルトコイン
=> Nederlands (Dutch)
===> Markt
===> Gokken/lotterijen
===> Mining (Nederlands)
===> Beurzen
===> Alt Coins (Nederlands)
===> Off-topic (Nederlands)
===> Meetings (Nederlands)
=> Nigeria (Naija)
===> Politics and society (Naija)
===> Off-topic (Naija)
=> 한국어 (Korean)
===> 대체코인 Alt Coins (한국어)
=> Pilipinas
===> Altcoins (Pilipinas)
=====> Altcoin Announcements (Pilipinas)
===> Pamilihan
===> Others (Pilipinas)
=> Polski
===> Tablica ogłoszeń
===> Alternatywne kryptowaluty
=====> Nowe kryptowaluty i tokeny
=====> Tablica ogłoszeń (altcoiny)
=> Português (Portuguese)
===> Primeiros Passos (Iniciantes)
===> Economia & Mercado
===> Mineração em Geral
===> Desenvolvimento & Discussões Técnicas
===> Criptomoedas Alternativas
===> Brasil
===> Portugal
=> Русский (Russian)
===> Новички
===> Бизнес
=====> Барахолка
=====> Обменники
===> Идеи
===> Кодеры
===> Майнеры
===> Политика
===> Трейдеры
===> Альтернативные криптовалюты
=====> Токены
=====> Бayнти и aиpдpoпы
===> Хайпы
===> Работа
===> Разное
===> Oбcyждeниe Bitcoin
=====> Новости
=====> Юристы
=> Română (Romanian)
===> Anunturi importante
===> Offtopic
===> Market
=====> Discutii Servicii
===> Minerit
===> Tutoriale
===> Bine ai venit!
===> Presa
===> Altcoins (Monede Alternative)
=====> Anunturi Monede Alternative
=> Skandinavisk
=> Türkçe (Turkish)
===> Bitcoin Haberleri
===> Pazar Alanı
===> Madencilik
===> Ekonomi
===> Servisler
=====> Fonlar
===> Proje Geliştirme
===> Alternatif Kripto-Paralar
=====> Madencilik (Alternatif Kripto-Paralar)
=====> Duyurular (Alternatif Kripto-Paralar)
===> Konu Dışı
===> Yeni Başlayanlar & Yardım
===> Buluşmalar
=> Other languages/locations
Loading...