decred / tinydecred

Python tools for Decred
ISC License
27 stars 14 forks source link

app: Use relayFee setting #153

Open JoeGruffins opened 4 years ago

JoeGruffins commented 4 years ago

app: Use relayFee setting.

~Make relayFee a field of the blockchain and set that field on initiation and changing.~

Remove the realyFee method from dcrdata and have all relay fees passed in order to separate functions cleanly. Relay fees now depend upon the account calling the dcrdata method.

Follow up on #152

JoeGruffins commented 4 years ago

I can't imagine why we would need the rate as a float. It is unneeded precision. We explicitly convert it int a couple places already. Can we just make it an int from the beginning?