Author

Topic: Transaction that is more than 1mb? (Read 695 times)

legendary
Activity: 3066
Merit: 1047
Your country may be your worst enemy
February 14, 2016, 02:40:26 PM
#9
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.
hero member
Activity: 1106
Merit: 521
February 13, 2016, 11:04:17 AM
#8
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.  Smiley
sr. member
Activity: 423
Merit: 250
February 13, 2016, 10:57:16 AM
#7
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)
legendary
Activity: 1638
Merit: 1163
Where is my ring of blades...
February 13, 2016, 10:28:31 AM
#6
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 Cheesy

some speculations about it:
https://redd.it/3fggjj
legendary
Activity: 1512
Merit: 1012
February 13, 2016, 10:04:20 AM
#5
Read this sheet, you understand more than a explain text : http://btc.blockr.io/block/list/
full member
Activity: 595
Merit: 101
Chromia - Relational Blockchain
February 13, 2016, 09:59:54 AM
#4
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.
sr. member
Activity: 294
Merit: 250
February 13, 2016, 08:38:51 AM
#3
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.
staff
Activity: 3458
Merit: 6793
Just writing some code
February 12, 2016, 10:56:08 PM
#2
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.
legendary
Activity: 938
Merit: 1002
February 12, 2016, 10:51:33 PM
#1
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? :-/
Jump to: