Bitcoin Forum
June 17, 2024, 08:08:18 PM
Welcome,
Guest
. Please
login
or
register
.
News
:
Voting for pizza day contest
Home
Help
Search
Login
Register
More
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
>
Can coinbase transaction contains multiple destinations?
Pages: [
1
]
« previous topic
next topic »
Print
Author
Topic: Can coinbase transaction contains multiple destinations? (Read 225 times)
hushan
(OP)
Member
Offline
Activity: 61
Merit: 15
Can coinbase transaction contains multiple destinations?
April 23, 2018, 12:31:37 AM
#1
Can coinbase transaction contains multiple destinations, or does it have to be one output? For example, for the current reward 12.5, if set the coinbase tx to send 10 to one address and 2.5 to another, is it a valid coinbase tx and will it get confirmed by the network?
BTC: 38ykUxZeSv5aqav1keCc4KUxXLPPGkfrm5 LTC: MPpWNvqDCVB1PHJt4A28j9oFfc6Y1KKDno ETH: 0x07C8c68d5253247038947EF9495b054160c8737c
achow101
Moderator
Legendary
Offline
Activity: 3430
Merit: 6705
Just writing some code
Re: Can coinbase transaction contains multiple destinations?
April 23, 2018, 12:50:01 AM
Merited
by
Foxpup
(1),
suchmoon
(1)
#2
Quote from: hushan on April 23, 2018, 12:31:37 AM
Can coinbase transaction contains multiple destinations, or does it have to be one output? For example, for the current reward 12.5, if set the coinbase tx to send 10 to one address and 2.5 to another, is it a valid coinbase tx and will it get confirmed by the network?
Yes, you can have a coinbase transaction with multiple outputs. The sum of the outputs just needs to be less than the block reward (block subsidy plus transaction fees).
Bitcoin Core contributor |
Tip Me!
|
GitHub
|
GPG Key Fingerprint 0x17565732E08E5E41
hushan
(OP)
Member
Offline
Activity: 61
Merit: 15
Re: Can coinbase transaction contains multiple destinations?
April 23, 2018, 12:55:34 AM
#3
Quote from: achow101 on April 23, 2018, 12:50:01 AM
Quote from: hushan on April 23, 2018, 12:31:37 AM
Can coinbase transaction contains multiple destinations, or does it have to be one output? For example, for the current reward 12.5, if set the coinbase tx to send 10 to one address and 2.5 to another, is it a valid coinbase tx and will it get confirmed by the network?
Yes, you can have a coinbase transaction with multiple outputs. The sum of the outputs just needs to be less than the block reward (block subsidy plus transaction fees).
Thanks, another question, can the coinbase output be P2SH address? And can it be segwit?
BTC: 38ykUxZeSv5aqav1keCc4KUxXLPPGkfrm5 LTC: MPpWNvqDCVB1PHJt4A28j9oFfc6Y1KKDno ETH: 0x07C8c68d5253247038947EF9495b054160c8737c
achow101
Moderator
Legendary
Offline
Activity: 3430
Merit: 6705
Just writing some code
Re: Can coinbase transaction contains multiple destinations?
April 23, 2018, 01:35:40 AM
#4
Quote from: hushan on April 23, 2018, 12:55:34 AM
Thanks, another question, can the coinbase output be P2SH address? And can it be segwit?
Yes. The outputs for a coinbase transaction are just like outputs for any other transaction.
Bitcoin Core contributor |
Tip Me!
|
GitHub
|
GPG Key Fingerprint 0x17565732E08E5E41
Quickseller
Copper Member
Legendary
Offline
Activity: 2912
Merit: 2339
Re: Can coinbase transaction contains multiple destinations?
April 23, 2018, 05:00:53 AM
#5
Quote from: achow101 on April 23, 2018, 12:50:01 AM
Quote from: hushan on April 23, 2018, 12:31:37 AM
Can coinbase transaction contains multiple destinations, or does it have to be one output? For example, for the current reward 12.5, if set the coinbase tx to send 10 to one address and 2.5 to another, is it a valid coinbase tx and will it get confirmed by the network?
Yes, you can have a coinbase transaction with multiple outputs. The sum of the outputs just needs to be less than the block reward (block subsidy plus transaction fees).
*Less than or equal to the block reward.
TheQuin
Hero Member
Offline
Activity: 2576
Merit: 882
Freebitco.in Support https://bit.ly/2I9BVS2
Re: Can coinbase transaction contains multiple destinations?
April 23, 2018, 03:04:30 PM
#6
Here's an example one mined by ckpool with 151 outputs including some Segwit ones.
https://btc.com/ae45a6033dfd718e3240151344f6b8c06a27ea5434fcfc2aaf983d820f8d8f8d
▐
█
█
free
bitcoin
█
█
▌
▬ ▬▬▬
W I N
▬▬▬ ▬
FREE BITCOINS
E V E R Y H O U R !
.....
&
GOLDEN
......
....
T I C K E T
.....
▬ ▬▬▬▬▬▬▬▬ ▬
❱
❱
❱
.
TO WIN A
L
A
M
B
O
R
G
H
I
N
I!
..
.
▄▄▄▄▄▄▄
▄▄
▄█████
██████▄▄▄▄▄
▄▄
▄
▄▄▄██
█████████
███
█████
████████
███████▄▄▄▄
▀██
█
██████████
███████
███
████
██████████
████
██
████▄▄▄
▄
▄▄██
█
██
▄█████▄
██████
███
████████████████
███
█
▄█████▄
████▄▄
▀██
███
███
▀▀▀
███
███████
███
███████
█████████
█
███
▀▀▀
███
████
███▄
▀▀
▀█
███
▄▄▄
███
███████████
██████████████
█
█
███
▄▄▄
███
█████
██
▀█████▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀█████▀
▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Quickseller
Copper Member
Legendary
Offline
Activity: 2912
Merit: 2339
Re: Can coinbase transaction contains multiple destinations?
April 23, 2018, 03:50:34 PM
#7
Quote from: ETFbitcoin on April 23, 2018, 03:24:20 PM
Quote from: Quickseller on April 23, 2018, 05:00:53 AM
Quote from: achow101 on April 23, 2018, 12:50:01 AM
Quote from: hushan on April 23, 2018, 12:31:37 AM
Can coinbase transaction contains multiple destinations, or does it have to be one output? For example, for the current reward 12.5, if set the coinbase tx to send 10 to one address and 2.5 to another, is it a valid coinbase tx and will it get confirmed by the network?
Yes, you can have a coinbase transaction with multiple outputs. The sum of the outputs just needs to be less than the block reward (block subsidy plus transaction fees).
*Less than or equal to the block reward.
But in reality almost all miner set the outputs (plus fees) is equal with block reward & tx fee
Also, if OP is interested in technical details, you can see more info at
https://www.safaribooksonline.com/library/view/mastering-bitcoin/9781491902639/ch08.html
. It's a bit outdated though.
There is no tx fee paid in coinbase transactions....
Xynerise
Sr. Member
Offline
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
Re: Can coinbase transaction contains multiple destinations?
April 23, 2018, 04:17:11 PM
#8
Quote from: Quickseller on April 23, 2018, 03:50:34 PM
There is no tx fee paid in coinbase transactions....
[/quote]
I guess he means transaction fees of transactions in the block as block reward.
Pages: [
1
]
Print
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
>
Can coinbase transaction contains multiple destinations?
« 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...