<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/blockchain_db/blockchain_db.cpp, branch v0.9.2</title>
<subtitle>Monzero core node, command-line wallet, consensus code, and release tooling.
</subtitle>
<id>https://code.monzero.org/monzero-core.git/atom?h=v0.9.2</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.9.2'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2016-02-23T20:47:15Z</updated>
<entry>
<title>read txn/cursor stuff</title>
<updated>2016-02-23T20:47:15Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2016-02-18T12:09:57Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=8cc7a36f0be2f90b62a6ffce840817e046e928a0'/>
<id>urn:sha1:8cc7a36f0be2f90b62a6ffce840817e046e928a0</id>
<content type='text'>
Could wrap more later.
</content>
</entry>
<entry>
<title>blockchain_db: pass hard fork object as a simple pointer</title>
<updated>2016-02-08T20:56:31Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-02-08T20:56:31Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=8649b9f1ef53375b40ac4a489bb8e56b82bb968c'/>
<id>urn:sha1:8649b9f1ef53375b40ac4a489bb8e56b82bb968c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move HardFork DB update to BlockchainDB::add_block()</title>
<updated>2016-02-08T17:28:19Z</updated>
<author>
<name>warptangent</name>
<email>warptangent@tutanota.com</email>
</author>
<published>2016-02-08T16:09:07Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=e02577f594ecd0a619ef3efaf65de90df9c20289'/>
<id>urn:sha1:e02577f594ecd0a619ef3efaf65de90df9c20289</id>
<content type='text'>
Ensures the database is consistent.

Also simplifes blockchain_import in that verify mode off has less to
work around.
</content>
</entry>
<entry>
<title>Make HardFork object available to BlockchainDB and derived DB implementations</title>
<updated>2016-02-08T17:28:17Z</updated>
<author>
<name>warptangent</name>
<email>warptangent@tutanota.com</email>
</author>
<published>2016-02-08T15:51:57Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=3800875406fecab5123564e58ddb698bce550441'/>
<id>urn:sha1:3800875406fecab5123564e58ddb698bce550441</id>
<content type='text'>
This will later allow the HardFork object's DB update functions to be
called when the DB transaction that persists across block add/remove is
open.
</content>
</entry>
<entry>
<title>BlockchainDB/LMDB: Refactor block-scope DB txn handling for add block</title>
<updated>2016-02-08T17:28:15Z</updated>
<author>
<name>warptangent</name>
<email>warptangent@tutanota.com</email>
</author>
<published>2016-02-08T16:32:36Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=fd46c96dce043cbf9f018f59ac9cedb12f6a4286'/>
<id>urn:sha1:fd46c96dce043cbf9f018f59ac9cedb12f6a4286</id>
<content type='text'>
Move block-scope txn start and stop from BlockchainLMDB to BlockchainDB.
</content>
</entry>
<entry>
<title>fixed copyrights with bad year references</title>
<updated>2015-12-31T06:37:27Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2015-12-31T06:37:27Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=810a11267c19512a49921c2e2884f6fd7dbf4206'/>
<id>urn:sha1:810a11267c19512a49921c2e2884f6fd7dbf4206</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BlockchainDB: skip fixup check if read-only database</title>
<updated>2015-12-26T22:30:20Z</updated>
<author>
<name>warptangent</name>
<email>warptangent@tutanota.com</email>
</author>
<published>2015-12-26T22:27:35Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=ee9d71e9f94ba8571c44c889a70bda77c8961959'/>
<id>urn:sha1:ee9d71e9f94ba8571c44c889a70bda77c8961959</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BlockchainDB: Remove txs in reverse order</title>
<updated>2015-12-24T23:09:09Z</updated>
<author>
<name>warptangent</name>
<email>warptangent@tutanota.com</email>
</author>
<published>2015-12-24T23:01:00Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=d4c2fae2fb85e6064296a2467dc8ac28f431f3ee'/>
<id>urn:sha1:d4c2fae2fb85e6064296a2467dc8ac28f431f3ee</id>
<content type='text'>
Data should be removed in the reverse order it was added. Not doing so
breaks assumptions and can cause problems in other DB implementations.

This matches the order of tx removal in
blockchain_storage::purge_block_data_from_blockchain.
</content>
</entry>
<entry>
<title>blockchain_db: fixup missing key images in early DB version</title>
<updated>2015-12-06T21:55:05Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-06T20:48:17Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=a98e976f9eabf2112a75347147becc1956ef8d66'/>
<id>urn:sha1:a98e976f9eabf2112a75347147becc1956ef8d66</id>
<content type='text'>
Early DB versions did not store key images for inputs if the
transaction spending them had no outputs (ie, all fee). This
is not correct, as this would allow these outputs to be double
spent. This was fixed in 533acc30eda7792c802ea8b6417917fa99b8bc2b
a few months ago, but databases having synced blocks 2021612 and
685498 with a faulty version will be missing those key images
in the spent keys database. This code checks for this, and adds
those key images if they are missing.
</content>
</entry>
<entry>
<title>blockchain_db: match tx addition semantics to original code</title>
<updated>2015-08-11T10:11:17Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-08-11T10:09:09Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=e63b85496790b458ac8b49d9d26c9de75b84859c'/>
<id>urn:sha1:e63b85496790b458ac8b49d9d26c9de75b84859c</id>
<content type='text'>
The original code removed key images from a tx from the blockchain
when an non to-key nor gen input was found in that tx. Additionally,
the remainder of the tx data was added to the blockchain only after
the double spend check passed.
</content>
</entry>
</feed>
