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
2
votes
2answers
56 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
39 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
49 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
34 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
27 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
36 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
82 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
68 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
51 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
21 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 ...
1
vote
1answer
214 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
266 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
136 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
14 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 ...
3
votes
1answer
232 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
25 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
889 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
33 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
74 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 ...
2
votes
1answer
64 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
153 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
171 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
63 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
78 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
338 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
312 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
162 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
359 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
1answer
304 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
282 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
296 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
193 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
119 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
59 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
678 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
508 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
111 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
67 views

Weird script stack entries at block #227837?

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

Where is the extraNonce in this coinbase transaction here?

https://blockchain.info/tx/c1669dabe1bcadf50c4b712e42da7b3d3152aef53752731b04a4f585dde6f5f2 The coinbase states this: ...
1
vote
1answer
226 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
111 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
273 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 ...
0
votes
2answers
239 views

A different way to create coinbase transaction

AFAIK when a miner succeeds in creating a block, he puts a special transaction (coinbase) in it which spends no input and sends a fixed amount of BTC to an address he can arbitrarily specify. Instead ...
1
vote
1answer
176 views

Orphan block payment maturity

I know that the outputs coinbase transaction can be spent only after receiving 100 confirmations. So is it that a miner who mined an orphan block receives the outputs of coinbase transaction but can ...
0
votes
1answer
58 views

Why is BTC transfer on coinbase taking 30+ hours? [closed]

I'm really frustrated from the really bad service of coinbase.com. I'm waiting for a transfer of 0.14 BTC for 30+ hours which is ridiculous! Customer support is totally missing, service is really bad. ...
0
votes
3answers
65 views

Is there a way to access transactions that happen inside exchanges?

For example coinbase is an exchange and so, their transactions are done off of the blockchain. They do however expose an API, which I believe should expose their own coinbase "blockchain" ...
0
votes
1answer
63 views

Spreading reward of a block over the miners proceeding it

Say I want to implement a rewarding scheme that spreads the reward of a block over its own miner and the miners that build on top of it. Is it possible? More concretely, say each of my blocks bring ...
0
votes
2answers
920 views

Why does won't my bitcoin transaction complete? It has thousands of confirmations

My transaction has over 4000 confirmations and has been pending for over 3 weeks in my Coinbase wallet. The money is not available and shows as "pending". What is going on? If it had 0 confirmations I'...
0
votes
1answer
384 views

Why is it so expensive to transfer Bitcoins?

I am starting with bitcoins and I want to buy some neo and ripple. Like every newbie I typed "Buy neo" on google, and a lot of tutorials say I can not buy directly neo, I have first to buy some ...