diff options
| author | Patrick Lodder <[email protected]> | 2021-08-17 21:22:56 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-17 21:22:56 +0200 |
| commit | b8a29b9f59ff4f19a53be6ac80197b42e4dbd97f (patch) | |
| tree | b115d23064dce9238d88eb3501661842bac882a6 /src/amount.h | |
| parent | Merge pull request #2457 from ReverseControl/1.14.4-suggested-changes-for-2297 (diff) | |
| parent | Create feelimit.py test (diff) | |
| download | discoin-b8a29b9f59ff4f19a53be6ac80197b42e4dbd97f.tar.xz discoin-b8a29b9f59ff4f19a53be6ac80197b42e4dbd97f.zip | |
Merge pull request #2441 from rnicoll/1.14.4-fees-disable-rounding
1.14.4 fees disable rounding
Diffstat (limited to 'src/amount.h')
| -rw-r--r-- | src/amount.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/amount.h b/src/amount.h index e6e503905..02d61fc9b 100644 --- a/src/amount.h +++ b/src/amount.h @@ -46,10 +46,14 @@ public: CFeeRate(const CAmount& nFeePaid, size_t nBytes); CFeeRate(const CFeeRate& other) { nSatoshisPerK = other.nSatoshisPerK; } /** - * Return the fee in satoshis for the given size in bytes. + * Return the wallet fee in koinus for the given size in bytes. */ CAmount GetFee(size_t nBytes) const; /** + * Return the relay fee in koinus for the given size in bytes. + */ + CAmount GetRelayFee(size_t nBytes) const; + /** * Return the fee in satoshis for a size of 1000 bytes */ CAmount GetFeePerK() const { return GetFee(1000); } |