under 'send' ,its bottom right hand side, make sure you have a version from this thread, about 2 pages ago otherwise its shaded out.I didn't see a way to perform an IX without using the GUI, and it's not listed in the commandline help. Did I overlook something?
Sounds like just enough time to sleep before the next update :wink:There's an issue with IX, I'll fix it in the morning and make a 11.1.8. It actually might take a bit of work, so this makes sense anyway.
Without a GUI is what he's asking.under 'send' ,its bottom right hand side, make sure you have a version from this thread, about 2 pages ago otherwise its shaded out.
under 'send' ,its bottom right hand side, make sure you have a version from this thread, about 2 pages ago otherwise its shaded out.
The linux version has the daemon, i think you can do IX by using the daemon, but the windows version doesn't have the daemon for now.Ah, I meant using the darkcoin-cli command line program, not darkcoin-qt.
The linux version has the daemon, i think you can do IX by using the daemon, but the windows version doesn't have the daemon for now.
I'm not sure how this can work from the command line but if you download v.11.1.6 and get the qt, you can run InstantX:I have been building only the CLI programs since I don't have a Qt build environment setup, so if you could double-check if it's possible i'd appreciate it.
Can't see anything. There's a darksend option but nothing for IX. Would definitely like an IX command to be there.I didn't see a way to perform an IX without using the GUI, and it's not listed in the commandline help. Did I overlook something?
np, I'l give an extended explanationCould you explain this again in numbers. I'm not sure what you mean by "input rounds". And I guess "input amount" means the total coins in the wallet?
Thanks!
1) denomination part: ( sum of all ("input amount" x "input rounds" ) ) divided by ( "number of rounds you want to mix" x "funds that are represented by denominated amounts")
2) anonymization part: "darksend balance" divided by "darkcoins to keep anonymized"
Total progress is #1 * 80 + #2 * 20
Is this the cost intended for IX? That's 1% of the transaction?!?!
Oh, and it didn't work ;P no instant transaction. I suppose that's what Evan was talking about with IX issues. Finally, I second that there should be a visual on the send tab to show IX accepted the payment
[offtopic]
Me realizing that some issues were caused by my previous commits
[/offtopic]
Yeah, but sometimes even twice is not enough you know :wink:You live and you learn! This is how you become a better developer. Because next time you are going to think twice about it!
Thank you so much for this explanation!!! Totally love it. I like how you set the ratio 80/20 for denominations/anonymization. Is this also going to apply to the progress bar?np, I'l give an extended explanation
Basically inputs is what you see when you open coin control in "List mode". Each line is an input. Now look for "Amount" and "Darksend Rounds" columns - that's what counted in progress formula. So line by line for every denominated input (the one that have "Darksend Rounds" >= 0) wallet takes "Amount", multiplies it by "Darksend Rounds" and add the result to some variable to store the sum of it all. Once it's done wallet divide it by number of rounds from settings and by sum of amounts of all denominated inputs (i.e. denominated balance). That's "denomination part" of progress.
Few more notes:
- "darkcoins to keep anonymized" is what you set in setting or your total balance if your balance is lower.
- "denomination part" is cut down to 1 at the end
- if "anonymization part" is greater then 1 then we count "denomination part" as 1 too
So for example, you set to mix 80 DRK by 4 rounds. Let's say you have 5 lines of 0.1d DRK (by "d" i mean there is a tail of 000100 and such) 2 rounds each, 6 lines of 1d DRK 3 rounds each, 7 lines of 10d DRK 4 rounds each and another 3 lines of 10d DRK 0 rounds (denominated but not mixed yet).
I'll quote myself to have formulas here:
And calculations will look smth like this:
1) denomination part:
( sum of all ("input amount" x "input rounds" ) ) = 0.1*2 + 0.1*2 + 0.1*2 + 0.1*2 + 0.1*2 + 1*3 + 1*3 + 1*3 + 1*3 + 1*3 + 1*3 + 10 *4 + 10 *4 + 10 *4 + 10 *4 + 10 *4 + 10 *4 + 10 *4 + 10*0 + 10*0 + 10*0 = 299
"number of rounds you want to mix" = 4
"funds that are represented by denominated amounts" = sum of amounts of all denominated inputs (i.e. denominated balance) = 0.1*5 + 1*6 + 10*(7+3) = 106.5
( "number of rounds you want to mix" x "funds that are represented by denominated amounts") = 4 * 106.5 = 426
So "denomination part" = 299 / 426 = 0.7018779343 (it's lower than 1 so we are fine as it is, )
2) anonymization part:
"darksend balance" = 10*7 = 70
"darkcoins to keep anonymized" = 80
So "anonymization part" = 70 / 80 = 0.875
Now the total progress is calculated using weights coefficients 80 for denomination part and 20 for anonymization part. These coefficients are taken from nowhere but a simple though that mixing usually take some time so giving it more weight should give smoother progress changes. Anyway, final step:
Total progress = 0.7018779343 * 80 + 0.875 * 20 = 73.6502347418 (or 73 as it's cut down to nearest integer)
And that's it (I hope I didn't mess up with numbers somewhere) :smile:
No worries, we love you anyway Udjin! I would love to buy you a beer one day, in thanks for backing me up with that loser on Twitter yesterday...[offtopic]
Me realizing that some issues were caused by my previous commits
[/offtopic]