Bitcoin Forum

Other => Beginners & Help => Topic started by: betwithbitcoin8668 on November 04, 2016, 05:19:55 AM



Title: how could this happen
Post by: betwithbitcoin8668 on November 04, 2016, 05:19:55 AM
how could this trans happen with 0 trans but only generate one

is there any method to avoid it ?

https://blockchain.info/block/000000000000000001a9b69885942b66b11f90a96eabff45c2220ba95421b4be

https://i.imgur.com/gTKfAzp.png


Title: Re: how could this happen
Post by: pooya87 on November 04, 2016, 05:48:38 AM
a bitcoin block can be mined as long as there is at least one transaction in it, and that one transaction is the coinbase transaction containing the reward.

you can read the wiki about the specifications of a bitcoin block for more detailed information: https://en.bitcoin.it/wiki/Block

edit:
also you could easily use google to find these:
https://bitcoin.stackexchange.com/questions/34089/how-often-does-a-block-have-only-one-transaction
https://bitcoin.stackexchange.com/questions/24098/why-there-are-blocks-with-single-transaction-in-blockchain


Title: Re: how could this happen
Post by: betwithbitcoin8668 on November 04, 2016, 05:50:52 AM
a bitcoin block can be mined as long as there is at least one transaction in it, and that one transaction is the coinbase transaction containing the reward.

you can read the wiki about the specifications of a bitcoin block for more detailed information: https://en.bitcoin.it/wiki/Block

There should be some rules , for example , at least xxx trans or xx% of all unconfirmed trans


Title: Re: how could this happen
Post by: mobnepal on November 04, 2016, 08:19:21 AM
a bitcoin block can be mined as long as there is at least one transaction in it, and that one transaction is the coinbase transaction containing the reward.

you can read the wiki about the specifications of a bitcoin block for more detailed information: https://en.bitcoin.it/wiki/Block

There should be some rules , for example , at least xxx trans or xx% of all unconfirmed trans
No actually there is not such rules about block should contain xxx trans or x% of unconfirmed transactions having coinbase only transaction make it a valid block according to the bitcoin wiki above.

Why you think there should be such rules? If two subsequent block get mined within few sec difference and there is not much transaction within that small time fraction than this type of block with only one transaction can form.


Title: Re: how could this happen
Post by: betwithbitcoin8668 on November 04, 2016, 08:25:55 AM
a bitcoin block can be mined as long as there is at least one transaction in it, and that one transaction is the coinbase transaction containing the reward.

you can read the wiki about the specifications of a bitcoin block for more detailed information: https://en.bitcoin.it/wiki/Block

There should be some rules , for example , at least xxx trans or xx% of all unconfirmed trans
No actually there is not such rules about block should contain xxx trans or x% of unconfirmed transactions having coinbase only transaction make it a valid block according to the bitcoin wiki above.

Why you think there should be such rules? If two subsequent block get mined within few sec difference and there is not much transaction within that small time fraction than this type of block with only one transaction can form.

I am sorry to ask again

if I Am a minner can I set up the trans number while I am minning .or it is random?


Title: Re: how could this happen
Post by: JITENDERPAR3 on November 04, 2016, 08:57:57 AM
how could this trans happen with 0 trans but only generate one

is there any method to avoid it ?

https://blockchain.info/block/000000000000000001a9b69885942b66b11f90a96eabff45c2220ba95421b4be

https://i.imgur.com/gTKfAzp.png
i think this is due to the no transaction charge .
here we can see clearly no transaction charge is attached with it that results into no confirmation also .
also may be it is another type of privacy things in blockchain block .


Title: Re: how could this happen
Post by: kotwica666 on November 04, 2016, 10:01:41 AM
how could this trans happen with 0 trans but only generate one

is there any method to avoid it ?

https://blockchain.info/block/000000000000000001a9b69885942b66b11f90a96eabff45c2220ba95421b4be

https://i.imgur.com/gTKfAzp.png
i think this is due to the no transaction charge .
here we can see clearly no transaction charge is attached with it that results into no confirmation also .
also may be it is another type of privacy things in blockchain block .

Maybe we both are wrong, but i also think that this transaction looks like that, because all transaction is just fee, or there is no fee. It is a bit strange, but in my first look i see it like that.
Here is question to OP. Do you know amount of fee, and amount of transaction?


Title: Re: how could this happen
Post by: betwithbitcoin8668 on November 04, 2016, 10:09:20 AM
how could this trans happen with 0 trans but only generate one

is there any method to avoid it ?

https://blockchain.info/block/000000000000000001a9b69885942b66b11f90a96eabff45c2220ba95421b4be

https://i.imgur.com/gTKfAzp.png
i think this is due to the no transaction charge .
here we can see clearly no transaction charge is attached with it that results into no confirmation also .
also may be it is another type of privacy things in blockchain block .

Maybe we both are wrong, but i also think that this transaction looks like that, because all transaction is just fee, or there is no fee. It is a bit strange, but in my first look i see it like that.
Here is question to OP. Do you know amount of fee, and amount of transaction?

no trans included.  I know the difference between the fee and the transaction.

some trans can be fee free if it has big amount


Title: Re: how could this happen
Post by: Jhanzo on November 04, 2016, 10:18:56 AM
I am sorry to ask again

if I Am a minner can I set up the trans number while I am minning .or it is random?

I don't know if you what transaction to add, but you can limit the block size or what kind of transaction to include using -blockmaxsize=<n> and -mintxfee=<n>.  You can't do this if you're mining on a pool though.

here we can see clearly no transaction charge is attached with it that results into no confirmation also .
also may be it is another type of privacy things in blockchain block .

Confirmation?  Privacy?  Transaction charge?  What does the number of transactions included in a block have to do with them?

Maybe we both are wrong, but i also think that this transaction looks like that, because all transaction is just fee, or there is no fee. It is a bit strange, but in my first look i see it like that.
Here is question to OP. Do you know amount of fee, and amount of transaction?

Again, it's not strange at all.  You can see the amount of fee and transactions by just clicking the links provided.


Title: Re: how could this happen
Post by: DannyHamilton on November 04, 2016, 11:36:56 AM
how could this trans happen with 0 trans but only generate one

Because that is how bitcoin is designed to work.

is there any method to avoid it ?

As a solo miner or a mining pool operator, you can choose which transactions you want to confirm (if any).  As a non-mining user?  Nope.  Nothing you can do about it.

There should be some rules , for example , at least xxx trans or xx% of all unconfirmed trans

There is.

The rule is:
"At least 1 transaction"

Specifically, the block MUST include a generation transaction.

if I Am a minner can I set up the trans number while I am minning .or it is random?

If you are solo-mining, or you are operating a mining pool, then yes.  If you are just a miner mining in a pool that someone else is operating, then typically no.


Title: Re: how could this happen
Post by: betwithbitcoin8668 on November 04, 2016, 01:14:37 PM
how could this trans happen with 0 trans but only generate one

Because that is how bitcoin is designed to work.

is there any method to avoid it ?

As a solo miner or a mining pool operator, you can choose which transactions you want to confirm (if any).  As a non-mining user?  Nope.  Nothing you can do about it.

There should be some rules , for example , at least xxx trans or xx% of all unconfirmed trans

There is.

The rule is:
"At least 1 transaction"

Specifically, the block MUST include a generation transaction.

if I Am a minner can I set up the trans number while I am minning .or it is random?

If you are solo-mining, or you are operating a mining pool, then yes.  If you are just a miner mining in a pool that someone else is operating, then typically no.


almost clear.

so if I am a minner solo-mining.   and I can set up the block, I will mined, by all 0 trans( just the generation transaction)

right?

if this happened the number of unconfirmed trans will be stay there or just become more.

it is bad.


Title: Re: how could this happen
Post by: DannyHamilton on November 04, 2016, 03:21:14 PM
almost clear.

so if I am a minner solo-mining.   and I can set up the block, I will mined, by all 0 trans( just the generation transaction)

right?

If you want to, you can.

However, if you do that, you will miss out on all the transaction fees of all the transactions that you didn't put in the block.  That means you will have less revenue, and other miners that include transactions will have more revenue.  This additional revenue will allow them to afford more expensive hardware and more electricity.  This additional hash power will increase the mining difficulty.  Since you aren't earning as much as them, you will be spending more on equipment and electricity than you are making.  You will be losing money by mining (instead of earning profit).  Eventually you will run out of money and will have to stop mining.

if this happened the number of unconfirmed trans will be stay there or just become more.

Correct.  The number of unconfirmed transactions will stay the same, and then more unconfirmed transactions will be created while everyone waits for the next block.  Eventually a miner that wants to be profitable will solve a block that will be filled with a megabyte of transactions.  He will make more money than you.

it is bad.

That is an opinion.  It is your opinion, and the opinion of others that don't understand how bitcoin works.  If you don't like it, then don't use bitcoin.  If you have a better solution, then change the bitcoin program and convince people to use your better system.