Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 5406

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

5 votes
Accepted

Can a coinbase transaction have more than one input?

No, coinbase transactions must have exactly one input, one with a coinbase field instead of referencing a UTXO to spend. Additional inputs are not allowed. See also this related topic which describes …
Murch's user avatar
  • 77.8k
9 votes

Why does this coinbase transaction have two op_return outputs?

Coinbase transactions have some special rules not shared by other transactions: only one per block must be the first transaction in the block must have OP_RETURN output with witness commitment if bl …
Murch's user avatar
  • 77.8k
2 votes
Accepted

When / how frequently do miners get paid for transaction fees?

With every block the successful mining entity reaps all the included transaction's fees. So, in the case of solo mining, a miner gets paid transaction fees every time he finds a block, in the case of …
Murch's user avatar
  • 77.8k
3 votes
Accepted

Where is coinbase transaction after a hacker successfully performs >50% attack?

You're not wrong. A miner with more than 51% of the network's mining power can build the longest chain by himself, thus reaping all block rewards and dictating which transactions make it into the lo …
Murch's user avatar
  • 77.8k
0 votes

When creating a block, who actually generates the 25 bitcoins that act as a reward?

When somebody is trying to find a block, they ratify a set of transactions. The protocol has a rule asserting that this transaction set must include a Coinbase Transaction as the first transaction. T …
Murch's user avatar
  • 77.8k
4 votes

Where do the mined bitcoins go?

When miners are trying to find a block, they are doing so for a specific set of transactions. This set of transactions includes a special transaction, the coinbase transaction. It's the first transact …
Murch's user avatar
  • 77.8k
2 votes

Is there any other form of coinbase transaction?

A block must have exactly one coinbase transaction as its first transaction. This transaction may collect the transaction fees and create new coins according to the subsidy. It can assign those funds …
Murch's user avatar
  • 77.8k
0 votes

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

In order to be able to tell whether an unconfirmed transaction is eligible for block inclusion, a node checks that the UTXO spent in the transaction's inputs are available for spending and that the tr …
Murch's user avatar
  • 77.8k
11 votes

What is the coinbase?

David has already given a good explanation of the term coinbase, but I'd like to give further details on the coinbase transaction. The coinbase transaction is a special type of transaction. Every …
Murch's user avatar
  • 77.8k
5 votes
Accepted

What is OP_RETURN b9e11b6d?

The mentioned OP_RETURN output appears to be the footprint of merged-mining VCash, a Mimblewimble-based SHA-256d coin, with Bitcoin. I discovered this via the string 0xb9e11b6d appearing in these mini …
Murch's user avatar
  • 77.8k
2 votes

What is the purpose of the script like RETURN PUSHDATA(36)(...)

As MCCCS said, the mining reward is composed of block subsidy and transaction fees. The second output on the coinbase commits to the witness data in the block. As you might know, the blockheader commi …
Murch's user avatar
  • 77.8k
2 votes
Accepted

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

No, there is no restriction. Any transaction (including coinbase transactions) can create any output type. The block reward can be spent to P2PK, P2PKH, P2SH, P2SH-P2WPKH, P2SH-P2WSH, P2WPKH, P2WSH, P …
Murch's user avatar
  • 77.8k
11 votes
Accepted

Why would a miner put an OP_RETURN in a coinbase transaction?

Every segwit block has one such OP_RETURN in the coinbase transaction: It's the Merkle root of the witness tree. When the segwit softfork was activated, this included a fix to the third-party transac …
Murch's user avatar
  • 77.8k
7 votes
Accepted

Is it possible for the coinbase transaction in block 164384 to be duplicated in block 1983702?

It would be possible for block 1,983,702 to repeat the coinbase transaction of block 164,384 under these three conditions: The block does not collect any segwit transactions, otherwise a witness comm …
Murch's user avatar
  • 77.8k
2 votes
Accepted

if a coinbase reward isn't fully spent, can the coins ever be recovered?

No, the remainder of the reward is lost. The bitcoin protocol includes a check which rejects a block that claims a bigger reward than 'current block reward + transaction fees'. Thus, inevitably follo …
Murch's user avatar
  • 77.8k

15 30 50 per page