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
0
votes
1answer
25 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 ...
0
votes
1answer
24 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'...
0
votes
1answer
45 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 ...
0
votes
1answer
25 views

elderly mom transfrred bitcoin out of coinbase but doesn't know where it went ... have identifiers and hash stuff

My mom is and she transferred bitcoin out of her coinbase account which we finally regained access. She does not know where she transferred it to, i.e., a wallet, or other account? We have the ...
1
vote
1answer
87 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 ...
0
votes
1answer
35 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 ...
0
votes
1answer
33 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 ...
0
votes
1answer
64 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":...
5
votes
1answer
393 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 ...
1
vote
1answer
34 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?
1
vote
1answer
42 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 &...
0
votes
1answer
42 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. ...
0
votes
1answer
23 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 ...
3
votes
1answer
123 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 ...
6
votes
1answer
1k views

Why is coinbase mentioned in a BIP?

I thought that BIPs were similar to Pythons PIPs. So I was confused when I read BIP 34 mentioning coinbase explicitly. The author, Gavin Andresen, seems not to have a connection to coinbase. I thought ...
0
votes
2answers
200 views

how do i convert bc1 address to hex? for coinbase transaction

Im trying to create a coinbase transaction so that I can do some mining. I have a bech32 bitcoin address, how do I convert that to hex so that I can include it in the coinbase transaction data? ...
0
votes
1answer
113 views

Why am i picking up 2 blockchains for my BTC address

So this is my address 38UPP6po1NJvNQoTavvTBzbRi1bKcyR7tZ And i am picking up 2 blockchains ,one for BTC and BCH ? I did a transfer a week ago and i am not sure why i cant see the funds in my coinbase ...
2
votes
0answers
53 views

How do I compute the coinbase in for a stratum pool?

I searched around Google and didn't get a correct answer, some one says I should use: hashed_coinbase_ = coinbase1 + extranonce + extranonce2 + coinbase2; And some other pages says: hashed_coinbase_ =...
0
votes
0answers
449 views

The price of coinbase Satoshies vs the price of mixed coins

I think that it is not pure fair that any of BTC Satoshies has the same price. And what do you think about the recently mined coins that perfectly clear, or coins that has some grey history behind ...
1
vote
1answer
122 views

Bitcoin in RegTest throw (bad-cb-height) at block No. 500

Mining in RegTest mode goes well until it's reach block height=500, then server return (bad-cb-height) any idea what is wrong with this coninbase: 02000000 01 ...
0
votes
1answer
40 views

How basecoin transaction is added to a block?

I'm new to blockchain and bitcoin. In my understanding, miners are trying to find a nonce that is added to a block, and then the hash of the block will have some zeros at first and the first ...
2
votes
2answers
263 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
64 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
437 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?
1
vote
1answer
125 views

How to create bitcoin coin , coinbase transaction?

I know about createrawtransaction '[{"txid":"0000000000000000000000000000000000000000000000000000000000000000","vout":0}]' '{"39jbHRLG6Z2KgXLHR3BWgbccZde1Moo15k"...
1
vote
1answer
84 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",&...
2
votes
2answers
105 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, do I need to convert it to little endian, hash it twice and then ...
1
vote
2answers
222 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
217 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
54 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
66 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
64 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 ...
0
votes
1answer
53 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
108 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
100 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
97 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 ...
1
vote
1answer
315 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
772 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
334 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
18 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
563 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
60 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
55 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
146 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
96 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
250 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
440 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
72 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
111 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
608 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?