Skip to content

Conversation

@gavinandresen
Copy link
Contributor

Extremely large transactions with lots of inputs can cost the network
almost as much to process as they cost the sender in fees.

We would never create transactions larger than 100K big; this change
makes transactions larger than 100K non-standard, so they are not
relayed/mined by default. This is most important for miners that might
create blocks larger than 250K big, who could be vulnerable to a
make-your-blocks-so-expensive-to-verify-they-get-orphaned attack.

@gavinandresen
Copy link
Contributor Author

FYI:

In the last 1,000 blocks, there was exactly 1 transaction larger than 100,000 bytes:
http://blockexplorer.com/tx/454f61695d3fb320cc538003b9c8ca1ba982eb7cd71abe8c9ecc02a1f843da1f

@gmaxwell
Copy link
Contributor

gmaxwell commented Feb 4, 2013

ACK. ... that >100k example is a nice utxo set cleaner, I'm sad to not see more of those!

@BitcoinPullTester
Copy link

Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/0b377f4ee36d9468b63ec5c207f281b1f2003f49 for binaries and test log.

@sipa
Copy link
Member

sipa commented Feb 5, 2013

ACK

Extremely large transactions with lots of inputs can cost the network
almost as much to process as they cost the sender in fees.

We would never create transactions larger than 100K big; this change
makes transactions larger than 100K non-standard, so they are not
relayed/mined by default. This is most important for miners that might
create blocks larger than 250K big, who could be vulnerable to a
make-your-blocks-so-expensive-to-verify-they-get-orphaned attack.
@gavinandresen
Copy link
Contributor Author

Updated to add a comment as suggested by Mike Hearn.

gavinandresen added a commit that referenced this pull request Feb 5, 2013
Make transactions larger than 100K non-standard
@gavinandresen gavinandresen merged commit 1d0851e into bitcoin:master Feb 5, 2013
@gavinandresen gavinandresen deleted the txsize branch November 4, 2013 06:17
laudney pushed a commit to reddcoin-project/reddcoin-3.10 that referenced this pull request Mar 19, 2014
Make transactions larger than 100K non-standard
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants