--- Day changed Tue Oct 17 2017 00:09 < arubi> I had that issue grubles : https://stackoverflow.com/questions/34624428/g-error-usr-lib-rpm-redhat-redhat-hardened-cc1-no-such-file-or-directory 00:53 -!- coins123 [~coins123@unaffiliated/coins123] has quit [Remote host closed the connection] 00:53 -!- coins123 [~coins123@c-208-25.net-185.wadsl.it] has joined #joinmarket 00:53 -!- coins123 [~coins123@c-208-25.net-185.wadsl.it] has quit [Changing host] 00:53 -!- coins123 [~coins123@unaffiliated/coins123] has joined #joinmarket 01:55 -!- lnostdal [~lnostdal@77.70.119.51] has quit [Remote host closed the connection] 01:59 < adlai> mfw running code written in python causes errors that "stink of rick": ---___________--- 03:18 -!- lnostdal [~lnostdal@77.70.119.51] has joined #joinmarket 05:23 < Sentineo> is it ok to just fund the JM wallet for market making? (not thinking mutch about how to spend my inputs) 05:31 -!- takamatsu [~takamatsu@unaffiliated/takamatsu] has joined #joinmarket 05:43 < waxwing> Sentineo, i can't parse the question; is it ok to fund the wallet? how else would one use it? 05:57 -!- zxccxz [5db781f6@gateway/web/freenode/ip.93.183.129.246] has quit [Quit: Page closed] 05:57 -!- wxss [~chatzilla@185.145.38.239] has joined #joinmarket 06:15 < Sentineo> waxwing: oh sorry, I mean do I just send coins and do no complex thinkign about how to send it (like breaking it up to more outputs, etc) 06:29 -!- quitobro [~quitobro@gateway/vpn/privateinternetaccess/quitobro] has joined #joinmarket 06:48 < grubles> arubi, doh i should've googled that error 06:48 < grubles> arubi, thanks! 07:00 < Sentineo> sometimes you google and do not find it 07:08 < grubles> truth. i didn't even try, however. 07:08 < grubles> i did search github issues though... 07:32 -!- quitobro [~quitobro@gateway/vpn/privateinternetaccess/quitobro] has quit [Ping timeout: 252 seconds] 07:35 -!- quitobro [~quitobro@gateway/vpn/privateinternetaccess/quitobro] has joined #joinmarket 08:12 < waxwing> Sentineo, yes for makers it doesn't matter, one is fine 08:13 < Sentineo> yeah found it in the docs, digged somewhere :) 08:13 < Sentineo> is there a way a market maker can identify his offer on the order book page? https://joinmarket.me/ob/toggleSW 09:24 < grubles> maybe by the fee or order size(s) 09:26 < Sentineo> yeah fee might work but nkt for a huge orderbook 09:26 < waxwing> Sentineo, it's a bit annoying i agree. but you can do `ls -lart logs/` and see your name in the last entry there. 09:27 < waxwing> perhaps i should be arguing that it's a feature not a bug :) (jk, jk) 09:27 < Sentineo> ;) 09:27 < Sentineo> a bug in a suit for sure ;)) 09:30 < trotski2000> hi guys 09:31 < trotski2000> i'm getting this error with 0.3.2: Traceback (most recent call last): 09:31 < trotski2000> File "joinmarket-qt.py", line 55, in 09:31 < trotski2000> from jmclient import (load_program_config, get_network, SegwitWallet, 09:31 < trotski2000> ImportError: cannot import name SegwitWallet 09:31 < waxwing> trotski2000, are you in the virtualenv that was created from ./install.sh? 09:31 < trotski2000> yes! 09:31 < trotski2000> jmvenv 09:32 < waxwing> hmm maybe check jmvenv/lib/python27/site-packages (smth like that) and see if there is a joinmarketclient.egg-link file? 09:32 < arubi> trotski2000, what does `pip list | grep joinmarket` say? 09:32 < waxwing> oh that sounds good yeah, never tried that 09:33 < trotski2000> joinmarketbase (0.2.2) 09:33 < trotski2000> joinmarketbitcoin (0.2.2) 09:33 < trotski2000> joinmarketclient (0.2.2) 09:33 < trotski2000> joinmarketdaemon (0.2.2) 09:33 < arubi> yea 09:33 < arubi> can you re-run install.sh and answer yes to all questions it asks? 09:33 < arubi> actually answer 'y' 09:35 < waxwing> oh right, also what i said was wrong anyway, it wouldn't have created egg-link without the develop flag. the pip list thing is nice. 09:35 < arubi> pip and pgk-config, both very useful tools :) 09:36 < Sentineo> pkg-config is for python, too? 09:36 < Sentineo> or general linux? 09:36 < arubi> general libs\includes 09:37 < arubi> libs\headers even 09:38 < Sentineo> i can do a pip install in the jenv and it stays there, righ? 09:39 < waxwing> yes that's the main idea 09:39 < arubi> right, if you have virtualenv sourced, then pip will be run from that virtualenv and install stuff to it 09:55 -!- coins123 [~coins123@unaffiliated/coins123] has quit [] 09:59 < trotski2000> arubi: install.sh doesn't work for me on mac 09:59 < trotski2000> but i fixed it 10:00 < trotski2000> just by doing `python setupall.py -daemon`and `python setupall.py -client-bitcoin`` 10:02 -!- zxccxz [5db781f6@gateway/web/freenode/ip.93.183.129.246] has joined #joinmarket 10:03 < arubi> trotski2000, ah ok. yea it's not for osx at all. so now `pip list ...` returns the correct version for all 4 packages? 10:03 < trotski2000> yes, now it does 10:03 < arubi> alright 10:25 -!- arubi [~ese168@gateway/tor-sasl/ese168] has quit [Ping timeout: 248 seconds] 10:26 < adlai> Sentineo: maker can identify his offer on the order book page? << also you can find your maker name in the irc protocol logs, in the last message before you get ones specific to the pit channel... when your console log level is high enough that this is quicker than what waxwing said 10:26 < adlai> also please refrain from including /toggleSW in the links to jm.me, as this leaves the webserver in superposition 10:27 < Sentineo> ah ok I had that link saved, someone posted it with that togle 10:29 < Sentineo> adlai: yeah I see dynamic switch nick messages in the logs, what does that mean? 10:30 < waxwing> Sentineo, you can ignore that 10:30 < Sentineo> I could, but would like to understand :P will not be able to sleep tonight 10:43 < adlai> Sentineo: that's a quantum of redundancy 10:46 -!- arubi [~ese168@gateway/tor-sasl/ese168] has joined #joinmarket 11:17 -!- belcher_ [~user@unaffiliated/belcher] has quit [Ping timeout: 258 seconds] 11:20 -!- belcher_ [~user@unaffiliated/belcher] has joined #joinmarket 11:31 < pigeons> jm client-server can't use cookieauth rpc to bitcoin core right? needs rpcuser/pass? 11:36 < arubi> I believe it explicitly sets rpcuser\pass on its own end, so yes 11:40 < grubles> does jm (non clientserver) use segwit? 11:40 < grubles> i haven't been following development that closely lately 11:45 < arubi> grubles, no I don't think it does 11:46 < grubles> hm ok looks like -clientserver does then 11:46 < arubi> yep 11:54 -!- belcher_ [~user@unaffiliated/belcher] has quit [Ping timeout: 255 seconds] 11:57 -!- belcher_ [~user@unaffiliated/belcher] has joined #joinmarket 12:07 < Sentineo> hm is the calculation in wallet-tools.py wallet history correct? at th3 3nd about interest? 12:07 < Sentineo> gives negative even though no trade happened ;) 12:10 < belcher> interesting 12:10 < belcher> did you spend money from that wallet? 12:10 < belcher> that would show up as a negative fee earned 12:12 < Sentineo> nope did not 12:12 < arubi> is there a way to pass a password as a parameter to jm-cs scripts, or just for wallet tool, get the old "name interpreted as seed" for testnet\regtest? 12:13 < Sentineo> belcher: this is what I got continuously compounded equivalent annual interest rate = -4.7385969941e-12 % 12:14 < arubi> looks more like a rounding error than anything? :) 12:15 < Sentineo> now it is 3. something 12:15 < Sentineo> but + ;) 12:15 < arubi> hm 12:15 < belcher> 4e-12 is basically zero 12:15 < belcher> Sentineo what kind of transaction types were done 12:16 < belcher> "cj internal" is counted as making money, anything else is likely to be losing money or a deposit 12:16 < Sentineo> 1 deposit 12:16 < Sentineo> nothing more 12:17 < Sentineo> I would expect 0 for now as an output ;) 13:03 -!- belcher_ [~user@unaffiliated/belcher] has quit [Ping timeout: 255 seconds] 13:03 -!- belcher_ [~user@unaffiliated/belcher] has joined #joinmarket 13:07 < adlai> JMCS only uses segwit by default. you can still use trb if you want. 13:07 < adlai> but you have to want it badly enough, because some rpc stuff might be... prehistory 13:07 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 248 seconds] 13:07 < adlai> Sentineo: you can easily end up with a negative "bank account" if you do qa properly 13:08 < adlai> but on a long enough timescale, we're all positive 13:09 < adlai> arubi: why would you want to do that? 13:09 < arubi> script an interactive regtest environment 13:09 * adlai isn't much good at sandboxing :-\ 13:12 < arubi> I ended up importing different jm wallets into a bunch of wallet.dats and copied the .json and .dat wallets out, now I just nuke it all at each run, copy the wallets back, re-fund, rescan bitcoind, and seems like it works. trying to identify if I need different joinmarketd's for each .py script or if one is enough 13:13 < adlai> sounds like you're charting unmapped territory. good luck! please report back findings. 13:14 < arubi> will do 13:14 < adlai> fwiw it does help to have some minimal separation between market participants, eg, a separate wallet 13:14 < adlai> otherwise you get the strangest bugs 13:15 < arubi> yea, this whole thing runs on bitcoin knots' multiwallet, so there should be complete segregation. each joinmarket.cfg has different rpc user\pass which each point to a different wallet.dat on the same daemon 13:16 < arubi> if one joinmarketd is enough too, then this should be very clean 13:16 * adlai got the impression that this would be going too far. you should read the code and/or ask waxwing 13:17 < arubi> if he's around that would be helpful to know ^, but I can lost a few regtest coins, no charge :) 13:17 < adlai> jmd did seem to assume that it's representing only one counterparty, but that may have just reflected the reader's context 13:17 < arubi> ah, that's good info 13:20 < Sentineo> adlai: I ment it is hard to calculate compaunding on a constant, e is about growth. So assumed 0 as the output if there is no other tx involved 13:21 < waxwing> arubi, adlai in principle the idea should be that each client connection to joinmarketd starts a different protocol instance, thus you could have several; in practice it's not the case, i'm reasonably sure. there is an open issue that discusses that point. 13:21 < adlai> it's also difficult to calculate compounding upon stochastically varying principles, but understanding that code is way far beyond my mathablitis 13:21 < waxwing> although now i'm not 100% sure what you were discussing 13:21 < adlai> yeah somehow i suspect that making the machinegun fire too quickly, too soon, would make sherman's march to the sea way too slow. 13:23 < waxwing> arubi, why are you using joinmarketd out of interest? 13:23 < arubi> waxwing, basically I have 6 different ./scripts directories ./scripts{0..5} , within each there is joinmarket.cfg pointing to the same bitcoind but with different rpc user\pass which point to different wallet.dat files, and also jm{0..5}.json in each scripts$i/wallets directory 13:24 < arubi> waxwing, I'm just setting up a local environment and using one daemon seems like less resources, but it's not a must 13:24 * adlai for example is actually de-motivated to make cjhunt too good a shot, until the deer can run faster 13:24 < waxwing> well 2 questions, why can't you use only 1 bitcoind for that? i often have 6 or 7 regtest bots running against one bitcoind 13:24 < arubi> it is one bitcoind 13:24 < waxwing> second question is now cancelled, you are trying to save resources, ok 13:24 < arubi> I wanted one joinmarketd as well 13:25 < waxwing> ah ok. well for testing you can run stuff out of one scripts/ (repo generally), there are conflicts only in the commitmentlist file i think 13:25 < waxwing> well, no guarantees, but if you simply want to run tests of bots running (see e.g. test/ygrunner.py) i think it's good enough for most purposes. 13:25 < arubi> ah yes, that's why I separated them actually 13:26 < arubi> I want to run everything interactively, not the actual tests 13:26 < arubi> or is ygrunner.py a test bot? 13:26 < waxwing> it's a tricky point because the commitment list (forgot current name) is global across bots serially, so making it so it's *not* global in parallel is a bit of a pain. 13:26 < waxwing> ygrunner lets you run N makers simultaneously in one script; including deliberately malicious ones 13:27 < arubi> very useful, I should rtfm 13:27 < arubi> rtfsc maybe 13:27 < waxwing> and provides you a seed for a wallet with coins pre-funded to do things like tumbler runs 13:27 < waxwing> i mentioned it somewhere but meh there's not enough bandwidth for people to note everything that happens 13:28 < arubi> cool, then I'm off to running ygrunner. thanks 13:28 < waxwing> you know which issue i mean? i'll be curious if you come up with any feedback on multiple clients/one daemon 13:28 < arubi> oh I don't 13:28 < arubi> I'll have a look and see what I get then 13:28 < waxwing> it's #44 but i don't know if that covers the full story. some brief notes there. 13:29 < arubi> alright, I'll see what it's about 13:30 < waxwing> arubi, don't know if it crossed your path yet, but the thing here: https://github.com/JoinMarket-Org/joinmarket-clientserver/blob/master/test/ygrunner.py#L49-L52 13:30 < waxwing> is basically the parameters for setup and run; but it's artificially using pytest; it doesn't run a sequence of "tests", it just runs the first test case forever 13:31 -!- Giszmo [~leo@pc-204-28-214-201.cm.vtr.net] has quit [Quit: Leaving.] 13:31 < waxwing> so only the first set of parameters in the list matters (there, the second is commented out, it's an example that you could replace the first with) 13:31 < arubi> oh sweet, yea this should save me a bunch of time 13:31 < waxwing> "1sp" is a bit misleading, it actually meant "1 sendpayment" in the earlier version, now it's just "1 wallet funded that you can use outside the script" 13:32 < waxwing> whereas the "3 yg" means what it says; those are started by the script 13:34 < arubi> cool. I still really wanna test multiwallet now that it's supposed to be set up. I'll see if it acts as expected then I'll probably move to ygrunner for actually playing around with the scripts 13:34 < arubi> or actually, where does ygrunner take its .cfg parameters from? 13:37 < waxwing> if you run it as it says at the top,with py.test, it'll be .cfg in the root dir unfortunately 13:37 < arubi> that's not so bad 13:38 < waxwing> as i mentioned here https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/62#issuecomment-318890399 i would prefer to fix it to use a home directory 13:38 < trotski2000> hi again guys 13:39 < trotski2000> i keep getting a "failed to get a change address" when initiating a coinjoin in joinmarket-qt.py 13:39 < arubi> cleanest way would be to have a 'walletdir = ...' in .cfg 13:39 < waxwing> oh, huh, not sure i ever saw that error trotski2000 13:40 < trotski2000> fuck... 13:40 < waxwing> that means the wallet isn't working ... what happens on `python wallet-tool.py walletname` ? trotski2000 13:40 < arubi> is that the actual error? 13:41 < arubi> better to paste the exact string if possible 13:41 < waxwing> no, that is the exact string 13:41 < arubi> oh, okay 13:41 < waxwing> sorry i didn't mean to imply i didn't recognize it, just it shouldn't happen and never saw it 13:41 < arubi> I see 13:42 < arubi> yea I intuitively git grepped bitcoin source dir :) 13:50 -!- delinquentme [~delinquen@96-68-162-179-static.hfc.comcastbusiness.net] has joined #joinmarket 14:02 -!- delinquentme [~delinquen@96-68-162-179-static.hfc.comcastbusiness.net] has quit [Ping timeout: 248 seconds] 14:21 < trotski2000> waxwing: I solved the problem 14:21 < trotski2000> now I'm making a new installation 14:21 < trotski2000> on a ubuntu machine 14:21 < trotski2000> and after I did everything 14:22 < trotski2000> I get this when I try to run joinmarket-qt: Traceback (most recent call last): 14:22 < trotski2000> File "joinmarket-qt.py", line 30, in 14:22 < trotski2000> from PyQt4 import QtCore 14:22 < trotski2000> ImportError: No module named PyQt4 14:22 < trotski2000> python-qt4 is installed and updated 14:25 < waxwing> trotski2000, did you see the note about pyqt + virtualenv? thing is, i have no idea if that would work on Mac 14:25 < waxwing> oh on ubuntu 14:25 < trotski2000> waxwing: I'm with Ubuntu now. Now, didn't see the note 14:26 < trotski2000> waxwing: found it. Reading it now. 14:27 < waxwing> right, in here: https://github.com/JoinMarket-Org/joinmarket-clientserver#joinmarket-qt 14:27 < waxwing> links to here https://github.com/AdamISZ/electrum-joinmarket-plugin#a-note-on-pyqt4-and-virtualenv 14:28 < waxwing> trotski2000, about your previous error condition, did you try running wallet-tool? i'm very curious about that; if you can load a wallet, but you get that change address error, it's quite hard to understand, so i'd be grateful to know more. 14:29 < trotski2000> I loaded the wallet from joinmarket-clientserver/wallets but I was running the script from inside /scripts/ 14:29 < trotski2000> so it wasn't finding the wallet when it had to generate a change address 14:30 < waxwing> ok; but is this all inside joinmarket-qt? did you load the wallet in the menu in Qt OK? 14:37 < trotski2000> waxwing: yes 14:37 < trotski2000> waxwing: but then when it tried to generate the change addy it didn't find the json in /scripts/wallets/ 14:38 < waxwing> well, if it found the wallet when you did Wallet->Load and it showed up in the wallet tab, then that can't be the problem. 14:39 < trotski2000> waxwing: it didn't find it directly, I had to manually navigate to joinamrket-clientserver/wallets 14:39 < waxwing> yes i understand what you're saying. i just can't exactly figure out how this might lead to the error you say, but, i will have to look into it. it needs checking. 14:40 < waxwing> for now, does it work if you put the wallet in scripts/wallets? 14:40 < waxwing> (i know i did a number of experiments with wallets in different locations, but can't be 100% sure what side effects i might have missed; again, i will look into it, although it'll be in a while) 14:41 < waxwing> i'm also rather confused because you said you were working on mac and now you're working on ubuntu; so to be clear this error was on mac? would it not be simpler to just move the wallet to scripts/wallets while still on Mac? 14:41 < waxwing> anyway it's late here, thanks for any more info you can give 14:42 < waxwing> (i will also quietly note again https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/62#issuecomment-318890399 ...) 14:44 < trotski2000> waxwing: "for now, does it work if you put the wallet in scripts/wallets?" -> yes it does. I just copied the json there and now it works. 14:45 < trotski2000> this error happened on Mac. I'm trying to set up also a Ubuntu VM because I see that most joinmarket devs have linux and not macos 14:48 < waxwing> ok, i may have misunderstood. you're saying you fixed the error on mac, now you're setting up ubuntu also. 14:49 < trotski2000> waxwing: exactly 14:49 < trotski2000> and BTW, joinmarket-qt works fine on mac inside the virtualenv 15:16 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has joined #joinmarket 15:20 -!- quitobro [~quitobro@gateway/vpn/privateinternetaccess/quitobro] has quit [Quit: quitobro] 15:23 < Sentineo> yeah I did get that error with pyqt4, too 15:23 < Sentineo> read the note but was too lazy to do anything about it :P so running cli 15:49 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 240 seconds] 16:16 -!- takamatsu [~takamatsu@unaffiliated/takamatsu] has quit [Ping timeout: 255 seconds] 17:06 -!- wxss [~chatzilla@185.145.38.239] has quit [Remote host closed the connection] 18:47 < GitHub191> [cjhunt] adlai pushed 2 new commits to master: https://git.io/vd9ho 18:47 < GitHub191> cjhunt/master f78c631 Adlai Chandrasekhar: leak entropy into calabyau dementia 18:47 < GitHub191> cjhunt/master 92a3929 Adlai Chandrasekhar: fail easilyer 18:47 < adlai> some things are best unleft to chance 18:54 * adlai notices JM logo + #tagline on subreddit for first time. nice touch. looks good. should help with onboarding! 19:00 < adlai> waxwing: i hope dealing with such editorializing isn't a significant headache, but i 'rewrote' (emacs) the md source of the on-chain contracting writeup, to be readable on a terminal: https://gist.github.com/adlai/efcdd3e094b249e82d2754021fd168d7 19:13 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has joined #joinmarket 19:27 < grubles> adlai, can i pm you 19:27 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 252 seconds] 19:30 -!- delinquentme [~delinquen@2602:306:ceb7:990:7c84:bcd6:379e:ba0b] has joined #joinmarket 19:46 -!- delinquentme [~delinquen@2602:306:ceb7:990:7c84:bcd6:379e:ba0b] has quit [Ping timeout: 252 seconds] 20:28 < adlai> grubles: hello our messages are currently being treated as private by our reality distortion field 20:28 < adlai> grubles: what do you want/need/buy/sell/etc 20:31 -!- zxccxz [5db781f6@gateway/web/freenode/ip.93.183.129.246] has quit [Ping timeout: 260 seconds] 20:31 -!- xcvvcx [53e42f33@gateway/web/freenode/ip.83.228.47.51] has quit [Ping timeout: 260 seconds] 22:00 -!- quitobro [~quitobro@gateway/vpn/privateinternetaccess/quitobro] has joined #joinmarket 22:09 -!- quitobro [~quitobro@gateway/vpn/privateinternetaccess/quitobro] has quit [Quit: quitobro] 23:22 -!- takamatsu [~takamatsu@unaffiliated/takamatsu] has joined #joinmarket