<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/tests/unit_tests/hardfork.cpp, branch v0.18.4.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.18.4.2</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.18.4.2'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2022-03-04T05:59:20Z</updated>
<entry>
<title>Copyright: Update to 2022</title>
<updated>2022-03-04T05:59:20Z</updated>
<author>
<name>mj-xmr</name>
<email>mjxmr@protonmail.com</email>
</author>
<published>2022-03-01T11:16:17Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=da9aa1f7f802552b9de459f331a2f39c84898009'/>
<id>urn:sha1:da9aa1f7f802552b9de459f331a2f39c84898009</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unused variables in monero codebase</title>
<updated>2021-02-09T07:05:05Z</updated>
<author>
<name>Kevin Barbour</name>
<email>kevinbarbourd@gmail.com</email>
</author>
<published>2021-01-23T09:38:50Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=85db1734e7dd456c1edb095a2c829527262b96c7'/>
<id>urn:sha1:85db1734e7dd456c1edb095a2c829527262b96c7</id>
<content type='text'>
There are quite a few variables in the code that are no longer
(or perhaps never were) in use. These were discovered by enabling
compiler warnings for unused variables and cleaning them up.

In most cases where the unused variables were the result
of a function call the call was left but the variable
assignment removed, unless it was obvious that it was
a simple getter with no side effects.
</content>
</entry>
<entry>
<title>Update copyright year to 2020</title>
<updated>2020-05-07T02:36:54Z</updated>
<author>
<name>SomaticFanatic</name>
<email>afdlkajdlfkj@aldkfjf.com</email>
</author>
<published>2020-05-07T02:36:54Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=5ef0607da6042df51a57703bd223c5c8024741f6'/>
<id>urn:sha1:5ef0607da6042df51a57703bd223c5c8024741f6</id>
<content type='text'>
Update copyright year to 2020
</content>
</entry>
<entry>
<title>testdb: add override keyword where missing</title>
<updated>2019-04-17T01:26:25Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2019-04-09T09:38:53Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=5fafb90e91cf5288505e4b8a669bc8340eb906e7'/>
<id>urn:sha1:5fafb90e91cf5288505e4b8a669bc8340eb906e7</id>
<content type='text'>
and delete obsolete BlockchainBDB::get_tx_output_indices along the way
</content>
</entry>
<entry>
<title>Update 2019 copyright</title>
<updated>2019-03-05T21:05:34Z</updated>
<author>
<name>binaryFate</name>
<email>binaryfate@users.noreply.github.com</email>
</author>
<published>2019-03-05T21:05:34Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=1f2930ce0bec07e28958c059444151ad4968e1e6'/>
<id>urn:sha1:1f2930ce0bec07e28958c059444151ad4968e1e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ArticMine's new block weight algorithm</title>
<updated>2019-03-04T09:33:58Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-01-21T17:18:50Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=b8787f430262520a9e81267802b869b1a7cde245'/>
<id>urn:sha1:b8787f430262520a9e81267802b869b1a7cde245</id>
<content type='text'>
This curbs runaway growth while still allowing substantial
spikes in block weight

Original specification from ArticMine:

here is the scaling proposal
Define: LongTermBlockWeight
Before fork:
LongTermBlockWeight = BlockWeight
At or after fork:
LongTermBlockWeight = min(BlockWeight, 1.4*LongTermEffectiveMedianBlockWeight)
Note: To avoid possible consensus issues over rounding the LongTermBlockWeight for a given block should be calculated to the nearest byte, and stored as a integer in the block itself. The stored LongTermBlockWeight is then used for future calculations of the LongTermEffectiveMedianBlockWeight and not recalculated each time.
Define:   LongTermEffectiveMedianBlockWeight
LongTermEffectiveMedianBlockWeight = max(300000, MedianOverPrevious100000Blocks(LongTermBlockWeight))
Change Definition of EffectiveMedianBlockWeight
From (current definition)
EffectiveMedianBlockWeight  = max(300000, MedianOverPrevious100Blocks(BlockWeight))
To (proposed definition)
EffectiveMedianBlockWeight  = min(max(300000, MedianOverPrevious100Blocks(BlockWeight)), 50*LongTermEffectiveMedianBlockWeight)
Notes:
1) There are no other changes to the existing penalty formula, median calculation, fees etc.
2) There is the requirement to store the LongTermBlockWeight of a block unencrypted in the block itself. This  is to avoid possible consensus issues over rounding and also to prevent the calculations from becoming unwieldy as we move away from the fork.
3) When the  EffectiveMedianBlockWeight cap is reached it is still possible to mine blocks up to 2x the EffectiveMedianBlockWeight by paying the corresponding penalty.

Note: the long term block weight is stored in the database, but not in the actual block itself,
since it requires recalculating anyway for verification.
</content>
</entry>
<entry>
<title>tests: add unit tests for get_output_distribution</title>
<updated>2018-11-16T19:21:45Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-11-06T14:23:26Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=31d80027b5cc59b48205334a9e361c6a75099592'/>
<id>urn:sha1:31d80027b5cc59b48205334a9e361c6a75099592</id>
<content type='text'>
</content>
</entry>
<entry>
<title>core: avoid unnecessary tx/blob conversions</title>
<updated>2018-11-01T15:51:19Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-10-31T08:31:13Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=6ecc99ad1fd0f2b86641669077130394ab21e71c'/>
<id>urn:sha1:6ecc99ad1fd0f2b86641669077130394ab21e71c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>v8: per byte fee, pad bulletproofs, fixed 11 ring size</title>
<updated>2018-09-11T13:38:07Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-07-18T21:24:53Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=5ffb2ff9b7c301eda5811a939c705f26627c4735'/>
<id>urn:sha1:5ffb2ff9b7c301eda5811a939c705f26627c4735</id>
<content type='text'>
</content>
</entry>
<entry>
<title>blockchain_db: remove unused get_output_key variant</title>
<updated>2018-07-30T21:57:47Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-07-30T21:27:33Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=43f71100bc3e52d06061ef24ba13aa238c01a1f3'/>
<id>urn:sha1:43f71100bc3e52d06061ef24ba13aa238c01a1f3</id>
<content type='text'>
It was actually incorrect, as it would not return commitment
</content>
</entry>
</feed>
