<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/cryptonote_core/blockchain.cpp, 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>blockchain: kill ioservice on scope end, rather than manually</title>
<updated>2015-12-30T16:08:30Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-30T16:08:30Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=576effe11a513507b14275c7a2e6fc3b18de5e17'/>
<id>urn:sha1:576effe11a513507b14275c7a2e6fc3b18de5e17</id>
<content type='text'>
This ensures this will be done without fail, as the error prone
matching of every return with a call to KILL_IOSERVICE leads to
hard to debug corruption when one is missing.
</content>
</entry>
<entry>
<title>Merge pull request #572</title>
<updated>2015-12-30T07:38:41Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2015-12-30T07:38:41Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=fd36eea6ddc23d223593adb235b8e13a58ac11ef'/>
<id>urn:sha1:fd36eea6ddc23d223593adb235b8e13a58ac11ef</id>
<content type='text'>
b39aae7 Tweak 45800a25e9374e63caaabba05c89585c86acd668 (hyc)
4a5a5ff blockchain: always stop the ioservice before returning (moneromooo-monero)
78b65cf db_lmdb: safety close db at exit (moneromooo-monero)
45800a2 db_lmdb: fix a strdup/delete[] mistmatch (moneromooo-monero)
</content>
</entry>
<entry>
<title>blockchain: always stop the ioservice before returning</title>
<updated>2015-12-28T22:47:46Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-28T19:53:07Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=4a5a5ff1573cc6a1081b28ef8611ca8bf8417800'/>
<id>urn:sha1:4a5a5ff1573cc6a1081b28ef8611ca8bf8417800</id>
<content type='text'>
Fixes a use after free
</content>
</entry>
<entry>
<title>blockchain: remove obsolete containers</title>
<updated>2015-12-26T18:01:24Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-26T18:01:24Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=b0541a56eb0f3b07eb482726c3d99310e476a9fa'/>
<id>urn:sha1:b0541a56eb0f3b07eb482726c3d99310e476a9fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>blockchain: Fix height in call to on_blockchain_dec</title>
<updated>2015-12-26T18:00:45Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-26T18:00:45Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=18a5211173346f418efbd8f8917da0b6acd47017'/>
<id>urn:sha1:18a5211173346f418efbd8f8917da0b6acd47017</id>
<content type='text'>
It was a noop anyway
</content>
</entry>
<entry>
<title>blockchain: fix a few block addition bugs</title>
<updated>2015-12-25T22:13:38Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-25T22:13:38Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=f33a88cfc17177e3a079ee2226df9674dfa2d138'/>
<id>urn:sha1:f33a88cfc17177e3a079ee2226df9674dfa2d138</id>
<content type='text'>
If the block reward was too high, the verification failed flag
was set, but the function continued. The code which was supposed
to trap this flag and return failure failed to trap it, and,
while the block was not added to the chain, the function would
return success.
The reason for avoiding returning when the block reward problem
was detected was to be able to return any transactions to the
pool if needed. This is now mooted by moving the transaction
return code to a separate function, which is now called at all
appropriate points, making the logic much simpler, and hopefully
correct now.
We also move the hard fork version check after the prev_id check,
as block which does not go on the top of the chain might not
have the expected version there, without being invalid just for
this reason.
Last, we trap the case where a block fails to be added due to
using already spent key images, to set the verification failed
flag.
</content>
</entry>
<entry>
<title>blockchain: fix an off by one error in unlocked time check</title>
<updated>2015-12-25T22:12:52Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-25T22:12:52Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=a9ff11c8167ac52a4f120d02edf45ea0feac411c'/>
<id>urn:sha1:a9ff11c8167ac52a4f120d02edf45ea0feac411c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>blockchain: reinstate double spending checks in check_tx_inputs</title>
<updated>2015-12-25T22:11:21Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-25T22:11:21Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=f294be35bce2fff97d85a657347871685990f792'/>
<id>urn:sha1:f294be35bce2fff97d85a657347871685990f792</id>
<content type='text'>
This fixes some double spending tests.
This may or may not be unneeded in normal (non test) circumstances,
to be determined later. Keeping these for now may be slower, but safer.
</content>
</entry>
<entry>
<title>blockchain: make some flag twiddling code closer to the original</title>
<updated>2015-12-25T22:10:27Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-25T22:10:27Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=737b6d6cf5b46a68304a8f9f83e262e560c33c0a'/>
<id>urn:sha1:737b6d6cf5b46a68304a8f9f83e262e560c33c0a</id>
<content type='text'>
Probably paranoid and unnecessary
</content>
</entry>
</feed>
