Add base_fee and marginal_fee fields.

Co-authored-by: str4d <thestr4d@gmail.com>
This commit is contained in:
nighthawk24 2022-08-18 16:13:24 -04:00 committed by GitHub
parent e232e50ea1
commit 94d6b8acb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -162,7 +162,9 @@ Specification
=============
Wallets implementing this specification will use a conventional fee in the form of
min_fee = base_fee * max(1, #inputs + #outputs - 4)
base_fee = ...
marginal_fee = ...
min_fee = base_fee + marginal_fee * max(0, #inputs + #outputs - 4)
starting from block 1,800,000 for Mainnet, or immediately on implementing this
ZIP for Testnet.