1 2017-12-28 00:14:44 <RainMan28> I am running bitcoind (not using the GUI) and wondering if there is a way to enable segwit so that change addresses automatically use segwit also
 2 2017-12-28 00:17:00 <RainMan28> connecting via rpc json
 3 2017-12-28 00:29:25 <phantomcircuit> RainMan28, there is not at the moment
 4 2017-12-28 00:31:07 <RainMan28> phantomcircuit: any idea when something will be available? Hoping to be able to reduce the fees I am paying as I send out approximately 500 txns a day. I read on /r/bitcoin that lots of companies aren't using segwit yet so I thought it was ready.
 5 2017-12-28 00:32:02 <eck> it's ready if you're willing to use the raw tx api
 6 2017-12-28 00:32:10 <eck> if you're not then wait for 0.16
 7 2017-12-28 00:33:16 <RainMan28> eck: gotcha. currently i use the sendmany command. any idea on when 0.16 will be ready?
 8 2017-12-28 00:34:56 <eck> there's a good chance it will be expedited since so many people are asking for improved segwit support, but i don't know for sure
 9 2017-12-28 04:26:37 <Diablo-D3> oh noes, did gmaxwell die?
10 2017-12-28 04:52:21 <Randolf> Diablo-D3:  Huh?
11 2017-12-28 04:53:38 <Diablo-D3> oh hes not in here
12 2017-12-28 05:15:51 <Randolf> Okay.  Just because someone's not logged in to IRC, it doesn't necessarily mean that they've died.
13 2017-12-28 05:16:16 <Diablo-D3> Yeah but its gmaxwell
14 2017-12-28 05:16:19 <Diablo-D3> he never leaves irc
15 2017-12-28 05:16:38 <Diablo-D3> hrm hes around here somewhere, hes just not in here
16 2017-12-28 06:13:33 <Eric_Fly> pls help me
17 2017-12-28 06:13:47 <Eric_Fly> how can i send btc to address like bc1.....
18 2017-12-28 06:14:34 <Eric_Fly> i can't run sendfrom send btc to this address
19 2017-12-28 06:16:40 <Eric_Fly> ?
20 2017-12-28 06:16:42 <Eric_Fly> hello?
21 2017-12-28 06:16:52 <Eric_Fly> anybody is here?
22 2017-12-28 06:20:12 <Diablo-D3> Eric_Fly: you're in the wrong channel
23 2017-12-28 06:20:15 <Diablo-D3> you want #bitcoin
24 2017-12-28 06:30:47 <Eric_Fly> ok thx
25 2017-12-28 06:37:42 <xiedeacc> does bitcoin automatic prune all older data?
26 2017-12-28 06:38:21 <xiedeacc> or just prune data when receive a block
27 2017-12-28 06:38:27 <Diablo-D3> no.
28 2017-12-28 06:38:32 <xiedeacc> does anybody know?
29 2017-12-28 06:38:49 <Diablo-D3> there are clients that can prune, but they're third party clients
30 2017-12-28 06:39:24 <xiedeacc> only use RPC command to prune all older data
31 2017-12-28 06:39:41 <xiedeacc> thanks~
32 2017-12-28 06:48:32 <Eric_Fly> RPC command not support send btc to bc1.....
33 2017-12-28 06:49:22 <Eric_Fly> I try bitcoin-core version is 0.15.1
34 2017-12-28 08:18:59 <rmt> I'm trying to figure out what the values for the new chainstate leveldb are.. the keys are obvious 'C' + txid + output_num .. I _thought_ the values would be, after unobfuscating them: <height & coinbase: varint> | <compressed_amount: varint> | <magic_type_or_size: varint> | <script/address> ... It seems not.  Any ideas?
35 2017-12-28 08:19:28 <rmt> (bitcoin core 0.15.1, obviously)
36 2017-12-28 08:49:33 <DSidH> If I am building a core replica from scratch, how do I find peers to connect to?
37 2017-12-28 08:50:33 <cncr04s> ?
38 2017-12-28 08:51:16 <DSidH> how do I bootstrap?
39 2017-12-28 08:51:22 <cncr04s> of what
40 2017-12-28 08:51:27 <cncr04s> the chain
41 2017-12-28 08:51:35 <cncr04s> just connect to some peers
42 2017-12-28 08:51:45 <DSidH> hmmm how to discover them?
43 2017-12-28 08:51:50 <cncr04s> it automaticly does
44 2017-12-28 08:52:14 <DSidH> ok but i need to do it without bitcoind
45 2017-12-28 08:52:33 <DSidH> wiki suggests hardcoding some peers and also irc
46 2017-12-28 08:52:39 <cncr04s> run bitcoin-qt
47 2017-12-28 08:52:49 <cncr04s> no idea what your doing
48 2017-12-28 08:52:58 <DSidH> I want to replicate core in Scala
49 2017-12-28 08:53:05 <cncr04s> replicate?
50 2017-12-28 08:53:06 <DSidH> without any dependency on QT or bitcoind
51 2017-12-28 08:53:33 <cncr04s> if your code has all the functionality of bitcoin
52 2017-12-28 08:53:37 <DSidH> have done the crypto stuff and now want to look at chain download and validation
53 2017-12-28 08:53:38 <cncr04s> then all you need are peers
54 2017-12-28 08:53:42 <cncr04s> run bitcoind or qt
55 2017-12-28 08:53:47 <cncr04s> let it connect to peers
56 2017-12-28 08:53:50 <cncr04s> write them down
57 2017-12-28 08:53:57 <cncr04s> then add those to your code
58 2017-12-28 08:54:05 <DSidH> cool but what does qt use internally?
59 2017-12-28 08:54:16 <cncr04s> it has some default list
60 2017-12-28 08:54:24 <cncr04s> search its code
61 2017-12-28 08:55:11 <DSidH> I'm thinking of connecting to a trusted instance of qt then I don't have to worry about network for now
62 2017-12-28 08:55:55 <DSidH> but eventually want to understand it and implement the script engine as well.
63 2017-12-28 08:56:18 <Helm0> DSidH: there are some bootstrap peers coded in core internally.. look at https://github.com/bitcoin/bitcoin/blob/master/src/chainparams.cpp line 128
64 2017-12-28 08:56:46 <Helm0> DSidH: every dns seed gives a bunch of bootstrap IPs
65 2017-12-28 08:56:59 <DSidH> Helm0: ty looking at it.
66 2017-12-28 14:35:06 <xiedeacc> I want to how bitcoin ownership was transfered when transaction. Let me give an example, A send 1 btc to B in tx2, A got this 1 btc from tx1, so A has to prove he own tx1's output, and he had prove tx2 was signed by himself, I have read this post https://en.bitcoin.it/wiki/Transaction, but still have some confuse.
67 2017-12-28 14:35:29 <xiedeacc> in tx2, A signed tx2 by scriptSig
68 2017-12-28 14:35:58 <xiedeacc> what consist scriptSig
69 2017-12-28 14:37:13 <xiedeacc> a signature of a simple version of tx2 and A's public key?
70 2017-12-28 14:38:06 <xiedeacc> but in tx1, output just specific A's bitcoin address
71 2017-12-28 14:38:23 <xiedeacc> address isn't A's public key
72 2017-12-28 14:41:45 <xiedeacc> sorry
73 2017-12-28 14:41:56 <xiedeacc> I understand now
74 2017-12-28 14:42:45 <xiedeacc> but in a transaction, A have to exposure his public key
75 2017-12-28 14:42:54 <xiedeacc> this strange...
76 2017-12-28 14:52:49 <DSidH> how do I deal with point at infinity? Currently I am throwing an exception when it is encountered
77 2017-12-28 15:56:25 <DSidH> where can I find sample version message serialized (the first message sent on connect)?
78 2017-12-28 15:58:42 <Sentineo> DSidH: I think you are looking for the version message https://en.bitcoin.it/wiki/Protocol_documentation
79 2017-12-28 16:02:37 <DSidH> Sentineo: yes I saw that but I wanted some actual serialized data to test
80 2017-12-28 16:03:04 <Sentineo> well use tcpdump on a node than
81 2017-12-28 16:03:20 <Sentineo> wireshark can distinguish bitcoin messages
82 2017-12-28 16:03:36 <Sentineo> so if you import it (of use wireshark directly) you can check the wired format easily
83 2017-12-28 16:03:58 <Sentineo> if you have trouble doing it I can do it later for you, just not now
84 2017-12-28 16:08:22 <DSidH> Sentineo: thanks I'll try myself and revert if I need help
85 2017-12-28 16:10:26 <Sentineo> DSidH: you might want to check this as well: https://www.youtube.com/watch?v=neUy-nXshzg
86 2017-12-28 16:10:51 <Sentineo> the guy is constructing the messages in python, has a github as well (you will find it in the vid iirc)
87 2017-12-28 17:12:45 <topace_> hey, i have a question re witness addresses.  if i   "getnewaddress bob", and get a legacy address 1...k for account bob,   when i do addwitnessaddress 1...k  the resulting address 3...n, does not get assigned to account bob.  is there any way to connect  3...n to account bob?
88 2017-12-28 17:14:34 <molz> topace_, "account" is deprecated, don't use it
89 2017-12-28 17:16:14 <topace_> gah
90 2017-12-28 17:16:32 <topace_> i was hoping to not have to re-write my whole merchant processing to implement segwit
91 2017-12-28 18:07:12 <DSidH> Sentineo: that video is very useful. ty
92 2017-12-28 18:36:56 <rmt> I'm trying to figure out what the values for the new (0.15.x) chainstate leveldb are.. the keys are obvious 'C' + txid + output_num .. I _thought_ the values would be (after unobfuscating them): <height & coinbase: varint> | <compressed_amount: varint> | <magic_type_or_size: varint> | <script/address> ... It seems not (or I screwed up something).  Any ideas?  I'd love an example to breakdown/compare.