<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/tests/core_tests, branch v0.9.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.9.0</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.9.0'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2015-12-31T06:39:56Z</updated>
<entry>
<title>updated copyright year</title>
<updated>2015-12-31T06:39:56Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2015-12-31T06:39:56Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=de0392685063d93dbdad3a6b1a2712eaf94dd51a'/>
<id>urn:sha1:de0392685063d93dbdad3a6b1a2712eaf94dd51a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>core_tests: deinit core before destroying it</title>
<updated>2015-12-30T16:05:52Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-30T16:05:52Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=b2452151931ffe98337181567aaf797c1f530c3f'/>
<id>urn:sha1:b2452151931ffe98337181567aaf797c1f530c3f</id>
<content type='text'>
This fixes a use after free by ioservice threads
</content>
</entry>
<entry>
<title>tests: fix various tests by using parameters better suited to monero</title>
<updated>2015-12-25T22:26:34Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-25T22:26:34Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=79beed221d9b3842b652587b5eaeed17423bd9de'/>
<id>urn:sha1:79beed221d9b3842b652587b5eaeed17423bd9de</id>
<content type='text'>
Either smaller coin values (as monero has smaller block rewards),
or pre-hard fork values (full reward zone), or post-Bytecoin values
(emission speed).
</content>
</entry>
<entry>
<title>tests: fix some double spending tests</title>
<updated>2015-12-25T22:23:36Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-25T22:23:36Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=d0a8362b6bceeb9f99ee29360c84ce49db9904d1'/>
<id>urn:sha1:d0a8362b6bceeb9f99ee29360c84ce49db9904d1</id>
<content type='text'>
Some tests assume the first output in a transaction goes to the recipient.
However, it can be the change. When it is, the recipient's keys will not
recognize this output. To fix this, we send all we have, to ensure there
is no change, and the first output goes to the recipient.

I'm not sure why this worked with Cryptonote. The tests sent 17 coins,
which seems way smaller than the first Bytecoin block reward, so there
would have been change too. Maybe outputs were not shuffled originally.
</content>
</entry>
<entry>
<title>tests: use 255 as a "too high" block version</title>
<updated>2015-12-25T22:22:12Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-25T22:22:12Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=2358d0d5be34f8dca0c14f94979300ed49e3f29f'/>
<id>urn:sha1:2358d0d5be34f8dca0c14f94979300ed49e3f29f</id>
<content type='text'>
While the original cryptonote accepted only the current major
version, we can accept higher ones.
</content>
</entry>
<entry>
<title>blockchain: fix bitflipping test with quantized block rewards</title>
<updated>2015-12-25T22:07:58Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-25T22:07:58Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=81cb0fcdccf08afd6f37d21ccfefb31131fd3950'/>
<id>urn:sha1:81cb0fcdccf08afd6f37d21ccfefb31131fd3950</id>
<content type='text'>
Block reward may now be less than the full amount allowed.
This was breaking the bitflipping test.
We now keep track of whether a block which was accepted by the core
has a lower than allowed block reward, and allow this in the test.
</content>
</entry>
<entry>
<title>core_tests: fix ring_signature_1 tests</title>
<updated>2015-12-13T13:58:13Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-13T13:58:13Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=cbded439f45c5867e76758825f70284daca2eb47'/>
<id>urn:sha1:cbded439f45c5867e76758825f70284daca2eb47</id>
<content type='text'>
They were trying to send too much monero, and thus failing.
The parameters were set in such a way that the (simple) output
gathering code could fulfill them for 4 block rewards for the
original Bytecoin emission, but that does not work with monero
so we need to use smaller values.
</content>
</entry>
<entry>
<title>core_tests: bump default test fee to 0.02 monero</title>
<updated>2015-12-13T13:56:15Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-13T13:56:15Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=c3d208fcbe7d32d2764a3cb8fae5653ae5de0f49'/>
<id>urn:sha1:c3d208fcbe7d32d2764a3cb8fae5653ae5de0f49</id>
<content type='text'>
The current monero consensus uses 0.01 per kB fees, so use enough
for 2 kB transactions for now. It'll probably have to be either
bumped further or changed to calculate the proper fee.
</content>
</entry>
<entry>
<title>add a --fakechain argument for tests</title>
<updated>2015-12-13T11:38:37Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-13T11:38:37Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=10da0a0b7cc70fad0ffde60bdd04926484fb043a'/>
<id>urn:sha1:10da0a0b7cc70fad0ffde60bdd04926484fb043a</id>
<content type='text'>
The core tests use the blockchain, and reset it to be able
to add test data to it. This does not play nice with the
databases, since those will save that data without an explicit
save call.
We add a fakechain flag that the tests will set, which tells
the core and blockchain code to use a separate database, as
well as skip a few things like checkpoints and fixup, which
only make sense for real data.
</content>
</entry>
<entry>
<title>tests: remove data-dir argument registration</title>
<updated>2015-12-09T17:31:15Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-09T17:30:30Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=f141869cac2c099da0e121c4723951d4ac7c36f6'/>
<id>urn:sha1:f141869cac2c099da0e121c4723951d4ac7c36f6</id>
<content type='text'>
It is already registered in cryptonote::core::init_options,
which we now call
</content>
</entry>
</feed>
