12016-05-08T00:04:49 *** alpalp has joined #bitcoin-core-dev
22016-05-08T00:04:49 *** alpalp has joined #bitcoin-core-dev
32016-05-08T00:07:07 *** GAit has joined #bitcoin-core-dev
42016-05-08T00:07:49 *** dermoth__ has quit IRC
52016-05-08T00:52:47 *** arowser has quit IRC
62016-05-08T00:53:17 *** arowser has joined #bitcoin-core-dev
72016-05-08T00:55:28 *** guest3423423 has joined #bitcoin-core-dev
82016-05-08T00:55:46 <guest3423423> why do we need undo information again?
92016-05-08T00:55:56 <belcher> for reorgs
102016-05-08T00:56:02 <belcher> i believe
112016-05-08T00:56:06 <sipa> correct
122016-05-08T00:56:08 <guest3423423> but there's already raw block data
132016-05-08T00:56:25 <sipa> raw block data does not tell you which outputs were spent by the block
142016-05-08T00:56:31 <sipa> only which ones were added
152016-05-08T00:56:43 <sipa> a block is a 'forward patch' to the UTXO set
162016-05-08T00:56:48 <sipa> the undo data is a reverse patch
172016-05-08T00:57:57 *** arowser_ has joined #bitcoin-core-dev
182016-05-08T00:58:28 <guest3423423> but block's transations tell you that, no?
192016-05-08T00:58:35 <sipa> no
202016-05-08T00:58:51 <guest3423423> prevout?
212016-05-08T00:58:51 <sipa> you have a transaction A which creates a output A1
222016-05-08T00:59:01 <sipa> that tells you the hash and index which is being spent
232016-05-08T00:59:04 *** go1111111 has quit IRC
242016-05-08T00:59:06 <sipa> not the contents of the UTXO
252016-05-08T00:59:13 <sipa> (the scriptPubKey and amount)
262016-05-08T00:59:30 <sipa> you need to be able to restore the scriptPubKey and amount to the UTXO database
272016-05-08T00:59:31 <guest3423423> of, so to avaoid indexing all the txs, we keep undo data only?
282016-05-08T00:59:47 <sipa> we don't index any txn at all
292016-05-08T00:59:58 <sipa> there is just a separate database with only the unspent transaction outputs
302016-05-08T01:00:07 <sipa> not full transactions, not an index
312016-05-08T01:00:11 <guest3423423> txindex flag, could tell you where to look it up and figure out the amounts etc
322016-05-08T01:00:11 <sipa> just copies of the outputs
332016-05-08T01:00:25 <sipa> that was used until bitcoin 0.7, and it became horrendously slow
342016-05-08T01:00:35 <guest3423423> so it is an optimization after all?
352016-05-08T01:00:37 <sipa> as you'd need to go seek all over you disk to gather all the inputs
362016-05-08T01:00:41 <guest3423423> yes
372016-05-08T01:00:51 <sipa> yes
382016-05-08T01:01:00 <sipa> it's how the database layout is designed
392016-05-08T01:01:01 <guest3423423> great. makes sense. i thought i was going crazy over this
402016-05-08T01:01:07 <sipa> alternatives are certainly possible
412016-05-08T01:01:20 <sipa> but they're very different
422016-05-08T01:01:40 <guest3423423> that answers my question. stackoverflow could use a patch :-)
432016-05-08T01:01:42 *** arowser has quit IRC
442016-05-08T01:01:45 <guest3423423> to make this clearer
452016-05-08T01:01:50 <sipa> link?
462016-05-08T01:02:45 <guest3423423> one moment
472016-05-08T01:05:07 <guest3423423> http://bitcoin.stackexchange.com/questions/32716/what-exactly-are-the-rev00000-dat-files
482016-05-08T01:12:01 <guest3423423> by the way folks, when should slack be used vs freenode?
492016-05-08T01:12:13 <sipa> slack is for development
502016-05-08T01:12:18 <sipa> eh, freenode is
512016-05-08T01:12:23 <sipa> slack is for the rest
522016-05-08T01:12:47 <guest3423423> the rest?
532016-05-08T01:14:26 <moli> slack is for drama
542016-05-08T01:14:40 <guest3423423> that explains it :-)
552016-05-08T01:15:37 <guest3423423> sipa: who do I send my job application to?
562016-05-08T01:19:40 *** blur3d has joined #bitcoin-core-dev
572016-05-08T01:30:04 *** guest3423423 has quit IRC
582016-05-08T01:43:53 *** limpkin has quit IRC
592016-05-08T01:46:00 *** limpkin has joined #bitcoin-core-dev
602016-05-08T01:50:49 *** shesek has quit IRC
612016-05-08T02:03:58 *** shesek has joined #bitcoin-core-dev
622016-05-08T02:05:01 *** Alopex has quit IRC
632016-05-08T02:06:06 *** Alopex has joined #bitcoin-core-dev
642016-05-08T02:16:34 *** alpalp has quit IRC
652016-05-08T02:21:11 *** Ylbam has quit IRC
662016-05-08T03:28:48 *** belcher has quit IRC
672016-05-08T03:30:57 *** GAit has quit IRC
682016-05-08T03:45:06 *** justanotheruser has quit IRC
692016-05-08T03:47:59 *** justanotheruser has joined #bitcoin-core-dev
702016-05-08T03:52:01 *** Alopex has quit IRC
712016-05-08T03:53:06 *** Alopex has joined #bitcoin-core-dev
722016-05-08T03:55:02 *** Chris_Stewart_5 has quit IRC
732016-05-08T04:16:01 *** randy-waterhouse has joined #bitcoin-core-dev
742016-05-08T04:25:01 *** Alopex has quit IRC
752016-05-08T04:26:06 *** Alopex has joined #bitcoin-core-dev
762016-05-08T04:36:32 *** PRab has quit IRC
772016-05-08T04:37:28 *** PRab has joined #bitcoin-core-dev
782016-05-08T05:21:57 *** randy-waterhouse has quit IRC
792016-05-08T05:36:34 *** randy-waterhouse has joined #bitcoin-core-dev
802016-05-08T05:36:53 *** randy-waterhouse has quit IRC
812016-05-08T05:49:02 *** Alopex has quit IRC
822016-05-08T05:50:07 *** Alopex has joined #bitcoin-core-dev
832016-05-08T06:08:19 *** ebfull has quit IRC
842016-05-08T06:31:05 *** go1111111 has joined #bitcoin-core-dev
852016-05-08T07:01:56 *** randy-waterhouse has joined #bitcoin-core-dev
862016-05-08T07:05:49 *** imacomput has joined #bitcoin-core-dev
872016-05-08T07:31:46 *** Ylbam has joined #bitcoin-core-dev
882016-05-08T07:37:01 *** Alopex has quit IRC
892016-05-08T07:38:06 *** Alopex has joined #bitcoin-core-dev
902016-05-08T07:39:58 *** Guyver2 has joined #bitcoin-core-dev
912016-05-08T07:59:59 *** GAit has joined #bitcoin-core-dev
922016-05-08T08:37:01 *** Alopex has quit IRC
932016-05-08T08:38:06 *** Alopex has joined #bitcoin-core-dev
942016-05-08T08:41:30 *** imacomput has quit IRC
952016-05-08T08:44:04 *** Guyver2 has quit IRC
962016-05-08T08:48:56 *** GAit has quit IRC
972016-05-08T08:49:45 *** GAit has joined #bitcoin-core-dev
982016-05-08T09:00:20 <GitHub47> [bitcoin] theuni opened pull request #8023: RFC: Interruptible threads (master...interruptible-thread) https://github.com/bitcoin/bitcoin/pull/8023
992016-05-08T09:26:46 *** AaronvanW has joined #bitcoin-core-dev
1002016-05-08T09:50:57 *** GAit has quit IRC
1012016-05-08T09:54:23 *** GAit has joined #bitcoin-core-dev
1022016-05-08T09:55:01 *** Alopex has quit IRC
1032016-05-08T09:56:06 *** Alopex has joined #bitcoin-core-dev
1042016-05-08T10:18:33 *** wangchun has quit IRC
1052016-05-08T10:19:35 *** wangchun has joined #bitcoin-core-dev
1062016-05-08T10:41:10 *** Ylbam has quit IRC
1072016-05-08T10:45:35 *** laurentmt has joined #bitcoin-core-dev
1082016-05-08T10:46:01 *** laurentmt has quit IRC
1092016-05-08T10:52:53 *** Ylbam has joined #bitcoin-core-dev
1102016-05-08T11:03:49 *** BashCo has joined #bitcoin-core-dev
1112016-05-08T11:05:46 *** BashCo_ has quit IRC
1122016-05-08T11:09:38 *** randy-waterhouse has quit IRC
1132016-05-08T11:23:52 *** berndj has quit IRC
1142016-05-08T11:24:28 *** berndj has joined #bitcoin-core-dev
1152016-05-08T11:31:23 *** arowser_ has quit IRC
1162016-05-08T11:31:48 *** arowser has joined #bitcoin-core-dev
1172016-05-08T11:50:44 *** alpalp has joined #bitcoin-core-dev
1182016-05-08T11:50:44 *** alpalp has joined #bitcoin-core-dev
1192016-05-08T12:32:56 *** AaronvanW has quit IRC
1202016-05-08T12:48:33 *** dermoth has joined #bitcoin-core-dev
1212016-05-08T12:56:52 *** OxADADA has quit IRC
1222016-05-08T12:57:27 *** OxADADA has joined #bitcoin-core-dev
1232016-05-08T13:01:54 *** G1lius has joined #bitcoin-core-dev
1242016-05-08T13:17:05 *** dermoth_ has joined #bitcoin-core-dev
1252016-05-08T13:21:11 *** dermoth has quit IRC
1262016-05-08T13:29:47 *** alpalp has quit IRC
1272016-05-08T13:55:30 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1282016-05-08T14:07:59 *** AaronvanW has joined #bitcoin-core-dev
1292016-05-08T14:29:43 *** BashCo_ has joined #bitcoin-core-dev
1302016-05-08T14:31:55 *** BashCo has quit IRC
1312016-05-08T15:54:57 *** Chris_Stewart_5 has quit IRC
1322016-05-08T16:03:12 *** Giszmo has quit IRC
1332016-05-08T16:04:36 *** blur3d has quit IRC
1342016-05-08T16:31:42 *** AaronvanW has quit IRC
1352016-05-08T16:33:19 *** spudowiar has joined #bitcoin-core-dev
1362016-05-08T16:50:06 *** G1lius has quit IRC
1372016-05-08T17:00:11 *** laurentmt has joined #bitcoin-core-dev
1382016-05-08T17:28:38 *** JuanDaugherty has quit IRC
1392016-05-08T17:39:33 *** BashCo has joined #bitcoin-core-dev
1402016-05-08T17:40:33 *** GAit has quit IRC
1412016-05-08T17:42:03 *** BashCo_ has quit IRC
1422016-05-08T17:44:57 *** paveljanik has joined #bitcoin-core-dev
1432016-05-08T17:48:32 *** GAit has joined #bitcoin-core-dev
1442016-05-08T18:23:49 *** moli has quit IRC
1452016-05-08T18:24:08 *** moli has joined #bitcoin-core-dev
1462016-05-08T18:24:39 *** GAit has quit IRC
1472016-05-08T18:27:08 *** GAit has joined #bitcoin-core-dev
1482016-05-08T18:56:02 *** LeMiner2 has joined #bitcoin-core-dev
1492016-05-08T18:57:40 *** LeMiner has quit IRC
1502016-05-08T18:58:06 *** AaronvanW has joined #bitcoin-core-dev
1512016-05-08T19:04:54 *** arowser has quit IRC
1522016-05-08T19:05:16 *** arowser has joined #bitcoin-core-dev
1532016-05-08T19:07:59 *** arowser_ has joined #bitcoin-core-dev
1542016-05-08T19:10:47 *** arowser has quit IRC
1552016-05-08T19:15:43 *** belcher has joined #bitcoin-core-dev
1562016-05-08T19:23:06 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1572016-05-08T19:23:35 *** Guyver2 has joined #bitcoin-core-dev
1582016-05-08T19:31:55 *** spudowiar has quit IRC
1592016-05-08T19:40:24 *** cryptapus has joined #bitcoin-core-dev
1602016-05-08T19:40:34 *** cryptapus_afk has quit IRC
1612016-05-08T19:58:14 *** LeMiner2 is now known as LeMiner
1622016-05-08T19:58:21 *** LeMiner has joined #bitcoin-core-dev
1632016-05-08T20:06:47 *** spudowiar has joined #bitcoin-core-dev
1642016-05-08T20:10:18 *** AaronvanW has quit IRC
1652016-05-08T20:12:12 *** spudowiar has quit IRC
1662016-05-08T20:12:34 *** spudowiar has joined #bitcoin-core-dev
1672016-05-08T20:47:39 *** murch has joined #bitcoin-core-dev
1682016-05-08T20:56:08 *** laurentmt has quit IRC
1692016-05-08T21:32:35 *** Chris_Stewart_5 has quit IRC
1702016-05-08T21:33:02 *** raedah has joined #bitcoin-core-dev
1712016-05-08T21:35:49 *** shesek has quit IRC
1722016-05-08T21:37:30 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1732016-05-08T21:37:54 *** murch has quit IRC
1742016-05-08T21:40:51 *** molz has joined #bitcoin-core-dev
1752016-05-08T21:43:20 *** moli has quit IRC
1762016-05-08T22:08:05 *** spudowiar has quit IRC
1772016-05-08T22:09:25 *** spudowiar has joined #bitcoin-core-dev
1782016-05-08T22:22:16 *** cryptapus is now known as cryptapus_afk
1792016-05-08T23:02:56 *** spudowiar has quit IRC
1802016-05-08T23:04:44 *** spudowiar has joined #bitcoin-core-dev
1812016-05-08T23:27:35 *** challisto has joined #bitcoin-core-dev
1822016-05-08T23:27:35 *** challisto has joined #bitcoin-core-dev
1832016-05-08T23:32:50 *** justanotheruser has quit IRC
1842016-05-08T23:34:08 *** justanotheruser has joined #bitcoin-core-dev
1852016-05-08T23:55:18 *** spudowiar has quit IRC