<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/cryptonote_core/blockchain.h, branch v0.17.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.17.0.1</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.17.0.1'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2020-09-15T11:40:28Z</updated>
<entry>
<title>blockchain: deterministic UNIX time unlock checks</title>
<updated>2020-09-15T11:40:28Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2020-08-02T15:48:39Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=4971219c2cd5eae7060f17be077b909b6bd4695b'/>
<id>urn:sha1:4971219c2cd5eae7060f17be077b909b6bd4695b</id>
<content type='text'>
Based on a patch by TheCharlatan &lt;seb.kung@gmail.com&gt;
</content>
</entry>
<entry>
<title>core: fix mining from a block that's not the current top</title>
<updated>2020-08-27T15:13:00Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-11-08T17:30:18Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=9d42649d58a1a898b8fd1be17f42fb6b7ad1f6ee'/>
<id>urn:sha1:9d42649d58a1a898b8fd1be17f42fb6b7ad1f6ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #6767</title>
<updated>2020-08-27T10:07:32Z</updated>
<author>
<name>Alexander Blair</name>
<email>snipa@jagtech.io</email>
</author>
<published>2020-08-27T10:07:32Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=0c101f1236c767ae3f99282474dcb3ce915277ea'/>
<id>urn:sha1:0c101f1236c767ae3f99282474dcb3ce915277ea</id>
<content type='text'>
07442a605 Fix build with Boost 1.74 (moneromooo-monero)
</content>
</entry>
<entry>
<title>Avoid some temporary strings when reading off the database</title>
<updated>2020-08-17T14:02:27Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-05-28T22:55:48Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=55363c59411cbaf8347d55e6ac7cdda3b34db7d2'/>
<id>urn:sha1:55363c59411cbaf8347d55e6ac7cdda3b34db7d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix build with Boost 1.74</title>
<updated>2020-08-16T16:23:26Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2020-08-16T16:14:04Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=07442a60593a662161139947f6fbf29265fc8a5f'/>
<id>urn:sha1:07442a60593a662161139947f6fbf29265fc8a5f</id>
<content type='text'>
Thanks iDunk for testing
</content>
</entry>
<entry>
<title>Adding ZMQ/Pub support for txpool_add and chain_main events</title>
<updated>2020-05-04T02:06:35Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2020-03-16T23:59:26Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=e5214a2ca22cecf123bcff1ab441ed0415d08a6f'/>
<id>urn:sha1:e5214a2ca22cecf123bcff1ab441ed0415d08a6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #6534</title>
<updated>2020-07-19T10:36:39Z</updated>
<author>
<name>Alexander Blair</name>
<email>snipa@jagtech.io</email>
</author>
<published>2020-07-19T10:36:39Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=36d50d93f295d4b193e73f3ff3e95ae7e050c767'/>
<id>urn:sha1:36d50d93f295d4b193e73f3ff3e95ae7e050c767</id>
<content type='text'>
7bd66b01b daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation (stoffu)
</content>
</entry>
<entry>
<title>Merge pull request #6512</title>
<updated>2020-07-19T10:32:59Z</updated>
<author>
<name>Alexander Blair</name>
<email>snipa@jagtech.io</email>
</author>
<published>2020-07-19T10:32:59Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=a0d179e528220137885fee0817dc792127aec18c'/>
<id>urn:sha1:a0d179e528220137885fee0817dc792127aec18c</id>
<content type='text'>
5ef0607da Update copyright year to 2020 (SomaticFanatic)
</content>
</entry>
<entry>
<title>blockchain: fix timestamp/difficulty cache getting out of sync</title>
<updated>2020-07-08T22:31:51Z</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=0fd6ccef2164f8a40988df16d37175a16ed27128'/>
<id>urn:sha1:0fd6ccef2164f8a40988df16d37175a16ed27128</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>daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation</title>
<updated>2020-06-09T01:40:51Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2020-05-15T01:56:23Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=7bd66b01bfb62ecaf8ff02b20d14db3a77322abc'/>
<id>urn:sha1:7bd66b01bfb62ecaf8ff02b20d14db3a77322abc</id>
<content type='text'>
On startup, it checks against the difficulty checkpoints, and if any mismatch is found, recalculates all the blocks with wrong difficulties. Additionally, once a week it recalculates difficulties of blocks after the last difficulty checkpoint.
</content>
</entry>
</feed>
