<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/blockchain_db/blockchain_db.cpp, branch v0.10.3.1</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.3.1</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.10.3.1'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2017-02-21T17:38:18Z</updated>
<entry>
<title>update copyright year, fix occasional lack of newline at line end</title>
<updated>2017-02-21T17:38:18Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2017-02-21T17:38:18Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=c3599fa7b94764d8f1cf7828a3f3a46067efe359'/>
<id>urn:sha1:c3599fa7b94764d8f1cf7828a3f3a46067efe359</id>
<content type='text'>
</content>
</entry>
<entry>
<title>blockchain_db: add "raw" blobdata getters for block and transaction</title>
<updated>2017-02-13T21:11:37Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2017-01-15T16:05:55Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=0288310e3b4e777dd4d120898319192f957996a2'/>
<id>urn:sha1:0288310e3b4e777dd4d120898319192f957996a2</id>
<content type='text'>
This speeds up operations such as serving blocks to syncing peers
</content>
</entry>
<entry>
<title>db_lmdb: fix bad height saved in tx data</title>
<updated>2017-02-11T10:16:18Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2017-02-11T10:16:18Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=f2986ccfc1f41023cd667dbb488a10df492eb8e7'/>
<id>urn:sha1:f2986ccfc1f41023cd667dbb488a10df492eb8e7</id>
<content type='text'>
The recent change to not keep separate track of the blockchain
height caused the reported height to jump early in the lmdb
transaction (when the block data is added to the blocks table),
rather than at the end, after everything succeeded. Since the
block data is added before the transaction data, this caused
the transaction data to be saved with a height one more than
its expected value.

Fix this by saving the block data last. This should have no
side effects.
</content>
</entry>
<entry>
<title>extract some basic code from libcryptonote_core into libcryptonote_basic</title>
<updated>2017-02-08T13:45:15Z</updated>
<author>
<name>kenshi84</name>
<email>kenshi84@protonmail.ch</email>
</author>
<published>2017-01-26T15:07:23Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=8027ce0c75f882de0523e668defa0bc3c8564e96'/>
<id>urn:sha1:8027ce0c75f882de0523e668defa0bc3c8564e96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix PR#1506, off by one in chain height</title>
<updated>2017-01-16T10:00:06Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2017-01-16T10:00:06Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=990e08f090a3ba33beb9389420e17bf17f322f17'/>
<id>urn:sha1:990e08f090a3ba33beb9389420e17bf17f322f17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change logging to easylogging++</title>
<updated>2017-01-16T00:25:46Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2017-01-01T16:34:23Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=5833d66f6540e7b34e10ddef37c2b67bd501994b'/>
<id>urn:sha1:5833d66f6540e7b34e10ddef37c2b67bd501994b</id>
<content type='text'>
This replaces the epee and data_loggers logging systems with
a single one, and also adds filename:line and explicit severity
levels. Categories may be defined, and logging severity set
by category (or set of categories). epee style 0-4 log level
maps to a sensible severity configuration. Log files now also
rotate when reaching 100 MB.

To select which logs to output, use the MONERO_LOGS environment
variable, with a comma separated list of categories (globs are
supported), with their requested severity level after a colon.
If a log matches more than one such setting, the last one in
the configuration string applies. A few examples:

This one is (mostly) silent, only outputting fatal errors:

MONERO_LOGS=*:FATAL

This one is very verbose:

MONERO_LOGS=*:TRACE

This one is totally silent (logwise):

MONERO_LOGS=""

This one outputs all errors and warnings, except for the
"verify" category, which prints just fatal errors (the verify
category is used for logs about incoming transactions and
blocks, and it is expected that some/many will fail to verify,
hence we don't want the spam):

MONERO_LOGS=*:WARNING,verify:FATAL

Log levels are, in decreasing order of priority:
FATAL, ERROR, WARNING, INFO, DEBUG, TRACE

Subcategories may be added using prefixes and globs. This
example will output net.p2p logs at the TRACE level, but all
other net* logs only at INFO:

MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE

Logs which are intended for the user (which Monero was using
a lot through epee, but really isn't a nice way to go things)
should use the "global" category. There are a few helper macros
for using this category, eg: MGINFO("this shows up by default")
or MGINFO_RED("this is red"), to try to keep a similar look
and feel for now.

Existing epee log macros still exist, and map to the new log
levels, but since they're used as a "user facing" UI element
as much as a logging system, they often don't map well to log
severities (ie, a log level 0 log may be an error, or may be
something we want the user to see, such as an important info).
In those cases, I tried to use the new macros. In other cases,
I left the existing macros in. When modifying logs, it is
probably best to switch to the new macros with explicit levels.

The --log-level options and set_log commands now also accept
category settings, in addition to the epee style log levels.
</content>
</entry>
<entry>
<title>New "Halfway RingCT" outputs for coinbase transactions</title>
<updated>2016-08-28T20:30:26Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-08-12T17:45:07Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=c3b3260ae5b5acde445fa88a6f0909f582903754'/>
<id>urn:sha1:c3b3260ae5b5acde445fa88a6f0909f582903754</id>
<content type='text'>
When RingCT is enabled, outputs from coinbase transactions
are created as a single output, and stored as RingCT output,
with a fake mask. Their amount is not hidden on the blockchain
itself, but they are then able to be used as fake inputs in
a RingCT ring. Since the output amounts are hidden, their
"dustiness" is not an obstacle anymore to mixing, and this
makes the coinbase transactions a lot smaller, as well as
helping the TXO set to grow more slowly.

Also add a new "Null" type of rct signature, which decreases
the size required when no signatures are to be stored, as
in a coinbase tx.
</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>add rct to the protocol</title>
<updated>2016-08-28T20:28:37Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-06-15T22:37:13Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=dc4aad7eb5fffa450d4c5eb094cf962e45b2f43a'/>
<id>urn:sha1:dc4aad7eb5fffa450d4c5eb094cf962e45b2f43a</id>
<content type='text'>
It is not yet constrained to a fork, so don't use on the real network
or you'll be orphaned or rejected.
</content>
</entry>
<entry>
<title>Cleanup and clarify</title>
<updated>2016-04-05T19:57:45Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2016-04-04T01:10:58Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=591e421875988ea63313a7da22062f62f06b30ab'/>
<id>urn:sha1:591e421875988ea63313a7da22062f62f06b30ab</id>
<content type='text'>
Try to rationalize the variable names, document usage.
</content>
</entry>
</feed>
