--- Day changed Sat Sep 22 2018 01:57 -!- undeath [~undeath@hashcat/team/undeath] has joined #joinmarket 06:14 < Sentineo> is jm usage down nowadays (the last few weeks) or it is just me not seeing stuff happening? :) 06:21 < adlai> Sentineo: jm usage levels are highly idiosyncratic. 06:21 < adlai> by which i mean... INSUFFICIENT DATA FOR MEANINGFUL ANSWER :) 06:22 < Sentineo> I was kind of afraid of that :) 06:22 < adlai> there have been jm-like transactions in the blockchain. 06:23 < adlai> by a quick glance: a couple in the past few hours. 06:23 < adlai> and several severallities in the past few days 06:23 < adlai> but here and there, hours without a peep. 06:46 < waxwing> undeath, if you're around, put a Q on the PR thread 06:53 -!- lnostdal [~lnostdal@77.70.119.51] has joined #joinmarket 07:07 < waxwing> so it seems to me what makes it so fiddly is, that you're saving the max_mixdepth field and index_cache separately in the storage, and it's possible to have them be out of sync with each other. why not have it so that an update to max_mixdepth auto-grows the index_cache as needed, or does nothing if it goes down. then there'll never be any KeyError exceptions. 07:08 < waxwing> well, meh, something along those lines. i've already spent way too much time on this, so I'll have it print out an error forcing the user to manually call 'changemixdepth' if they attempt a tumbler run that requires a higher number than they currently have. 07:21 < belcher> i havent looked at the code unfortunately but could max_mixdepth be removed and have the code use len(index_cache) 07:21 < adlai> belcher: i believe the point is to make it configurable at runtime. 07:22 * adlai admits to having simply hardcoded the desired mixdepth when he wanted to change it... 07:24 < belcher> right, then auto-growing would make sense 07:50 < waxwing> adlai, heh, me too probably once or twice - imagine my horror when i realised that doesnt work any more :) 07:50 * adlai blames virtualenv! 07:50 < adlai> seriously. 07:50 < adlai> that's the main reason i haven't bothered mucking around JMCS internals... 07:51 < waxwing> part of what screwed me up was: the new method `open_test_wallet_maybe` sneakily actually pays attention to the passed max_mixdepth for testnet wallets, but not for mainnet. ouch. 07:51 < waxwing> i mean don't get me wrong, this is no huge disaster or something, it's just, i was thrown by it being more difficult than i expected. then again, this is inevitable when you refactor all the wallet stuff, especially in the kind of serious way undeath has done it. 07:52 < waxwing> i mean, it's much better, but other's people's code is always extremely complicated, from one's own pov :) 07:52 < adlai> past you = other person :P 07:52 < waxwing> well, huh, i guess it was already 'other people's code) belcher ... but that was years ago and i 'got over the hump' so to speak. 07:52 * adlai wonders what ever happened to that C++ implementation 07:53 < belcher> its coming right after the rust impl 07:53 < waxwing> i might actually do it in golang since i'm playing around with that now. 07:53 < waxwing> for some values of 'might' 07:53 * adlai glances back at https://www.reddit.com/r/joinmarket/comments/52bnyn/introducing_joinparty/ 07:53 * adlai answers his own question: "Joinparty does not yet support Joinmarket v2, but if there is sufficient interest, that is the next major goal of the project." 07:54 < waxwing> the original idea with the JMCS refactoring was that you can rewrite clients significantly more easily. but still using the daemon, isolated. that's still possible, far more so than writing the entire thing again. 07:55 < waxwing> e.g. javascript even (checks gmaxwell isn't here) 07:55 < waxwing> :) 08:04 < Sentineo> use sanctuaryjs and you will be ok :D 08:21 < waxwing> interesting, never heard of that before 08:31 < Sentineo> a functional programming lib, I love it. 15:37 -!- undeath [~undeath@hashcat/team/undeath] has quit [Quit: WeeChat 2.2] 18:47 -!- Giszmo [~leo@pc-72-54-46-190.cm.vtr.net] has joined #joinmarket 22:05 -!- Giszmo [~leo@pc-72-54-46-190.cm.vtr.net] has quit [Ping timeout: 245 seconds] 22:24 -!- Giszmo [~leo@pc-72-54-46-190.cm.vtr.net] has joined #joinmarket 23:13 -!- technonerd [~techno@unaffiliated/technonerd] has quit [Quit: WeeChat 2.2] 23:32 -!- d3spwn [~Jimmy@a83-161-157-200.adsl.xs4all.nl] has quit [Ping timeout: 260 seconds] 23:55 -!- technonerd [~techno@unaffiliated/technonerd] has joined #joinmarket