[bisq-network/bisq] [WIP] Add list to filter to set btc fee receiver addresses (#4150)

sqrrm notifications at github.com
Fri May 8 10:45:27 UTC 2020


@sqrrm commented on this pull request.



> +
+package bisq.core.util;
+
+import bisq.core.dao.DaoFacade;
+import bisq.core.dao.governance.param.Param;
+import bisq.core.filter.Filter;
+import bisq.core.filter.FilterManager;
+
+import java.util.List;
+import java.util.Random;
+
+import lombok.extern.slf4j.Slf4j;
+
+ at Slf4j
+public class FeeReceiverSelector {
+    public static String getAddress(DaoFacade daoFacade, FilterManager filterManager) {

Might be good to have an end date here that would extend with new versions. That would protect against a faulty filter removal causing fees to go to an address that shouldn't get any.

Weightings could be added to the address to distribute the fees more evenly among the receiving addresses according to amount lost.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4150#pullrequestreview-408155011
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200508/90f79162/attachment.html>


More information about the bisq-github mailing list