Questions tagged [coinbase-transaction]

The "coinbase transaction" is the transaction inside a block that pays the miner his block reward.

Filter by
Sorted by
Tagged with
3
votes
2answers
128 views

Why does Bitcoin Core mention “Coinbase transactions”, and what are they? [duplicate]

Quote: "category" : "str", (string) The transaction category. "send" Transactions sent. ...
0
votes
1answer
48 views

What`s a blocks coinbase value?

Under the bitcoin Protocol rules here: https://en.bitcoin.it/wiki/Protocol_rules#Transactions in the "block" messages section There is the pseudo-algorithm for validating a given block. On ...
2
votes
1answer
345 views

What happens to a coinbase transaction when no address is given?

The transaction block This coin base transaction has no valid address for reward. Did we lose that reward bitcoin forever?
0
votes
1answer
58 views

How to create bitcoin coin , coinbase transaction?

I know about createrawtransaction '[{"txid":"0000000000000000000000000000000000000000000000000000000000000000","vout":0}]' '{"39jbHRLG6Z2KgXLHR3BWgbccZde1Moo15k"...
1
vote
1answer
42 views

As required in BIP 34, how miners put the Block Height to their coinbase transaction

I created a coinbase transaction with the createrawtransaction method as follow: createrawtransaction '[{"txid":"0000000000000000000000000000000000000000000000000000000000000000",&...
1
vote
2answers
53 views

Merkle root with one transaction

I am trying to build a merkle root which contains only the coinbase transaction from bitcoind After creating the coinbase transaction i need to convert it to little endian, hash it twice and then put ...
2
votes
2answers
85 views

How create coinbase transaction with createrawtransaction?

I would like to generate a transaction with createrawtransaction such that it can be passed to submitblock along with the block header. I tried to use: [{"txid":"...
2
votes
2answers
157 views

Why is the scriptSig formatted this way in the Genesis Block (inside function CreateGenesisBlock)

I was exploring the function static CBlock CreateGenesisBlock inside src/chainparams.cpp and I was looking at the way Satoshi created its scriptSig: txNew.vin[0].scriptSig = CScript() << ...
3
votes
1answer
44 views

What does “generate” mean when it appears as a transaction's type?

What is "generate" as a bitcoin transaction type? Why are "generate" transactions labeled as "immature" for 100 blocks? Is this type of Bitcoin transaction spendable?
1
vote
1answer
56 views

A Bitcoin soft fork idea to help compress the blockchain

I've thought about a soft fork that can help storage costs. Why don't we force miners to embed the height of the TX Merkle tree in the first two bytes of the 4-byte block header version? It would ...
0
votes
1answer
51 views

Script_sig for coinbase transaction afbff1130b6fcbdceebbadfc48a842af1f03ee08a79e042b37fc467518b49a0f

I am currently developing a blockchain parser in Python, and it has been crashing in the file blk00006.dat for the coinbase transaction with the hash ...
1
vote
1answer
36 views

How does exchanges, such as coinbase handle off-chain transaction?

Does coinbase create a channel between each customer and coinbase itself? If i buy 10 USD of bitcoin from coinbase, where does the 10 USD worth of bitcoin come from? Does coinbase maintain a huge ...
0
votes
1answer
43 views

Is it possible, with bitcoin-core or btcd, to manually set the scriptSig field in a coinbase transaction?

I am talking about when using regtest or simnet modes. For context, it is so that I can create coinbase transactions with reproducible txids.
3
votes
1answer
93 views

Can a coinbase transaction have a segwit output?

And more generally speaking, are there any restrictions on the output of a coinbase transaction?
0
votes
2answers
78 views

Where and when should the coinbase transaction(including the miner key) be added?

I'm making a simple demonstrator program, pretty much a simplified bitcoin clone based mostly on the original whitepaper. Please bear with me, because I haven't found a way to describe the problem ...
3
votes
1answer
59 views

Was it always required for the Coinbase transaction to be the first transaction in a block?

The user tempo mentioned on another topic: "At least in the early protocol versions it was possible to put the coinbase transaction not on the top of the outputs." I have never heard about this ...
0
votes
0answers
22 views

Coinbase customer service [duplicate]

Does anyone know how to get a hold of a human being on the phone at coinbase? Or the contact info of a good crypto lawyer? Their customer support is lacking. I have a stuck transaction going on two ...
2
votes
1answer
239 views

How to create a bitcoin transaction without inputs

How can I create a transaction without inputs and it will be broadcasted but of course won't get confirmed? I would like the simplest method to do this
1
vote
1answer
416 views

How to decode a coinbase transaction?

Below is block result of block height 200,000 { 'hash':'000000000000034a7dedef4a161fa058a2d67a173a90155f3a2fe6fc132e0ebf', 'confirmations':396774, 'strippedsize':247533, 'size':247533, ...
1
vote
1answer
186 views

reconstruct block template from stratum mining.notify

I have a mining notification from a stratum pool. I wish to write a general script to extract the value of the block reward that the pool is taking. That is, reconstruct the block template, or at ...
1
vote
0answers
16 views

Where are Drivechain votes computed?

In the context of the Drivechain proposal, for UTXOs in miner-controlled escrows to be spent, they have to be voted on by each block over a large number of blocks, right? Now, how are these votes ...
4
votes
1answer
318 views

Why does this coinbase transaction have two op_return outputs?

I've been looking at coinbase transactions for fun and I came across one with two op_return outputs.. Does anyone know what the second one is? Also, I understand the first op_return is used to ...
1
vote
0answers
38 views

BIP0034 block height using python-bitcoinlib

I'm doing some experiments for finding coinbase height from freshly mined block which is received from ZMQ. tx_coinbase = CTransaction.deserialize(x('...
0
votes
1answer
2k views

how recover my money in Coinbase Wallet?

I just wanna ask if there is possibility to recover my money in coinbase wallet. I forgot my recovery phrase but i remembered my btc wallet address and TXID. thanks
0
votes
1answer
35 views

Can a block have multiple coinbase transactions? Also is there a limit to the number of signatures a multi-sig transaction has or requires? [closed]

I am wondering if a block can be created with multiple coinbase transactions. The US government regulates mining pools that have control over the miner's wallets, so it would be fabulous if this could ...
2
votes
1answer
90 views

Can a miner give themselves less than the maximum block subsidy if they wish to do so?

The current maximum block subsidy is 12.5 bitcoin. A mined block recently got rejected from full nodes after a miner tried to post the block subsidy as 13.26 bitcoin. But what about in the other ...
3
votes
1answer
74 views

When does miner insert the coinbase transaction?

When a miner creates the candidate block with transactions from the mempool, does he insert the coinbase transaction after winning the PoW or during PoW?
0
votes
1answer
184 views

Is Coinbase transaction required to be signed?

I am trying to build a coinbase for mining with the following steps: 1-Create dummy Input and output. 2-Pass them to CreateRawTransaction as collection/ 3-Get a transaction back and fill the empty ...
0
votes
2answers
225 views

What is the source of initial transactions of bitcoin?

Sorry, if I am wrong or silly! It is understood that: a) Satoshi Nakamoto sent the first transaction to developer Hal Finney on January 12, 2009, the genesis block contains 1,073 transactions and he ...
0
votes
1answer
67 views

Is there a maximum balance that a single address can hold?

Is there a maximum number of satoshis that a single address can control at a single time? I ask because when I generate regtest blocks to a single address, it's balance gets stuck at 1494999998350 ...
3
votes
1answer
88 views

What is the maximum number of bytes the coinbase scriptSig (coinbaseaux) can hold?

Since the scriptSig of the coinbase transaction of a block can contain arbitrary data, what is the maximum number of bytes it can contain? I've seen various mentions of a limit around 100 bytes, but ...
1
vote
1answer
423 views

Is there a way to create coinbase transactions with an RPC command?

Is there a way to create coinbase transactions with an RPC command?
2
votes
1answer
355 views

collecting block reward and transaction fees

i was reading document about transaction data and there seems to be two contradicting paragraphs: Every block must include one or more transactions. The first one of these transactions must be a ...
2
votes
1answer
234 views

identical coinbase transactions

this sounds like an old topic but i have not found a satisfying answer yet; in history there lived two blocks with identical coinbase transactions: https://www.blockchain.com/btc/block-index/106662 ...
1
vote
2answers
380 views

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

The example is in here: https://www.blockchain.com/btc/tx/63910fdfa84db96bd1f28fead4c32f97388d5368c10059d035aac3c5f72fcdc0 Actually, there are two outputs DUP HASH160 PUSHDATA(20)[...
1
vote
2answers
356 views

Differentiating Output Script (scriptPubKey) Types

I am working on a little script to breakdown the data inside coinbase transactions. This is largely to improve my understanding of legacy and SegWit transactions (Given coinbase transactions have less ...
3
votes
1answer
317 views

Why does Bitcoin block 526,591 have a 6.25 (instead of 12.5) block reward?

https://chain.so/block/BTC/0000000000000000002ba5a1fb96f93e6c215d62db4280f1cbd30e82c7c71fba https://blockchair.com/bitcoin/block/526591 It's an empty block (zero transactions), but the coinbase ...
0
votes
1answer
322 views

Variables in Coinbase Transaction & Decoding I/O Scripts

I just have a few questions to help better my understanding of the coinbase transaction. Example: ...
1
vote
1answer
235 views

How does the hash of a coinbase transaction differ for the same miner?

Based on the format of a coinbase transaction described here: What is the format of the coinbase transaction?, I don't see how the all the coinbase transactions for a given miner do not all have the ...
0
votes
1answer
62 views

I got a coinbase transaction and I don't know where it comes from

I received a small payment from a coinbase transaction, but I haven't been mining nor I have signed up on a mining pool. Does this happen when someone accidentally sets my address instead of theirs ...
1
vote
1answer
126 views

What does this comment in Chainparams.cpp mean?

There is a comment in the Bitcoin source code under src/chainparams.cpp /** * Build the genesis block. Note that the output of its generation * transaction cannot be spent since it did not ...
1
vote
1answer
63 views

Fail to encrypt scriptPubKey in testnet

I have the following testnet wallet address: 2MsQEtPJ6JJZszMYrD6udjUyTDFLczWQrv9 Which I am trying to encode as pubkeyhash to the coinbase TX in testnet. When i run decode58, I get this ...
2
votes
1answer
787 views

OP_RETURN in a coinbase transaction?

Hey looking at this transaction I'm confused why there are two outputs and why one of them is labelled with OP_RETURN
1
vote
3answers
573 views

Getting the wrong txid for coinbase transactions

I'm trying to hash transactions to get the txid. I get the hex values from blockchain.info. I get the correct hash for all transactions except for the coinbase when I hash it twice. Is there something ...
2
votes
0answers
112 views

In DASH, why is in the coinbase transaction sometimes the first output the masternode reward, and other times the second? [closed]

Example of the first output being a masternode reward Example of the first output being a proof-of-work reward What determines the order of the outputs in the generation transaction? As far as I ...
2
votes
1answer
68 views

Weird script stack entries at block #227837?

At block 227837 , the coinbase TX e35ca7413b61397a49551fea6ebb540988afcf4a2d0e750773d38eb11b138f40 has the following script: ...
0
votes
1answer
517 views

Where is the extraNonce in this coinbase transaction here?

https://blockchain.info/tx/c1669dabe1bcadf50c4b712e42da7b3d3152aef53752731b04a4f585dde6f5f2 The coinbase states this: ...
1
vote
1answer
243 views

Coinbase transaction data

Can a coinbase transaction contain only data: 03 - length and 030303 - coinbase itself, or should the coinbase itself contain the height of the block?
0
votes
1answer
118 views

Why do not all the coinbase texts have the block heigh in it?

The coinbase text of #511329 starts with a, #511330 starts with b, #511331 starts with c... (and so on until z), but #511426 for example starts with F, the next one with m, the next one with "... ...
1
vote
1answer
285 views

Why maturity rule on coinbase tx requires too many confirmations w.r.t an arbitrary tx?

For an arbitrary tx, it is often said that 6 confirmations is sufficient. However, maturity rule states that coinbase tx can't be spent until it receives 101 confirmations. Why do we have this ...