<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/blockchain_db/testdb.h, branch v0.14.1.0</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.14.1.0</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.14.1.0'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2019-05-25T16:25:10Z</updated>
<entry>
<title>core: do not commit half constructed batch db txn</title>
<updated>2019-05-25T16:25:10Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-05-24T08:33:19Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=8f2a99d8ab1d3ea23c1968d6b3f1b43fd7faff89'/>
<id>urn:sha1:8f2a99d8ab1d3ea23c1968d6b3f1b43fd7faff89</id>
<content type='text'>
</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>blockchain_db: fix db txn ending too early</title>
<updated>2019-04-14T08:35:38Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-04-05T09:28:30Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=5e673c03fec66024027b94229fa2e317d7767a20'/>
<id>urn:sha1:5e673c03fec66024027b94229fa2e317d7767a20</id>
<content type='text'>
The db txn in add_block ending caused the entire overarching
batch txn to stop.
Also add a new guard class so a db txn can be stopped in the
face of exceptions.

Also use a read only db txn in init when the db itself is
read only, and do not save the max tx size in that case.
</content>
</entry>
<entry>
<title>cryptonote: rework block blob size sanity check</title>
<updated>2019-04-05T09:35:19Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-04-04T00:15:57Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=089c7637a64652c8bcf6c437065237c23266d4a9'/>
<id>urn:sha1:089c7637a64652c8bcf6c437065237c23266d4a9</id>
<content type='text'>
Use the actual block weight limit, assuming that weight is always
greater or equal to size
</content>
</entry>
<entry>
<title>Merge pull request #5256</title>
<updated>2019-03-21T12:48:40Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2019-03-21T12:48:40Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=5ac46c5310d68faf05e2f525a9a0c9e834f4f404'/>
<id>urn:sha1:5ac46c5310d68faf05e2f525a9a0c9e834f4f404</id>
<content type='text'>
4b21d38d blockchain: speed up getting N blocks weights/long term weights (moneromooo-monero)
</content>
</entry>
<entry>
<title>blockchain: speed up getting N blocks weights/long term weights</title>
<updated>2019-03-08T12:04:14Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-02-21T00:13:21Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=4b21d38dfda29fe916700887c99d44edeb8fe06f'/>
<id>urn:sha1:4b21d38dfda29fe916700887c99d44edeb8fe06f</id>
<content type='text'>
</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>save some database calls when getting top block hash and height</title>
<updated>2019-03-05T11:58:05Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-11-20T20:19:39Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=79b4e9f3779796d9233e3e169f5c1086a49717dd'/>
<id>urn:sha1:79b4e9f3779796d9233e3e169f5c1086a49717dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid repeated (de)serialization when syncing</title>
<updated>2019-03-05T11:57:55Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-11-11T14:51:03Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=b044d03a51e1dc64bebe2461813e0cfc50f71b0d'/>
<id>urn:sha1:b044d03a51e1dc64bebe2461813e0cfc50f71b0d</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>
</feed>
