--- Day changed Sat Aug 26 2017 00:00 < waxwing> tryout seems to be gone, well, so today i'll try to reproduce that error for the binary, and for the core dump, just totally mystified really. but he can do all the same stuff via scripts anyway. 00:01 < waxwing> maybe it's something to do with the hacky way of import pyqt4 into a virtualenv. shrug. 00:01 < arubi> I ran the qt thing yesterday using the same hack 00:01 < arubi> it did run, but I didn't have bitcoind setup so not much use out of it 00:01 < waxwing> arubi: got it, thanks. 00:02 < waxwing> when i'm testing on VMs i just quickly download bitcoin and then run it in regtest, seems to be fine for tests 00:02 < arubi> on 16.04.03. yea I will try a bit too. rearranging install.sh a bit to not fetch everything from distro repos 00:03 < waxwing> cool, thanks for a PR. i will probably make a 0.3.1 after gathering various fixes (i guess a couple of weeks or something). 00:03 < waxwing> sorry thanks *if* you make a PR :) 00:04 < arubi> oh yes I was planning on that :) 01:21 -!- puddinpop [~puddinpop@unaffiliated/puddinpop] has quit [Remote host closed the connection] 01:38 -!- nanotube [~nanotube@unaffiliated/nanotube] has quit [Ping timeout: 276 seconds] 02:18 -!- nanotube [~nanotube@unaffiliated/nanotube] has joined #joinmarket 02:21 -!- kerc [~johan@2001:4610:a:29::690] has quit [Quit: Leaving] 02:39 -!- nanotube [~nanotube@unaffiliated/nanotube] has quit [Ping timeout: 255 seconds] 02:39 -!- tryout [67fe9963@gateway/web/freenode/ip.103.254.153.99] has joined #joinmarket 02:41 < tryout> hi guys any guys can load up segwit makers ? there is no liquidity in the pit . please help me out to try segwit 02:46 -!- tryout [67fe9963@gateway/web/freenode/ip.103.254.153.99] has quit [Ping timeout: 260 seconds] 02:49 -!- nanotube [~nanotube@unaffiliated/nanotube] has joined #joinmarket 02:53 -!- tryout [67fe9963@gateway/web/freenode/ip.103.254.153.99] has joined #joinmarket 02:53 < tryout> hey guys thanks a lot for loading up segwit makers 02:54 < tryout> i'll be keep tryout so please dont shut it down 02:58 -!- tryout [67fe9963@gateway/web/freenode/ip.103.254.153.99] has quit [Ping timeout: 260 seconds] 03:04 < waxwing> tryout (duh he's gone again), it'll take a while. if you just want to try a segwit transaction you can do -N 0 .. so there's that. 03:27 -!- nanotube [~nanotube@unaffiliated/nanotube] has quit [Ping timeout: 255 seconds] 03:28 -!- nanotube [~nanotube@unaffiliated/nanotube] has joined #joinmarket 03:35 -!- nanotube [~nanotube@unaffiliated/nanotube] has quit [Ping timeout: 246 seconds] 03:41 < waxwing> never mind, looks like he did at least one join 03:52 -!- nanotube [~nanotube@unaffiliated/nanotube] has joined #joinmarket 04:02 -!- MaxSan [~one@194.187.251.115] has quit [Ping timeout: 252 seconds] 04:24 < waxwing> huh, looks like the mnemonic module requires wordlist/english.txt to exist; which it does in site-packages in the virtualenv, but the binary has no idea where to find it. hmm, i can kinda see why they set it up like that but it borks the binary wallet generation. i missed that because did all binary testing against regtest not mainnet. 04:26 < waxwing> (i thought that testing joinmarket-qt.py for mainnet would be enough to prove it, but this slipped between that gap) 04:34 -!- nanotube [~nanotube@unaffiliated/nanotube] has quit [Ping timeout: 246 seconds] 04:43 -!- nanotube [~nanotube@unaffiliated/nanotube] has joined #joinmarket 04:45 -!- MaxSan [~one@185.9.19.107] has joined #joinmarket 04:45 -!- MaxSan [~one@185.9.19.107] has quit [Max SendQ exceeded] 04:47 -!- MaxSan [~one@185.9.19.107] has joined #joinmarket 04:47 -!- MaxSan [~one@185.9.19.107] has quit [Max SendQ exceeded] 04:48 -!- MaxSan [~one@185.9.19.107] has joined #joinmarket 05:03 < waxwing> ok fixed. what a cluster. 05:41 < arubi> lol. travis just flagged me for abuse. I guess it's the bitcoind stuff in .travis.yml 05:44 < waxwing> arubi: yep, happened to me twice. i think they auto-flag bitcoin stuff. send them a message. 05:44 < arubi> right, emailing now 05:46 < waxwing> i needed a second random hexstring, used "deadbefe". trump would approve? 05:47 -!- MaxSan [~one@185.9.19.107] has quit [Ping timeout: 240 seconds] 05:49 < arubi> oh haha I only got it on the second read :) 05:54 -!- deafboy [quasselcor@cicolina.org] has quit [Remote host closed the connection] 05:54 -!- deafboy [quasselcor@cicolina.org] has joined #joinmarket 06:56 -!- belcher [~belcher@unaffiliated/belcher] has joined #joinmarket 07:03 < waxwing> arubi: cool, that looks like good stuff. i'll need to do my best to understand it all. have you tested the install script on different distros at all? 07:04 < arubi> yea, on ubuntu 16.04.03 and my debian testing 07:04 < arubi> maybe worth to add percise to travis, can it check both? also not sure what's wrong with coveralls, did I bork it somehow? 07:05 < arubi> it links to https://coveralls.io/jobs/28829451 in the log. all tests seem to have run so not sure what's going on 07:05 < waxwing> coveralls was borked from pretty much day 1 for some mysterious reason 07:05 < waxwing> https://github.com/AdamISZ/joinmarket-clientserver/issues/15 07:06 < arubi> oic 07:06 < waxwing> i actually had very good coverage at an early point, but it's a way off now, a ton of work to update the tests. 07:06 < waxwing> the most important tests i'm doing are end-to-end tests with tests/ygrunner.py. notice it includes malicious bots too. 07:07 < arubi> oh that's pretty cool :) 07:07 < waxwing> the new twisted arch helps quite a bit in keeping that stuff simpler. one can fairly easily write scripts to run everything in one (although that isn't always the best, it's nice to watch things in separate terminals) 07:08 < arubi> tell me about it 07:47 -!- puddinpop [~puddinpop@unaffiliated/puddinpop] has joined #joinmarket 07:48 -!- MaxSan [~one@213.152.161.10] has joined #joinmarket 07:49 < MaxSan> balls 07:49 < MaxSan> i seem to have deleted the sample line on how to sign a message with JM 07:49 < MaxSan> can you remind me please what it is belcher / waxwing 07:49 -!- beIcher [~user@unaffiliated/belcher] has quit [Ping timeout: 246 seconds] 07:50 < waxwing> MaxSan: i can't remember either, but wallet-tool.py --help should show 07:50 < waxwing> it's probably --signmessage or something, let me check 07:51 < waxwing> oh it's a method python wallet-tool.py walletname signmessage; but let me check does it use -H or something 07:51 -!- belcher [~belcher@unaffiliated/belcher] has quit [Quit: Leaving] 07:51 < waxwing> oh yeah doh it says in the help, so `python wallet-tool.py -H path walletname signmessage "message"` 07:52 < MaxSan> ahh awesome thanks very much 07:52 < MaxSan> il get on this shortly :D 07:52 < waxwing> fun how i totally can't remember anything about code i wrote 2 months ago. 07:52 < MaxSan> i know the feeling :P 07:52 < MaxSan> look back at it and be like 07:52 < MaxSan> jesus who wrote that ! its terrible! :P 07:53 < waxwing> hah yeah that's the worst, when you start trash talking it before you realise it's yours :) 07:55 -!- beIcher [~user@unaffiliated/belcher] has joined #joinmarket 08:47 -!- belcher [~belcher@unaffiliated/belcher] has joined #joinmarket 08:57 -!- exile [~exile@APoitiers-653-1-607-78.w86-199.abo.wanadoo.fr] has joined #joinmarket 08:58 < exile> Hello 08:58 < exile> look, i've got my btc stuck in a joinmarket wallet 08:59 < exile> I want to send a third of my btc, and even if I choose -N 0 or -C, it tells me : not enough funds 09:01 < exile> i'm using bitcoin core 09:01 < exile> wallet looks synced 09:02 < waxwing> coins confirmed? 09:02 < exile> the sending is in satoshis yes ? 09:03 < waxwing> yes 09:03 < exile> yes, long time staying there 09:03 < waxwing> ok; so can you see the coins in wallet-tool.py walletname? 09:03 < exile> yes 09:03 < exile> sure 09:03 < waxwing> hmm that is interesting 09:03 < waxwing> joinmarket version? 09:03 < exile> 2.2 09:03 < exile> 0.2.2 09:03 < waxwing> 0.2.2 from joinmarket-org/joinmarket you mean, right 09:03 < waxwing> yeah 09:04 < exile> yep 09:04 < waxwing> hmm just having a coffee, will have a think 09:04 < exile> ok thanks ^^ 09:04 < waxwing> give any other info you think is relevant meanwhile :) 09:04 < exile> i'll try to think about that too 09:04 < exile> gonna make me a coffee ^^ 09:05 < exile> maybe i'm a bit stupid and i didn't type the right amount in satoshis 09:05 < exile> can you confirm that lets say, 0.005btc = 500,000 satshis 09:05 < exile> 500'000 09:06 < waxwing> consider fees. they are high, especially if tx_fees = 1,2, 3 let's say 09:06 < exile> yep, but i have much more btcs on my wallet 09:07 < waxwing> best you can do really is set tx_fees = 25 or something 09:07 < waxwing> oh hang on; mixdepth. are you setting -m correctly? 09:07 < exile> actually i'm leaving it to default. all my coins are on mixdepth 0 09:07 < waxwing> ok 09:09 < waxwing> fwiw type the exact command. i expect something like `python sendpayment.py -N 0 walletname 500000 addr` 09:10 < exile> that's it 09:10 < exile> oh hmm wait 09:10 < waxwing> what does `python wallet-tool.py wallet showutoxs` show? 09:10 < exile> haha 09:10 < exile> i put number of coins AFTER wallet name 09:11 < waxwing> oh that gives "not enough funds"?! damn 09:11 < waxwing> i'm sure we have an integer type check 09:12 < exile> hmm actually i think my syntax is the correct one ;) 09:12 < exile> wait, need to make coffe 09:12 < waxwing> yeah it checks for integer 09:13 < waxwing> according to my code read it would throw valueerror on this line if not integer-parseable: https://github.com/JoinMarket-Org/joinmarket/blob/master/sendpayment.py#L358 09:14 < exile> yes 09:15 < exile> thats what it does if i put coins value before wallet file 09:16 < waxwing> i thought you were talking about swapping address and amount ; i was talking about that 09:16 < exile> wait, ill be back if it doesn't work, gonna try something 09:16 < exile> thank you 09:16 < waxwing> i read what you said wrong 09:16 < waxwing> ok 09:17 -!- exile [~exile@APoitiers-653-1-607-78.w86-199.abo.wanadoo.fr] has quit [Quit: Leaving] 09:17 < waxwing> did you try showutxos? 09:17 < waxwing> oh gone 09:17 < waxwing> people really hate IRC :) 09:27 -!- exile [~exile@APoitiers-653-1-607-78.w86-199.abo.wanadoo.fr] has joined #joinmarket 09:27 < exile> hi again 09:27 < exile> no it won't work 09:27 < arubi> can you blame them? :P . trying the script on debian 7, build and install seems to complete successfully, but running tests I'm getting "test.py: error: unrecognized arguments: --cov=jmclient --cov=jmbitcoin --cov=jmbase --cov=jmdaemon --cov-report" (ignore this for now) 09:27 < exile> to give you an idea, it's like i'm having 1000$ in my wallet and just want to spend 250 09:28 < exile> it tells me i have not enough funds 09:28 < waxwing> exile: does `python wallet-tool.py walletname showutxos` show what you expect? 09:28 < exile> i don't know what to expect from it, but it shows basically nothing 09:28 < waxwing> it should show all unspent outputs in the wallet 09:29 < exile> i must say i don't get all the technicals around btcs 09:29 < waxwing> exile: is this wallet recovered (like, you moved the wallet file and started a new Core instance) 09:29 < exile> no 09:29 < exile> it's a pretty old wallet now 09:29 < exile> and my core is old too 09:29 < waxwing> well this is weird; so when you do `python wallet-tool.py wallet` you *do* see the amount you expect? 09:29 < exile> i keep it up to date, lauching it for some hours every x days 09:29 < waxwing> but showutxos show all 5 mixdepths empty? 09:30 < exile> i'll retry 09:31 < waxwing> arubi: can you blame who? 09:31 < arubi> joking, folks hating IRC :) 09:32 < exile> yes, showuxtos give me my amount and the adress its on 09:32 < waxwing> arubi: the --cov arguments aren't needed for local tests, but: maybe an old pytest version? 09:32 < arubi> it's probably pretty old, debian 7 stuff 09:32 < waxwing> exile: this is seriously weird then. struggling to imagine what the cause might be. 09:33 < exile> ok 09:33 < exile> i'm a little tired now 09:33 < waxwing> exile: how many utxos does it show? (count the txids); and what percentage is each, of your total amount? 09:33 < waxwing> (may be irrelevant just looking for ideas) 09:33 < exile> i'll come back round here to get maybe the idea you'll have in the mid time :) 09:33 < waxwing> exile: stay online if you can 09:34 < waxwing> i mean, stay on irc if you can. otherwise i can't tell you later. 09:34 < exile> actually, i think it doesn't really show uxtos... 09:34 < exile> is starts like this 09:34 < exile> requesting detailed wallet history from Bitcoin Core client 09:34 < exile> { 09:34 < exile> then a big number "45645646546456456465465...." 09:35 < exile> then "value": xxxxxx 09:35 < exile> then "adress": 09:35 < exile> 54 09:35 < waxwing> yeah the big number is the txid 09:35 < exile> blabla 09:35 < waxwing> how many of those are there (they're like {bignumber:{various stuff over a few lines}, bignumber2:{..} etc. 09:35 < exile> so, how am I suppose to read this huge number ? ^^ 09:36 < exile> only one 09:36 < waxwing> you don't have to; it's a transaction id; what you can do, is look it up in the blockchain explorer 09:36 < exile> only one number and then { } 09:36 < waxwing> oh only one. hmm there might be some idea there, let me think. 09:37 < exile> ah, i can give you a clue, i tried a sendpayment today, but i fucked up with what a satoshi value was, and i sent a so small payment 09:37 < exile> that it didn't appear in the incoming adress 09:37 < exile> i mean, the dest address 09:37 < exile> but it was taken from my wallet 09:38 < waxwing> exile: well, there's a possible explanation there. 09:38 < waxwing> it could be that that transaction is sent, but is not shown on block explorers. did you check the txid on any explorers? 09:38 < exile> i will now 09:38 < waxwing> i'm guessing you did, but you didn't see it. because the amount was too small and it was not relayed by nodes. 09:38 < waxwing> what exactly was the amount? like just a few satoshis? 09:39 < exile> but still someone took fees for it haha 09:39 < exile> yes 09:39 < exile> really small 09:39 < waxwing> so it is confirmed? 09:40 < exile> what can I do with this big number ? it's not recognized by blockchain 09:40 < exile> it never showed on the receiving address 09:40 < exile> the dest address has 0 transactions 09:41 < exile> but the amount, like 0.0005btc was taken from my wallet 09:41 < waxwing> i can only imagine this case: the amount was very small, not allowed; your Core node sees the transaction, so counts it as unconfirmed. then, your joinmarket-wallet shows it as having happened (because it's set to show unconfirmed transactions), but it hasn't actually been relayed and won't get confirmed ever. 09:41 < exile> ever ! 09:41 < exile> so... 09:41 < waxwing> can you edit joinmarket.cfg and set, in the POLICY section, this : `listunspent_args=[1] 09:42 < belcher> gettransaction will show if the core node has it 09:42 < waxwing> i could be totally wrong, but if my guess is right you might need to do like `zapwallettxes` 09:42 < waxwing> ah belcher you might have an idea about this. 09:42 < belcher> iv been following all this time :) 09:42 < waxwing> *seems* like a very obscure case we hit here. 09:42 < waxwing> if it's anything like that, it means we need a check condition to make sure the sender doesn't spend dust. 09:43 < belcher> looks like its what you said waxwing, it can be checked with `gettransaction ` to see if the node has it when the blockchain explorers dont 09:43 < belcher> yes 09:43 < exile> ok, i put the line in cfg 09:43 < waxwing> now rerun python wallet-tool.py wallet 09:44 < exile> oooh shit... 09:45 < exile> looks like i did something very bad ^^ 09:45 < arubi> if you set 'spendzeroconfchange=0' in bitcoin.conf, then I'm pretty sure core will not list these txids in listunspent. maybe for the furutre 09:45 < exile> i have balance = 0 09:45 < waxwing> so you see nothing. right, that's expected, don't worry :) 09:45 < exile> ok 09:45 < waxwing> so see what belcher wrote 09:46 < waxwing> arubi: belcher am i right that `zapwallettxes` is the command here? never used it 09:46 < belcher> umm.. i think, sec ill check 09:46 < arubi> that's right. you'll need a rescan afterwards 09:46 < arubi> there's also a flag, if to zap metadata or not, not sure if applicable here.. 09:47 < waxwing> if metadata includes account name, no it shouldn't be needed 09:47 < arubi> but.. maybe worth to just add spendzeroconfchange=0 09:47 < arubi> if the command to list stuff is listunspent, then it shouldn't be listed if that's set 09:47 < exile> sorry but i get a lttle confused 09:47 < exile> is there anything i should do ? 09:48 < arubi> exile, maybe, we're debating :P 09:48 < waxwing> arubi: listunspent_args being 0 for wallet-tool is a good thing imo, since people don't get confused about not seeing unconfirmed coins.better would be to add conf count to display. 09:48 < exile> ok, thanks :) 09:48 < waxwing> but that's for another day, forget that 09:48 < waxwing> arubi: (we don't spend from unconfirmed tho, unless user explicitly chooses) 09:48 < arubi> ah okay 09:48 < exile> i must say crypto moneys are cryptic for the average :p 09:49 < arubi> so I guess zapwallettxes is it, and rescan 09:49 < waxwing> exile: yes, but you hit a really obscure error condition due to that mistake in amount; we'll fix it so people can't make that mistake in future 09:49 < exile> :) 09:49 < exile> so, i should rescan my blockchain ? 09:49 < waxwing> arubi: beIcher can you tell him the exact command? 09:50 < waxwing> damn belcher not beIcher 09:50 < arubi> exile, can you run bitcoind with arguments? 09:50 < belcher> normally you start bitcoin core with bitcoind or bitcoin-qt 09:50 < exile> yep 09:50 < belcher> now start it with `bitcoind -rescan` 09:50 < belcher> or `bitcoin-qt -rescan` 09:50 < exile> ok 09:50 < belcher> wait 09:50 < exile> just to know 09:50 < waxwing> oh wait' rescan now, or after? 09:50 < belcher> you have to do zapwallettxes first 09:51 < waxwing> after zapwallettxes right? 09:51 < exile> this is suppose to take a loooong time no ? 09:51 < waxwing> yeah 09:51 < waxwing> yes rescan takes quite a long time 09:51 < belcher> yes, and you need the blockchain on your hard disk 09:51 < exile> like, days ? 09:51 < exile> i have it 09:51 < exile> up to date 09:51 < belcher> no not that long, it takes about 3 hours for me 09:51 < exile> ok nice 09:51 < belcher> and the laptop i use for bitcoin is not very good so 09:51 < arubi> then it's `bitcoind -zapwallettxes=1` 09:51 < exile> so, how do I do zapwallettxes ? 09:51 < arubi> ^ 09:52 < exile> ah ok 09:52 < arubi> it'll start up and rescan, let if finish 09:52 < arubi> after that, you start up normally with just `bitcoind` 09:52 < arubi> (don't add the flag again that is) 09:52 < exile> so I won't have to restart it with rescan 09:52 < exile> yes, okay yeah i'm used to add flags 09:52 < arubi> no, it'll rescan on its own with that zapwallet falg 09:52 < arubi> nice :) 09:53 < exile> i add -dbcache and -par differently if I stay on computer or let it its job alone 09:53 < waxwing> huh, that's not what i would have expected; what does it zap? just anything unconfirmed? 09:54 < belcher> it just deletes all the transaction in your wallet i think, rescan finds them again 09:54 < arubi> anything 09:54 < arubi> right 09:54 < waxwing> oh i see. so effectively anything unconfirmed? 09:54 < arubi> actually 09:54 < arubi> oh yea, no. zapwallettxes it is 09:55 < exile> so, you agree I go with -zapwallettxes=1 09:55 < arubi> yea, everything, confirmed, unconfirmed 09:55 < waxwing> yeah but i mean, because it rescans, it rediscovers all the confirmed, right 09:55 < arubi> there's one thing to try 09:55 < arubi> right 09:55 < arubi> or maybe not, nevermind. I'll try it here on regtest 09:56 < exile> ok, so i'm gonna close everything and give it all RAM and cpus 09:56 < exile> i'll come back with news 09:56 < exile> thanks for the help ! 09:56 < arubi> you don't have to set -par. it'll use the stuff it can on its own 09:56 < arubi> but do set dbcache 09:56 < exile> yep 09:57 < exile> i was planning just giving it dbcache 09:57 < arubi> cool 09:57 < waxwing> so if you have a lot of RAM, what's the best setting? 4GB? 09:57 < arubi> 6gb was the maximum useful value 09:57 < exile> when i go crazy i put 3096 ^^ i only have 4 09:57 < arubi> I guess 6gb still 09:57 < exile> when i need to work i put 256 09:57 < arubi> hehe yea 4 vs 8 makes a huge difference there 09:58 < exile> ok, thank you, i hope this works 09:58 < arubi> good luck 09:58 < exile> oh, just one question 09:58 < arubi> waxwing, you were right, removing the --cov stuff made the tests run on deb 7. gonna test some centos stuff soon 09:59 < exile> can i copy/paste all the files of bitcoin core to another computer ? 09:59 < exile> so it doesn't take days to download the chain 09:59 < waxwing> exile: you can 09:59 < exile> supa 09:59 < waxwing> have to copy everything though (well, basically) 10:00 < exile> ok, it's on a custom directory so it should be ok 10:00 < exile> thank you very much 10:00 < waxwing> yw 10:00 < exile> i gonna rescan and come back to give you news 10:00 < waxwing> you never did say what amount you entered? 10:00 < exile> maybe tomorrow 10:00 < waxwing> when you got it wrong. was it like 100 or something? 10:00 < exile> oh hmm, wait 10:00 < belcher> exile you have to switch off bitcoind first 10:01 < belcher> then copy the files 10:01 < waxwing> oh, heh, true :) 10:01 < exile> 460000 i think 10:02 < waxwing> oh? huh, that is way above dust. 10:02 < belcher> maybe its just unconfirmed because of the high demand for block size 10:02 < waxwing> if the fee was remotely sensible that should have been fine. 10:02 < exile> well, looks like it all went in fees... i dont know 10:02 < belcher> did we check that 10:02 < waxwing> belcher: he's saying that block explorers aren't showing it. 10:02 < exile> it must be 2 hours now 10:03 < exile> and dest address shows 0 transactions 10:03 < waxwing> i started down this line of reasoning because he said he entered a crazy low amount. but 460000 is not crazy low. 10:03 < exile> it's not 10:03 < waxwing> i thought maybe he entered btc rather than satoshis (although come to think of it that doesn't make sense, would have to be 1 at least...) 10:04 < exile> can I enter the amount in btc ? 10:04 < waxwing> exile: maybe you can do a gettransaction with bitcoin-cli and see what amount it was? 10:04 < exile> like, not an int but a float ? 10:04 < waxwing> no it will throw valueerror 10:04 < waxwing> i.e. it will crash before doing anything 10:04 < waxwing> bitcoin-cli gettransaction true 10:05 < arubi> block explorers aren't showing the txids? 10:05 < waxwing> or bitcoin-cli gettransaction 1 (if bitcoin core < 0.14.0) 10:05 < exile> it gives me that : 10:05 < exile> "amount": 0.00000000, 10:05 < exile> "confirmations": 0, 10:05 < exile> "trusted": false, 10:05 < arubi> huh 10:05 < arubi> amount 0? 10:05 < waxwing> that can be misleading 10:05 < exile> yeah... but my command line history shows 460000 10:05 < waxwing> i forgot what's the rpc to show the serialized form of the tx 10:06 < belcher> maybe the coinjoin amount is 460000 but the change amount was dust 10:06 < arubi> gettransaction has the hex 10:06 < waxwing> oh so decoderawtransaction on that? 10:06 < arubi> yea 10:06 < belcher> gettransaction shows it doesnt it? 10:06 < arubi> it shows it in some other format 10:06 < exile> i have a big hex yes 10:06 < exile> lol 10:06 < waxwing> right, so exile : take the long hex string at the end of what you just saw, and do decoderawtransaction on it 10:06 < arubi> kinda like a receipt 10:06 < waxwing> it should show a detailed view of the transaction, with the output amounts 10:07 < exile> "value": 0.00460000, 10:07 < waxwing> ok so it's probably 460000. wait, i forgot where we are now :) 10:07 < waxwing> yep 10:07 < waxwing> what's the fee? 10:08 < exile> idn 10:08 < exile> idk 10:08 < waxwing> ok here's probably the deal (forget zapwallettxes and whatnot): just set `listunspent_args = [0]` in joinmarket.cfg, and go back to do the tranasction you wanted to in the first place. 10:08 < exile> actually there's a lot of info 10:08 < waxwing> that will let you spend unconfirmed coins. 10:09 < waxwing> sorry about this massive sidetrack, i just assumed when you said the amount was crazy low that you'd entered something like "25" or whatever :) 10:10 < waxwing> but wait, i forgot: this is *not* showing on block explorers? 10:10 < exile> no 10:10 < waxwing> agh i can't keep all the variables right in my head :) 10:10 < waxwing> in that case, we really need to know the fee 10:10 < exile> and the problem is : I have enough coins in my wallet, but it won't let me spend anymore 10:10 < arubi> I think confirmations = 0 means that it isn't double spent yet. afaik that would be -1 10:11 < waxwing> as well as the 460000 output, are there any others? usually a change output. is it a normal sized amount? 10:11 < exile> no there are many outputs and some are very high ! 10:11 < exile> like 2btc 10:11 < arubi> just one question, in the 'decoderawtransaction' output, how many inputs are there? 10:12 < waxwing> right, np, it's a coinjoin 10:12 < exile> 9 10:12 < exile> or 10 10:12 < arubi> can you grab one and check a block explorer, see if it's spent? 10:12 < exile> it counts from 0 10:12 < arubi> maybe one or two 10:12 < exile> blockchain.info ? 10:12 < arubi> yea that's fine 10:12 < exile> then, what do i do ? 10:13 < waxwing> arubi: wouldn't it show -1 if it had a conflict? 10:13 < arubi> get a txid from the inputs, search for it 10:13 < waxwing> actually i'm not sure exactly how that works with dependencies 10:13 < arubi> not sure.. yea 10:13 < waxwing> i'd still like to know the fee. 10:13 < arubi> exile, if you find it, check if the output has been spent anywhere or not. afaik it should say "unspent" 10:13 < arubi> yea sounds like a big tx 10:14 < waxwing> exile: were you running as a maker? 10:14 < exile> no 10:14 < waxwing> ok, so if you were a taker then you were setting the fee. that's good. 10:14 < exile> there are no txid in this output 10:14 < exile> just short "hex" 10:15 < exile> oh, just found one 10:15 < exile> hmmmm 10:15 < exile> looks like exactly all my amount 10:15 < exile> off all my wallet 10:15 < exile> spent to another address 10:16 < arubi> not sure what you mean exactly, did you take one of the txids from the inputs? 10:17 < exile> yep 10:17 < exile> i grepped and find four 10:17 < exile> 5 actually 10:17 < arubi> grepped what exactly? searching for the txid should land you in the input's transaction 10:17 < arubi> that should have an output that should be marked "unspent" 10:18 < exile> decoderawtransaction | grep txid 10:18 < arubi> don't do that, the first result is the actual txid of the transaction you're decoding 10:19 < arubi> you can look at the 2nd result onwards. best if you find one that /isn't/ yours 10:19 < exile> yeah, the first actually doesn't work on block chain 10:19 -!- Giszmo [~leo@pc-93-17-46-190.cm.vtr.net] has quit [Quit: Leaving.] 10:19 < waxwing> exile: to get the fee, look at the output of "gettransaction" that you did first. it's there. 10:19 < exile> others are bigger amounts with many confirmations 10:19 < arubi> okay, are they spent or not? the address on the right should have a label "unspent" or "spent" 10:19 < exile> all are spent 10:20 < exile> the last one 10:20 < exile> looks like the previous amount i had in my wallet 10:20 < arubi> well that's it then, at least if I think you did hwhat I mean 10:20 < exile> like it was given to another address 10:20 < exile> but i can't find no fee in those two bitcoin-cli commands 10:20 < waxwing> the fee is the second entry in the output of gettransaction 10:21 < arubi> I think there might be a fee in the gettransaction thing 10:21 < arubi> right 10:21 < exile> ah yeah 10:21 < exile> but this value shows unspent :) 10:21 < exile> no, sorry, in gettransaction i dont see a fee value 10:22 < exile> a fee field 10:22 < waxwing> at the moment, i first just want to know what the fee is on the transaction you sent that had the output of 460000 that's unconfirmed. 10:22 < waxwing> ~/bitcoin/bitcoin-0.14.1/bin/bitcoin-cli -regtest -rpcpassword=123456abcdef gettransaction 9feb8011bac7b9adfb1f13923a28516c50f440c8a7946642066423ae6151f6d4 10:22 < waxwing> { 10:22 < waxwing> "amount": -2.00000000, 10:22 < waxwing> "fee": -0.00004480, 10:22 < waxwing> "confirmations": 39, 10:22 < arubi> is that one yours or a watched tx? 10:22 < waxwing> (from my regtest) 10:22 < waxwing> that one ^ is from a watchOnly address (joinmarket account) 10:23 < arubi> ah, gtk 10:24 < exile> there's not this field, sorry 10:24 < waxwing> huh. what's your bitcoin version? that's from 0.14.1 10:24 < waxwing> so it has amount and confirmations field but not fee? i wonder what's going on. 10:24 < exile> 0.13.1 10:25 < exile> compiled some months ago 10:26 < exile> ok i tried to send the payment again 10:26 < exile> with right amount 10:26 < exile> it tells me problem with uxtos 10:26 < exile> Cannot construct transaction, failed to generate commitment, shutting down. Please read commitments_debug.txt 10:26 < waxwing> did you use -N 0 ? 10:26 < exile> nope 10:27 < exile> it may work if i do right ? 10:27 < waxwing> better not to do that yet. we still don't know what's wrong. 10:27 -!- MaxSan [~one@213.152.161.10] has quit [Quit: Leaving.] 10:27 < waxwing> seems highly unlikely, but at the moment i still don't know why block explorers are not showing that transaction. 10:27 < waxwing> my best guess was, it was some unacceptable fee or dust output. 10:27 < exile> yes 10:27 < exile> should i recompile last version of bitcoin ? 10:28 < waxwing> people can send things with 1 sat/byte but i'm not sure if you can get a tx relayed with 0 fee or whatever. 10:28 < exile> (and will it accept my already on disk blockchain data?) 10:28 < waxwing> no i really am completely at a loss why your gettransaction is not showing fee as above ^ 10:28 < waxwing> yes you can install a new version and read the same blockchain 10:28 < waxwing> but no need to do that right now 10:28 < exile> cool 10:28 < exile> sorry guys, i really appreciate you trying to help me 10:29 < exile> but i'm getting tired 10:29 < waxwing> look at the output here https://bitcoin.org/en/developer-reference#gettransaction <-- fee is included in result, right after 'amount' 10:29 < exile> yesterday spent all day on a lib compilation that didn't want to work 10:29 < waxwing> are you sure you don't see output like above? 10:29 < waxwing> is there anything in the 'walletconflicts' section in the output? 10:30 < waxwing> complete guess, unlikely 10:30 < exile> walletconflicts is there but empty 10:30 < waxwing> right, that's norma; 10:30 < waxwing> l 10:31 < exile> { 10:31 < exile> "amount": 0.00000000, 10:31 < exile> "confirmations": 0, 10:31 < exile> "trusted": false, 10:31 < exile> "txid": "xxx", 10:31 < exile> "walletconflicts": [ 10:31 < exile> ], 10:31 < exile> "time": 1503761222, 10:31 < exile> "timereceived": 1503761222, 10:31 < exile> "bip125-replaceable": "no", 10:31 < exile> "details": [ 10:31 < exile> ], 10:31 < waxwing> wow that's crazy. i just ran it with 0.13.1 and got the "fee" field again. 10:31 < waxwing> it must be that it doesn't show the fee for some particular class of transaction, but no idea what that is 10:32 < arubi> in my 0.13.1 mast fork there's no fee field 10:33 < waxwing> arubi: oh, wow. well that's annoying. then you'd have to back-reference all the inputs, find the amounts and subtract from the outputs. 10:33 < waxwing> but otherwise what could cause the txid to not show up anywhere? 10:34 < arubi> double spend unknown to the wallet, very low fee (unlikely really..) 10:34 < waxwing> how about: you do the tx, you broadcast, but there's a network level failure? 10:34 < exile> the fact that the transaction shows unspent on blockchain, what does that mean ? 10:34 < waxwing> you see it on blockchain.info/block explorer? i thought you didn't. 10:35 < arubi> oh sure, if it wasn't relayed at all.. you can sendrawtransaction right now with the hex 10:35 < arubi> the inputs are I think 10:35 < waxwing> ok, the inputs. 10:35 < waxwing> yeah do sendrawtransaction for the hell of it 10:36 < exile> what you mean please ? 10:36 < arubi> take the hex from gettransaction and plug it into `sendrawtransaction ` 10:36 < arubi> I swear I can type sendrawtransaction like a pro by now 10:36 < waxwing> i mean, if this tx (with 460000 output) is not showing up on blockexplorers, try sendrawtransaction again, now, just in case there was a network failure meaning it didn't get out. 10:36 < exile> the biiig hex ? 10:36 < arubi> yea 10:37 < arubi> it should return a small 32 byte hex 10:37 < waxwing> yeah the "hex" field shown in `gettransaction` output. 10:37 < exile> it just shows the small hex 10:37 < exile> doesn't say anything more 10:38 < arubi> try to find that on explorers 10:38 < arubi> use tor :) 10:38 < arubi> bc.i has a HS 10:38 < exile> blockchain can't find it 10:38 < waxwing> yeah but did that ever work? i gave up trying +1 year ago. 10:38 < arubi> worked a couple days ago 10:39 < arubi> exile, try blockcypher, or some other one 10:40 < exile> oh, and the fact that all my bitcoins connexion are "inbound: false" can have something to do with it ? 10:40 < arubi> no 10:40 < arubi> there's really no way it didn't relay anywhere, even if it's a small fee 10:40 < exile> ok 10:40 < exile> blockcypher 10:40 < arubi> so maybe another one has it 10:40 < exile> tells me it was doublespent 10:41 < arubi> was? is the other one confirmed? 10:41 < exile> the other one ? xD 10:41 < arubi> the double spent one 10:41 < exile> too much hex numbers goind around my head now 10:41 < arubi> it should give a link to the double spend in that red square 10:41 < exile> the other one gives server error 500 xD 10:41 < waxwing> lol 10:41 < arubi> .. 10:41 < waxwing> you broke the blockchain! 10:42 < exile> Yeah ! 10:42 < arubi> maybe give waxwing one of the input txids 10:42 < exile> now it works 10:42 < exile> the link 10:42 < arubi> okay.. 10:42 < arubi> is that one confirmed? 10:43 < exile> no 10:43 < exile> both show warning 10:43 < exile> double spent 10:43 < exile> 0/6 confirms 10:43 < arubi> and how much is the fees on both? 10:43 < exile> i mean 10:43 < arubi> the newer one first 10:43 < exile> the second one is when i tried again i think 10:44 < exile> i dunno 10:44 < waxwing> yeah i'm struggling to figure it out, but it might be you have to wait for 1 of them to confirm. 10:44 < exile> listen, i'm really tired 10:44 < exile> isn't there just a way i can get the other amount 10:44 < exile> that i still have in my wallet 10:44 < exile> out 10:44 < exile> and on another wallet ? 10:45 < exile> cause joinmarket won't let me spend anything anymore 10:46 < exile> the old transaction is 7hours old and has 0 confirmations 10:46 < arubi> not sure how there could be double spends there when both should be the same tx 10:47 < exile> ah and the amount of the first transaction is very high ! 10:47 < exile> 0.6btc 10:47 < arubi> maybe if one of the inputs is double spent 10:47 < exile> more than i have ^^ 10:47 < arubi> but then both are unconfirmed? 10:47 < exile> the second is 9 btc 10:47 < exile> so actually it's not me ^^ 10:47 < arubi> exile, disregard the amounts there 10:47 < exile> yeah ok 10:47 < waxwing> the older one has a low fee, but since not RBF i believe it will take precedence right 10:48 < exile> it's because the join 10:48 < arubi> if it dropped or never relayed, then the new one might go through 10:48 < waxwing> so i believe you have to wait, and quite a long time most likely 10:48 < exile> is there no way i can move the money that i HAVE on another wallet ? 10:48 < exile> ok, can you give me an aprox time ? 10:49 < exile> 1 day, 1 week, 1 month ? 10:49 < waxwing> hmm looks like the old low fee one is getting dropped 10:49 < waxwing> check the other one exile (the one that *you* didn't broadcast); seems to have disappeared. 10:50 < exile> yep 10:50 < arubi> exile, if you could just paste the "fee" field from the pages on blockcypher, it might give is more idea 10:50 < exile> disapearead 10:51 < exile> 0.00506471 BTC 10:51 < arubi> and the other one? 10:51 < waxwing> it's about 1kB (they both are) 10:51 < exile> link dead 10:51 < arubi> yea 10:51 < waxwing> unfortunately block explorers are not at all reliable in this situation 10:51 < arubi> link dead and the first still shows 0 confirms? 10:52 < waxwing> the other one (he didn't send) has 29 sat/byte 10:52 < waxwing> neither confirmed 10:52 < arubi> oh okay 10:52 < waxwing> i just tried smartbits and it shows the low fee one, not the high fee one 10:52 < arubi> relay with them? 10:52 < waxwing> i guess because of relay policies you'll get all kinds of rubbish here 10:52 < arubi> I can relay, my node doesn't care :P 10:53 < arubi> but -- privacy etc. 10:53 < waxwing> i can't find a pushtx page on smartbits 10:53 < arubi> it's in the api area 10:53 < arubi> sec, lemme see 10:54 < arubi> https://www.smartbit.com.au/api , ctrl+f "push transaction" 10:54 < arubi> the parameters tab lets you enter hex 10:55 < waxwing> yeah. but now i can't get the raw hex. exile could do it but i don't know if there's a point. 10:55 < arubi> can the 12 word seed work on some bip44 wallet? probably not because of mixdepth stuff 10:56 < waxwing> arubi: no, right, bip44. new version is bip49 which should be compatible with trezor segwit wallet. 10:56 < arubi> I mean, you can probably coerce electrum to do that, but it's messy 10:56 < waxwing> well true you could patch electrum for it, but that's a mess. i wouldn't try. 10:56 < arubi> oh that's awesome 10:56 < arubi> you can set the "account" index at recovery 10:57 < arubi> but then you need a wallet for each account index 10:57 < waxwing> you mean in electrum? 10:57 < arubi> yea 10:57 < waxwing> i haven't looked into it but i doubt it (if you're talking about current JM wallets) 10:58 < arubi> is the 12 word seed a bip39 seed? 10:58 < waxwing> current version is old electrum algo; new version is bip39 10:58 < arubi> ohh 10:58 < arubi> well, get the hex, get your output and cpfp 10:59 < arubi> not easy, but should work 10:59 < waxwing> sorry i don't get the context 10:59 < exile> (i don't understand sh*t here ^^) 10:59 < waxwing> oh you mean to solve this problem of exile 10:59 < arubi> yea 10:59 < arubi> exile, do you have other inputs in another wallet that you can use? 11:00 < exile> no 11:01 < exile> inputs, you mean funds ? 11:01 < arubi> yea, that's what I meant 11:01 < arubi> not sure what's there to do but cpfp or double spend with a higher fee 11:01 < arubi> well, or wait 11:02 < exile> anyway, there musn't be a big loss for me 11:03 < exile> because the transaction i did was ridiculously small 11:03 < exile> and then 11:03 < exile> when i wanted to do the real one 11:03 < arubi> if there's a friendly miner around, help us, you're our only hope 11:03 < exile> it tells me i have insuficient funds 11:03 < arubi> well zapwallettxes might give you a second chance, we haven't tried that yet 11:04 < waxwing> exile: your outputs are in two different conflicted transactions; one of them will confirm, then you'll have your coins available. 11:04 < waxwing> just trying to give the context here. 11:04 < arubi> yea, eventually that will happen for sure 11:05 < exile> ok, but those that mean, the second payment can go out ? 11:05 < arubi> exile, it doesn't matter which goes. both pay to you 11:05 < exile> that may be a problem 11:05 < waxwing> only one can happen. 11:05 < exile> ah, they pay to me ? 11:05 < arubi> well you sent it, it's paid to wherever you sent it 11:05 < waxwing> that's the key property of the blockchain; it can't make a double payment. 11:05 < exile> yeah but the thing is 11:06 < exile> the address i sent the second one to 11:06 < exile> may expire 11:06 < exile> and not be mine 11:06 < exile> after some time 11:06 < exile> so it will receive the coins 11:06 < arubi> what does that mean? 11:06 < exile> it means on some software you have addresses attached to one account 11:06 < exile> to make payments 11:06 < exile> and then 11:07 < exile> you're not suppose to use this address anymore 11:07 < exile> it could be attached to another account 11:07 < exile> so if i make a payment with another wallet in the mean time 11:07 < arubi> still not sure what that means, anyway, if that one goes through, talk to that service 11:07 < exile> if i don't want to wait and buy coins again 11:07 < arubi> there's nothing anybody can do now that it's relayed 11:07 < exile> yep 11:09 < exile> we will see 11:09 < exile> as long as I can use the rest of my wallet i'll be happy ^^ 11:09 < exile> thank you anyway for taking the matter seriously 11:09 < exile> i can see you're into the stuff you developped :) 11:10 < waxwing> unfortunately 'the rest of' doesn't work here the way it does in ordinary finance 11:10 < waxwing> if you have 1 btc in *1* output, it is *completely* consumed in a payment; you can't spend 0.1 out of it and have the other 0.9 "left behind"; the tx creates a change output 11:12 < exile> okay... 11:13 -!- GAit [~GAit@unaffiliated/gait] has quit [Quit: WeeChat 1.0.1] 11:14 -!- belcher [~belcher@unaffiliated/belcher] has quit [Quit: Leaving] 11:14 -!- Giszmo [~leo@pc-93-17-46-190.cm.vtr.net] has joined #joinmarket 11:19 < exile> actually this sentence explains a lot about the inner functonning of bitcoins :) 11:22 < waxwing> yeah it's very counterintuitive. it helps to realize: really "coins" are "utxos"(unspent tranasction outputs); "bitcoins" are just an accounting thing, they don't exist as entities. 11:23 < waxwing> a transaction takes a set of those "coins" (utxos) , destroys them all, and creates a new set, where the sum of the new output values is the same as the sum of the old output values, minus a fee. 11:24 < waxwing> well not so much "destroys" as "marks them as spent and embeds the spending into the blockchain record". 11:32 < exile> i like the principle of [i dont remember the name] of this money that the value is made of really useful work in mathmatics 11:33 < exile> anyway, back to btc 11:33 < exile> it was a surprise for me 11:33 < exile> when I so, thanks to this software 11:33 < exile> that we have a "limit" 11:33 < exile> with utxos 11:33 < exile> like, we can't make as much transactions as we want 11:46 -!- GAit [~GAit@unaffiliated/gait] has joined #joinmarket 12:33 -!- coins123 [~coins123@unaffiliated/coins123] has joined #joinmarket 12:48 < waxwing> today's ridiculous pit entry: 12:48 < waxwing> Any phone experts here? 12:48 < waxwing> im without a phone since 3 weeks now and my credit is very limited 12:48 < waxwing> needed some guide? 12:56 < exile> reminds me I have to get a new phone 12:57 < exile> i'm doing -zapwallettxes=1 12:57 < exile> i'll tell you if there's some result 12:57 -!- exile is now known as exile_afk 13:26 -!- MaxSan [~one@213.152.161.239] has joined #joinmarket 14:03 < nkuttler> i have owned several phones. i guess that makes me an expert? 16:04 -!- coins123 [~coins123@unaffiliated/coins123] has quit [Ping timeout: 240 seconds] 16:11 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has joined #joinmarket 16:11 < delinquentme> How active is this project 16:11 < delinquentme> I just saw the reddit post on anoning btc transactions 16:13 < gmaxwell> pretty active. 16:16 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 248 seconds] 18:41 -!- Giszmo [~leo@pc-93-17-46-190.cm.vtr.net] has quit [Quit: Leaving.] 18:47 -!- delinquentme [~delinquen@2602:306:ceb7:990:b8f2:22b:72b4:8be] has joined #joinmarket 19:27 -!- delinquentme [~delinquen@2602:306:ceb7:990:b8f2:22b:72b4:8be] has quit [Ping timeout: 246 seconds] 19:30 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has joined #joinmarket 19:55 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 240 seconds] 21:13 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has joined #joinmarket 21:45 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 22:21 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has joined #joinmarket 22:27 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 240 seconds] 23:14 -!- delinquentme [~delinquen@108-235-112-153.lightspeed.sntcca.sbcglobal.net] has joined #joinmarket 23:23 -!- exile_afk is now known as exile 23:24 < exile> Hello again people 23:26 < exile> looks like my problem is still unresolved and my "remaining" btcs are marked as "used" 23:42 < waxwing> exile: in what sense unresolved? 23:43 < waxwing> re: "marked as used": that refers to the address being used, not the coins. 23:44 < exile> ah ? 23:44 < exile> wait 23:45 < exile> oh yeah cool ! 23:45 < exile> yeah 23:45 < exile> they show as balance again 23:46 < exile> even when I don't add the line you told me in the cfg 23:46 < waxwing> yes, it'll show either way now 23:46 < exile> okayy do that mean they are mine again ? ^^ 23:47 < waxwing> of course 23:47 < exile> woooof 23:47 < exile> that's a relief :) 23:48 < waxwing> they were always yours. 23:48 < exile> yeeaaah but you know what I mean ^^ 23:48 < waxwing> you just encountered a rare situation where they were in a "conflicted" state; it probably was possible to spend yesterday but it was quite a headache figuring it out. 23:48 < exile> should I try to send them somewhere ? 23:49 < waxwing> as you wish; let us know if it doesn't work for some reason. 23:49 < exile> i'm scared now ^^ 23:49 < exile> i try with -N 0 no ? 23:50 < exile> if i put amount 0 it send everything right ? 23:50 < waxwing> should be fine; python sendpayment.py -N 0 walletname amount-in-satoshis address 23:50 < waxwing> yes 0 is for everything 23:50 < exile> what's the smallest amount you would advice for a test ? 23:50 < waxwing> btw in the new version i've updated it so it actually shows the destination address and amount before they (y/n) prompt there. 23:51 < exile> new version of joinmarket ? 23:51 < waxwing> honestly if it was me i wouldn't bother with a test, but up to you. 23:51 < waxwing> off for a bit 23:52 < exile> ok ok 23:52 < exile> bye :)