diff --git a/SimplePolicy/SimplePolicyPlugin.cs b/SimplePolicy/SimplePolicyPlugin.cs index c93032d07..432f82191 100644 --- a/SimplePolicy/SimplePolicyPlugin.cs +++ b/SimplePolicy/SimplePolicyPlugin.cs @@ -44,6 +44,9 @@ public IEnumerable FilterForBlock(IEnumerable transact return FilterForBlock_Policy2(transactions); } + public int MaxTxPerBlock => Settings.Default.MaxTransactionsPerBlock; + public int MaxLowPriorityTxPerBlock => Settings.Default.MaxFreeTransactionsPerBlock; + private static IEnumerable FilterForBlock_Policy1(IEnumerable transactions) { int count = 0, count_free = 0;