The ValueFromAmountWithFee function in itself is innocuous.
It seems to return the value of transaction in case that the tx fee exceeds the maximum.
To see where it is used to hide premine, I searched for line
The results are here
https://github.com/search?q=ValueFromAmountWithFee%28pindexBest-%3EnMoneySupply%29&type=Code&ref=searchresults
The first coin to pull the scam is
SHACoin
followed (knowingly or not) by
Evercoin
RainbowCoin
Asiacoin
xxxcoin
This clears Beecoin and Quarkbar of suspicion.
It seems to return the value of transaction in case that the tx fee exceeds the maximum.
To see where it is used to hide premine, I searched for line
Code:
ValueFromAmountWithFee(pindexBest->nMoneySupply)
The results are here
https://github.com/search?q=ValueFromAmountWithFee%28pindexBest-%3EnMoneySupply%29&type=Code&ref=searchresults
The first coin to pull the scam is
SHACoin
followed (knowingly or not) by
Evercoin
RainbowCoin
Asiacoin
xxxcoin
This clears Beecoin and Quarkbar of suspicion.