<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/cryptonote_core/cryptonote_core.h, branch v0.14.1.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.1.2</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.14.1.2'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2019-04-11T11:07:58Z</updated>
<entry>
<title>functional_tests: add more blockchain related tests</title>
<updated>2019-04-11T11:07:58Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-03-23T16:20:08Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=064ab123401814b755c776d8e53f132f6a151657'/>
<id>urn:sha1:064ab123401814b755c776d8e53f132f6a151657</id>
<content type='text'>
Related to emission, reorgs, getting tx data back, output
distribution and histogram
</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>core: avoid double parsing blocks after hoh</title>
<updated>2019-03-05T11:58:13Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-11-23T11:15:04Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=238401d4e950dad6a243fb895027dd26d2992ee6'/>
<id>urn:sha1:238401d4e950dad6a243fb895027dd26d2992ee6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>core: avoid calculating tx prefix hash when we don't need it</title>
<updated>2019-03-05T11:57:57Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-11-12T23:22:20Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=f75d51abda4c83ef58236bdc217f5a4c967084d2'/>
<id>urn:sha1:f75d51abda4c83ef58236bdc217f5a4c967084d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>core: add --block-rate-notify</title>
<updated>2019-03-04T11:48:39Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-02-06T17:09:28Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=d4fb9641e0a84ac6d6acb7d7f322ca22b8412a89'/>
<id>urn:sha1:d4fb9641e0a84ac6d6acb7d7f322ca22b8412a89</id>
<content type='text'>
This runs a command whenever the block rate deviates too much
from the expectation
</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>Pruning</title>
<updated>2019-01-22T20:30:51Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-04-29T22:30:51Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=b750fb27b0f20e9443827732b69a504a76036430'/>
<id>urn:sha1:b750fb27b0f20e9443827732b69a504a76036430</id>
<content type='text'>
The blockchain prunes seven eighths of prunable tx data.
This saves about two thirds of the blockchain size, while
keeping the node useful as a sync source for an eighth
of the blockchain.

No other data is currently pruned.

There are three ways to prune a blockchain:

- run monerod with --prune-blockchain
- run "prune_blockchain" in the monerod console
- run the monero-blockchain-prune utility

The first two will prune in place. Due to how LMDB works, this
will not reduce the blockchain size on disk. Instead, it will
mark parts of the file as free, so that future data will use
that free space, causing the file to not grow until free space
grows scarce.

The third way will create a second database, a pruned copy of
the original one. Since this is a new file, this one will be
smaller than the original one.

Once the database is pruned, it will stay pruned as it syncs.
That is, there is no need to use --prune-blockchain again, etc.
</content>
</entry>
<entry>
<title>blockchain_db: speedup tx output gathering</title>
<updated>2018-12-18T11:55:21Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-12-16T13:28:49Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=008647d7eb8f0bd72f7a9f8a49fe611fc4d5e0fe'/>
<id>urn:sha1:008647d7eb8f0bd72f7a9f8a49fe611fc4d5e0fe</id>
<content type='text'>
We know all the data we'll want for getblocks.bin is contiguous
</content>
</entry>
<entry>
<title>Merge pull request #4787</title>
<updated>2018-12-12T09:53:10Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2018-12-12T09:53:10Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=dde1e697236030cdb433d340c3606e0787cd45d9'/>
<id>urn:sha1:dde1e697236030cdb433d340c3606e0787cd45d9</id>
<content type='text'>
3dba7f25 protocol: option to pad transaction relay to the next kB (moneromooo-monero)
</content>
</entry>
<entry>
<title>Merge pull request #4894</title>
<updated>2018-12-04T15:33:19Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2018-12-04T15:33:18Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=81418cb281c44481fc4137257df8e39623d94885'/>
<id>urn:sha1:81418cb281c44481fc4137257df8e39623d94885</id>
<content type='text'>
aee7a4e3 wallet_rpc_server: do not use RPC data if the call failed (moneromooo-monero)
1a0733e5 windows_service: fix memory leak (moneromooo-monero)
0dac3c64 unit_tests: do not rethrow a copy of an exception (moneromooo-monero)
5d9915ab cryptonote: fix get_unit for non default settings (moneromooo-monero)
d4f50cb1 remove some unused code (moneromooo-monero)
61163971 a few minor (but easy) performance tweaks (moneromooo-monero)
30023074 tests: slow_memmem now returns size_t (moneromooo-monero)
</content>
</entry>
</feed>
