Transaction

a6bea389b2f76473fe8bbf329058ed4be0df5ca6230dad5fa0911eb9304b5034
Timestamp (utc)
2024-03-22 15:35:09
Fee Paid
0.00000020 BSV
(
0.00536962 BSV
-
0.00536942 BSV
)
Fee Rate
10.31 sat/KB
Version
1
Confirmations
97,166
Size Stats
1,939 B

2 Outputs

Total Output:
0.00536942 BSV
  • j"1LAnZuoQdcKCkpDBKQMCgziGMoPC4VQUckM–<div class="post"><div class="quoteheader"><a href="https://bitcointalk.org/index.php?topic=1931.msg24438#msg24438">Quote from: satoshi on November 25, 2010, 05:51:39 PM</a></div><div class="quote">Maybe Berkeley DB has some tweaks we can make to enable or increase cache memory.<br/></div><br/>Which of the <a href="http://en.wikipedia.org/wiki/ACID">ACID</a> properties do you need, while downloading?<br/><br/>Adding BDB records is simply appending to a log file, until you <a href="http://www.mathematik.uni-ulm.de/help/BerkeleyDB/ref/transapp/checkpoint.html">issue a checkpoint</a>. &nbsp;The checkpoint then updates the main database file.<br/><br/>Under a normal BDB transaction, you are guaranteed that each log record will be sync'd to disk platter, before the transaction commit succeeds. This is very strict, but required for full ACID. Enabling <a href="http://www.mathematik.uni-ulm.de/help/BerkeleyDB/api_c/env_set_flags.html">DB_TXN_NOSYNC</a> still gives you a lot:<br/><br/>&nbsp;&nbsp; &nbsp; "database integrity will be maintained, but if the application or system fails, it is possible<br/>&nbsp;&nbsp; &nbsp; &nbsp;some number of the most recently committed transactions may be undone during recovery"<br/><br/>bitcoin can obviously recover if recent transactions are undone, so, it seems useful for this flag to be set for 100% of the initial block download.<br/><br/>That leaves checkpointing, which is a balance between amount of work performed at checkpoint time -- number of records that must be copied from log to database file -- and wall clock time. &nbsp;Just gotta try some values and see what "feels" right -- maybe checkpoint every 10,000 blocks?</div> text/html
    https://whatsonchain.com/tx/a6bea389b2f76473fe8bbf329058ed4be0df5ca6230dad5fa0911eb9304b5034