12016-06-05T00:27:28 *** baldur has quit IRC
22016-06-05T01:35:48 *** Giszmo has joined #bitcoin-core-dev
32016-06-05T01:44:01 *** baldur has joined #bitcoin-core-dev
42016-06-05T02:01:16 *** Ylbam has quit IRC
52016-06-05T02:44:51 *** molly has joined #bitcoin-core-dev
62016-06-05T02:47:45 *** molz has quit IRC
72016-06-05T03:11:02 *** achow101 has quit IRC
82016-06-05T03:14:01 *** Alopex has quit IRC
92016-06-05T03:15:06 *** Alopex has joined #bitcoin-core-dev
102016-06-05T03:27:02 *** Alopex has quit IRC
112016-06-05T03:28:07 *** Alopex has joined #bitcoin-core-dev
122016-06-05T03:30:43 *** raedah has quit IRC
132016-06-05T03:33:13 *** frankenm_ has joined #bitcoin-core-dev
142016-06-05T03:34:04 *** frankenmint has quit IRC
152016-06-05T03:38:34 *** jtimon has quit IRC
162016-06-05T03:40:30 *** TomMc has joined #bitcoin-core-dev
172016-06-05T03:43:07 *** raedah has joined #bitcoin-core-dev
182016-06-05T04:01:25 *** justanotheruser has quit IRC
192016-06-05T04:02:23 *** justanotheruser has joined #bitcoin-core-dev
202016-06-05T04:14:01 *** Alopex has quit IRC
212016-06-05T04:15:06 *** Alopex has joined #bitcoin-core-dev
222016-06-05T04:17:37 *** TomMc has quit IRC
232016-06-05T05:02:01 *** Alopex has quit IRC
242016-06-05T05:03:07 *** Alopex has joined #bitcoin-core-dev
252016-06-05T05:15:28 *** raedah has quit IRC
262016-06-05T05:24:33 *** raedah has joined #bitcoin-core-dev
272016-06-05T05:26:01 *** Alopex has quit IRC
282016-06-05T05:27:06 *** Alopex has joined #bitcoin-core-dev
292016-06-05T05:37:02 *** Alopex has quit IRC
302016-06-05T05:38:07 *** Alopex has joined #bitcoin-core-dev
312016-06-05T05:55:01 *** Alopex has quit IRC
322016-06-05T05:56:06 *** Alopex has joined #bitcoin-core-dev
332016-06-05T06:16:04 *** murch has joined #bitcoin-core-dev
342016-06-05T06:46:01 *** Alopex has quit IRC
352016-06-05T06:47:06 *** Alopex has joined #bitcoin-core-dev
362016-06-05T06:51:25 *** raedah2 has joined #bitcoin-core-dev
372016-06-05T06:54:12 *** raedah has quit IRC
382016-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
392016-06-05T07:23:59 *** Guyver2 has joined #bitcoin-core-dev
402016-06-05T07:33:45 *** Ylbam has joined #bitcoin-core-dev
412016-06-05T07:55:48 *** frankenm_ has quit IRC
422016-06-05T07:57:44 *** frankenmint has joined #bitcoin-core-dev
432016-06-05T08:38:31 *** Giszmo has quit IRC
442016-06-05T08:44:11 *** AaronvanW has joined #bitcoin-core-dev
452016-06-05T08:45:53 *** frankenmint has quit IRC
462016-06-05T08:46:08 *** frankenmint has joined #bitcoin-core-dev
472016-06-05T09:09:55 *** Ginnarr has joined #bitcoin-core-dev
482016-06-05T09:27:41 *** Guyver2 has quit IRC
492016-06-05T10:32:03 *** Ginnarr has quit IRC
502016-06-05T10:40:40 *** G1lius has joined #bitcoin-core-dev
512016-06-05T10:50:35 *** Ylbam_ has joined #bitcoin-core-dev
522016-06-05T10:52:56 *** jouke_ has joined #bitcoin-core-dev
532016-06-05T10:52:59 *** helo_ has joined #bitcoin-core-dev
542016-06-05T10:53:08 *** jron_ has joined #bitcoin-core-dev
552016-06-05T10:53:21 *** sipa_ has joined #bitcoin-core-dev
562016-06-05T10:53:29 *** kinlo_ has joined #bitcoin-core-dev
572016-06-05T10:53:32 *** ybit_ has joined #bitcoin-core-dev
582016-06-05T10:53:34 *** jyap has quit IRC
592016-06-05T10:53:34 *** blkdb has quit IRC
602016-06-05T10:53:34 *** Ylbam has quit IRC
612016-06-05T10:53:36 *** wumpus has quit IRC
622016-06-05T10:53:37 *** ybit has quit IRC
632016-06-05T10:53:37 *** Madars has quit IRC
642016-06-05T10:53:37 *** sipa has quit IRC
652016-06-05T10:53:38 *** jron has quit IRC
662016-06-05T10:53:38 *** jouke has quit IRC
672016-06-05T10:53:38 *** kinlo has quit IRC
682016-06-05T10:53:39 *** Ylbam_ is now known as Ylbam
692016-06-05T10:53:59 *** Madars has joined #bitcoin-core-dev
702016-06-05T10:54:06 *** kinlo_ is now known as kinlo
712016-06-05T10:54:33 *** Madars is now known as Guest31006
722016-06-05T10:55:08 *** jyap has joined #bitcoin-core-dev
732016-06-05T10:55:08 *** jyap has joined #bitcoin-core-dev
742016-06-05T10:55:23 *** wumpus has joined #bitcoin-core-dev
752016-06-05T10:55:32 *** Ginnarr has joined #bitcoin-core-dev
762016-06-05T10:57:37 *** spudowiar has quit IRC
772016-06-05T11:00:01 *** helo has quit IRC
782016-06-05T11:09:03 *** spudowiar has joined #bitcoin-core-dev
792016-06-05T11:13:45 *** AaronvanW has quit IRC
802016-06-05T11:17:12 *** Ginnarr has quit IRC
812016-06-05T11:25:24 *** AaronvanW has joined #bitcoin-core-dev
822016-06-05T11:44:15 *** blkdb has joined #bitcoin-core-dev
832016-06-05T12:34:03 *** AaronvanW has quit IRC
842016-06-05T13:10:46 *** jtimon has joined #bitcoin-core-dev
852016-06-05T13:25:53 *** spudowiar1 has joined #bitcoin-core-dev
862016-06-05T13:30:13 *** Chris_Stewart_5 has joined #bitcoin-core-dev
872016-06-05T13:38:03 *** Chris_Stewart_5 has quit IRC
882016-06-05T13:44:12 *** BashCo_ has joined #bitcoin-core-dev
892016-06-05T13:47:09 *** BashCo has quit IRC
902016-06-05T14:05:01 *** paveljanik has quit IRC
912016-06-05T14:19:51 *** Chris_Stewart_5 has joined #bitcoin-core-dev
922016-06-05T14:49:23 *** achow101 has joined #bitcoin-core-dev
932016-06-05T15:05:28 *** G1lius has quit IRC
942016-06-05T15:07:48 *** paveljanik has joined #bitcoin-core-dev
952016-06-05T15:08:00 *** Chris_Stewart_5 has quit IRC
962016-06-05T15:24:50 *** Chris_Stewart_5 has joined #bitcoin-core-dev
972016-06-05T15:25:21 *** spudowiar1 has quit IRC
982016-06-05T15:34:53 *** TomMc has joined #bitcoin-core-dev
992016-06-05T16:03:42 *** Sosumi has joined #bitcoin-core-dev
1002016-06-05T16:28:46 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1012016-06-05T16:44:15 *** MarcoFalke_ has joined #bitcoin-core-dev
1022016-06-05T16:44:54 *** MarcoFalke_ has quit IRC
1032016-06-05T16:57:23 *** face has joined #bitcoin-core-dev
1042016-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..
1052016-06-05T17:17:06 <arubi> Chris_Stewart_5, are you looking at compact size..?
1062016-06-05T17:17:59 <Chris_Stewart_5> arubi: I'm just talking about numbering in genral, for instance "81" is -1
1072016-06-05T17:18:46 <Chris_Stewart_5> 0x81*
1082016-06-05T17:19:13 <arubi> ah, that's different. it's just signed int really.. that's the way I see it anyway
1092016-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
1102016-06-05T17:20:02 <Chris_Stewart_5> https://en.wikipedia.org/wiki/Signed_number_representations
1112016-06-05T17:20:42 <arubi> I think it means.. [0x00,0x7f] is positive, [0x80,0xff] is negative
1122016-06-05T17:20:57 <arubi> with 0x80 being "negative zero"
1132016-06-05T17:21:48 <Chris_Stewart_5> ... or I am missing something obvious
1142016-06-05T17:23:18 <sipa_> Chris_Stewart_5: you're talking about how integers are encoded inside script
1152016-06-05T17:23:29 <sipa_> not "how bitcoin uses numbering system"
1162016-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?
1172016-06-05T17:25:12 <sipa_> no, satoshi did it that way, and it does not matter
1182016-06-05T17:25:28 <arubi> I really can't think of a different way to represent a negative range of numbers..
1192016-06-05T17:25:32 <sipa_> i'd have done it differently, but it hardly matters :)
1202016-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
1212016-06-05T17:26:33 <Chris_Stewart_5> Thanks arubi sipa_
1222016-06-05T17:26:52 <arubi> oh don't thank me, I'm not even sure I'm right
1232016-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
1242016-06-05T17:27:57 <sipa_> yes, two's complement is most common
1252016-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..
1262016-06-05T17:28:12 <sipa_> ?
1272016-06-05T17:28:55 <sipa_> the result of a subtraction will never be 0x80
1282016-06-05T17:29:13 <sipa_> because it's just a non-canonical encoding of 0
1292016-06-05T17:30:03 <sipa_> the canonical encoding of 0 is {}
1302016-06-05T17:30:42 <Chris_Stewart_5> Interesting math perspective from group theory (?) https://math.stackexchange.com/questions/667577/does-negative-zero-exists
1312016-06-05T17:31:04 <Chris_Stewart_5> getting a little off topic tho
1322016-06-05T17:31:35 *** AaronvanW has joined #bitcoin-core-dev
1332016-06-05T17:31:37 <arubi> hm.. I see. thanks sipa_. I was thinking about (0x81 - 0x01), would that be 0x00 then?
1342016-06-05T17:31:46 <sipa_> no, it would be {}
1352016-06-05T17:31:52 <arubi> even better. cool
1362016-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
1372016-06-05T17:33:35 <sipa_> that means that there is no way to even observe the difference between {} {0x80} {0x00} ...
1382016-06-05T17:33:53 <sipa_> except by comparing them byte-wise to known constants
1392016-06-05T17:36:23 *** raedah2 is now known as raedah
1402016-06-05T17:36:55 <arubi> oh I think I see. sipa_ , is that CScriptNum ?
1412016-06-05T17:37:52 *** Giszmo has joined #bitcoin-core-dev
1422016-06-05T17:38:31 <arubi> seems like that's the place to look.
1432016-06-05T17:55:22 *** frankenmint has quit IRC
1442016-06-05T17:55:22 <sipa_> yes
1452016-06-05T18:05:47 *** Chris_Stewart_5 has quit IRC
1462016-06-05T18:07:23 *** murch has quit IRC
1472016-06-05T18:46:11 *** calibre720 has joined #bitcoin-core-dev
1482016-06-05T18:49:49 *** gluytium has joined #bitcoin-core-dev
1492016-06-05T19:03:42 *** gluytium has quit IRC
1502016-06-05T19:11:23 *** hello_ has joined #bitcoin-core-dev
1512016-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??
1522016-06-05T19:13:02 *** frankenmint has joined #bitcoin-core-dev
1532016-06-05T19:16:31 *** frankenmint has quit IRC
1542016-06-05T19:16:37 <sipa_> hello_: every node in the network maintains a set of unconfirmed transactions
1552016-06-05T19:16:54 <sipa_> hello_: miners use this to build new blocks
1562016-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...
1572016-06-05T19:28:41 *** dgenr8 has quit IRC
1582016-06-05T19:29:30 *** dgenr8 has joined #bitcoin-core-dev
1592016-06-05T19:31:43 *** hello_ has quit IRC
1602016-06-05T19:42:34 *** Guyver2 has joined #bitcoin-core-dev
1612016-06-05T19:43:08 *** Sosumi has quit IRC
1622016-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
1632016-06-05T19:57:15 *** look has joined #bitcoin-core-dev
1642016-06-05T19:57:54 *** look has quit IRC
1652016-06-05T20:04:55 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1662016-06-05T20:11:57 *** AaronvanW has quit IRC
1672016-06-05T20:28:02 *** ghtdak has quit IRC
1682016-06-05T20:29:13 *** ghtdak has joined #bitcoin-core-dev
1692016-06-05T20:34:36 *** challisto has joined #bitcoin-core-dev
1702016-06-05T20:34:36 *** challisto has joined #bitcoin-core-dev
1712016-06-05T20:41:32 *** AaronvanW has joined #bitcoin-core-dev
1722016-06-05T20:43:20 *** supasonic has joined #bitcoin-core-dev
1732016-06-05T21:02:00 *** AaronvanW has quit IRC
1742016-06-05T21:19:24 *** laurentmt has joined #bitcoin-core-dev
1752016-06-05T21:20:12 *** laurentmt has quit IRC
1762016-06-05T21:30:52 *** bustd_soket has quit IRC
1772016-06-05T21:31:19 *** PaulCapestany has quit IRC
1782016-06-05T21:33:03 *** PaulCapestany has joined #bitcoin-core-dev
1792016-06-05T21:45:01 *** bustd_soket has joined #bitcoin-core-dev
1802016-06-05T21:47:47 *** AaronvanW has joined #bitcoin-core-dev
1812016-06-05T21:59:12 *** AaronvanW has quit IRC
1822016-06-05T22:16:06 *** supasonic has quit IRC
1832016-06-05T22:30:00 *** Guyver2 has quit IRC
1842016-06-05T22:46:07 *** MarcoFalke has left #bitcoin-core-dev
1852016-06-05T23:54:35 *** supasonic has joined #bitcoin-core-dev
1862016-06-05T23:55:45 *** Chris_Stewart_5 has quit IRC