Smart Fee Mod for Local Wallet
-
@gpedro said in Smart Fee Mod for Local Wallet:
How do you calculate the fee? You check the last block fees and divide for the last block number of transactions, then roundup? If so, i can't understand why can't you do it for the transfers and messages... xP
its not that simple :) its actually determines what the majority fee in that block is and suggests accordingly :) to aproach it in the way of averaging fee per block would be expensive in a sense one transaction with 100 burst would screw everything :D
-
@LithStud said in Smart Fee Mod for Local Wallet:
Not sure why messages cant be autofilled i suspect there is a piece of code that doing similar thing to the one responsible with send money functionality.
Well the message is a money sending transfer in the API, just has the amount set as 0 so probably the issue is related but i am pretty sure you will get it hehe
Will try the mod when i get to the PC with the local wallet ;D
-
Since yesterday was lazing around doing nothing :) today sat down and did some improvements :)
mostly improved the algo decision making to what fee to suggest :) as the current version running on some people wallets might be exploited in some rare cases (and i mean so rare that i am not sure if it can be done on blockchain lol, since i did it with manually made fee array (just array of numbers) and manually arranged it). Anyway back on topic :) the improvement will introduce a minimum fee extraction from last block, so in the case where traffic is normal and blocks get full with transactions the recommended fee will reflect minimum fee in that block (thats assuming algo couldnt find majority fee).What is majority fee - that is the number that appears as fee more than half of times (tx number / 2), less then that and there is no majority fee thus it could be decided as any fee might get through (as stated before - no time bending algos allowed ;) ).
What am i working at now? Improving design of the mod, so it pleases the eye, also it is part of my ongoing trend throu mods to improve wallets UI visual style by making it look a bit more organic and not so static (so things like the spinner in reward assigment mod).
Also want to thank those who donated last night (night for me might of been day for you) it was really a pleasant surprise when i opened my wallet :D
-
So first off - i am almost done with the mod! :D
Second: the way taking over fee changing around wallet worked so well that well... I changed it everywhere xD
So third i guess i would like to hear from people who uses wallet way more than me where Tx fee was not usual 1 BURST as it would help for me to exclude autochanging fee on those parts only :)
-
This is very cool! @LithStud
-
@LithStud Nice donation from Mr.Whale:)
-
@LithStud said in Smart Fee Mod for Local Wallet:
So third i guess i would like to hear from people who uses wallet way more than me where Tx fee was not usual 1 BURST as it would help for me to exclude autochanging fee on those parts only :)
Is this question aimed at all Wallet users, or just people testing the Mod. If the former I would be happy for the Mod to be applied for all transaction types, so long as the fee is visible and there is an opportunity to manually change it down. So in effect the complete opposite of what we have now.
Rich
-
@RichBC thats the thing :) i now pretty much take over any fee input that exists on modals. And that includes new asset fee (1000 BURST) also those in dividends+ that normally are empty (i guess it calculates itself? never used that one).
So i know i need to exclude new asset fee. Not sure about dividends+ ones and also dont know if i am not missing something.
Question aimed at anyone using wallet ;)
And lastly, unless you know that you can press advaced on those pop up windows to set your own fee you might not see it. As in that case it visible in lower left corner only. Not sure if i could make it more visible (i would rather not modify it unnecessary)
-
@LithStud Yes good points and reminds me that there are several fees that I do not use and have not thought about. Dividend payment are a good example where the Asset owner would probably not want the expense.
It does bring up another idea :-) sorry.... That is an option to say I want the dividend payments to be made with a standard fee, but only when the recommended fee would be 1.
-
@RichBC well for dividends i wont be going into them :) what with me making my own version :P so i guess i will just exclude it :D
Also send money retains its functionality to increase fee by itself (so it takes control as soon BURST amount is entered, trying to find where it is done and see if i can somehow disable it)
-
And the mod is live :) please scroll to the first post ;)
OK going to sleep :) any and all questions will be answered in about 4h after i wake up and on my way to work :)
-
-
-
@LithStud this mod looks great, I yet to use it but I do like the 2 green lines showing the TX Load and Payload . One little thing I could find is the box next to the "disable smart fee" not visible on my system (using Edge) - it does disable/enable the smart fee feature though when I hit the text... minor thing , just mentioning it , so you know ;-)
-
@thomeefl69 hmmm yea i think i read something about edge having problems with checkboxes, will need to find where was that :)
-
@LithStud All installed using the AIO Wallet and everything looks to be ok, just waiting for some Rain to go and try the new Umbrella :-)
A small thing that confused me was the "Disable Smart Fee" text which initially made me think it was enabled and clicking that would Disable it.
I have always used the AIO Wallet but these Days do not use any of the Additional Mining / Plotting features. Is there an easy way to run just the Wallet in your preferred way in the chrome browser?
Will go send a tip.
Many Thanks Rich
-
@RichBC you just use the run.bat file in wallet folder and it starts the command line for client :) after some time it tells that api is started and you then can access wallet on any browser going to 127.0.0.1:8125 (might be wrong about port).
Yea forgot to mention that be default first time mod is disabled and user needs to enable it :) every subsequent start will load saved values
-
@LithStud
This mod is only for the local wallet?
Just my local wallet very often goes crazy - starts uncontrollably to download the blockchain (6-9 GB) :) I constantly Have to download new database and run it again... quite unprofitable out.
-
This post is deleted!
-
@LithStud OK thanks. Just realised that I do use a feature of the AIO wallet, which is the Account Manager. Can't Manage without that :-)
Rich



