12016-12-11T00:11:13 *** adiabat has joined #bitcoin-core-dev
22016-12-11T00:30:39 *** dgenr8 has quit IRC
32016-12-11T00:35:16 *** JackH has quit IRC
42016-12-11T00:40:28 *** brg444 has quit IRC
52016-12-11T00:49:25 *** alpalp has joined #bitcoin-core-dev
62016-12-11T00:49:26 *** alpalp has joined #bitcoin-core-dev
72016-12-11T01:07:16 *** blockchainetc has quit IRC
82016-12-11T01:07:21 *** Ylbam has quit IRC
92016-12-11T01:28:01 *** dcousens has joined #bitcoin-core-dev
102016-12-11T01:37:47 *** CubicEarth has quit IRC
112016-12-11T01:38:20 *** CubicEarth has joined #bitcoin-core-dev
122016-12-11T01:47:05 *** meow has joined #bitcoin-core-dev
132016-12-11T01:47:08 <meow> hi all
142016-12-11T01:48:18 <meow> i was wondering if i wanted to test myself and make a simple bitcoin app that is a website which allows you to enter an address and then list all the addresses that have sent the given address bitcoin, how would i go about doing this at a high level?
152016-12-11T01:49:06 <sipa_> try #bitcoin or #bitcoin-dev... bitcoin core can't do this
162016-12-11T01:50:32 *** CubicEarth has quit IRC
172016-12-11T01:50:39 <meow> ok ty
182016-12-11T01:50:42 <sipa_> (it doesn't have a model of 'addresses that send', only wallets)
192016-12-11T01:51:00 *** CubicEarth has joined #bitcoin-core-dev
202016-12-11T01:51:02 *** dcousens has left #bitcoin-core-dev
212016-12-11T01:53:14 *** Madars has quit IRC
222016-12-11T01:53:41 *** meow has left #bitcoin-core-dev
232016-12-11T02:16:12 *** [Author] has joined #bitcoin-core-dev
242016-12-11T02:43:41 *** CubicEarth has quit IRC
252016-12-11T02:44:15 *** CubicEarth has joined #bitcoin-core-dev
262016-12-11T02:48:31 *** CubicEarth has quit IRC
272016-12-11T02:54:02 *** justan0theruser has quit IRC
282016-12-11T03:11:02 *** Alopex has quit IRC
292016-12-11T03:12:07 *** Alopex has joined #bitcoin-core-dev
302016-12-11T03:55:33 *** alpalp has quit IRC
312016-12-11T03:58:12 *** Alopex has quit IRC
322016-12-11T03:59:17 *** Alopex has joined #bitcoin-core-dev
332016-12-11T04:17:27 *** CubicEarth has joined #bitcoin-core-dev
342016-12-11T04:27:02 *** CubicEarth has quit IRC
352016-12-11T04:27:39 *** CubicEarth has joined #bitcoin-core-dev
362016-12-11T04:29:49 *** CubicEar_ has joined #bitcoin-core-dev
372016-12-11T04:31:37 *** CubicEarth has quit IRC
382016-12-11T04:36:12 *** Alopex has quit IRC
392016-12-11T04:37:17 *** Alopex has joined #bitcoin-core-dev
402016-12-11T04:50:03 *** Atomicat has quit IRC
412016-12-11T04:50:33 *** Atomicat has joined #bitcoin-core-dev
422016-12-11T04:50:43 *** windsok has quit IRC
432016-12-11T04:56:50 *** windsok has joined #bitcoin-core-dev
442016-12-11T05:02:13 <bitcoin-git> [bitcoin] gmaxwell opened pull request #9319: Break addnode out from the outbound connection limits. (master...addnode_own_count) https://github.com/bitcoin/bitcoin/pull/9319
452016-12-11T05:04:30 *** justanotheruser has joined #bitcoin-core-dev
462016-12-11T05:34:41 *** CubicEar_ has quit IRC
472016-12-11T05:35:14 *** CubicEarth has joined #bitcoin-core-dev
482016-12-11T05:39:29 *** CubicEarth has quit IRC
492016-12-11T05:39:37 *** CubicEarth has joined #bitcoin-core-dev
502016-12-11T05:58:54 *** Chris_Stewart_5 has quit IRC
512016-12-11T06:14:48 *** Chris_Stewart_5 has joined #bitcoin-core-dev
522016-12-11T06:31:15 *** Chris_Stewart_5 has quit IRC
532016-12-11T06:49:12 *** Alopex has quit IRC
542016-12-11T06:50:17 *** Alopex has joined #bitcoin-core-dev
552016-12-11T07:01:38 *** jcorgan has quit IRC
562016-12-11T07:17:07 *** Alopex has quit IRC
572016-12-11T07:18:12 *** Alopex has joined #bitcoin-core-dev
582016-12-11T07:27:27 *** Sosumi has quit IRC
592016-12-11T07:37:01 *** Alopex has quit IRC
602016-12-11T07:38:06 *** Alopex has joined #bitcoin-core-dev
612016-12-11T07:38:31 *** jcorgan has joined #bitcoin-core-dev
622016-12-11T08:11:22 *** Alopex has quit IRC
632016-12-11T08:12:27 *** Alopex has joined #bitcoin-core-dev
642016-12-11T08:25:07 *** Alopex has quit IRC
652016-12-11T08:26:12 *** Alopex has joined #bitcoin-core-dev
662016-12-11T08:33:11 *** Ylbam has joined #bitcoin-core-dev
672016-12-11T09:19:37 *** MarcoFalke has joined #bitcoin-core-dev
682016-12-11T09:46:01 *** Alopex has quit IRC
692016-12-11T09:47:06 *** Alopex has joined #bitcoin-core-dev
702016-12-11T11:00:13 *** gluytium_ has joined #bitcoin-core-dev
712016-12-11T11:03:46 *** gluytium has quit IRC
722016-12-11T11:54:48 *** CubicEarth has quit IRC
732016-12-11T11:56:08 *** CubicEarth has joined #bitcoin-core-dev
742016-12-11T12:49:38 *** nickler has quit IRC
752016-12-11T12:54:04 *** CubicEarth has quit IRC
762016-12-11T13:00:14 *** CubicEarth has joined #bitcoin-core-dev
772016-12-11T13:14:39 *** CubicEarth has quit IRC
782016-12-11T13:15:38 *** CubicEarth has joined #bitcoin-core-dev
792016-12-11T13:18:09 *** LeMiner has quit IRC
802016-12-11T13:19:09 <bitcoin-git> [bitcoin] MarcoFalke opened pull request #9322: [qa] Don't set unknown rpcserialversion (master...Mf1612-qaSerial) https://github.com/bitcoin/bitcoin/pull/9322
812016-12-11T13:20:05 *** CubicEarth has quit IRC
822016-12-11T13:23:29 *** alpalp has joined #bitcoin-core-dev
832016-12-11T13:23:29 *** alpalp has joined #bitcoin-core-dev
842016-12-11T14:27:22 *** Ylbam has quit IRC
852016-12-11T14:30:00 *** BashCo has quit IRC
862016-12-11T14:33:36 *** arubi has quit IRC
872016-12-11T14:33:58 *** arubi has joined #bitcoin-core-dev
882016-12-11T14:43:02 *** BashCo has joined #bitcoin-core-dev
892016-12-11T14:58:05 *** MarcoFalke has left #bitcoin-core-dev
902016-12-11T15:00:01 *** d9b4bef9 has quit IRC
912016-12-11T15:00:22 *** Guyver2 has joined #bitcoin-core-dev
922016-12-11T15:01:07 *** d9b4bef9 has joined #bitcoin-core-dev
932016-12-11T15:09:33 *** AaronvanW has joined #bitcoin-core-dev
942016-12-11T15:09:33 *** AaronvanW has quit IRC
952016-12-11T15:09:33 *** AaronvanW has joined #bitcoin-core-dev
962016-12-11T15:27:31 *** Chris_Stewart_5 has joined #bitcoin-core-dev
972016-12-11T15:29:36 *** shesek has quit IRC
982016-12-11T15:36:52 *** Giszmo has joined #bitcoin-core-dev
992016-12-11T15:40:47 *** Sosumi has joined #bitcoin-core-dev
1002016-12-11T15:43:20 <paveljanik> sipa_, restarting bitcoind, it was started at 13:17:26 and Import mempool run at 13:18:40, ie. more than one minute after the new start. Is this as designed? I was even able to getmempoolinfo in between...
1012016-12-11T15:47:05 *** shesek has joined #bitcoin-core-dev
1022016-12-11T15:58:31 *** nickler has joined #bitcoin-core-dev
1032016-12-11T16:10:15 <sipa_> paveljanik: it runs after connecting blocks on disk
1042016-12-11T16:10:59 <paveljanik> sipa_, yes.
1052016-12-11T16:11:03 <paveljanik> I have added some debugging
1062016-12-11T16:11:12 <paveljanik> load speed here is 1000 tx per 10seconds...
1072016-12-11T16:11:35 <paveljanik> or even more:
1082016-12-11T16:11:35 <paveljanik> 2016-12-11 16:10:49 Loadmempool tx 3000
1092016-12-11T16:11:35 <paveljanik> 2016-12-11 16:11:09 Loadmempool tx 4000
1102016-12-11T16:13:21 <paveljanik> 2016-12-11 16:11:27 Loadmempool tx 5000
1112016-12-11T16:13:21 <paveljanik> 2016-12-11 16:11:51 Loadmempool tx 6000
1122016-12-11T16:13:21 <paveljanik> 2016-12-11 16:11:59 Loadmempool tx 7000
1132016-12-11T16:13:37 <sipa_> transaction validation is not that fast
1142016-12-11T16:16:45 <paveljanik> I was a bit surprised that it took more than minute (67MB mempool.dat)
1152016-12-11T16:31:52 *** laurentmt has joined #bitcoin-core-dev
1162016-12-11T16:40:25 *** laurentmt has quit IRC
1172016-12-11T17:04:46 <bitcoin-git> [bitcoin] rebroad closed pull request #9055: Skip processing of cmpctblocks we have previously downloaded. (master...SkipCmpctblocksPreviouslyDownloaded) https://github.com/bitcoin/bitcoin/pull/9055
1182016-12-11T17:11:45 <bitcoin-git> [bitcoin] rebroad closed pull request #9300: Check for oversized getblocktxn message. (master...CheckOversizedGetblocktxns) https://github.com/bitcoin/bitcoin/pull/9300
1192016-12-11T17:12:40 *** Ylbam has joined #bitcoin-core-dev
1202016-12-11T17:59:14 *** nickler has quit IRC
1212016-12-11T17:59:23 *** nickler has joined #bitcoin-core-dev
1222016-12-11T18:13:40 *** protomar has joined #bitcoin-core-dev
1232016-12-11T18:18:17 *** wkohlenberg has joined #bitcoin-core-dev
1242016-12-11T18:40:58 *** CubicEarth has joined #bitcoin-core-dev
1252016-12-11T18:43:57 *** CubicEarth has quit IRC
1262016-12-11T18:44:09 *** CubicEarth has joined #bitcoin-core-dev
1272016-12-11T18:50:25 *** wkohlenberg has quit IRC
1282016-12-11T18:57:41 *** vorksholk has quit IRC
1292016-12-11T18:59:05 *** laurentmt has joined #bitcoin-core-dev
1302016-12-11T18:59:29 *** laurentmt has quit IRC
1312016-12-11T19:19:47 *** JackH has joined #bitcoin-core-dev
1322016-12-11T19:43:11 <Chris_Stewart_5> How is OP_0 handled inside of a witness, because it is an empty byte vector when actually placed onto the stack? Is it replaced some where in the serialization code from 0x00 -> []?
1332016-12-11T19:48:29 *** JackH has quit IRC
1342016-12-11T19:51:46 *** CubicEarth has quit IRC
1352016-12-11T19:52:19 *** CubicEarth has joined #bitcoin-core-dev
1362016-12-11T19:57:14 <luke-jr> 0x00 has always been []
1372016-12-11T19:59:02 <sipa_> OP_0 produces [] on the stack
1382016-12-11T19:59:06 *** sipa_ is now known as sipa
1392016-12-11T19:59:27 <sipa> in the witness stack, we just bypass the opcode, and use [] directly
1402016-12-11T20:02:21 <Chris_Stewart_5> So that is done the witness serialization code? the 'bypass the opcode'?
1412016-12-11T20:02:33 <luke-jr> oh, hm. I guess small numbers take 2x the bytes in segwit then
1422016-12-11T20:02:54 <luke-jr> Chris_Stewart_5: segwit witnesses aren't scripts, so it's just automatic
1432016-12-11T20:03:59 <luke-jr> although AFAIK OP_0 is just serialized as 0 which is also the length of [] so I'm not sure why that specific case would appear any different?
1442016-12-11T20:05:28 <sipa> Chris_Stewart_5: scriptSigs being a script is just a legacy, probably intended to support delegation
1452016-12-11T20:05:50 <sipa> the script witness stack is just encoded as a vector of vectors of bytes
1462016-12-11T20:06:29 <Chris_Stewart_5> Maybe this is what I'm getting confused about, when a vector is '00' it is indicating that the length of the vector is zero in the witness, correct?
1472016-12-11T20:06:43 <sipa> yes
1482016-12-11T20:06:51 <Chris_Stewart_5> yeah, doh! Thanks guys.
1492016-12-11T20:07:00 <luke-jr> âº
1502016-12-11T20:07:09 <Chris_Stewart_5> luke-jr: What did you mean by 2x the bytes in segwit?
1512016-12-11T20:07:49 <Chris_Stewart_5> because they require a pushop to be encoded before the actual number if it is only a number in a byte vector?
1522016-12-11T20:07:58 <luke-jr> Chris_Stewart_5: OP_1 would be a single byte (0x81) in Script, but in segwit it is 0x01 (length) 0x01 (data)
1532016-12-11T20:08:40 *** justanotheruser has quit IRC
1542016-12-11T20:08:45 <Chris_Stewart_5> Yeah, I think that is what was confusing me. A small but important difference
1552016-12-11T20:09:37 *** justanotheruser has joined #bitcoin-core-dev
1562016-12-11T20:10:09 <luke-jr> of course, it rarely makes sense to have a small integer in a witness by itself I think
1572016-12-11T20:10:16 <luke-jr> usually it'd be part of the program
1582016-12-11T20:10:31 <Chris_Stewart_5> Yeah I agree, I can't think of anything off of the top of my head
1592016-12-11T20:11:03 <sipa> luke-jr: i recently generated a histogram of the sizes of pushes in scriptSigs
1602016-12-11T20:11:27 <sipa> there are 48M 1-byte pushes
1612016-12-11T20:11:48 <sipa> sorry, 23.5M 1-byte pushes
1622016-12-11T20:12:04 <luke-jr> sipa: exclude OP_1 and scriptSigs which are only OP_TRUE?
1632016-12-11T20:12:07 *** MarcoFalke has joined #bitcoin-core-dev
1642016-12-11T20:12:08 <luke-jr> OP_0*
1652016-12-11T20:12:31 <sipa> 408M signatures
1662016-12-11T20:12:41 <sipa> 359M pubkeys
1672016-12-11T20:12:55 <sipa> 15.3M 107-byte pushes
1682016-12-11T20:13:30 <sipa> 7.7M 72-byte pushes (= mostly non-DER signatures, as those aren't counted under the signatures field)
1692016-12-11T20:15:33 <sipa> 0.5M 138-byte pushes
1702016-12-11T20:15:41 <sipa> all the rest is less than 0.2M
1712016-12-11T20:17:12 <luke-jr> 1-byte pushes besides OP_0 and entire-scriptSig-is-OP_TRUE seem like they wouldn't be used much, but I have no real data measuring it
1722016-12-11T20:25:41 <sipa> i agree, i don't know what they're for
1732016-12-11T20:27:41 <gmaxwell> hm? checkmultisig paramters
1742016-12-11T20:27:56 <gmaxwell> oh in signatures. hm
1752016-12-11T20:28:07 <gmaxwell> well used to activate if branches.
1762016-12-11T20:32:29 <sipa> i would be surprised if there are 23M spends of outputs with branches in the chain
1772016-12-11T20:33:54 <sipa> (but i don't know)
1782016-12-11T20:35:24 <gmaxwell> Oh I missed the number, that is a lot
1792016-12-11T20:37:00 <gmaxwell> sipa: would you like me to give a crack at writing a release note for 9302?
1802016-12-11T20:37:41 <sipa> gmaxwell: sure
1812016-12-11T20:49:09 <gmaxwell> sipa: https://0bin.net/paste/49XqHf2k61I38lxn#pMcwMTsRWlKraOsU+dk93V-rv/if0qV+IRlrwTwil3f
1822016-12-11T21:03:28 *** Sosumi has quit IRC
1832016-12-11T21:03:56 <MarcoFalke> gmaxwell: ACK
1842016-12-11T21:06:55 <gmaxwell> How do we deal with release notes for backports for features that are initially going into master?
1852016-12-11T21:08:17 *** alpalp has quit IRC
1862016-12-11T21:08:19 <sipa> backport the release notes as well?
1872016-12-11T21:09:44 <MarcoFalke> Only create a pull against 0.13
1882016-12-11T21:10:13 <MarcoFalke> We don't need the release notes in 0.14, as the feature was already released
1892016-12-11T21:21:08 <bitcoin-git> [bitcoin] gmaxwell opened pull request #9323: [0.13] Add release notes for wallet/mempool rejections. (PR #9302 and #9290) (0.13...mempool_relnote) https://github.com/bitcoin/bitcoin/pull/9323
1902016-12-11T21:37:17 *** CubicEarth has quit IRC
1912016-12-11T21:45:30 *** CubicEarth has joined #bitcoin-core-dev
1922016-12-11T21:54:03 *** CubicEarth has quit IRC
1932016-12-11T21:54:36 *** CubicEarth has joined #bitcoin-core-dev
1942016-12-11T21:56:08 *** CubicEar_ has joined #bitcoin-core-dev
1952016-12-11T21:58:54 *** CubicEarth has quit IRC
1962016-12-11T22:10:08 *** CubicEarth has joined #bitcoin-core-dev
1972016-12-11T22:10:26 *** CubicEarth has joined #bitcoin-core-dev
1982016-12-11T22:13:00 *** Guyver2 has quit IRC
1992016-12-11T22:19:37 *** belcher has quit IRC
2002016-12-11T22:22:22 *** MarcoFalke has left #bitcoin-core-dev
2012016-12-11T22:23:37 *** CubicEarth has quit IRC
2022016-12-11T22:40:02 *** d9b4bef9 has quit IRC
2032016-12-11T22:40:11 *** belcher has joined #bitcoin-core-dev
2042016-12-11T22:41:07 *** d9b4bef9 has joined #bitcoin-core-dev
2052016-12-11T22:41:12 *** CubicEarth has joined #bitcoin-core-dev
2062016-12-11T22:51:40 *** AaronvanW has quit IRC
2072016-12-11T22:54:16 *** CubicEarth has quit IRC
2082016-12-11T22:59:06 *** alpalp has joined #bitcoin-core-dev
2092016-12-11T22:59:39 *** CubicEarth has joined #bitcoin-core-dev
2102016-12-11T23:15:35 *** owowo has quit IRC
2112016-12-11T23:18:54 *** protomar has quit IRC
2122016-12-11T23:52:27 *** owowo has joined #bitcoin-core-dev
2132016-12-11T23:52:27 *** owowo has joined #bitcoin-core-dev