Questions tagged [coinbase-transaction]

The transaction that pays the miner their block reward.—Use [coinbase.com] to refer to the US-based cryptocurrency company.

Filter by
Sorted by
Tagged with
2 votes
1 answer
115 views

Are all transactions, whether SegWit or non-SegWit, part of the commitment in a coinbase transaction?

A merkle root in a block header is a way to commit all transactions in that block. However, since it does not cover transaction witness data, another commitment needs to be made in a coinbase ...
LeaBit's user avatar
  • 478
3 votes
1 answer
137 views

Processing bitcoin reward block's input transaction

I'm parsing the block response of my bitcoin node and everything is going ok. The only thing I don't understand is how to parse the input transaction of the block reward. This is the array that I see ...
Monte Conte's user avatar
1 vote
1 answer
76 views

bitcoin-cli generatetoaddress <numberofblocks> <address> has 2 outputs

I have the following problem: currently i am testing in my local regtest I generated the following cb-tx for block at height 119: ...
FearXenon's user avatar
0 votes
1 answer
63 views

What fields of a coinbase transaction can be empty?

Is it correct to say: As the coinbase transaction doesn't need to identify an output, there is no need for the input scriptSig. Would a block be accepted in which the coinbase transaction has an ...
Lee's user avatar
  • 458
3 votes
2 answers
257 views

Where was the term "coinbase" first coined, who first used it?

The white paper doesn't mention the term "coinbase" (in reference to the reward transaction). I see the first version of the software main.cpp does: // First transaction must be coinbase,...
Lee's user avatar
  • 458
3 votes
1 answer
101 views

Different balances between fullnode and bitcoin explorer

I looked up Block 200 at https://www.blockchain.com/explorer/blocks/btc/200 and found out that coinbase transaction was made and sent 50 BTC to 1HwmP33SaknLYShXfjVU8KmVThU3JiuVgH. But if I check utxos ...
Jin's user avatar
  • 61
2 votes
1 answer
81 views

How can I look at the genesis block raw txn?

If I try to look at the txn in the genesis block, I get: root@0eef0ed7601c:/home/bitcoin# bitcoin-cli getrawtransaction 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b error code: -5 ...
patrick's user avatar
  • 223
0 votes
1 answer
42 views

Does the miner determine the amount of coinbase transactions manually?

When the miners try to extract the block with the submitblock method, do they determine the amount(value) of coinbase by themselves? Or does the network automatically give them some amount as a reward?...
Ali's user avatar
  • 71
1 vote
1 answer
214 views

What is coinbase script (arbitrary data)?

According to this site, in the coinbase input part, What is the coinbase script and where did it come from? It is said that this is a arbitrary data, but I don't know how this string is generated? ...
Ali's user avatar
  • 71
1 vote
1 answer
54 views

BIP 32 Root key for connecting wallets

I have a question, a broker Xeroxfx.org asked me to create the BIP 32 RK to connect wallets for a quicker transaction. Is this real, or can he now steal from my wallet? THX Phillip
Phillip's user avatar
  • 11
3 votes
1 answer
226 views

Does the coinbase transaction have inputs?

I was wondering if I can add dummy data into a coinbase transaction’s inputs. Is it possible to do this? Can you insert invalid input scripts into a coinbase transaction? Can you add multiple inputs ...
Haim Bender's user avatar
0 votes
1 answer
56 views

Is the "witness commitment" introduced in bip-0141 optional?

In BIP-0141, it states: a new block rule is added which requires a commitment to the wtxid. the coinbase's input's witness must consist of a single 32-byte array for the witness reserved value. ...
Simon L's user avatar
  • 111
-1 votes
1 answer
126 views

What files/code should I look for iOS Coinbase Wallet Seed Phrase?

I never wrote down my seed phrase for Coinbase wallet and used FaceId to Login for months. One day the app did an update which forced me off the app and prompted me for the seed phrase to login. I ...
Garrett's user avatar
0 votes
1 answer
72 views

Can a coinbase adhering to BIP-0034 (block v2) only pay P2PKH addresses?

I've been working on a bitcoin miner that uses BIP-0034 (block v2). I'm confused about the coinbase transaction of block v2. Does block v2 only accept P2PKH type of address to allow me to receive a ...
just.callme.client's user avatar
2 votes
0 answers
76 views

What makes a valid scriptSig in coinbase?

Per BIP 34, the scriptSig should contain the height number in little endian. Suppose the target height is 777888, which is a0de0b in little endian. And, the extra data I want to append is a 5-byte ...
Simon L's user avatar
  • 111
0 votes
0 answers
44 views

Retrieving stolen bitcoin [duplicate]

I am Stefan, I'm new to the world of digital money and all the technological advancements associated with it. I know some people invested in cryptocurrencies and made a significant amount of profit by ...
scepabuu's user avatar
1 vote
2 answers
84 views

What are the mean, median, range, limits and trends in the size of coinbase transactions?

I'm attempting to estimate how much "spare capacity" there is for merged mining protocols. As I understand it the scriptSig in the coinbase transaction must be less than 100B. However, the ...
Lee's user avatar
  • 458
1 vote
0 answers
43 views

Which merged mining method is preferable? What is the latest specification/practice?

If I'm right, there are at least two methods for miners to include a reference hash to a merge mined block in the coinbase transaction: Commitment hash in an OP_RETURN out put in the coinbase ...
Lee's user avatar
  • 458
0 votes
2 answers
84 views

Cheapest way of deposit way, exchanges and exchange payment method to buy crypto currencies?

My question basically is what is the cheapest way to buy crypto currencies? So far I checked out coinbase and binance. There are different ways to buy crypto currencies. First decision regarding the ...
BertHobe's user avatar
  • 101
4 votes
1 answer
95 views

Can a miner open a Lightning channel with a coinbase output?

Assuming that the funding transaction uses a P2WSH output, can we open a channel by providing that standard 2-of-2 multisig as the coinbase output?
oz21m's user avatar
  • 107
3 votes
2 answers
303 views

Can a coinbase transaction have more than one input?

I know that a coinbase transaction must have one input, but can it have more than one?
Casey Rodarmor's user avatar
1 vote
2 answers
216 views

Meaning of SigScript in Satoshi Nakamoto's "Genesis" coinbase transaction

The Satoshi's coinbase transaction includes this following scriptSig: ...
Loopite's user avatar
  • 301
4 votes
2 answers
1k views

Why does IsCoinBase() check if there is exactly one input?

In the Bitcoin Core source code there is a function to check if a given transaction is a coinbase or not: bool IsCoinBase() const { return (vin.size() == 1 && vin[0].prevout....
Amir reza Riahi's user avatar
1 vote
2 answers
287 views

How are TXIDs determined from the raw hex data of a block? Also, what is the coinbase transaction?

Consider the hex data of block 170. The coinbase TXID is this: b1fea52486ce0c62bb442b530a3f0132b826c74e473d1f2c220bfa78111c5082 and the second TXID is: ...
Jamo's user avatar
  • 157
2 votes
1 answer
354 views

What is OP_RETURN b9e11b6d?

While investigating some Bitcoin coinbase transactions, I notice that a lot of them have an output of the form OP_RETURN OP_PUSHBYTES_36 b9e11b6d… where ‘…’ is 32 bytes, probably a hash of something. ...
George Lowther's user avatar
0 votes
1 answer
80 views

Does testnet block 855996c9444827112b68c0606d8dfec62385d1b3448e412bc1c721633a641669 discard the block reward?

I am poking around in the testnet blockchain, and I saw a block mined recently where the outputs added up to just 0.04953672 BTC. Since there is no output for the 50BTC block reward, does that mean ...
Dave M.'s user avatar
  • 147
0 votes
2 answers
180 views

Does a coinbase transaction's input field have a VOUT field?

In a coinbase transaction, the previous output field is 0000000000000000000000000000000000000000000000000000000000000000ffffffff because there is no previous output, the coins are generated. If you ...
apchrkey's user avatar
1 vote
1 answer
387 views

How did the first transactions take place without balances?

If there were no bitcoins at first, how did a miner approve the transaction in the genesis block? I mean if there are no mined bitcoins (balances), how can a transaction take place? Also, I know that ...
Hüseyin Aydın's user avatar
0 votes
2 answers
61 views

What databases is used to see if a transaction is valid?

When you check a transaction before adding it to a block what data source is used as a source to make sure all the coinbase transactions are valid.
PurpleMoneys89's user avatar
2 votes
2 answers
176 views

Don't understand fees on a particular bitcoin block

I am comparing and contrasting blocks 200000 and 164246 of the bitcoin blockchain (looking via the bitcoind api or https://www.blockchain.com/explorer?utm_campaign=expnav_explorer is fine). Looking at ...
Andrew's user avatar
  • 23
4 votes
1 answer
231 views

Will a post-subsidy block with no transactions include a coinbase transaction?

If a block: Is after the last halving, so there is no subsidy Includes no non-coinbase transactions, so there are no fees Must it include a coinbase transaction? If so, will it simply have no ...
Casey Rodarmor's user avatar
0 votes
0 answers
86 views

Coinbase transaction UTXOs are prohibited until 100 confirmed? By what?

I notice that many coinbase transactions(like in block 720,815) with locktime=0x00000000 and sequence=0xFFFFFFFF, which means UTXO could be spent immediately. There seems to be no limit to coinbase's ...
KHJUAF403456ZS3K564WAEF's user avatar
3 votes
1 answer
277 views

Why do early blocks contain OP_PUSHBYTES instructions in the coinbase input?

Early blocks contain OP_PUSHBYTES sequences in the coinbase input ScriptSig: Block 1: OP_PUSHBYTES_4 ffff001d OP_PUSHBYTES_1 04 Block 2: OP_PUSHBYTES_4 ffff001d OP_PUSHBYTES_1 0b Block 3: ...
Casey Rodarmor's user avatar
1 vote
2 answers
137 views

Is there any other form of coinbase transaction?

Could miners intentionally change the output address or reduce the output value before forming a block
KHJUAF403456ZS3K564WAEF's user avatar
0 votes
1 answer
166 views

What "Data" should be inserted into the argument field of the "createrawtransaction" rpc command

This resource states that "data": "hex",(string, required) A key-value pair. The key must be "data", the value is hex-encoded data. Questions It says that the field is &...
AncientTides's user avatar
14 votes
1 answer
542 views

Why are miners setting the locktime in coinbase transactions?

Some coinbase transactions have locktime values set. One such recent example is: { "txid": "5166cb509a5d786db33963a269ea08ff82a1c40d37d4fb828a394b0465cd5efd", "hash": ...
TheCharlatan's user avatar
0 votes
2 answers
139 views

How do I find my missing bitcoin on Bitcore?

I recently tried to send bitcoin to my Bitcore wallet and it shows completed on Coinbase side, yet its not in my wallet. Anyone know what to do?
Queen's user avatar
  • 1
0 votes
1 answer
56 views

Does `listsinceblock` show coinbase transactions on a watch-only address?

If I have a wallet where I've imported someone's address "A" as a watch-only address, and I run listsinceblock (the specific parameters may be irrelevant to this question), would I be able ...
Shobit's user avatar
  • 103
1 vote
1 answer
54 views

What are the incentives for miners to include a RSK merge-mining block hash in the coinbase?

The RSK blockchain is merge-mined with a block time of around 30 sek. Blocks are produced when bitcoin miners create valid block headers within the target. The RSK difficulty is far lower than bitcoin'...
Bertram Lund's user avatar
0 votes
1 answer
509 views

How to generate p2pkh ScriptPubKey for coinbase transaction

One part of coinbase transaction is p2pkh ScriptPubKey (according to the book i read). Coinbase transaction here refers to the first transaction in a block , not Coinbase software/company. Suppose i ...
user6668201's user avatar
2 votes
1 answer
223 views

Some doubts regarding the structure of the Coinbase Transaction?

I was trying to understand the structure of coinbase transaction. I tried a few sources but I still have a few doubts regarding the structure with exactly 1 output. Here is what I know and the doubts ...
J.Doe's user avatar
  • 127
0 votes
1 answer
69 views

Is the coinbase transaction the one and only means of minting new coins?

I'm new to blockchain and want to start my own private network. I've gotten a lot of information here about coinbase transactions and how they make mining "empty" blocks useful. I would like ...
Udo E.'s user avatar
  • 103
0 votes
1 answer
47 views

Did pools verify constantly the ouput of createrawtransaction when they build their coinbase transaction?

Pools creates their own coinbase transaction to pay their selves, and they begin the PoW by hashing different Headers, what prevent a hacker from changing the createrawtransaction with different ...
Hamita's user avatar
  • 176
0 votes
1 answer
156 views

Is my Bitcoin address valid for mining?

I am looking at the specific block at height 680175. When comparing the address which received the block reward # bitcoin-cli validateaddress 1KFHE7w8BhaENAswwryaoccDb6qcT6DbYY { "isvalid":...
Andy's user avatar
  • 233
5 votes
1 answer
728 views

Why are there more than two transaction outputs in a coinbase transaction?

In a coinbase transaction there are always more than two transaction outputs. The first transaction output contains the reward. The second contains the witness reserved value. But why are there other ...
Andy's user avatar
  • 233
1 vote
1 answer
129 views

How is the witness reserved value set in a coinbase transaction?

In a coinbase transaction the second transaction output seems always to be a 32-byte witness reserved value. Is there any constraint on this value?
Andy's user avatar
  • 233
1 vote
1 answer
115 views

How to set the sequence number in a coinbase transaction?

The sequence number seems to be used for locking a transaction in mempool. However, the coinbase transaction is not part of the mempool and thus the sequence number does not make sense. Is it just an &...
Andy's user avatar
  • 233
0 votes
1 answer
81 views

Why does decoded block data not match coinbase transaction input?

I am looking at the specific block at height 680175. Via bitcoin-cli getblock 00000000000000000004dbd66fa71fdcd62658bf8c8e2e153521257ad5858c71 0 I obtained the serialized, hex-encoded block data. ...
Andy's user avatar
  • 233
0 votes
1 answer
32 views

Mining pools repayment in a coinbase tx [duplicate]

Is it possible to add more outputs than one to the coinbase transaction? And if it is, can miners use them to repay users for renting hash to the pool? I think in this case they know who to pay and ...
Nima's user avatar
  • 53
4 votes
2 answers
355 views

How to generate a coinbase transaction?

I am creating a miner in C++ for solo mining, and am struggling to create the proper coinbase transaction. Say I have a bc1 address, like bc1qfc7fameteuguetm0kfzypnvf2ju6wppdvj6tkc , what would be and ...
Martin Bradley's user avatar