8 votes
Accepted

Does the coinbase transaction have inputs?

Coinbase transactions must: Have exactly 1 input. That input must have prevout hash 0000...0000, and index 0xFFFFFFFF (an output which isn't actually spent). The input's scriptSig must be between 2 ...
Pieter Wuille's user avatar
6 votes
Accepted

Why are miners setting the locktime in coinbase transactions?

Wang Chun of f2pool (@satofishi) said on Twitter: “We repurpose those 4 bytes to hold the stratum session data for faster reconnect.” He went on to say: "The coinbase locktime is set to: ...
bordalix's user avatar
  • 477
6 votes
Accepted

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

The term "coinbase" was most likely coined by Satoshi through the IsCoinbase method of the CTransaction class. It was both part of the first publicly distributed version of the source code ...
Antoine Poinsot's user avatar
6 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 ...
Murch's user avatar
  • 73k
5 votes
Accepted

What is the Block 1,983,702 Problem?

Bitcoin assumes a (txid, vout) pair, usually referred to as an "outpoint", is a unique identifier for a UTxO. This assumption did not actually hold in the early years of Bitcoin, since two ...
Antoine Poinsot's user avatar
5 votes

Different balances between fullnode and bitcoin explorer

You appear to have searched for a Pay to Public Key Hash (P2PKH) address, but the output on the coinbase transaction of block 200 is a Pay to Public Key (p2pk) output. There is no address standard for ...
Murch's user avatar
  • 73k
4 votes
Accepted

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

The wtxids of all transactions are committed to by the witness commitment tree in the coinbase transaction (except the coinbase wtxid itself, as that would be a cyclic dependency). This includes non-...
Pieter Wuille's user avatar
4 votes
Accepted

Processing bitcoin reward block's input transaction

This is the scriptSig of a coinbase transaction (the first transaction in every block is special; it doesn't actually spend anything but brings new coins into existence). Coinbase transactions have a ...
Pieter Wuille's user avatar
3 votes
Accepted

What is coinbase script (arbitrary data)?

The miner chooses it, freely. They can use it as an additional nonce (when the nonce is the block header overflows, the miner needs to switch to different transactions in the block to modify it ...
Pieter Wuille's user avatar
3 votes

BIP 32 Root key for connecting wallets

If you give him the key, he can remove any money in that wallet and can remove any money placed by you in that wallet anytime in the future I would distrust anyone making that kind of suggestion and ...
RedGrittyBrick's user avatar
3 votes

What is the block maturation time?

We require a maturation period for coinbase outputs, because any two blocks at the same height will condemn at least one coinbase transaction to never exist in the best chain. If users were able to ...
Murch's user avatar
  • 73k
3 votes
Accepted

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

Not including the second output would result in a different failure, although it is likely that that check has not been performed yet. The inclusion of that output is necessary if your block contains ...
Andrew Chow's user avatar
  • 68.6k
3 votes
Accepted

What fields of a coinbase transaction can be empty?

Would a block be accepted in which the coinbase transaction has an empty input scriptSig field? Is there an example of such? No, for unknown reasons there is a consensus rule that the coinbase input ...
Pieter Wuille's user avatar
3 votes

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

Yes, it is possible for block 1,983,702 to duplicate the coinbase of block 164,384 with the current consensus rules. Starting with block 1,983,702 the explicit BIP30 check will be re-enabled (see this ...
Antoine Poinsot's user avatar
2 votes

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

If the block contains at least one segWit transaction, the coinbase transaction must have a witness commitment as one of its outputs. Therefore, a miner that wants to reuse the coinbase transaction ...
LeaBit's user avatar
  • 632
2 votes

What is the Block 1,983,702 Problem?

My understanding of the problem is: The coinbase transaction in block 164384 (3aa03753fc) happens to start with OP_PUSHBYTES_3 d6441e which is the value 1983702. This means there is a very small but ...
delta1's user avatar
  • 73
2 votes

How can I look at the genesis block raw txn?

The genesis block is a special case. Among other quirks, its coinbase transaction doesn't actually create any spendable outputs, which is why the getrawtransaction RPC treats it as if it doesn't exist....
Vojtěch Strnad's user avatar
2 votes
Accepted

Does the miner determine the amount of coinbase transactions manually?

Both. The consensus rules allow miners to claim up to a certain amount of coinbase output value, namely the sum of the fees of all (non-coinbase) transactions in the block plus the subsidy (which ...
Pieter Wuille's user avatar
2 votes

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

The commitment is placed on an output's spk. In 732085, is the first output. 6a24aa21a9ed69e5a4d80fbc380c2fef1fbb91f0184ffd74e4612f6c6d7ca9d08c7e995c583c This satisfies the first rule. The second one,...
Davidson Souza's user avatar
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, ...
Murch's user avatar
  • 73k
1 vote

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

In general, using a SEPA bank transfer to deposit funds into an exchange, and then using that balance to buy cryptocurrencies can be one of the cheapest options. However, as you have noted, the spread ...
Denis's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible