<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/cryptonote_core/blockchain.cpp, branch v0.16.0.1</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.16.0.1</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.16.0.1'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2020-06-23T18:57:23Z</updated>
<entry>
<title>Merge pull request #6672</title>
<updated>2020-06-23T18:57:23Z</updated>
<author>
<name>luigi1111</name>
<email>luigi1111w@gmail.com</email>
</author>
<published>2020-06-23T18:57:23Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=a498a1b4ce432941dee47d74c7e05bf87acd3ad6'/>
<id>urn:sha1:a498a1b4ce432941dee47d74c7e05bf87acd3ad6</id>
<content type='text'>
fa199f2 build: prepare v0.16.0.1 release (selsta)
</content>
</entry>
<entry>
<title>Merge pull request #6651</title>
<updated>2020-06-22T19:21:16Z</updated>
<author>
<name>luigi1111</name>
<email>luigi1111w@gmail.com</email>
</author>
<published>2020-06-22T19:21:16Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=fcac8f5affde244bbe961e514350036830ea0df3'/>
<id>urn:sha1:fcac8f5affde244bbe961e514350036830ea0df3</id>
<content type='text'>
a67c634 blockchain: fix timestamp/difficulty cache getting out of sync (moneromooo-monero)
</content>
</entry>
<entry>
<title>build: prepare v0.16.0.1 release</title>
<updated>2020-06-21T14:41:46Z</updated>
<author>
<name>selsta</name>
<email>selsta@sent.at</email>
</author>
<published>2020-06-21T14:41:46Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=fa199f20af295a89bc232f67ef6a8779ef458362'/>
<id>urn:sha1:fa199f20af295a89bc232f67ef6a8779ef458362</id>
<content type='text'>
</content>
</entry>
<entry>
<title>blockchain: fix timestamp/difficulty cache getting out of sync</title>
<updated>2020-06-13T15:42:09Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2020-06-13T14:20:20Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=a67c634f89d3bfc492ef270a729f71ba6fb8a21e'/>
<id>urn:sha1:a67c634f89d3bfc492ef270a729f71ba6fb8a21e</id>
<content type='text'>
The cache is discarded when a block is popped, but then gets
rebuilt when the difficulty for next block is requested.
While this is all properly locked, it does not take into account
the delay caused by a database transaction being only committed
(and thus its effects made visible to other threads) later on,
which means another thread could request difficulty between
the pop and the commit, which would end up using stale database
view to build the cache, but that cache would not be invalidated
again when the transaction gets committed, which would cause the
cache to not match the new database data.

To fix this, we now keep track of when the cache is invalidated
so we can invalidate it again upon database transaction commit
to ensure it gets calculated again with fresh data next time it
is nedeed.
</content>
</entry>
<entry>
<title>blockchain: fix total_height in getblocks.bin response</title>
<updated>2020-06-11T12:51:06Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2020-06-05T15:26:39Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=b7812d1674b9a2c5df4bd4c98f18de340098a3c4'/>
<id>urn:sha1:b7812d1674b9a2c5df4bd4c98f18de340098a3c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>blockchain: detect and log bad difficulty calculations</title>
<updated>2020-05-17T12:45:06Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2020-05-16T20:11:40Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=bb4d95c98fcaf0f7aa3abb6d35bd6805e98643b1'/>
<id>urn:sha1:bb4d95c98fcaf0f7aa3abb6d35bd6805e98643b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: prepare v0.16.0.0 release</title>
<updated>2020-05-09T13:23:37Z</updated>
<author>
<name>selsta</name>
<email>selsta@sent.at</email>
</author>
<published>2020-05-06T18:16:26Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=08a45c51a078566497a77e79770692df4c0cb3a0'/>
<id>urn:sha1:08a45c51a078566497a77e79770692df4c0cb3a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #6358</title>
<updated>2020-04-10T21:01:37Z</updated>
<author>
<name>luigi1111</name>
<email>luigi1111w@gmail.com</email>
</author>
<published>2020-04-10T21:01:37Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=7954f8cb180eef88585c6b44a5c0226626352405'/>
<id>urn:sha1:7954f8cb180eef88585c6b44a5c0226626352405</id>
<content type='text'>
8958b4e blockchain_db: faster fetching of consecutive txes (moneromooo-monero)
</content>
</entry>
<entry>
<title>Merge pull request #6347</title>
<updated>2020-04-04T17:52:46Z</updated>
<author>
<name>luigi1111</name>
<email>luigi1111w@gmail.com</email>
</author>
<published>2020-04-04T17:52:46Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=44547006bfcac4f807d28016d597b7e5d3693dfd'/>
<id>urn:sha1:44547006bfcac4f807d28016d597b7e5d3693dfd</id>
<content type='text'>
fcb06f7 cryptonote_core: skip block notify on blockchain switching rollback (xiphon)
</content>
</entry>
<entry>
<title>Merge pull request #6339</title>
<updated>2020-04-04T17:47:31Z</updated>
<author>
<name>luigi1111</name>
<email>luigi1111w@gmail.com</email>
</author>
<published>2020-04-04T17:47:31Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=c4f75fe898992d502e2ef3b6c9d88bc523690403'/>
<id>urn:sha1:c4f75fe898992d502e2ef3b6c9d88bc523690403</id>
<content type='text'>
c61abf8 remove empty statements (shopglobal)
</content>
</entry>
</feed>
