Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: murderouskirk on July 28, 2015, 10:46:43 PM



Title: How did FreshCoin (old coin) manage to set the transaction fees to a percentage?
Post by: murderouskirk on July 28, 2015, 10:46:43 PM
Hey all,

I've been looking into percentage based transaction fees over flat rates. It was pointed out to me that FreshCoin claims to have done this.

Quote
After 7 days, mandatory transaction fees of 0.1-0.5%, to ensure mining remains profitable without coin supply inflation

I've been digging into it and for the life of me can't figure out if and how they actually pulled it off.

I can't seem to find any fee toggle that kicks in after 7 days. Nor can I find any percentage based fee code.

It could be I'm just missing it.

Are there other coins that claim to have accomplished this? Can anyone see where freshcoin accomplished it?

Thanks all.


Title: Re: How did FreshCoin (old coin) manage to set the transaction fees to a percentage?
Post by: Frangomel on January 10, 2016, 03:49:59 PM
Hi, just saw this. I will answer in name of savale (hope will not make mistake). It is shown in code and wallet, so under minimal fee you cannot change it as you want. Over that minimal fee you can put whatever you want. On the other side, if you are using freshonline fee is 0% :).

Look at the code on git, if you are hard to find it, I could ask savale to help you out with this.


Title: Re: How did FreshCoin (old coin) manage to set the transaction fees to a percentage?
Post by: gjhiggins on January 10, 2016, 06:52:09 PM
It could be I'm just missing it. ... Can anyone see where freshcoin accomplished it?

This not it? https://github.com/savale/freshcoin/blob/master/src/main.cpp#L722

Quote
Are there other coins that claim to have accomplished this?

A handful: https://github.com/search?q=PercentageFeeSendingBegin&type=Code&utf8=%E2%9C%93

Edit: Ah, it's an earlz job, first saw the light of day in Fractalcoin's code https://github.com/fractalcoin/fractalcoin

Cheers

Graham


Title: Re: How did FreshCoin (old coin) manage to set the transaction fees to a percentage?
Post by: Spoetnik on January 10, 2016, 07:02:56 PM
I said someone should do that looong ago *many times* and i was flamed hard by so called Dev's !

They went on and on.. telling me it wasn't possible and it was a horrible idea etc.

Altcorn idiots  ::)