public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [Bitcoin-development] Pull request: Optimize database writes for transactions with lots of TxIns.
@ 2011-09-05 20:43 Gavin Andresen
  0 siblings, 0 replies; only message in thread
From: Gavin Andresen @ 2011-09-05 20:43 UTC (permalink / raw)
  To: Bitcoin Dev

And I'd appreciate review/feedback on this:
  https://github.com/bitcoin/bitcoin/pull/491

Patch from ArtForz, who discovered the problem.

The problem was chaining large transactions (transactions with lots of
ins and outs) would make the berkeley db transaction log get very big,
as the dependencies (TxIns) of a transaction might be re-written
multiple times.

With this fix, each each transaction referred to by TxIns is written once.

-- 
--
Gavin Andresen



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-05 20:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-05 20:43 [Bitcoin-development] Pull request: Optimize database writes for transactions with lots of TxIns Gavin Andresen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox