File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,12 @@ static constexpr unsigned int DEFAULT_ANCESTOR_SIZE_LIMIT{101};
6565static constexpr unsigned int DEFAULT_DESCENDANT_LIMIT{25 };
6666/* * Default for -limitdescendantsize, maximum kilobytes of in-mempool descendants */
6767static constexpr unsigned int DEFAULT_DESCENDANT_SIZE_LIMIT{101 };
68+ /* *
69+ * An extra transaction can be added to a package, as long as it only has one
70+ * ancestor and is no larger than this. Not really any reason to make this
71+ * configurable as it doesn't materially change DoS parameters.
72+ */
73+ static constexpr unsigned int EXTRA_DESCENDANT_TX_SIZE_LIMIT{10000 };
6874/* *
6975 * Standard script verification flags that standard transactions will comply
7076 * with. However scripts violating these flags may still be present in valid
Original file line number Diff line number Diff line change @@ -81,12 +81,6 @@ using node::UnlinkPrunedFiles;
8181#define MICRO 0.000001
8282#define MILLI 0.001
8383
84- /* *
85- * An extra transaction can be added to a package, as long as it only has one
86- * ancestor and is no larger than this. Not really any reason to make this
87- * configurable as it doesn't materially change DoS parameters.
88- */
89- static const unsigned int EXTRA_DESCENDANT_TX_SIZE_LIMIT = 10000 ;
9084/* * Maximum kilobytes for transactions to store for processing during reorg */
9185static const unsigned int MAX_DISCONNECTED_TX_POOL_SIZE = 20000 ;
9286/* * Time to wait between writing blocks/block index to disk. */
You can’t perform that action at this time.
0 commit comments