Bitcoin Forum
May 26, 2024, 04:56:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Transaction that is more than 1mb?  (Read 678 times)
Monnt (OP)
Legendary
*
Offline Offline

Activity: 938
Merit: 1002


View Profile
February 13, 2016, 03:51:33 AM
 #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? :-/
achow101
Staff
Legendary
*
Offline Offline

Activity: 3402
Merit: 6657


Just writing some code


View Profile WWW
February 13, 2016, 03:56:08 AM
 #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.

yenxz
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
February 13, 2016, 01:38:51 PM
 #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.
rich93
Full Member
***
Offline Offline

Activity: 595
Merit: 101


Chromia - Relational Blockchain


View Profile WWW
February 13, 2016, 02:59:54 PM
 #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.

♠️ Facebook: http://facebook.com/ChromiaStudios                 ♥️ Webpage: http://chromiastudios.com
♦️ LinkedIn:  http://linkedin.com/company/chromiastudios      ♣️ Reddit: http://reddit.com/r/ChromiaStudios                     
♥️ Twitter:    https://twitter.com/teamchromia                        ♦️  Twitter: https://twitter.com/ChromaWay
************************************************************************************************
Meuh6879
Legendary
*
Offline Offline

Activity: 1512
Merit: 1011



View Profile
February 13, 2016, 03:04:20 PM
 #5

Read this sheet, you understand more than a explain text : http://btc.blockr.io/block/list/
Pursuer
Legendary
*
Offline Offline

Activity: 1638
Merit: 1163


Where is my ring of blades...


View Profile
February 13, 2016, 03:28:31 PM
 #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

Only Bitcoin
ATguy
Sr. Member
****
Offline Offline

Activity: 423
Merit: 250



View Profile
February 13, 2016, 03:57:16 PM
 #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)

.Liqui Exchange.Trade and earn 24% / year on BTC, LTC, ETH
....Brand NEW..........................................Payouts every 24h. Learn more at official thread
calkob
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 520


View Profile
February 13, 2016, 04:04:17 PM
 #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
countryfree
Legendary
*
Offline Offline

Activity: 3052
Merit: 1047

Your country may be your worst enemy


View Profile
February 14, 2016, 07: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.

I used to be a citizen and a taxpayer. Those days are long gone.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!