Move fee policy out of core

This commit is contained in:
Gavin Andresen
2014-07-03 14:25:32 -04:00
parent 4b7b1bb1ac
commit 13fc83c77b
16 changed files with 70 additions and 61 deletions

View File

@@ -80,7 +80,7 @@ CFeeRate::CFeeRate(int64_t nFeePaid, size_t nSize)
nSatoshisPerK = 0;
}
int64_t CFeeRate::GetFee(size_t nSize)
int64_t CFeeRate::GetFee(size_t nSize) const
{
return nSatoshisPerK*nSize / 1000;
}