<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/blockchain_db, branch v0.14.0.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.14.0.2</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.14.0.2'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2019-02-17T22:15:29Z</updated>
<entry>
<title>db_lmdb: fix missing mdb_dbi_close in migration</title>
<updated>2019-02-17T22:15:29Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-02-17T20:58:41Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=2c0fc8b466f4b92af594989f3f01fd9cbd5b40b0'/>
<id>urn:sha1:2c0fc8b466f4b92af594989f3f01fd9cbd5b40b0</id>
<content type='text'>
Fixed by hyc
</content>
</entry>
<entry>
<title>Fix v3/v4 db conversion</title>
<updated>2019-02-15T01:21:37Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-02-14T22:56:51Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=f9d820ada1fecccf3b524660d25256cf77845014'/>
<id>urn:sha1:f9d820ada1fecccf3b524660d25256cf77845014</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ArticMine's new block weight algorithm</title>
<updated>2019-02-12T12:15:54Z</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=ebc60a098d40506fdd0c5974a8644728d502e024'/>
<id>urn:sha1:ebc60a098d40506fdd0c5974a8644728d502e024</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.
</content>
</entry>
<entry>
<title>Merge pull request #4487</title>
<updated>2018-10-06T09:15:39Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2018-10-05T21:12:11Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=5adbede27f824fe8f43cab0f764ce9209c4fc0ac'/>
<id>urn:sha1:5adbede27f824fe8f43cab0f764ce9209c4fc0ac</id>
<content type='text'>
7c790f11 Fix rtxn usage in BlockchainLMDB::get_estimated_batch_size (Howard Chu)
</content>
</entry>
<entry>
<title>Merge pull request #4459</title>
<updated>2018-09-29T20:17:00Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2018-09-29T20:17:00Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=f0b3bbf808ec598ec191326767e0779a4a4037e4'/>
<id>urn:sha1:f0b3bbf808ec598ec191326767e0779a4a4037e4</id>
<content type='text'>
bcf3f6af fuzz_tests: catch unhandled exceptions (moneromooo-monero)
3ebd05d4 miner: restore stream flags after changing them (moneromooo-monero)
a093092e levin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero)
1eebb82b net_helper: do not propagate exceptions through dtor (moneromooo-monero)
fb6a3630 miner: do not propagate exceptions through dtor (moneromooo-monero)
2e2139ff epee: do not propagate exception through dtor (moneromooo-monero)
0749a8bd db_lmdb: do not propagate exceptions in dtor (moneromooo-monero)
1b0afeeb wallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero)
418a9936 unit_tests: catch unhandled exceptions (moneromooo-monero)
ea7f9543 threadpool: do not propagate exceptions through the dtor (moneromooo-monero)
6e855422 gen_multisig: nice exit on unhandled exception (moneromooo-monero)
53df2deb db_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero)
e67016dd blockchain_blackball: catch failure to commit db transaction (moneromooo-monero)
661439f4 mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero)
5fdcda50 easylogging++: test for NULL before dereference (moneromooo-monero)
7ece1550 performance_test: fix bad last argument calling add_arg (moneromooo-monero)
a085da32 unit_tests: add check for page size &gt; 0 before dividing (moneromooo-monero)
d8b1ec8b unit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero)
02563bf4 simplewallet: top level exception catcher to print nicer messages (moneromooo-monero)
c57a65b2 blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero)
</content>
</entry>
<entry>
<title>db_lmdb: do not propagate exceptions in dtor</title>
<updated>2018-09-27T17:29:15Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-09-27T15:39:54Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=0749a8bd3cd5ff0814a41d9a2a8b5c72954c6ce6'/>
<id>urn:sha1:0749a8bd3cd5ff0814a41d9a2a8b5c72954c6ce6</id>
<content type='text'>
Not much we can do here

Coverity 161875
</content>
</entry>
<entry>
<title>db_lmdb: catch error in mdb_stat calls during migration</title>
<updated>2018-09-27T17:28:53Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-09-27T15:07:52Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=53df2deb36079906ccf18133180a51d7a2017008'/>
<id>urn:sha1:53df2deb36079906ccf18133180a51d7a2017008</id>
<content type='text'>
Coverity 188305
</content>
</entry>
<entry>
<title>Fixup RENAME_DB() macro</title>
<updated>2018-09-25T20:01:03Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2018-09-25T19:59:37Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=fe1256471a2de22e0ccaf27e7c62d6861bec197f'/>
<id>urn:sha1:fe1256471a2de22e0ccaf27e7c62d6861bec197f</id>
<content type='text'>
Make sure target DB's record is on a writable page
</content>
</entry>
<entry>
<title>db_lmdb: do not use base for cumulative distribution</title>
<updated>2018-09-12T19:20:13Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-09-12T19:18:26Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=befdcbf4bef3a418a5fcd035b55dbadab2951d4b'/>
<id>urn:sha1:befdcbf4bef3a418a5fcd035b55dbadab2951d4b</id>
<content type='text'>
it's confusing and needlessly complicated
</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>
</feed>
