On Tue, Jul 23, 2013 at 12:02 PM, Andy Parkins <andypark...@gmail.com> wrote: > On Tuesday 23 July 2013 10:56:02 Pieter Wuille wrote: > >> The block chain is not involved at all to verify transactions, it's >> just a historical >> record to serve to other nodes, and to do wallet rescans with. > > It must be involved to some extent. Certainly during a temporary fork, there > are two branches growing, and you have to be able, when verifying a new > transaction, to say which branch it's one... which branch of the blockchain.
No, not really. The UTXO set is the state you need to validate blocks and transactions. You can see blocks as authenticated patches to the UTXO set (consumes some outputs, produces others). During validation, we store "undo data", basically (non-authenticated) reverse patches to the UTXO set, so we can walk back in case of a reorganization. -- Pieter ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Bitcoin-development mailing list Bitcoin-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bitcoin-development