<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/tests/unit_tests/hardfork.cpp, branch v0.10.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.10.0</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.10.0'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2016-08-31T09:03:32Z</updated>
<entry>
<title>core: faster find_blockchain_supplement</title>
<updated>2016-08-31T09:03:32Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-08-30T15:39:33Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=6cf8ca2a7f3e11ca5559018dfc9b20869c07cdce'/>
<id>urn:sha1:6cf8ca2a7f3e11ca5559018dfc9b20869c07cdce</id>
<content type='text'>
Since this queries block heights for blocks that may or may not
exist, queries for non existing blocks would throw an exception,
and that would slow down the loop a lot. 7 seconds to go through
a 30 hash list.

Fix this by adding an optional return block height to block_exists
and using this instead. Actual errors will still throw an
exception.

This also cuts down on log exception spam.
</content>
</entry>
<entry>
<title>move the rct commitments to the output_amounts database</title>
<updated>2016-08-28T20:29:02Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-06-29T18:55:49Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=59a66e209a844ac6d4221f7c04141b32fa2823c3'/>
<id>urn:sha1:59a66e209a844ac6d4221f7c04141b32fa2823c3</id>
<content type='text'>
Since these are needed at the same time as the output pubkeys,
this is a whole lot faster, and takes less space. Only outputs
of 0 amount store the commitment. When reading other outputs,
a fake commitment is regenerated on the fly. This avoids having
to rewrite the database to add space for fake commitments for
existing outputs.

This code relies on two things:

- LMDB must support fixed size records per key, rather than
per database (ie, all records on key 0 are the same size, all
records for non 0 keys are same size, but records from key 0
and non 0 keys do have different sizes).

- the commitment must be directly after the rest of the data
in outkey and output_data_t.
</content>
</entry>
<entry>
<title>blockchain_db: add functions for adding/removing/getting rct commitments</title>
<updated>2016-08-28T20:28:11Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-06-04T13:18:37Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=eb56d0f9941d4aed9d89a20007221cecd1dc6cbc'/>
<id>urn:sha1:eb56d0f9941d4aed9d89a20007221cecd1dc6cbc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fake outs set is now decided by the wallet</title>
<updated>2016-08-11T13:35:27Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-08-02T20:48:09Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=11dc091464a6cef41434a0bb9f8604f6151c8dc5'/>
<id>urn:sha1:11dc091464a6cef41434a0bb9f8604f6151c8dc5</id>
<content type='text'>
This plugs a privacy leak from the wallet to the daemon,
as the daemon could previously see what input is included
as a transaction input, which the daemon hadn't previously
supplied. Now, the wallet requests a particular set of
outputs, including the real one.

This can result in transactions that can't be accepted if
the wallet happens to select too many outputs with non standard
unlock times. The daemon could know this and select another
output, but the wallet is blind to it. It's currently very
unlikely since I don't think anything uses non default
unlock times. The wallet requests more outputs than necessary
so it can use spares if any of the returns outputs are still
locked. If there are not enough spares to reach the desired
mixin, the transaction will fail.
</content>
</entry>
<entry>
<title>remove hf_starting_height db</title>
<updated>2016-07-13T20:38:34Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-07-13T20:19:05Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=d7b681cd6518834ce9b76676980561cb8e235cff'/>
<id>urn:sha1:d7b681cd6518834ce9b76676980561cb8e235cff</id>
<content type='text'>
It's not really needed, it used to be an optimization for when
that code was not using the db and needed to recalculate things
fast on startup.
</content>
</entry>
<entry>
<title>fix: error: -Werror=misleading-indentation</title>
<updated>2016-05-18T14:54:41Z</updated>
<author>
<name>moneroexample</name>
<email>moneroexample@tuta.io</email>
</author>
<published>2016-05-18T04:51:28Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=de030d99a504838c87f84fabe15f173477d3b17d'/>
<id>urn:sha1:de030d99a504838c87f84fabe15f173477d3b17d</id>
<content type='text'>
Compilation of bitmonero on Arch with gcc 6.1 results in the following
error:

/home/mwo/bitmonero/tests/unit_tests/hardfork.cpp: In member function ‘virtual void TestDB::set_hard_fork_version(uint64_t, uint8_t)’:
/home/mwo/bitmonero/tests/unit_tests/hardfork.cpp:132:5: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
     if (versions.size() &lt;= height) versions.resize(height+1); versions[height] = version;

This can be fixed by simply unfolding this line into three lines.
</content>
</entry>
<entry>
<title>Merge branch 'performance' into master</title>
<updated>2016-04-05T20:13:16Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2016-04-05T20:13:16Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=d7ea7d9a23cd71bbba4d6e2822f54257432b3f01'/>
<id>urn:sha1:d7ea7d9a23cd71bbba4d6e2822f54257432b3f01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup</title>
<updated>2016-04-05T20:05:24Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2016-04-04T16:28:31Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=372acee72303b4d7ea225981c523d328fda297be'/>
<id>urn:sha1:372acee72303b4d7ea225981c523d328fda297be</id>
<content type='text'>
drop obsolete remove_output()
fix get_output_key(global), fix crash in blockchain_dump
</content>
</entry>
<entry>
<title>tests: obligatory hardfork unit build fix after interface change</title>
<updated>2016-03-26T23:44:04Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-03-26T23:44:04Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=d5d46e6d6da569ec07169a12f59cbc6d120c35f2'/>
<id>urn:sha1:d5d46e6d6da569ec07169a12f59cbc6d120c35f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New RPC and daemon command to get output histogram</title>
<updated>2016-03-26T21:10:43Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-03-26T14:30:23Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=600a3cf0c0ca0a99dbdc91d32138db3c8aa4165c'/>
<id>urn:sha1:600a3cf0c0ca0a99dbdc91d32138db3c8aa4165c</id>
<content type='text'>
This is a list of existing output amounts along with the number
of outputs of that amount in the blockchain.

The daemon command takes:
- no parameters: all outputs with at least 3 instances
- one parameter: all outputs with at least that many instances
- two parameters: all outputs within that many instances

The default starts at 3 to avoid massive spamming of all dust
outputs in the blockchain, and is the current minimum mixin
requirement.

An optional vector of amounts may be passed, to request
histogram only for those outputs.
</content>
</entry>
</feed>
