Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: Monnt on February 13, 2016, 03:51:33 AM



Title: Transaction that is more than 1mb?
Post by: Monnt on February 13, 2016, 03:51:33 AM
From what I understand about transactions, depending on inputs and outputs of a transaction, the size of it is different. The more inputs/outputs, the bigger. So what if I made a transaction with so many inputs and outputs or became larger than 1 MB? Is there a maximum amount of inputs/outputs, will miners bounce your TX back, or will it break the blockchain? :-/


Title: Re: Transaction that is more than 1mb?
Post by: achow101 on February 13, 2016, 03:56:08 AM
From what I understand about transactions, depending on inputs and outputs of a transaction, the size of it is different. The more inputs/outputs, the bigger. So what if I made a transaction with so many inputs and outputs or became larger than 1 MB? Is there a maximum amount of inputs/outputs, will miners bounce your TX back, or will it break the blockchain? :-/
A transaction that large would be considered nonstandard and at the current time, it would render any block including it invalid. It would simply be rejected by most nodes and by miners.


Title: Re: Transaction that is more than 1mb?
Post by: yenxz on February 13, 2016, 01:38:51 PM
From what I understand about transactions, depending on inputs and outputs of a transaction, the size of it is different. The more inputs/outputs, the bigger. So what if I made a transaction with so many inputs and outputs or became larger than 1 MB? Is there a maximum amount of inputs/outputs, will miners bounce your TX back, or will it break the blockchain? :-/
not i dont think there will trnsaction more than 1mb,blockchain will refuse it and will compress it.


Title: Re: Transaction that is more than 1mb?
Post by: rich93 on February 13, 2016, 02:59:54 PM
There were spam attacks on the Bitcoin network last year when someone crammed the network full of transactions. The miners had to cram as many inputs and outputs into blocks as possible to clear the backlog, but were limited to making blocks under 1MB by the network's rules. Clearing the backlog took days.


Title: Re: Transaction that is more than 1mb?
Post by: Meuh6879 on February 13, 2016, 03:04:20 PM
Read this sheet, you understand more than a explain text : http://btc.blockr.io/block/list/


Title: Re: Transaction that is more than 1mb?
Post by: Pursuer on February 13, 2016, 03:28:31 PM
From what I understand about transactions, depending on inputs and outputs of a transaction, the size of it is different. The more inputs/outputs, the bigger. So what if I made a transaction with so many inputs and outputs or became larger than 1 MB? Is there a maximum amount of inputs/outputs, will miners bounce your TX back, or will it break the blockchain? :-/

AFAIK if the transaction size is not bigger than one block, then whether or not a miner accepts it and includes that transaction in a block is going to depend on the miner and how they have set up their system.

take a look at this super weird transaction which was included in block #367877 and was 840022 (bytes) it has 2000 inputs:
https://blockchain.info/tx/52539a56b1eb890504b775171923430f0355eb836a57134ba598170a2f8980c1

it has broken some of the block explorers :D

some speculations about it:
https://redd.it/3fggjj


Title: Re: Transaction that is more than 1mb?
Post by: ATguy on February 13, 2016, 03:57:16 PM
So what if I made a transaction with so many inputs and outputs or became larger than 1 MB?

If you create block biger than 1 000 000 bytes, today full nodes will simply reject your block regardless whether it contains one or more transactions. If you create up to 1 MB block, better check it contains valid data other full nodes accepts as valid block (I know there was database lock error with just one big transaction in the block in the past, but this software error is fixed now)


Title: Re: Transaction that is more than 1mb?
Post by: calkob on February 13, 2016, 04:04:17 PM
From what I understand about transactions, depending on inputs and outputs of a transaction, the size of it is different. The more inputs/outputs, the bigger. So what if I made a transaction with so many inputs and outputs or became larger than 1 MB? Is there a maximum amount of inputs/outputs, will miners bounce your TX back, or will it break the blockchain? :-/

If you as a miner found a block and filled it with transactions more then 1mb it would simply get rejected by all current core nodes, and you would then lose out because the next miner to find the block would be rewarded.  it pays to be honest thats what makes bitcoin special.  :)


Title: Re: Transaction that is more than 1mb?
Post by: countryfree on February 14, 2016, 07:40:26 PM
You may see this problem as another reason to raise the block size, but I'd rather see it a risk for the network. I guess that if I were a miner I would simply reject all transactions above 100K. Come on, that's just not normal. Or do we want another stress test? Imagine some hackers launching several 950K transactions all at the same time. Let's play safe and reject all abnormal transactions.