Smart Fee Mod for Local Wallet
-
@LithStud This is really awesome, currently the spam is basically a stress test to burstcoin network ... but if burst becomes more successful, block payload/transactions will always be completely used and fee need to be adjustable. A info like in bitcoin, how much fee is needed to get your transaction processed is really ... did i say that already? ... awesome :-)
Just send you some love :-)
-
-
lol @LithStud is at it again :)
-
Wonderful! I like it!
-
If anyone wants to try: https://wallet.nixxda.ninja:8125/index.html Hammer it!-) This is eval. if I can provide another online Wallet! So maybe dont use your big accounts with it just yet! https://wallet.nixxda.ninja:8125/paydivs.html should work aswell!
Thanks @LithStudand also http://util.nixxda.ninja:8888/ in a bit!
and https://wallet.nixxda.ninja:8125/atlotteries.html
-
@nixxda thanks a lot, cool to see mods in action and a mirror of observer :-)
-
This post is deleted!
-
Here we go again. Thanks for the provisional umbrella Lithstud. I think this mod should find its way to the main wallet after some polishing.
-
@LithStud Cool man thanks for that to you and @daWallet for the idea...
I have a couple of suggestions:
You should put more checkboxes for the remaining transactions (like you have for Autochange AE Fee)...
It should be in there Autochange for messages, transfers (and not sure if it is already included in the AE but it should have for order cancelations too), and never used the Marketplace or the Aliases but it should work for the fees related to this areas too... ;DI know i only give trouble xP
Thanks again for this bro ;D
-
@gpedro good thing you mentioned cancelation ones :) totaly forgot about that one :) and as isaid for money and messages it cant be done currently unless one idea i am thinking about worksout :)
-
Maybe set a limit on high priority transactions amount, maybe set a limit on amount sent to >= 20 burst per tx, make it more expensive to transact meaning moveing larger amounts around.!
-
@Hect0r i will not impose any limits, this tools sole purpose is to suggest a fee that would make the action a priority in next block - and its up to user to decide if he gonna use it or not :) One way is to just use suggested fee - 1 to be of same priority as majority in previous block. Or just put in whatever fee feels right :) Currently Money transfer works in a way that it increases fee by 1 burst every 10k-20k BURST if i remember correctly (thats one of the reason i cant simply hook my mod and change it).
-
looking good . There are some 501 + 501 Blocks going through with a fee of 3 at the moment if someone wants to test. Just a thought can a fee be 3.1?
Rich
-
@RichBC i had tried fractional fee some time ago, but it seemd to me not working (system took it as 3fee i think)
-
@LithStud If you forget about that one, you probably missed the asset issuing too ;P
Why did you said you can't do it for the money transfers and messages?
I can't find that answer in the previous replys...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
EDIT: just readed the reason for the money transfers xD
-
-
@LithStud maybe a good solution for apply this to the transfers is:
1 - put a checkbox saying something like "Urgent" in the transfer pop up (next to the fee)
2 - make the wallet check if the checkbox is activated
2.1 - if yes, check if the suggested fee is lower than the automatic filled fee
2.1.1 - IF yes then proceed as usual
2.1.2 - IF no then replace the fee for the suggested fee and do transaction
2.2 - IF no checkbox activated proceed as usualProblem with this: IDK if you can change the action made with the button send but i am sure you and @dawallet will get a workaround xP
Regarding the messages i don't see why it will not work with the current algo you have right now ;D
-
@gpedro yes thats what i will try to do,basically i will try to take control of the code that does those changes inside wallet (thats assuming i can do that and its not done in such a way that becomes so unfeasable that its not worth the trouble) 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. How i know? I tried to hook the damn things :D
-
@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



