1 2016-06-05T00:27:28 *** baldur has quit IRC
2 2016-06-05T01:35:48 *** Giszmo has joined #bitcoin-core-dev
3 2016-06-05T01:44:01 *** baldur has joined #bitcoin-core-dev
4 2016-06-05T02:01:16 *** Ylbam has quit IRC
5 2016-06-05T02:44:51 *** molly has joined #bitcoin-core-dev
6 2016-06-05T02:47:45 *** molz has quit IRC
7 2016-06-05T03:11:02 *** achow101 has quit IRC
8 2016-06-05T03:14:01 *** Alopex has quit IRC
9 2016-06-05T03:15:06 *** Alopex has joined #bitcoin-core-dev
10 2016-06-05T03:27:02 *** Alopex has quit IRC
11 2016-06-05T03:28:07 *** Alopex has joined #bitcoin-core-dev
12 2016-06-05T03:30:43 *** raedah has quit IRC
13 2016-06-05T03:33:13 *** frankenm_ has joined #bitcoin-core-dev
14 2016-06-05T03:34:04 *** frankenmint has quit IRC
15 2016-06-05T03:38:34 *** jtimon has quit IRC
16 2016-06-05T03:40:30 *** TomMc has joined #bitcoin-core-dev
17 2016-06-05T03:43:07 *** raedah has joined #bitcoin-core-dev
18 2016-06-05T04:01:25 *** justanotheruser has quit IRC
19 2016-06-05T04:02:23 *** justanotheruser has joined #bitcoin-core-dev
20 2016-06-05T04:14:01 *** Alopex has quit IRC
21 2016-06-05T04:15:06 *** Alopex has joined #bitcoin-core-dev
22 2016-06-05T04:17:37 *** TomMc has quit IRC
23 2016-06-05T05:02:01 *** Alopex has quit IRC
24 2016-06-05T05:03:07 *** Alopex has joined #bitcoin-core-dev
25 2016-06-05T05:15:28 *** raedah has quit IRC
26 2016-06-05T05:24:33 *** raedah has joined #bitcoin-core-dev
27 2016-06-05T05:26:01 *** Alopex has quit IRC
28 2016-06-05T05:27:06 *** Alopex has joined #bitcoin-core-dev
29 2016-06-05T05:37:02 *** Alopex has quit IRC
30 2016-06-05T05:38:07 *** Alopex has joined #bitcoin-core-dev
31 2016-06-05T05:55:01 *** Alopex has quit IRC
32 2016-06-05T05:56:06 *** Alopex has joined #bitcoin-core-dev
33 2016-06-05T06:16:04 *** murch has joined #bitcoin-core-dev
34 2016-06-05T06:46:01 *** Alopex has quit IRC
35 2016-06-05T06:47:06 *** Alopex has joined #bitcoin-core-dev
36 2016-06-05T06:51:25 *** raedah2 has joined #bitcoin-core-dev
37 2016-06-05T06:54:12 *** raedah has quit IRC
38 2016-06-05T07:00:43 <GitHub21> [bitcoin] kazcw opened pull request #8147: separate mutex for Misbehavior() (master...cs_misbehavior) https://github.com/bitcoin/bitcoin/pull/8147
39 2016-06-05T07:23:59 *** Guyver2 has joined #bitcoin-core-dev
40 2016-06-05T07:33:45 *** Ylbam has joined #bitcoin-core-dev
41 2016-06-05T07:55:48 *** frankenm_ has quit IRC
42 2016-06-05T07:57:44 *** frankenmint has joined #bitcoin-core-dev
43 2016-06-05T08:38:31 *** Giszmo has quit IRC
44 2016-06-05T08:44:11 *** AaronvanW has joined #bitcoin-core-dev
45 2016-06-05T08:45:53 *** frankenmint has quit IRC
46 2016-06-05T08:46:08 *** frankenmint has joined #bitcoin-core-dev
47 2016-06-05T09:09:55 *** Ginnarr has joined #bitcoin-core-dev
48 2016-06-05T09:27:41 *** Guyver2 has quit IRC
49 2016-06-05T10:32:03 *** Ginnarr has quit IRC
50 2016-06-05T10:40:40 *** G1lius has joined #bitcoin-core-dev
51 2016-06-05T10:50:35 *** Ylbam_ has joined #bitcoin-core-dev
52 2016-06-05T10:52:56 *** jouke_ has joined #bitcoin-core-dev
53 2016-06-05T10:52:59 *** helo_ has joined #bitcoin-core-dev
54 2016-06-05T10:53:08 *** jron_ has joined #bitcoin-core-dev
55 2016-06-05T10:53:21 *** sipa_ has joined #bitcoin-core-dev
56 2016-06-05T10:53:29 *** kinlo_ has joined #bitcoin-core-dev
57 2016-06-05T10:53:32 *** ybit_ has joined #bitcoin-core-dev
58 2016-06-05T10:53:34 *** jyap has quit IRC
59 2016-06-05T10:53:34 *** blkdb has quit IRC
60 2016-06-05T10:53:34 *** Ylbam has quit IRC
61 2016-06-05T10:53:36 *** wumpus has quit IRC
62 2016-06-05T10:53:37 *** ybit has quit IRC
63 2016-06-05T10:53:37 *** Madars has quit IRC
64 2016-06-05T10:53:37 *** sipa has quit IRC
65 2016-06-05T10:53:38 *** jron has quit IRC
66 2016-06-05T10:53:38 *** jouke has quit IRC
67 2016-06-05T10:53:38 *** kinlo has quit IRC
68 2016-06-05T10:53:39 *** Ylbam_ is now known as Ylbam
69 2016-06-05T10:53:59 *** Madars has joined #bitcoin-core-dev
70 2016-06-05T10:54:06 *** kinlo_ is now known as kinlo
71 2016-06-05T10:54:33 *** Madars is now known as Guest31006
72 2016-06-05T10:55:08 *** jyap has joined #bitcoin-core-dev
73 2016-06-05T10:55:08 *** jyap has joined #bitcoin-core-dev
74 2016-06-05T10:55:23 *** wumpus has joined #bitcoin-core-dev
75 2016-06-05T10:55:32 *** Ginnarr has joined #bitcoin-core-dev
76 2016-06-05T10:57:37 *** spudowiar has quit IRC
77 2016-06-05T11:00:01 *** helo has quit IRC
78 2016-06-05T11:09:03 *** spudowiar has joined #bitcoin-core-dev
79 2016-06-05T11:13:45 *** AaronvanW has quit IRC
80 2016-06-05T11:17:12 *** Ginnarr has quit IRC
81 2016-06-05T11:25:24 *** AaronvanW has joined #bitcoin-core-dev
82 2016-06-05T11:44:15 *** blkdb has joined #bitcoin-core-dev
83 2016-06-05T12:34:03 *** AaronvanW has quit IRC
84 2016-06-05T13:10:46 *** jtimon has joined #bitcoin-core-dev
85 2016-06-05T13:25:53 *** spudowiar1 has joined #bitcoin-core-dev
86 2016-06-05T13:30:13 *** Chris_Stewart_5 has joined #bitcoin-core-dev
87 2016-06-05T13:38:03 *** Chris_Stewart_5 has quit IRC
88 2016-06-05T13:44:12 *** BashCo_ has joined #bitcoin-core-dev
89 2016-06-05T13:47:09 *** BashCo has quit IRC
90 2016-06-05T14:05:01 *** paveljanik has quit IRC
91 2016-06-05T14:19:51 *** Chris_Stewart_5 has joined #bitcoin-core-dev
92 2016-06-05T14:49:23 *** achow101 has joined #bitcoin-core-dev
93 2016-06-05T15:05:28 *** G1lius has quit IRC
94 2016-06-05T15:07:48 *** paveljanik has joined #bitcoin-core-dev
95 2016-06-05T15:08:00 *** Chris_Stewart_5 has quit IRC
96 2016-06-05T15:24:50 *** Chris_Stewart_5 has joined #bitcoin-core-dev
97 2016-06-05T15:25:21 *** spudowiar1 has quit IRC
98 2016-06-05T15:34:53 *** TomMc has joined #bitcoin-core-dev
99 2016-06-05T16:03:42 *** Sosumi has joined #bitcoin-core-dev
100 2016-06-05T16:28:46 *** Chris_Stewart_5 has joined #bitcoin-core-dev
101 2016-06-05T16:44:15 *** MarcoFalke_ has joined #bitcoin-core-dev
102 2016-06-05T16:44:54 *** MarcoFalke_ has quit IRC
103 2016-06-05T16:57:23 *** face has joined #bitcoin-core-dev
104 2016-06-05T17:08:04 <Chris_Stewart_5> Does bitcoin use a specific numbering system? It seems that it doesn't follow one's complement or twos complement from what i can tell..
105 2016-06-05T17:17:06 <arubi> Chris_Stewart_5, are you looking at compact size..?
106 2016-06-05T17:17:59 <Chris_Stewart_5> arubi: I'm just talking about numbering in genral, for instance "81" is -1
107 2016-06-05T17:18:46 <Chris_Stewart_5> 0x81*
108 2016-06-05T17:19:13 <arubi> ah, that's different. it's just signed int really.. that's the way I see it anyway
109 2016-06-05T17:20:01 <Chris_Stewart_5> Maybe I am thinking about it too much - i was looking over the two popular signed number representations and neither seem to map to bitcoins numbers
110 2016-06-05T17:20:02 <Chris_Stewart_5> https://en.wikipedia.org/wiki/Signed_number_representations
111 2016-06-05T17:20:42 <arubi> I think it means.. [0x00,0x7f] is positive, [0x80,0xff] is negative
112 2016-06-05T17:20:57 <arubi> with 0x80 being "negative zero"
113 2016-06-05T17:21:48 <Chris_Stewart_5> ... or I am missing something obvious
114 2016-06-05T17:23:18 <sipa_> Chris_Stewart_5: you're talking about how integers are encoded inside script
115 2016-06-05T17:23:29 <sipa_> not "how bitcoin uses numbering system"
116 2016-06-05T17:24:10 <Chris_Stewart_5> sipa_: Is this one of those things "Satoshi implemented it that way" or is there a purpose behind our encoding?
117 2016-06-05T17:25:12 <sipa_> no, satoshi did it that way, and it does not matter
118 2016-06-05T17:25:28 <arubi> I really can't think of a different way to represent a negative range of numbers..
119 2016-06-05T17:25:32 <sipa_> i'd have done it differently, but it hardly matters :)
120 2016-06-05T17:26:09 <Chris_Stewart_5> Gotcha, I was refactoring a library I am writing and I came across this weird encoding again and I was trying to figure out what it exactly was for documentation purposes
121 2016-06-05T17:26:33 <Chris_Stewart_5> Thanks arubi sipa_
122 2016-06-05T17:26:52 <arubi> oh don't thank me, I'm not even sure I'm right
123 2016-06-05T17:27:25 <Chris_Stewart_5> arubi: You would probably want to use twos complement to remove the weird corner case of -0 since that is kind of ugly
124 2016-06-05T17:27:57 <sipa_> yes, two's complement is most common
125 2016-06-05T17:27:58 <arubi> I'd want to know if I got to 0x80 or 0x00 when I subtracted two numbers if I signed it..
126 2016-06-05T17:28:12 <sipa_> ?
127 2016-06-05T17:28:55 <sipa_> the result of a subtraction will never be 0x80
128 2016-06-05T17:29:13 <sipa_> because it's just a non-canonical encoding of 0
129 2016-06-05T17:30:03 <sipa_> the canonical encoding of 0 is {}
130 2016-06-05T17:30:42 <Chris_Stewart_5> Interesting math perspective from group theory (?) https://math.stackexchange.com/questions/667577/does-negative-zero-exists
131 2016-06-05T17:31:04 <Chris_Stewart_5> getting a little off topic tho
132 2016-06-05T17:31:35 *** AaronvanW has joined #bitcoin-core-dev
133 2016-06-05T17:31:37 <arubi> hm.. I see. thanks sipa_. I was thinking about (0x81 - 0x01), would that be 0x00 then?
134 2016-06-05T17:31:46 <sipa_> no, it would be {}
135 2016-06-05T17:31:52 <arubi> even better. cool
136 2016-06-05T17:33:00 <sipa_> the arithmetic operators always first convert their inputs to integers (the mathematical concept, not their byte representation), then do the relevant operation, and then convert back to the shortest byte encoding for the resulting number
137 2016-06-05T17:33:35 <sipa_> that means that there is no way to even observe the difference between {} {0x80} {0x00} ...
138 2016-06-05T17:33:53 <sipa_> except by comparing them byte-wise to known constants
139 2016-06-05T17:36:23 *** raedah2 is now known as raedah
140 2016-06-05T17:36:55 <arubi> oh I think I see. sipa_ , is that CScriptNum ?
141 2016-06-05T17:37:52 *** Giszmo has joined #bitcoin-core-dev
142 2016-06-05T17:38:31 <arubi> seems like that's the place to look.
143 2016-06-05T17:55:22 *** frankenmint has quit IRC
144 2016-06-05T17:55:22 <sipa_> yes
145 2016-06-05T18:05:47 *** Chris_Stewart_5 has quit IRC
146 2016-06-05T18:07:23 *** murch has quit IRC
147 2016-06-05T18:46:11 *** calibre720 has joined #bitcoin-core-dev
148 2016-06-05T18:49:49 *** gluytium has joined #bitcoin-core-dev
149 2016-06-05T19:03:42 *** gluytium has quit IRC
150 2016-06-05T19:11:23 *** hello_ has joined #bitcoin-core-dev
151 2016-06-05T19:12:30 <hello_> Could someone tell me what 'mempool' is in bitcoin core? I guess it is some ds where the transactions are stored , correct??
152 2016-06-05T19:13:02 *** frankenmint has joined #bitcoin-core-dev
153 2016-06-05T19:16:31 *** frankenmint has quit IRC
154 2016-06-05T19:16:37 <sipa_> hello_: every node in the network maintains a set of unconfirmed transactions
155 2016-06-05T19:16:54 <sipa_> hello_: miners use this to build new blocks
156 2016-06-05T19:26:20 <hello_> sipa_: Hi recently there was some discussion about some remove() cancel() function on the mempool? Could you explain it in a line...
157 2016-06-05T19:28:41 *** dgenr8 has quit IRC
158 2016-06-05T19:29:30 *** dgenr8 has joined #bitcoin-core-dev
159 2016-06-05T19:31:43 *** hello_ has quit IRC
160 2016-06-05T19:42:34 *** Guyver2 has joined #bitcoin-core-dev
161 2016-06-05T19:43:08 *** Sosumi has quit IRC
162 2016-06-05T19:54:21 <GitHub47> [bitcoin] jmcorgan opened pull request #8148: Backport leveldb build integration to 0.12 (0.12...0.12) https://github.com/bitcoin/bitcoin/pull/8148
163 2016-06-05T19:57:15 *** look has joined #bitcoin-core-dev
164 2016-06-05T19:57:54 *** look has quit IRC
165 2016-06-05T20:04:55 *** Chris_Stewart_5 has joined #bitcoin-core-dev
166 2016-06-05T20:11:57 *** AaronvanW has quit IRC
167 2016-06-05T20:28:02 *** ghtdak has quit IRC
168 2016-06-05T20:29:13 *** ghtdak has joined #bitcoin-core-dev
169 2016-06-05T20:34:36 *** challisto has joined #bitcoin-core-dev
170 2016-06-05T20:34:36 *** challisto has joined #bitcoin-core-dev
171 2016-06-05T20:41:32 *** AaronvanW has joined #bitcoin-core-dev
172 2016-06-05T20:43:20 *** supasonic has joined #bitcoin-core-dev
173 2016-06-05T21:02:00 *** AaronvanW has quit IRC
174 2016-06-05T21:19:24 *** laurentmt has joined #bitcoin-core-dev
175 2016-06-05T21:20:12 *** laurentmt has quit IRC
176 2016-06-05T21:30:52 *** bustd_soket has quit IRC
177 2016-06-05T21:31:19 *** PaulCapestany has quit IRC
178 2016-06-05T21:33:03 *** PaulCapestany has joined #bitcoin-core-dev
179 2016-06-05T21:45:01 *** bustd_soket has joined #bitcoin-core-dev
180 2016-06-05T21:47:47 *** AaronvanW has joined #bitcoin-core-dev
181 2016-06-05T21:59:12 *** AaronvanW has quit IRC
182 2016-06-05T22:16:06 *** supasonic has quit IRC
183 2016-06-05T22:30:00 *** Guyver2 has quit IRC
184 2016-06-05T22:46:07 *** MarcoFalke has left #bitcoin-core-dev
185 2016-06-05T23:54:35 *** supasonic has joined #bitcoin-core-dev
186 2016-06-05T23:55:45 *** Chris_Stewart_5 has quit IRC