revault / research

4 stars 1 forks source link

Fee reserve algorithm #10

Open darosior opened 3 years ago

darosior commented 3 years ago

What are the different fee reserve algorithm to study, what is the best one we should go with? What breathing room does it give in each case?

(Below is taken from #1)

X * 95Q30

Define the 95%-ile of fee-rates for a rolling window over the previous 30 days, call it 95Q30. Anything above that stands a strong chance of being accepted, unless there is high volatility in the fee-market. In which case, does it make sense to double the MA95 and use that as the fee-reserve estimate?

X * MAX95Q

Consider the month(s) which historically showed the highest demand for block-space, and determine the 95%-ile fee-rates for that period. Call it MAX95Q.

darosior commented 3 years ago

We could also have the watchtower be set with an arbitrary lower bound (such as a MAX95Q but more reasonable) and use max(95Q30, lower_bound). The lower bound would of course be updated should a new high be encountered.