From b8d595b9432623cbc8b6a29b278c902d55dc3ce1 Mon Sep 17 00:00:00 2001 From: nighthawk24 Date: Tue, 16 Aug 2022 14:52:57 -0400 Subject: [PATCH] Update fee formula to avoid 0 fee calculation. --- zip-proportional-output-fee-mechanism-pofm.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zip-proportional-output-fee-mechanism-pofm.rst b/zip-proportional-output-fee-mechanism-pofm.rst index ce12d21a..97364355 100644 --- a/zip-proportional-output-fee-mechanism-pofm.rst +++ b/zip-proportional-output-fee-mechanism-pofm.rst @@ -68,7 +68,7 @@ Requirements for gathering consensus Wallet developers SHOULD update the fees to the proposed formula by Madars and Kris Nuttycombe [#madars-1]_ -min_fee = base_fee * max(0, #inputs + #outputs - 4) +min_fee = base_fee * max(1, #inputs + #outputs - 4) Where #inputs and #outputs also take into account transparent inputs and outputs. Otherwise, the fee structure (if not otherwise changed) will preferentially encourage @@ -154,7 +154,7 @@ Specification ============= Wallets implementing this specification will use a conventional fee in the form of -min_fee = base_fee * max(0, #inputs + #outputs - 4) +min_fee = base_fee * max(1, #inputs + #outputs - 4) starting from block 1,800,000.