1 2018-05-05 18:33:33 <OS-27110> anyone help me with regtest mode?
2 2018-05-05 18:34:22 <arubi> just ask OS-27110
3 2018-05-05 18:34:25 <OS-27110> i have 2 laptops each with an instance of bitcoind running on each
4 2018-05-05 18:34:52 <OS-27110> i created the bitcoin.conf file on both
5 2018-05-05 18:35:01 <OS-27110> both are now running a a service
6 2018-05-05 18:35:02 <OS-27110> however
7 2018-05-05 18:35:16 <OS-27110> i was under the impression both were seperate nodes, but theyre not
8 2018-05-05 18:35:36 <OS-27110> if i generate coins on 1, the other laptop also has the same coins now
9 2018-05-05 18:35:54 <arubi> you probably copied wallet.dat over...?
10 2018-05-05 18:36:01 <OS-27110> no , not at all
11 2018-05-05 18:36:19 <arubi> well, I'm running regtest with 4 nodes on a single pc here, this doesn't ever happen
12 2018-05-05 18:36:27 <OS-27110> ok
13 2018-05-05 18:36:31 <OS-27110> ill paste my config
14 2018-05-05 18:38:12 <OS-27110> https://pastebin.com/B6TWFFZc
15 2018-05-05 18:39:08 <arubi> rpcconnect should only connect to your local node
16 2018-05-05 18:39:10 <arubi> not all of them
17 2018-05-05 18:39:26 <OS-27110> ok
18 2018-05-05 18:39:28 <arubi> so you're probably sending rpc commands to the remote node
19 2018-05-05 18:39:36 <OS-27110> oh i see
20 2018-05-05 18:39:39 <OS-27110> good shout
21 2018-05-05 18:39:43 <OS-27110> ill be back in a sec
22 2018-05-05 18:39:45 <OS-27110> thanks aruba
23 2018-05-05 18:39:46 <arubi> k
24 2018-05-05 18:39:49 <arubi> heh
25 2018-05-05 18:39:50 <OS-27110> arubi
26 2018-05-05 18:39:53 <arubi> yea
27 2018-05-05 18:40:30 <OS-27110> btw the pass is not the real pass for rpc :)
28 2018-05-05 18:40:45 <arubi> oh man, and there I though I'm gonna be regtest rich :P
29 2018-05-05 18:49:59 <OS-27110> arubi, thank you for that. all sorted
30 2018-05-05 18:50:06 <arubi> cheers
31 2018-05-05 18:50:21 <OS-27110> how far are you into learning?
32 2018-05-05 18:50:38 <arubi> well, the rabbit hole is pretty deep
33 2018-05-05 18:50:49 <OS-27110> tell me about it...
34 2018-05-05 18:51:07 <arubi> you'll see. there's always "this other thing" that you have to learn
35 2018-05-05 18:51:11 <OS-27110> are you sniffing packets etc to figure stuff out?
36 2018-05-05 18:51:13 <OS-27110> or what?
37 2018-05-05 18:51:36 <arubi> nah, I'm not too interested in the p2p stuff. mostly into the math and bitcoin script
38 2018-05-05 18:51:43 <OS-27110> ok fair enough
39 2018-05-05 18:53:11 <OS-27110> you code also?
40 2018-05-05 18:53:44 <arubi> yea a bit. I have my own projects, nothing major
41 2018-05-05 18:53:53 <OS-27110> nice
42 2018-05-05 18:54:55 <arubi> if you're interested in p2p things, you can also enable debugging for that in your .conf. might be interesting for you
43 2018-05-05 18:55:53 <OS-27110> very good
44 2018-05-05 18:56:18 <OS-27110> i have the digital signature part understood so far and i am onto the transaction part
45 2018-05-05 18:56:49 <OS-27110> the "there are no coins has me a little perplexed"
46 2018-05-05 18:57:02 <arubi> well there are coins, just no balances
47 2018-05-05 18:58:18 <arubi> a coin means a transaction output. a coin that is valid to be spent is an unspent transaction output, or just utxo
48 2018-05-05 18:59:02 <OS-27110> i get the unspent output and inputs
49 2018-05-05 18:59:30 <OS-27110> i just watched a video recently where Andreas said after 3 years he finds out there are no coins really
50 2018-05-05 18:59:43 <OS-27110> no idea what hes on about now
51 2018-05-05 18:59:44 <OS-27110> ha
52 2018-05-05 18:59:50 <arubi> I guess andreas is wrong :)
53 2018-05-05 19:00:11 <OS-27110> hes a brilliant man. ya ofcourse
54 2018-05-05 19:00:44 <arubi> I'll take your word. I never looked into his stuff
55 2018-05-05 19:00:55 <OS-27110> do you have an idea what data gets signed when you are sending an output to someone?
56 2018-05-05 19:00:59 <OS-27110> as in
57 2018-05-05 19:01:18 <arubi> see here : http://enetium.com/resources/Bitcoin.pdf
58 2018-05-05 19:01:20 <OS-27110> when you digitally sign something and the other person wants to know you actually own the data
59 2018-05-05 19:01:27 <arubi> this is an excellent document
60 2018-05-05 19:01:43 <OS-27110> ive the 2 books he already open here, mastering bitcoin
61 2018-05-05 19:01:51 <OS-27110> does this one go deep?
62 2018-05-05 19:01:52 <arubi> close those, open that one :)
63 2018-05-05 19:01:55 <arubi> yes
64 2018-05-05 19:02:00 <OS-27110> roger that
65 2018-05-05 19:02:03 <OS-27110> checking
66 2018-05-05 19:02:29 <arubi> it's not covering segwit, but once you understand what's there, segwit is really simple
67 2018-05-05 19:04:38 <arubi> page 29-34 inclusive
68 2018-05-05 19:04:58 <AndyS2> the bitcoind sourcecode has a coin datastructure/object
69 2018-05-05 19:05:04 <AndyS2> at least some stuff is named like it
70 2018-05-05 19:05:16 <AndyS2> I'm not entirely sure what a coin was again, but I think it was an output
71 2018-05-05 19:05:44 <OS-27110> you been very helpful
72 2018-05-05 19:05:55 <OS-27110> have it open now and it looks great, solid info
73 2018-05-05 19:06:15 <OS-27110> what i want to do is actually create an append only ledger as simply as possible
74 2018-05-05 19:06:26 <OS-27110> im kinda of working backwards by learning how bitcoin works
75 2018-05-05 19:06:31 <AndyS2> when I stumbled upon it, I remember thinking that the naming is off a bit. maybe coin was used to refer to transactions or outputs that the wallet knows about?
76 2018-05-05 19:06:34 <OS-27110> not sure if thats a good idea or not though
77 2018-05-05 19:06:44 <OS-27110> perhaps
78 2018-05-05 19:06:58 <arubi> AndyS2, a coin is just an output
79 2018-05-05 19:07:04 <OS-27110> i do know that Andreas said that all the words the engineers used are stupid
80 2018-05-05 19:07:13 <OS-27110> wallet doesn't hold coins
81 2018-05-05 19:07:17 <OS-27110> etc
82 2018-05-05 19:08:24 <arubi> a wallet is a database that holds keys and coins, not sure what's stupid about the engineering terms
83 2018-05-05 19:08:44 <OS-27110> he said they should describe what the are
84 2018-05-05 19:08:55 <OS-27110> like desktop behaves like a desktop
85 2018-05-05 19:09:02 <OS-27110> wallet holds no coins
86 2018-05-05 19:09:07 <OS-27110> just keychain
87 2018-05-05 19:09:10 <OS-27110> or something
88 2018-05-05 19:09:20 <arubi> it's not just a keychain. you need to know which coins are yours
89 2018-05-05 19:09:36 <OS-27110> its amazing
90 2018-05-05 19:11:05 <OS-27110> i think the wallet listens for what address you have an if it spots that in the blockchain it keeps track of it
91 2018-05-05 19:11:22 <arubi> right, not addresses really but scripts
92 2018-05-05 19:11:32 <OS-27110> ok scripts is new to me
93 2018-05-05 19:11:43 <OS-27110> i heard it but never read into it yet
94 2018-05-05 19:11:50 <arubi> scriptpubkeys. some of these scripts have address types, some don't
95 2018-05-05 19:11:59 <OS-27110> ok