<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/cryptonote_core/tx_pool.cpp, branch v0.15.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.15.0.1</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.15.0.1'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2019-10-25T16:56:55Z</updated>
<entry>
<title>tx_pool: fix divide by 0 in log</title>
<updated>2019-10-25T16:56:55Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-10-25T16:56:55Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=174a6ac9c581a8ec73f57170650cd0becf400ef7'/>
<id>urn:sha1:174a6ac9c581a8ec73f57170650cd0becf400ef7</id>
<content type='text'>
Coverity 205394
</content>
</entry>
<entry>
<title>Merge pull request #5981</title>
<updated>2019-10-22T15:18:28Z</updated>
<author>
<name>luigi1111</name>
<email>luigi1111w@gmail.com</email>
</author>
<published>2019-10-22T15:18:28Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=426d2ac8ee9b3be3a06b057b750826496d1c0950'/>
<id>urn:sha1:426d2ac8ee9b3be3a06b057b750826496d1c0950</id>
<content type='text'>
88c9d90 protocol: initialize block_weight in block_complete_entry ctor (moneromooo-monero)
fe443bb cryptonote: don't leave block_weight uninitialized (moneromooo-monero)
1ba9baf tx_pool: do not divide by 0 (moneromooo-monero)
</content>
</entry>
<entry>
<title>Merge pull request #5919</title>
<updated>2019-10-22T15:06:10Z</updated>
<author>
<name>luigi1111</name>
<email>luigi1111w@gmail.com</email>
</author>
<published>2019-10-22T15:06:10Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=6f202844b5550b28674b27998cd2edc23c9735fe'/>
<id>urn:sha1:6f202844b5550b28674b27998cd2edc23c9735fe</id>
<content type='text'>
01f660f blockchain: fill in cumulative block weight for alt blocks (moneromooo-monero)
</content>
</entry>
<entry>
<title>Merge pull request #5962</title>
<updated>2019-10-16T18:51:34Z</updated>
<author>
<name>luigi1111</name>
<email>luigi1111w@gmail.com</email>
</author>
<published>2019-10-16T18:51:34Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=461a25e1b5d41fe65c46f27426fd883efd664574'/>
<id>urn:sha1:461a25e1b5d41fe65c46f27426fd883efd664574</id>
<content type='text'>
ec14abd tx_pool: make spent return-by-reference as intended (stoffu)
</content>
</entry>
<entry>
<title>tx_pool: do not divide by 0</title>
<updated>2019-10-11T14:09:31Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-10-11T10:46:24Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=1ba9bafd3331f6534242e682bafbd6d863be42ed'/>
<id>urn:sha1:1ba9bafd3331f6534242e682bafbd6d863be42ed</id>
<content type='text'>
In case of a 0 tx weight, we use a placeholder value to insert in the
fee-per-byte set. This is used for pruning and mining, and those txes
are pruned, so will not be too large, nor added to the block template
if mining, so this is safe.

CID 204465
</content>
</entry>
<entry>
<title>blockchain: fill in cumulative block weight for alt blocks</title>
<updated>2019-10-10T20:26:40Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-09-17T17:03:28Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=01f660f60fc95449130f0b6ffdb3931a6173c838'/>
<id>urn:sha1:01f660f60fc95449130f0b6ffdb3931a6173c838</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #5915</title>
<updated>2019-10-08T20:55:03Z</updated>
<author>
<name>luigi1111</name>
<email>luigi1111w@gmail.com</email>
</author>
<published>2019-10-08T20:55:03Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=bf525793c724f62d4716aaca59345ba2e13a2c3c'/>
<id>urn:sha1:bf525793c724f62d4716aaca59345ba2e13a2c3c</id>
<content type='text'>
8330e77 monerod can now sync from pruned blocks (moneromooo-monero)
</content>
</entry>
<entry>
<title>tx_pool: make spent return-by-reference as intended</title>
<updated>2019-10-06T03:28:30Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2019-10-06T03:28:30Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=ec14abdbe880f5986fd2096fc3991f1fd2d217bd'/>
<id>urn:sha1:ec14abdbe880f5986fd2096fc3991f1fd2d217bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>monerod can now sync from pruned blocks</title>
<updated>2019-09-27T00:10:37Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-09-16T12:18:34Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=8330e772f1ed680a54833d25c4d17d09a99ab8d6'/>
<id>urn:sha1:8330e772f1ed680a54833d25c4d17d09a99ab8d6</id>
<content type='text'>
If the peer (whether pruned or not itself) supports sending pruned blocks
to syncing nodes, the pruned version will be sent along with the hash
of the pruned data and the block weight. The original tx hashes can be
reconstructed from the pruned txes and theur prunable data hash. Those
hashes and the block weights are hashes and checked against the set of
precompiled hashes, ensuring the data we received is the original data.
It is currently not possible to use this system when not using the set
of precompiled hashes, since block weights can not otherwise be checked
for validity.

This is off by default for now, and is enabled by --sync-pruned-blocks
</content>
</entry>
<entry>
<title>Fix bug in mempool get_transaction_stats histogram calculation</title>
<updated>2019-08-28T14:46:31Z</updated>
<author>
<name>Tom Smeding</name>
<email>tom.smeding@gmail.com</email>
</author>
<published>2019-08-28T14:46:31Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=6bbc646e6f517185344821345459e0dc89ca2c1d'/>
<id>urn:sha1:6bbc646e6f517185344821345459e0dc89ca2c1d</id>
<content type='text'>
The 98th percentile position in the agebytes map was incorrectly
calculated: it assumed the transactions in the mempool all have unique
timestamps at second-granularity. This commit fixes this by correctly
finding the right cumulative number of transactions in the map suffix.

This bug could lead to an out-of-bounds write in the rare case that
all transactions in the mempool were received (and added to the mempool)
at a rate of at least 50 transactions per second. (More specifically,
the number of *unique* receive_time values, which have second-
granularity, must be at most 2% of the number of transactions in the
mempool for this crash to trigger.) If this condition is satisfied, 'it'
points to *before* the agebytes map, 'delta' gets a nonsense value, and
the value of 'i' in the first stats.histo-filling loop will be out of
bounds of stats.histo.
</content>
</entry>
</feed>
