--- Log opened Thu May 13 00:00:53 2021 00:24 -!- asymptotically [asymptotic@gateway/vpn/mullvad/asymptotically] has joined #joinmarket 02:30 -!- undeath [~undeath@hashcat/team/undeath] has joined #joinmarket 02:43 -!- belcher_ is now known as belcher 03:00 -!- asymptotically [asymptotic@gateway/vpn/mullvad/asymptotically] has quit [Quit: Leaving] 03:35 -!- Rollin52Littel [~Rollin52L@static.57.1.216.95.clients.your-server.de] has joined #joinmarket 03:50 -!- asymptotically [asymptotic@gateway/vpn/mullvad/asymptotically] has joined #joinmarket 04:08 < waxwing> belcher, i had a thought on https://gist.github.com/chris-belcher/87ebbcbb639686057a389acb9ab3e25b#time-locked-fidelity-bonds 04:08 < waxwing> (first, minor quibble, but i've always heard it as 'principle of no arbitrage' not 'principle of arbitrage', but it hardly matters, even if i'm right) 04:09 < waxwing> conceptually it's easy to understand the base calculation as 'how much value i would have had if i hadn't locked it, versus how much value i actually have', but there's something slightly unintuitive here, to me: 04:09 < waxwing> if i lock it for 1 year, there's no doubt that i will reverse that status halfway through. so it seems kinda weird that my sacrifice is worth less at the beginning than at the end. 04:10 < waxwing> 'there's no doubt that', sorry bad wording but you get what i mean :) 05:12 < undeath> while the coins are locked the worth of the fidelity bond does not change from what I understand. 05:31 < belcher> waxwing as soon as the transaction paying to the time-locked address is confirmed, then the sacrificed value is known because everyone knows the coins wont move until the locktime... so that means we can calculate the value of that sacrifice today and use it today 05:40 < belcher> you sacrifice is not worth less at the beginning, once the transaction confirms the value of the sacrifice jumps up to V^2(exp(rT)-1)^2 05:41 < belcher> maybe the thing that confused you is that theres two variables involving time, one is calender time which is what a clock or calenders shows, another is the locktime which is what you choose when creating the timelocked address 05:42 -!- Traca [~Traca@gateway/tor-sasl/traca] has joined #joinmarket 05:43 < belcher> the Rennie and Baxter book i read calls it the principle of arbitrage, it seems like, slightly confusingly, the principle of arbitrage and the principle of no arbitrage are the same thing 05:46 < belcher> also i just noticed the book is available for free on libgen so people can flick through it if they want to get a little bit of intuition, reading chapter 1 should be more than enough 05:57 < belcher> doing exercise 2.1 is useful as well, even though its in chapter 2 06:31 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has quit [Ping timeout: 240 seconds] 06:33 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has joined #joinmarket 06:35 -!- viasil [~nobody@95.174.67.172] has quit [Ping timeout: 246 seconds] 06:37 -!- viasil [~nobody@95.174.67.172] has joined #joinmarket 06:42 -!- viasil [~nobody@95.174.67.172] has quit [Ping timeout: 260 seconds] 06:44 -!- viasil [~nobody@95.174.67.172] has joined #joinmarket 06:46 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has quit [Remote host closed the connection] 06:47 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has joined #joinmarket 06:48 < waxwing> belcher, oh i see what happened. i was misinterpreting both the T variable in e^rT and also the first graph. i was thinking it as a clock time but it's a time delta. and the first graph is comparing value with total time. 06:48 < waxwing> was just a question that popped up as reading through. that's clear now, thanks. 06:48 < waxwing> oh yeah you said in your third sentence above, exactly. 07:08 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has quit [Remote host closed the connection] 07:09 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has joined #joinmarket 07:09 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has quit [Remote host closed the connection] 07:15 -!- mryandao [~mryandao@gateway/tor-sasl/mryandao] has joined #joinmarket 07:22 -!- Traca [~Traca@gateway/tor-sasl/traca] has quit [Remote host closed the connection] 07:22 -!- Traca [~Traca@gateway/tor-sasl/traca] has joined #joinmarket 07:52 -!- jungly [~jungly@host-95-246-194-206.retail.telecomitalia.it] has joined #joinmarket 07:58 -!- jungly [~jungly@host-95-246-194-206.retail.telecomitalia.it] has quit [Ping timeout: 240 seconds] 08:13 -!- jungly [~jungly@host-95-246-194-206.retail.telecomitalia.it] has joined #joinmarket 08:51 -!- asymptotically [asymptotic@gateway/vpn/mullvad/asymptotically] has quit [Remote host closed the connection] 09:12 -!- vrana [~mvranic@gateway/tor-sasl/vrana] has quit [Ping timeout: 240 seconds] 09:17 -!- asymptotically [asymptotic@gateway/vpn/mullvad/asymptotically] has joined #joinmarket 09:19 -!- vrana [~mvranic@gateway/tor-sasl/vrana] has joined #joinmarket 09:24 -!- vrana [~mvranic@gateway/tor-sasl/vrana] has quit [Ping timeout: 240 seconds] 09:31 -!- Rollin52Littel [~Rollin52L@static.57.1.216.95.clients.your-server.de] has quit [Ping timeout: 265 seconds] 09:41 -!- vrana [~mvranic@gateway/tor-sasl/vrana] has joined #joinmarket 10:06 -!- jungly [~jungly@host-95-246-194-206.retail.telecomitalia.it] has quit [Ping timeout: 265 seconds] 10:17 -!- undeath [~undeath@hashcat/team/undeath] has quit [Quit: WeeChat 3.1] 11:02 -!- jungly [~jungly@host-95-246-194-206.retail.telecomitalia.it] has joined #joinmarket 11:17 -!- jungly [~jungly@host-95-246-194-206.retail.telecomitalia.it] has quit [Ping timeout: 260 seconds] 11:17 -!- jungly [~jungly@host-95-246-194-206.retail.telecomitalia.it] has joined #joinmarket 12:00 <+JoinMarketRelay> [hackint/csH7KmCC9] I have some questions about getting regtest set up, if anyone is around (I was told to ask waxwing specifically; I dunno if they're around but hopefully hackint is properly bridged) 12:00 <+JoinMarketRelay> [hackint/csH7KmCC9] What exactly do I need to do with an existing bitcoin-core installation and rpc user/pass? 12:00 <+JoinMarketRelay> [hackint/csH7KmCC9] Should I alter the `bitcoinrpc` and `123456abcdef` in the suggested bitcoin.conf to match what I already have set up with bitcoin-core? 12:01 <+JoinMarketRelay> [hackint/csH7KmCC9] Or is regtest mode hardcoded to use those values, and I need to configure bitcoin-core to add that user/pass? 12:01 <+JoinMarketRelay> [hackint/csH7KmCC9] Even more confusing, it says "any random password is fine" lol 12:02 <+JoinMarketRelay> [hackint/csH7KmCC9] I've never done any regtest stuff in JoinMarket or bitcoin-core, so if anyone is willing to hold my hand a bit I'd really appreciate it 12:13 < waxwing> pong 12:13 < waxwing> just getting a drink 12:13 < waxwing> not hardcoded you cna edit in the bitcoin.conf that you point to in the flags to your pytest command 12:14 < waxwing> csH7KmCC9 12:14 <+JoinMarketRelay> [hackint/csH7KmCC9] So I should just change the entries in bitcoin.conf to my existing RPC user/pass? 12:14 <+JoinMarketRelay> [hackint/csH7KmCC9] Thanks :) 12:15 <+JoinMarketRelay> [hackint/csH7KmCC9] And then, once I'm done, I should clean up ~/.bitcoin/regtest on my bitcoin-core machine, right? 12:15 < waxwing> no, you don't need to change it.. 12:16 < waxwing> yes i find best to wipe regtest after each set of tests 12:16 < waxwing> you can just create a separate bitcoin.conf in a separate location, or i think nowadays use the [regtest] section in the existing conf file(?) 12:16 < waxwing> i think i put a regtest_bitcoin.conf in tests/ 12:16 < waxwing> but if you see it is very simple 12:18 < waxwing> you're following the guide in TESTING.md right? 12:18 < waxwing> sorry i can't always ping you because the user here is JoinMarketRelay 12:18 < waxwing> csH7KmCC9 12:20 < waxwing> basically pytest will run bitcoind -regtest under the hood, take the settings in that conf, spin up a bunch of blocks and let any scripts you run with the regtest version of joinmarket.cfg, talk to it over rpc 12:21 < waxwing> a key part of it is to use the `--datadir=.` flag to the scripts you run. that will pick up the joinmarket.cfg in the current directory, which will be the one i just mentioned. 12:22 < waxwing> so just this afternoon i was testing your PR with `pytest .... ygrunner.py` as per TESTING.md and then a separate `python joinmarket-qt.py --datadir=.` and using the testnet wallet that ygrunner created. 12:22 < waxwing> so anyway let us know as you hit more questions through the process going off that doc. 12:25 <+JoinMarketRelay> [hackint/csH7KmCC9] Sorry was AFK 12:26 <+JoinMarketRelay> [hackint/csH7KmCC9] Still a bit confused about the bitcoin.conf thing 12:27 <+JoinMarketRelay> [hackint/csH7KmCC9] I see regtest_joinmarket.cfg 12:27 <+JoinMarketRelay> [hackint/csH7KmCC9] Ohhhhh 12:27 <+JoinMarketRelay> [hackint/csH7KmCC9] Now I'm getting it 12:28 <+JoinMarketRelay> [hackint/csH7KmCC9] I don't need a fully-synced bitcoin-core full node, I literally just need bitcoin-core installed and it will make fake blocks and deal with regtest JoinMarket clients 12:28 < waxwing> yes :) 12:29 <+JoinMarketRelay> [hackint/csH7KmCC9] That makes much more sense 12:29 <+JoinMarketRelay> [hackint/csH7KmCC9] Thanks 12:29 <+JoinMarketRelay> [hackint/csH7KmCC9] (there's an Arrested Development joke in there somewhere) 13:09 -!- Netsplit *.net <-> *.split quits: avril 13:09 -!- avril [wha@chick.sex0r.net] has joined #joinmarket 13:09 -!- avril [wha@chick.sex0r.net] has quit [Changing host] 13:09 -!- avril [wha@unaffiliated/avril] has joined #joinmarket 13:29 -!- jungly [~jungly@host-95-246-194-206.retail.telecomitalia.it] has quit [Ping timeout: 240 seconds] 14:00 -!- asymptotically [asymptotic@gateway/vpn/mullvad/asymptotically] has quit [Quit: Leaving] 15:05 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 240 seconds] 15:12 -!- Traca [~Traca@gateway/tor-sasl/traca] has quit [Quit: Traca] 15:33 -!- qq [~qqwwssaa@2001:16a2:ce63:db00:a11c:78bc:cc49:76cd] has joined #joinmarket 15:41 -!- belcher [~belcher@unaffiliated/belcher] has joined #joinmarket 15:54 -!- qq [~qqwwssaa@2001:16a2:ce63:db00:a11c:78bc:cc49:76cd] has left #joinmarket ["Leaving"] 16:32 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #joinmarket 16:33 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 240 seconds] 16:36 -!- lukedashjr is now known as luke-jr 17:30 -!- M1 [~Michail@michail.com] has quit [Remote host closed the connection] 21:25 -!- technonerd [~techno@gateway/tor-sasl/technonerd] has quit [Ping timeout: 240 seconds] 21:34 -!- technonerd [~techno@gateway/tor-sasl/technonerd] has joined #joinmarket 23:32 -!- jungly [~jungly@host-95-252-157-2.retail.telecomitalia.it] has joined #joinmarket --- Log closed Fri May 14 00:00:54 2021