01:36:02 <Awaru> re 10:11:08 <NakedKing> I'm trying basic things about splitting monero. Is that good way to do it? Will %2 of total amount be enough for transaction fee? $splittedAmount = ($amount * 98 / 100) / $splitCount; 10:14:36 <moneromooo> It depends what the amout is, obviously. 10:15:02 <moneromooo> For "sane" amunts, it'll be way more than enough. But for corner cases (tiny amounts), it might not be enough. 10:15:24 <moneromooo> But what you can do is something like:L 10:16:15 <moneromooo> (wait, thinking) 10:17:08 <moneromooo> Actually, it's the same as you're doing, but without the 98/100, but send N-1 amounts, and let the last one be the change. 10:17:48 <moneromooo> Which... might have been what you wanted to do anyway ? :D 10:18:33 <moneromooo> So if you want to split 1 monero into 4, you send 3 times 1/4, you'll get 0.25 0.25 0.25 0.249 10:18:49 <moneromooo> And no dust due to that 2% tiny outout. 10:21:09 <moneromooo> (instead of 4 times 0.25*98/100 and a fifth output of 0.0000x) 10:24:06 <NakedKing> when a user sends a exactly equivalent amount of money to buy something, with this way waiting 10block wont be enough. User will need to wait 10(for splitted transfer) + 10 (and the last one) blocks. 10:24:39 <NakedKing> But in another way, if user sends exactly equivalent, i will took his/her %2 too.. :D 10:26:30 <NakedKing> And yes i will get problems with corner cases and there will be dust amounts. You are right but my workload is increasing, i need to watch a more transaction and then send last transfer at backend. 10:29:21 <moneromooo> If you want to buy two things, just send one tx, not two. 10:29:56 <moneromooo> That could have privacy implications though. What exactly, I'm not sure. 10:31:13 <moneromooo> Or you can piggyback other txes: if you need to spend 10 to pay 3, you can always add another 2 output to yourself as well. 10:31:49 <moneromooo> So instead of 10 -> 3 + 7 back (ignoring fee), you hve 10 -> 3 + 2 (back) + 7 (back). 10:32:02 <moneromooo> No extra waiting. And you can have up to 16 outputs per tx. 10:32:41 <moneromooo> Maybe the wallet should have an option for that kind of auto split... 22:57:28 <upp> can you import wallet file generated from the cli client into monerujo? i tried but the file is greyed out and unselectable. not sure if it needs a filename extension or 22:59:07 <hyc> ought to be able to, but I've never tried it 22:59:37 <hyc> note that the CLI generates two files: xx and xx.keys 22:59:48 <hyc> the .keys file is the critical one 22:59:58 <upp> ah i noticed that, what is .keys 23:00:11 <hyc> it stores your keys....... 23:00:20 <upp> :> 23:01:04 <upp> the other file is many megabytes, i assume it contains information from scanning the chain for transactions, which is what i figured i would try to avoid doing all over again by importing it 23:01:46 <hyc> yes. it's called the wallet cache. it can be recreated by scanning the blockchain, it's mostly just there for convenience 23:01:52 <hyc> but... 23:02:14 <hyc> it also records details of outgoing txns, and those details don't exist anywhere else. 23:02:26 <hyc> and can't be recovered from scanning the blockchain 23:02:33 <upp> oh, interesting 23:03:35 <hyc> I mean, a rescan will show that a txn was sent, but other info about the txn will be gone 23:05:52 <upp> so maybe the import wallet feature is to import the keys file not the cache file? cache file seems more useful to bring over 23:06:14 <hyc> without the keys you have no wallet at all 23:06:35 <hyc> your viewkey and spendkey are what defines a wallet 23:06:59 <upp> they are generated from the seed phrase and you can just re enter that i thought? 23:07:10 <hyc> yes, true 23:29:49 <upp> oh how about that, i put the cache and keys file in a zip and monerujo import seems to have worked 23:35:05 <apotheon> that's cool 23:35:22 <apotheon> upp: Thanks for blazing that trail so I now know that about Monerujo. 23:42:03 <Mochi101> Moneruju is a pretty good wallet upp 23:44:02 <upp> apotheon :) 23:50:45 <upp> Mochi101: i wasnt sure which android wallet to try. i was about to try cake wallet as i see it recommended a lot on the reddit, but then i discovered something i didnt like about it while researching... i already forget what it was :( lol maybe it didnt have a feature i wanted like wallet import 23:59:09 <Mochi101> I've never actually tried the Cake Wallet upp 23:59:57 <Mochi101> Maybe I should try it one day and see how it does with a wallet with thousands of txs.