1 2016-05-08T00:04:49  *** alpalp has joined #bitcoin-core-dev
  2 2016-05-08T00:04:49  *** alpalp has joined #bitcoin-core-dev
  3 2016-05-08T00:07:07  *** GAit has joined #bitcoin-core-dev
  4 2016-05-08T00:07:49  *** dermoth__ has quit IRC
  5 2016-05-08T00:52:47  *** arowser has quit IRC
  6 2016-05-08T00:53:17  *** arowser has joined #bitcoin-core-dev
  7 2016-05-08T00:55:28  *** guest3423423 has joined #bitcoin-core-dev
  8 2016-05-08T00:55:46  <guest3423423> why do we need undo information again?
  9 2016-05-08T00:55:56  <belcher> for reorgs
 10 2016-05-08T00:56:02  <belcher> i believe
 11 2016-05-08T00:56:06  <sipa> correct
 12 2016-05-08T00:56:08  <guest3423423> but there's already raw block data
 13 2016-05-08T00:56:25  <sipa> raw block data does not tell you which outputs were spent by the block
 14 2016-05-08T00:56:31  <sipa> only which ones were added
 15 2016-05-08T00:56:43  <sipa> a block is a 'forward patch' to the UTXO set
 16 2016-05-08T00:56:48  <sipa> the undo data is a reverse patch
 17 2016-05-08T00:57:57  *** arowser_ has joined #bitcoin-core-dev
 18 2016-05-08T00:58:28  <guest3423423> but block's transations tell you that, no?
 19 2016-05-08T00:58:35  <sipa> no
 20 2016-05-08T00:58:51  <guest3423423> prevout?
 21 2016-05-08T00:58:51  <sipa> you have a transaction A which creates a output A1
 22 2016-05-08T00:59:01  <sipa> that tells you the hash and index which is being spent
 23 2016-05-08T00:59:04  *** go1111111 has quit IRC
 24 2016-05-08T00:59:06  <sipa> not the contents of the UTXO
 25 2016-05-08T00:59:13  <sipa> (the scriptPubKey and amount)
 26 2016-05-08T00:59:30  <sipa> you need to be able to restore the scriptPubKey and amount to the UTXO database
 27 2016-05-08T00:59:31  <guest3423423> of, so to avaoid indexing all the txs, we keep  undo data only?
 28 2016-05-08T00:59:47  <sipa> we don't index any txn at all
 29 2016-05-08T00:59:58  <sipa> there is just a separate database with only the unspent transaction outputs
 30 2016-05-08T01:00:07  <sipa> not full transactions, not an index
 31 2016-05-08T01:00:11  <guest3423423> txindex flag, could tell you where to look it up and figure out the amounts etc
 32 2016-05-08T01:00:11  <sipa> just copies of the outputs
 33 2016-05-08T01:00:25  <sipa> that was used until bitcoin 0.7, and it became horrendously slow
 34 2016-05-08T01:00:35  <guest3423423> so it is an optimization after all?
 35 2016-05-08T01:00:37  <sipa> as you'd need to go seek all over you disk to gather all the inputs
 36 2016-05-08T01:00:41  <guest3423423> yes
 37 2016-05-08T01:00:51  <sipa> yes
 38 2016-05-08T01:01:00  <sipa> it's how the database layout is designed
 39 2016-05-08T01:01:01  <guest3423423> great. makes sense. i thought i was going crazy over this
 40 2016-05-08T01:01:07  <sipa> alternatives are certainly possible
 41 2016-05-08T01:01:20  <sipa> but they're very different
 42 2016-05-08T01:01:40  <guest3423423> that answers my question. stackoverflow could use a patch :-)
 43 2016-05-08T01:01:42  *** arowser has quit IRC
 44 2016-05-08T01:01:45  <guest3423423> to make this clearer
 45 2016-05-08T01:01:50  <sipa> link?
 46 2016-05-08T01:02:45  <guest3423423> one moment
 47 2016-05-08T01:05:07  <guest3423423> http://bitcoin.stackexchange.com/questions/32716/what-exactly-are-the-rev00000-dat-files
 48 2016-05-08T01:12:01  <guest3423423> by the way folks, when should slack be used vs freenode?
 49 2016-05-08T01:12:13  <sipa> slack is for development
 50 2016-05-08T01:12:18  <sipa> eh, freenode is
 51 2016-05-08T01:12:23  <sipa> slack is for the rest
 52 2016-05-08T01:12:47  <guest3423423> the rest?
 53 2016-05-08T01:14:26  <moli> slack is for drama
 54 2016-05-08T01:14:40  <guest3423423> that explains it :-)
 55 2016-05-08T01:15:37  <guest3423423> sipa: who do I send my job application to?
 56 2016-05-08T01:19:40  *** blur3d has joined #bitcoin-core-dev
 57 2016-05-08T01:30:04  *** guest3423423 has quit IRC
 58 2016-05-08T01:43:53  *** limpkin has quit IRC
 59 2016-05-08T01:46:00  *** limpkin has joined #bitcoin-core-dev
 60 2016-05-08T01:50:49  *** shesek has quit IRC
 61 2016-05-08T02:03:58  *** shesek has joined #bitcoin-core-dev
 62 2016-05-08T02:05:01  *** Alopex has quit IRC
 63 2016-05-08T02:06:06  *** Alopex has joined #bitcoin-core-dev
 64 2016-05-08T02:16:34  *** alpalp has quit IRC
 65 2016-05-08T02:21:11  *** Ylbam has quit IRC
 66 2016-05-08T03:28:48  *** belcher has quit IRC
 67 2016-05-08T03:30:57  *** GAit has quit IRC
 68 2016-05-08T03:45:06  *** justanotheruser has quit IRC
 69 2016-05-08T03:47:59  *** justanotheruser has joined #bitcoin-core-dev
 70 2016-05-08T03:52:01  *** Alopex has quit IRC
 71 2016-05-08T03:53:06  *** Alopex has joined #bitcoin-core-dev
 72 2016-05-08T03:55:02  *** Chris_Stewart_5 has quit IRC
 73 2016-05-08T04:16:01  *** randy-waterhouse has joined #bitcoin-core-dev
 74 2016-05-08T04:25:01  *** Alopex has quit IRC
 75 2016-05-08T04:26:06  *** Alopex has joined #bitcoin-core-dev
 76 2016-05-08T04:36:32  *** PRab has quit IRC
 77 2016-05-08T04:37:28  *** PRab has joined #bitcoin-core-dev
 78 2016-05-08T05:21:57  *** randy-waterhouse has quit IRC
 79 2016-05-08T05:36:34  *** randy-waterhouse has joined #bitcoin-core-dev
 80 2016-05-08T05:36:53  *** randy-waterhouse has quit IRC
 81 2016-05-08T05:49:02  *** Alopex has quit IRC
 82 2016-05-08T05:50:07  *** Alopex has joined #bitcoin-core-dev
 83 2016-05-08T06:08:19  *** ebfull has quit IRC
 84 2016-05-08T06:31:05  *** go1111111 has joined #bitcoin-core-dev
 85 2016-05-08T07:01:56  *** randy-waterhouse has joined #bitcoin-core-dev
 86 2016-05-08T07:05:49  *** imacomput has joined #bitcoin-core-dev
 87 2016-05-08T07:31:46  *** Ylbam has joined #bitcoin-core-dev
 88 2016-05-08T07:37:01  *** Alopex has quit IRC
 89 2016-05-08T07:38:06  *** Alopex has joined #bitcoin-core-dev
 90 2016-05-08T07:39:58  *** Guyver2 has joined #bitcoin-core-dev
 91 2016-05-08T07:59:59  *** GAit has joined #bitcoin-core-dev
 92 2016-05-08T08:37:01  *** Alopex has quit IRC
 93 2016-05-08T08:38:06  *** Alopex has joined #bitcoin-core-dev
 94 2016-05-08T08:41:30  *** imacomput has quit IRC
 95 2016-05-08T08:44:04  *** Guyver2 has quit IRC
 96 2016-05-08T08:48:56  *** GAit has quit IRC
 97 2016-05-08T08:49:45  *** GAit has joined #bitcoin-core-dev
 98 2016-05-08T09:00:20  <GitHub47> [bitcoin] theuni opened pull request #8023: RFC: Interruptible threads (master...interruptible-thread) https://github.com/bitcoin/bitcoin/pull/8023
 99 2016-05-08T09:26:46  *** AaronvanW has joined #bitcoin-core-dev
100 2016-05-08T09:50:57  *** GAit has quit IRC
101 2016-05-08T09:54:23  *** GAit has joined #bitcoin-core-dev
102 2016-05-08T09:55:01  *** Alopex has quit IRC
103 2016-05-08T09:56:06  *** Alopex has joined #bitcoin-core-dev
104 2016-05-08T10:18:33  *** wangchun has quit IRC
105 2016-05-08T10:19:35  *** wangchun has joined #bitcoin-core-dev
106 2016-05-08T10:41:10  *** Ylbam has quit IRC
107 2016-05-08T10:45:35  *** laurentmt has joined #bitcoin-core-dev
108 2016-05-08T10:46:01  *** laurentmt has quit IRC
109 2016-05-08T10:52:53  *** Ylbam has joined #bitcoin-core-dev
110 2016-05-08T11:03:49  *** BashCo has joined #bitcoin-core-dev
111 2016-05-08T11:05:46  *** BashCo_ has quit IRC
112 2016-05-08T11:09:38  *** randy-waterhouse has quit IRC
113 2016-05-08T11:23:52  *** berndj has quit IRC
114 2016-05-08T11:24:28  *** berndj has joined #bitcoin-core-dev
115 2016-05-08T11:31:23  *** arowser_ has quit IRC
116 2016-05-08T11:31:48  *** arowser has joined #bitcoin-core-dev
117 2016-05-08T11:50:44  *** alpalp has joined #bitcoin-core-dev
118 2016-05-08T11:50:44  *** alpalp has joined #bitcoin-core-dev
119 2016-05-08T12:32:56  *** AaronvanW has quit IRC
120 2016-05-08T12:48:33  *** dermoth has joined #bitcoin-core-dev
121 2016-05-08T12:56:52  *** OxADADA has quit IRC
122 2016-05-08T12:57:27  *** OxADADA has joined #bitcoin-core-dev
123 2016-05-08T13:01:54  *** G1lius has joined #bitcoin-core-dev
124 2016-05-08T13:17:05  *** dermoth_ has joined #bitcoin-core-dev
125 2016-05-08T13:21:11  *** dermoth has quit IRC
126 2016-05-08T13:29:47  *** alpalp has quit IRC
127 2016-05-08T13:55:30  *** Chris_Stewart_5 has joined #bitcoin-core-dev
128 2016-05-08T14:07:59  *** AaronvanW has joined #bitcoin-core-dev
129 2016-05-08T14:29:43  *** BashCo_ has joined #bitcoin-core-dev
130 2016-05-08T14:31:55  *** BashCo has quit IRC
131 2016-05-08T15:54:57  *** Chris_Stewart_5 has quit IRC
132 2016-05-08T16:03:12  *** Giszmo has quit IRC
133 2016-05-08T16:04:36  *** blur3d has quit IRC
134 2016-05-08T16:31:42  *** AaronvanW has quit IRC
135 2016-05-08T16:33:19  *** spudowiar has joined #bitcoin-core-dev
136 2016-05-08T16:50:06  *** G1lius has quit IRC
137 2016-05-08T17:00:11  *** laurentmt has joined #bitcoin-core-dev
138 2016-05-08T17:28:38  *** JuanDaugherty has quit IRC
139 2016-05-08T17:39:33  *** BashCo has joined #bitcoin-core-dev
140 2016-05-08T17:40:33  *** GAit has quit IRC
141 2016-05-08T17:42:03  *** BashCo_ has quit IRC
142 2016-05-08T17:44:57  *** paveljanik has joined #bitcoin-core-dev
143 2016-05-08T17:48:32  *** GAit has joined #bitcoin-core-dev
144 2016-05-08T18:23:49  *** moli has quit IRC
145 2016-05-08T18:24:08  *** moli has joined #bitcoin-core-dev
146 2016-05-08T18:24:39  *** GAit has quit IRC
147 2016-05-08T18:27:08  *** GAit has joined #bitcoin-core-dev
148 2016-05-08T18:56:02  *** LeMiner2 has joined #bitcoin-core-dev
149 2016-05-08T18:57:40  *** LeMiner has quit IRC
150 2016-05-08T18:58:06  *** AaronvanW has joined #bitcoin-core-dev
151 2016-05-08T19:04:54  *** arowser has quit IRC
152 2016-05-08T19:05:16  *** arowser has joined #bitcoin-core-dev
153 2016-05-08T19:07:59  *** arowser_ has joined #bitcoin-core-dev
154 2016-05-08T19:10:47  *** arowser has quit IRC
155 2016-05-08T19:15:43  *** belcher has joined #bitcoin-core-dev
156 2016-05-08T19:23:06  *** Chris_Stewart_5 has joined #bitcoin-core-dev
157 2016-05-08T19:23:35  *** Guyver2 has joined #bitcoin-core-dev
158 2016-05-08T19:31:55  *** spudowiar has quit IRC
159 2016-05-08T19:40:24  *** cryptapus has joined #bitcoin-core-dev
160 2016-05-08T19:40:34  *** cryptapus_afk has quit IRC
161 2016-05-08T19:58:14  *** LeMiner2 is now known as LeMiner
162 2016-05-08T19:58:21  *** LeMiner has joined #bitcoin-core-dev
163 2016-05-08T20:06:47  *** spudowiar has joined #bitcoin-core-dev
164 2016-05-08T20:10:18  *** AaronvanW has quit IRC
165 2016-05-08T20:12:12  *** spudowiar has quit IRC
166 2016-05-08T20:12:34  *** spudowiar has joined #bitcoin-core-dev
167 2016-05-08T20:47:39  *** murch has joined #bitcoin-core-dev
168 2016-05-08T20:56:08  *** laurentmt has quit IRC
169 2016-05-08T21:32:35  *** Chris_Stewart_5 has quit IRC
170 2016-05-08T21:33:02  *** raedah has joined #bitcoin-core-dev
171 2016-05-08T21:35:49  *** shesek has quit IRC
172 2016-05-08T21:37:30  *** Chris_Stewart_5 has joined #bitcoin-core-dev
173 2016-05-08T21:37:54  *** murch has quit IRC
174 2016-05-08T21:40:51  *** molz has joined #bitcoin-core-dev
175 2016-05-08T21:43:20  *** moli has quit IRC
176 2016-05-08T22:08:05  *** spudowiar has quit IRC
177 2016-05-08T22:09:25  *** spudowiar has joined #bitcoin-core-dev
178 2016-05-08T22:22:16  *** cryptapus is now known as cryptapus_afk
179 2016-05-08T23:02:56  *** spudowiar has quit IRC
180 2016-05-08T23:04:44  *** spudowiar has joined #bitcoin-core-dev
181 2016-05-08T23:27:35  *** challisto has joined #bitcoin-core-dev
182 2016-05-08T23:27:35  *** challisto has joined #bitcoin-core-dev
183 2016-05-08T23:32:50  *** justanotheruser has quit IRC
184 2016-05-08T23:34:08  *** justanotheruser has joined #bitcoin-core-dev
185 2016-05-08T23:55:18  *** spudowiar has quit IRC