--- Day changed Sun Dec 24 2017 00:16 -!- coins123 [~coins123@31.157.14.43] has joined #joinmarket 00:16 -!- coins123 [~coins123@31.157.14.43] has quit [Changing host] 00:16 -!- coins123 [~coins123@unaffiliated/coins123] has joined #joinmarket 02:16 -!- coins123 [~coins123@unaffiliated/coins123] has quit [Remote host closed the connection] 03:48 -!- undeath [~undeath@unaffiliated/undeath] has joined #joinmarket 04:01 -!- coins123 [~coins123@unaffiliated/coins123] has joined #joinmarket 04:42 -!- coins123 [~coins123@unaffiliated/coins123] has quit [Remote host closed the connection] 04:54 -!- belcher [~belcher@unaffiliated/belcher] has joined #joinmarket 05:39 -!- beIcher [~user@unaffiliated/belcher] has quit [Ping timeout: 248 seconds] 05:39 -!- beIcher [~user@unaffiliated/belcher] has joined #joinmarket 06:00 -!- coins123 [~coins123@unaffiliated/coins123] has joined #joinmarket 06:26 -!- coins123 [~coins123@unaffiliated/coins123] has quit [Remote host closed the connection] 06:57 < belcher> so iv been unable to run the relay bot between here and an irc network that has a .onion 06:57 < belcher> i saw someone on github talking about not being able to use the .onion so i wrote this issue explaining how the bot is run https://github.com/JoinMarket-Org/joinmarket/issues/771 06:58 < belcher> so im calling for a volunteer who has an always-on machine to run it, its really very trivial to run, a single small python file 07:01 < waxwing> if we don't find someone else i can probably stick it on my vps 07:01 < waxwing> but better someone else, less SPOF :) 07:39 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #joinmarket 07:57 -!- coins123 [~coins123@2.43.203.254] has joined #joinmarket 07:57 -!- coins123 [~coins123@2.43.203.254] has quit [Changing host] 07:57 -!- coins123 [~coins123@unaffiliated/coins123] has joined #joinmarket 08:24 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 248 seconds] 09:02 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #joinmarket 09:14 < waxwing> arubi, according to: https://bitcoin.org/en/developer-reference#importaddress there is no 4th parameter to importaddress? 09:14 < waxwing> so i can do `importaddress 0014e8df018c7e326cc253faac7e46cdc51e68542c42 "joinmarket-notify" false` OK; the false there just means no rescan 09:15 < waxwing> i am looking to avoid this stuff (at least in this initial impl.), but the edge case of a sweep coinjoin to a bech32 is bothering me a bit. will prob have to code it to import the first non-bech32 address in the output set. not hard, but was trying very much to avoid logic changes. 09:16 < belcher> reviewed your commits so far on bech32send waxwing they look nice 09:16 < waxwing> yeah current state is direct send = ok, but have to make sure to cover all edge cases in a CJ, hence ^ 09:16 < waxwing> thanks for looking :) 09:16 < belcher> yep 09:16 < belcher> i was thinking of doing this https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/101#issuecomment-345363715 which probably involves sync'ing a testnet node 09:17 < arubi> waxwing, there is, try 'help importaddress' you have to set it to false (it's true by default) else core will track the p2sh version of the script 09:17 < waxwing> belcher, oh yes that would be a great one to fix thanks. 09:17 < waxwing> belcher, oh; is it not possible to use regtest? 09:18 < belcher> yes, durr 09:18 < waxwing> arubi, ah ok, so doc is wrong, thanks, would never have spotted that! 09:18 < belcher> thats much easier 09:19 < waxwing> arubi, but: "4. p2sh (boolean, optional, default=false) Add the P2SH version of the script as well" 09:19 < waxwing> default is false, and it says "add p2sh *as well*" ? 09:20 < arubi> huh, you're right... 09:21 < arubi> weird. I'm remembering something else completely, but I'm probably wrong 09:26 -!- coins123 [~coins123@unaffiliated/coins123] has quit [Ping timeout: 272 seconds] 09:27 < arubi> yea sorry for misinfo, it's been off by default since it was introduced 09:34 < waxwing> belcher, don't know if i've said this before, but a handy tip for generic regtest testing is to do `py.test --nirc=2 --btcroot=path-to-bitcoin-cli --btcpwd=pwd test/ygrunner.py -s` from the root jmcs directory, 3 maker bots run in background and the seed of a wallet is displayed in hex ("Seed: xxxx") which you can use, it has 8 coins in it, 2 in mixdepth 0 and 6 in mixdepth 1. 09:35 < waxwing> i realise it's kinda overkill for wallet code stuff, but it pre-populates a wallet, that's really all (ofc you can also do coinjoins, but you wouldn't really need to here) 09:51 < undeath> waxwing: would it maybe be better/easier to import the script instead of the address? 09:51 < undeath> you don't really have to care about encoding and addresses and stuff 09:54 < waxwing> undeath, yes i've been pondering it. just looking for the way to do it with least invasive changes, for now. 09:54 < waxwing> the only case where it even matters is the sweep coinjoin, where we need to monitor but none of the output addresses belong to us. 09:54 < waxwing> (taker side) 09:56 < waxwing> yeah probably will just do that; importaddress address_to_script(address) "joinmarket-notify" false . basically. arubi so you think that'll definitely work fine as far back as 0.13.1 ? 09:57 < arubi> it did for me, I used to spam testnet with just random standard scripts and all worked 09:57 < waxwing> yes got it. ok reasonably confident with that approach, will test now. 09:58 < arubi> I made sure to add both the privkey, pubkey, and script. for just watching I'm assuming the script itself should work 09:59 < arubi> s/both/all 10:14 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 272 seconds] 10:20 -!- a87ry5 [~a87ry5@67.205.223.238] has joined #joinmarket 10:52 < waxwing> pushed it, should be ok, will nurse my testnet bots back to health and try some txs on there 11:01 < arubi> awesome. really it's so important that wallets support the send-to if we ever wanna see the receive adopted 11:32 < waxwing> 3 bots, can serve 5-10 coins easily, on test pit on chat.freenode.net and on agora onion, running bech32send branch of joinmarket-clientserver, feel free to try sending to a b32 (or just do a direct send) on testnet. 11:33 < waxwing> i'm going to get the latest electrum now (haven't tried it yet) and use that with --testnet flag, hopefully it works. 11:39 -!- coins123 [~coins123@unaffiliated/coins123] has joined #joinmarket 11:41 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #joinmarket 11:41 < waxwing> interesting, i note that the warning pops up about segwit vs non-segwit when you start electrum 3; i bet a lot of people don't end up choosing segwit .. shoulda p2sh wrapped it! 11:47 < waxwing> another thought, maybe we should have standardised a HD wallet with a certain defined branch or set of branches being for native segwit/b32; that way any wallet implementing the standard would support it but not force it. 11:47 < waxwing> unfortunately electrum gives the user, at the start, a binary option: use it or not, if you use it, you could end up not being able to accept payments so - what do you choose? 11:47 < undeath> support for bech32 addresses would probably be much more common if the bip left draft state 11:48 < waxwing> well yes and no, get your point, but note BIP141 is in draft too :) 11:48 < waxwing> but i do agree more broadly - this should have been left till later. i'm quite annoyed people rushed it. 11:48 < waxwing> but i am swayed a bit by the fee disaster :) it pushes us further along the capacity line. 11:49 < waxwing> oh sorry undeath i'm wrong, it's marked 'proposed' not 'draft'. 11:50 < undeath> still a weird status for something active on mainnet 11:51 < undeath> and then software is still out there generating new uncompressed key addresses :/ 12:03 < arubi> a person from work just got into bitcoin, he's holding some with electrum and you're right, he didn't even notice the option. I set up testnet electrum for him so he could ad least get the hang of send\receive and went for bech32, but then no faucet was able to send to it, so he just got bored :( 12:27 < waxwing> https://testnet.smartbit.com.au/tx/4d138ec153cb1b2cf5649e0873fac204da556c45dfe41010dd379d866b87d6e0 .. that's direct, will try a cj now 12:28 -!- StopAndDecrypt_ [~StopAndDe@c-73-248-248-9.hsd1.nj.comcast.net] has quit [Ping timeout: 256 seconds] 12:29 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has joined #joinmarket 12:34 < waxwing> lol oh dear: 12:34 < waxwing> 2017-12-24 20:31:39,611 [MainThread ] [DEBUG] bad command k 12:37 < arubi> "k", heh 12:39 < waxwing> that's one of the bots, the other one has 'C' instead of 'k'; something seems to have gone wrong on the IRC layer. nbd i'll figure it out 12:44 < waxwing> how long is a bech32 address for a p2wpkh (roughly)? 12:46 < undeath> bip examples are 42 chars 12:46 < arubi> hm, is it should be constant length right? 12:47 < undeath> and must be at most 90 in any case 12:47 < arubi> oh I mean just p2wpkh, base32 encoding a hex value 12:48 < undeath> Version 0 witness addresses are always 42 or 62 characters, but implementations MUST allow the use of any version. 12:48 < undeath> 62 is p2wsh i think 12:49 < arubi> right, forgot it's "send out" we're talking about 13:00 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 265 seconds] 13:13 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #joinmarket 13:47 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 248 seconds] 13:53 -!- coins123 [~coins123@unaffiliated/coins123] has quit [Remote host closed the connection] 14:33 < waxwing> https://testnet.smartbit.com.au/tx/b3877c16f60919edec202b950fe230d5835e1f39fdcc14175cb458cf1ff464da (prev. problem is limited to freenode, it must be to do with line limits or rate limits) 15:18 -!- zxccxz [b902d10d@gateway/web/freenode/ip.185.2.209.13] has joined #joinmarket 15:38 -!- obsedd [~what@37.9.56.10] has joined #joinmarket 15:41 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #joinmarket 15:43 -!- undeath [~undeath@unaffiliated/undeath] has quit [Quit: WeeChat 1.9.1] 16:24 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 240 seconds] 17:33 -!- belcher [~belcher@unaffiliated/belcher] has quit [Quit: Leaving] 22:05 -!- a87ry5_ [~a87ry5@67.205.223.238] has joined #joinmarket 22:05 -!- a87ry5 [~a87ry5@67.205.223.238] has quit [Read error: Connection reset by peer] 22:18 -!- a87ry5 [~a87ry5@38.132.127.75] has joined #joinmarket 22:20 -!- a87ry5_ [~a87ry5@67.205.223.238] has quit [Ping timeout: 256 seconds] 22:26 -!- a87ry5 [~a87ry5@38.132.127.75] has quit [] 22:31 -!- StopAndDecrypt_ [~StopAndDe@c-73-248-248-9.hsd1.nj.comcast.net] has joined #joinmarket 22:32 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has quit [Ping timeout: 264 seconds] 23:51 * adlai will try setting up a tor relay on his bouncer at some point 23:51 < adlai> might rate limit somewhat it if more than a palm's digit's worth of connections appear