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};
65
65
static constexpr unsigned int DEFAULT_DESCENDANT_LIMIT{25 };
66
66
/* * Default for -limitdescendantsize, maximum kilobytes of in-mempool descendants */
67
67
static 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 };
68
74
/* *
69
75
* Standard script verification flags that standard transactions will comply
70
76
* 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;
81
81
#define MICRO 0.000001
82
82
#define MILLI 0.001
83
83
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 ;
90
84
/* * Maximum kilobytes for transactions to store for processing during reorg */
91
85
static const unsigned int MAX_DISCONNECTED_TX_POOL_SIZE = 20000 ;
92
86
/* * Time to wait between writing blocks/block index to disk. */
You can’t perform that action at this time.
0 commit comments