--- Day changed Tue Apr 25 2017 00:07 < midnightmagic> arubi: You're the only other person (aside from myself) I've ever seen use them as a matter of course. :) 00:09 -!- juscamarena [~justin@47.148.176.74] has quit [Quit: Leaving] 00:22 < arubi> :). really I should move everything into functions. too much reused code, didn't think it'd get this big at first 00:39 -!- berndj-blackout [~berndj@mail.azna.co.za] has joined #joinmarket 00:41 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Excess Flood] 00:41 -!- berndj [~berndj@mail.azna.co.za] has quit [Quit: ZNC - http://znc.in] 00:41 -!- berndj-blackout is now known as berndj 00:41 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #joinmarket 02:06 -!- takamatsu [~takamatsu@unaffiliated/takamatsu] has joined #joinmarket 02:08 -!- MaxSan [~one@109.202.107.10] has joined #joinmarket 02:59 -!- MaxSan [~one@109.202.107.10] has quit [Quit: Leaving.] 03:22 < waxwing> Anduck: sure, well, i tested it a lot. i asked many times here for people to look/test/critique etc. posted to reddit and btctalk. the idea was maybe to move it to joinmarket-org once it became more of a community project, seemed presumptuous to do so while it wasn't. 03:23 < waxwing> btw "it" in the above refers to the repo https://github.com/AdamISZ/joinmarket-clientserver which is both command line and GUI impl. for Taker side. 03:23 < waxwing> new electrum plugin version based off of that, too (which was one of the main reasons for doing it, to make that easier). 03:30 < waxwing> < interesting 03:49 < arubi> what do the fields say waxwing ? 03:49 < arubi> I guess 0.00011... is supposed to be the fee? 03:50 < waxwing> the last one is the relative fee, yeah 03:52 < arubi> well, it's one "over nine thousand" :) 03:54 < Anduck> waxwing: ok. sounds good.. i'll test it later 03:54 < waxwing> arubi: belcher_ adlai , others, a *very* incomplete coinswap impl. at https://github.com/AdamISZ/CoinSwapCS 03:54 < arubi> sweet! 03:56 < waxwing> short term goal is to get something that could feasibly be tested on testnet, however limited ... still a bit to do. it basically kinda functions on regtest, at least for 1 transaction. 03:56 < waxwing> pls don't advertise it, since as i say it's a way away from being usable. 03:57 < arubi> no problem. 05:39 -!- puddinpop [~puddinpop@unaffiliated/puddinpop] has joined #joinmarket 06:56 -!- xcvvcxvvcx [53e42f33@gateway/web/freenode/ip.83.228.47.51] has quit [Ping timeout: 260 seconds] 08:03 -!- so [~so@unaffiliated/so] has quit [Ping timeout: 240 seconds] 08:06 -!- xcvvcxvvcx [53e42f33@gateway/web/freenode/ip.83.228.47.51] has joined #joinmarket 08:15 < adlai> waxwing: oh cool, thank you for this! i'm a little swamped with schoolwork but i hope to take a look at this soon 08:32 -!- MaxSan [~one@217.151.98.163] has joined #joinmarket 08:59 -!- so [~so@unaffiliated/so] has joined #joinmarket 10:22 -!- MaxSan [~one@217.151.98.163] has quit [Ping timeout: 255 seconds] 10:37 -!- takamatsu [~takamatsu@unaffiliated/takamatsu] has quit [Ping timeout: 260 seconds] 10:47 < arubi> waxwing, TIL: joinmarket-clientserver, 'till now I was planning on exploiting bitcoind's blocknotify and walletnotify by pointing to some scripts that will act a specific way considering which path of the protocol should be executed (blocks passed, watchonly looks for counterparty spends), but there's no easy way to manage sessions.. I should really get into python :) 10:48 < waxwing> arubi: on that topic, i just today realised that in one specific scenario walletnotify probably won't cut it. otoh, it's really quite easy to extract the data using getblock, considering that it's only a very specific bit of info you need from a fixed set of blocks. 10:49 < waxwing> it's only carol side that you have this issue, alice never needs to scan the blockchain. you could use indexing, but it seems unnecessary. 10:49 < arubi> I see, will look into joinmarketd. seems like a very useful tool 10:50 < arubi> I guess the main issue is "I restored from reboot, now what?" 10:50 < waxwing> (by "won't cut it" i mean a situation where your code shut down or crashed, then restarted. it seems like walletnotify will "miss" the redeem there) 10:50 < arubi> right 10:50 < arubi> suppose something happened I didn't hear about 10:50 < waxwing> yep. bright side is, it took me like 1 hr to write the scanning code, it's remarkably easy to do. 10:51 < arubi> is it possible to request mempool'ed transactions from nodes? 10:51 < waxwing> hmm. don't know, there is an rpc though. 10:51 < waxwing> but in this case have to cover confirmed also 10:51 < arubi> right, I think walletnotify will trigger on that rescan though 10:52 < arubi> if it's confirmed and core is checking last blocks.. /pretty/ sure 10:52 < waxwing> oh ok, maybe, i was inserting code crashes (blockchain not interrupted) 10:53 < arubi> ohh I understand now, server crashed, core continues 10:53 < arubi> right, some notifications might be lost 10:53 < arubi> maybe pointing wallet|blocknotify to scripts that will update some external file isn't so bad 10:54 < arubi> need to think about it.. how can I duplicate a wallet state from bitcoind from just rpc calls :) 10:54 < waxwing> yeah that could work too. my feeling is that scanning the blocks is the most practical thing to do though. of course it's a tiny bit intensive, but not really, just some small set of blocks. 10:55 < arubi> actually I agree. some rough update of some file in case of a re-org is even worse to recover from 10:55 < arubi> better just to look at recent history. 11:03 < waxwing> yes joinmarketd could be developed further as an idea; e.g. hosted on a different box (knows no privkeys or anything), different client codebase. bit rough around the edges though, e.g. TLS supported but only rudimentary. 11:04 < waxwing> by default it just gets run under the hood 11:21 -!- MaxSan [~one@185.156.175.43] has joined #joinmarket 11:30 < waxwing> arubi: https://github.com/AdamISZ/CoinSwapCS/blob/master/coinswap/base.py#L82-L94 (seemed to work first time; probably quite bloaty with real blocks, but meh, won't be needed hardly at all anyway) 11:38 < MaxSan> waxwing: what does -25 missing inputs mean? 11:39 < MaxSan> or anyone else 11:39 < waxwing> MaxSan: iirc that usually comes from inputs already spent; can happen if a maker is arranging more than one tx at a time. 11:40 < MaxSan> hmmm 11:40 < MaxSan> mates having a few issues 11:43 < MaxSan> looks like its massively out of date 11:44 < MaxSan> can i refresh this with a m depth of like 50 addresses to make sure? 11:45 < waxwing> MaxSan: i can only guess .. is it using blockr? we recently heard about it being out of date 11:45 < MaxSan> nah local 11:45 < waxwing> you can use a bigger gaplimit (-g) or more mixdepth (-a iirc) 11:46 < MaxSan> how do you set theso i can do 11:46 < waxwing> or -m, if we're using wallet-tool. i forget. 11:46 < MaxSan> python wallet-tool.py -g 50 wallet? 11:46 < waxwing> what's the actual problem? first you were talking about rpc -25 error, now it's about missing coins? 11:47 < MaxSan> think this works 11:47 < MaxSan> i think a bunch of his addresses were empty 11:47 < MaxSan> a rescan looked to have broken it 11:48 < MaxSan> he found some anyway lol 12:18 -!- arubi [~ese168@gateway/tor-sasl/ese168] has quit [Ping timeout: 248 seconds] 12:18 -!- sturles [~sturles@unaffiliated/sturles] has quit [Ping timeout: 240 seconds] 12:20 -!- sturles [~sturles@unaffiliated/sturles] has joined #joinmarket 12:20 -!- arubi [~ese168@gateway/tor-sasl/ese168] has joined #joinmarket 12:23 -!- HostFat_ [~HostFat@93-39-178-182.ip77.fastwebnet.it] has quit [Quit: Leaving] 12:45 -!- MaxSan [~one@185.156.175.43] has quit [Ping timeout: 245 seconds] 13:26 -!- belcher [~belcher@unaffiliated/belcher] has joined #joinmarket 13:49 -!- MaxSan [~one@185.156.175.43] has joined #joinmarket 16:04 < belcher_> nice code waxwing, thats probably the first ever coinswap impl 16:37 < belcher> your readme doesnt mention the pallier thing that can make coinswaps look like p2pkh 16:37 < belcher> pallier is possible with tumblebit... i think 17:06 < belcher> they use 2of2s so cant see why not 17:27 -!- sudo_pscience [~kc@185.65.134.76] has quit [Quit: Leaving.] 18:00 -!- gowness [~gowness@herp.xyz] has quit [Quit: smokebomb] 18:00 -!- ajvpot [~ajvpot@the.motherfuckin.ddosshield.net] has quit [Ping timeout: 260 seconds] 18:01 -!- puddinpop [~puddinpop@unaffiliated/puddinpop] has quit [Remote host closed the connection] 18:01 -!- ajvpot [~ajvpot@the.motherfuckin.ddosshield.net] has joined #joinmarket 18:03 -!- belcher_ [~user@unaffiliated/belcher] has quit [Ping timeout: 260 seconds] 18:04 -!- gowness [~gowness@herp.xyz] has joined #joinmarket 18:06 -!- belcher_ [~user@unaffiliated/belcher] has joined #joinmarket 18:11 -!- puddinpop [~puddinpop@unaffiliated/puddinpop] has joined #joinmarket 18:24 -!- sudo_pscience [~kc@c-73-8-166-104.hsd1.in.comcast.net] has joined #joinmarket 18:25 -!- sudo_pscience [~kc@c-73-8-166-104.hsd1.in.comcast.net] has quit [Client Quit] 18:28 -!- MaxSan [~one@185.156.175.43] has quit [Quit: Leaving.] 18:53 -!- belcher [~belcher@unaffiliated/belcher] has quit [Quit: Leaving] 18:56 -!- sudo_pscience [kc@gateway/vpn/mullvad/x-ktvabwzegyuryrms] has joined #joinmarket 19:58 -!- Giszmo [~leo@pc-240-13-215-201.cm.vtr.net] has quit [Quit: Leaving.] 22:18 < waxwing> belcher_: yeah could mention that .. i mean, right now it doesn't even mention using 2 of 3s e.g. there's too much windbaggery and not enough concrete stuff in there :) will fix later 22:44 -!- coins123 [~coins123@unaffiliated/coins123] has quit [Remote host closed the connection] 23:10 -!- lnostdal [~lnostdal@62.90-149-73.nextgentel.com] has quit [Ping timeout: 258 seconds] 23:12 -!- lnostdal [~lnostdal@62.90-149-73.nextgentel.com] has joined #joinmarket 23:19 -!- sudo_pscience [kc@gateway/vpn/mullvad/x-ktvabwzegyuryrms] has quit [Quit: Leaving.] 23:35 -!- coins123 [~coins123@ip-244-225.sn1.clouditalia.com] has joined #joinmarket 23:35 -!- coins123 [~coins123@ip-244-225.sn1.clouditalia.com] has quit [Changing host] 23:35 -!- coins123 [~coins123@unaffiliated/coins123] has joined #joinmarket 23:37 -!- coins123 [~coins123@unaffiliated/coins123] has quit [Remote host closed the connection] 23:42 -!- coins123 [~coins123@unaffiliated/coins123] has joined #joinmarket 23:52 -!- lnostdal [~lnostdal@62.90-149-73.nextgentel.com] has quit [Ping timeout: 240 seconds] 23:53 -!- lnostdal [~lnostdal@62.90-149-73.nextgentel.com] has joined #joinmarket