43 | @@ -44,13 +44,13 @@ static const bool DEFAULT_ALERTS = true;
44 | /** Default for -maxorphantx, maximum number of orphan transactions kept in memory */
45 | static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100;
46 | /** Default for -limitancestorcount, max number of in-mempool ancestors */
47 | -static const unsigned int DEFAULT_ANCESTOR_LIMIT = 100;
48 | +static const unsigned int DEFAULT_ANCESTOR_LIMIT = 25;
49 | /** Default for -limitancestorsize, maximum kilobytes of tx + all in-mempool ancestors */
50 | -static const unsigned int DEFAULT_ANCESTOR_SIZE_LIMIT = 900;
51 | +static const unsigned int DEFAULT_ANCESTOR_SIZE_LIMIT = 100;
Note that this means a max size tx - 100KB - can't be respent. This could cause problems, e.g. with CPFP.
@petertodd I was assuming that if people cared about that they could limit their transactions to 99.5KB and still chain a child or two off of it to pay extra fees. I suppose alternatively we could raise the default to 101?
The size limits would only have restricted approx 0.01% of transactions that passed the count limits over the last several months.
I would agree with @petertodd here, we should set the size limit to something like 101 or 105.