<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/rpc/core_rpc_server.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-15T09:10:29Z</updated>
<entry>
<title>rpc: set default log category in core_rpc_server.h</title>
<updated>2019-04-15T09:10:29Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-03-29T10:47:30Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=82e510f15ea6fc469d62b5a9bba3c4d8c9f6742b'/>
<id>urn:sha1:82e510f15ea6fc469d62b5a9bba3c4d8c9f6742b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change SSL certificate file list to OpenSSL builtin load_verify_location</title>
<updated>2019-04-07T03:47:06Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2019-03-12T02:01:03Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=a3b0284837c9ea10865e6ddeb7f1244d621ae5c0'/>
<id>urn:sha1:a3b0284837c9ea10865e6ddeb7f1244d621ae5c0</id>
<content type='text'>
Specifying SSL certificates for peer verification does an exact match,
making it a not-so-obvious alias for the fingerprints option. This
changes the checks to OpenSSL which loads concatenated certificate(s)
from a single file and does a certificate-authority (chain of trust)
check instead. There is no drop in security - a compromised exact match
fingerprint has the same worse case failure. There is increased security
in allowing separate long-term CA key and short-term SSL server keys.

This also removes loading of the system-default CA files if a custom
CA file or certificate fingerprint is specified.
</content>
</entry>
<entry>
<title>New interactive daemon command 'print_net_stats': Global traffic stats</title>
<updated>2019-03-24T15:58:57Z</updated>
<author>
<name>rbrunner7</name>
<email>rbrunner@dreamshare.ch</email>
</author>
<published>2019-03-21T10:03:24Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=c23ea7962debe4e66fd3c0e7719117dcb7966d1f'/>
<id>urn:sha1:c23ea7962debe4e66fd3c0e7719117dcb7966d1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #5190</title>
<updated>2019-03-17T15:56:04Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2019-03-17T15:56:04Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=848591c4d85ae73c42b3317d9dab192267bc2737'/>
<id>urn:sha1:848591c4d85ae73c42b3317d9dab192267bc2737</id>
<content type='text'>
551104fb daemon: add --public-node mode, RPC port propagation over P2P (xiphon)
</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>epee: add SSL support</title>
<updated>2019-03-05T13:16:08Z</updated>
<author>
<name>Martijn Otto</name>
<email>git@martijnotto.nl</email>
</author>
<published>2018-06-14T22:44:48Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=057c279cb4d5c16990570d281bd1bc568796cbb2'/>
<id>urn:sha1:057c279cb4d5c16990570d281bd1bc568796cbb2</id>
<content type='text'>
RPC connections now have optional tranparent SSL.

An optional private key and certificate file can be passed,
using the --{rpc,daemon}-ssl-private-key and
--{rpc,daemon}-ssl-certificate options. Those have as
argument a path to a PEM format private private key and
certificate, respectively.
If not given, a temporary self signed certificate will be used.

SSL can be enabled or disabled using --{rpc}-ssl, which
accepts autodetect (default), disabled or enabled.

Access can be restricted to particular certificates using the
--rpc-ssl-allowed-certificates, which takes a list of
paths to PEM encoded certificates. This can allow a wallet to
connect to only the daemon they think they're connected to,
by forcing SSL and listing the paths to the known good
certificates.

To generate long term certificates:

openssl genrsa -out /tmp/KEY 4096
openssl req -new -key /tmp/KEY -out /tmp/REQ
openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT

/tmp/KEY is the private key, and /tmp/CERT is the certificate,
both in PEM format. /tmp/REQ can be removed. Adjust the last
command to set expiration date, etc, as needed. It doesn't
make a whole lot of sense for monero anyway, since most servers
will run with one time temporary self signed certificates anyway.

SSL support is transparent, so all communication is done on the
existing ports, with SSL autodetection. This means you can start
using an SSL daemon now, but you should not enforce SSL yet or
nothing will talk to you.
</content>
</entry>
<entry>
<title>daemon: add --public-node mode, RPC port propagation over P2P</title>
<updated>2019-02-24T23:40:23Z</updated>
<author>
<name>xiphon</name>
<email>xiphon@protonmail.com</email>
</author>
<published>2019-02-24T08:47:49Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=551104fbf1d2d82cad57d5ea240d1b7be2810ea1'/>
<id>urn:sha1:551104fbf1d2d82cad57d5ea240d1b7be2810ea1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>epee: add SSL support</title>
<updated>2019-02-02T20:05:33Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-06-14T22:44:48Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=24569454086a366e0bd0cd9b33b0b34661fe7af8'/>
<id>urn:sha1:24569454086a366e0bd0cd9b33b0b34661fe7af8</id>
<content type='text'>
RPC connections now have optional tranparent SSL.

An optional private key and certificate file can be passed,
using the --{rpc,daemon}-ssl-private-key and
--{rpc,daemon}-ssl-certificate options. Those have as
argument a path to a PEM format private private key and
certificate, respectively.
If not given, a temporary self signed certificate will be used.

SSL can be enabled or disabled using --{rpc}-ssl, which
accepts autodetect (default), disabled or enabled.

Access can be restricted to particular certificates using the
--rpc-ssl-allowed-certificates, which takes a list of
paths to PEM encoded certificates. This can allow a wallet to
connect to only the daemon they think they're connected to,
by forcing SSL and listing the paths to the known good
certificates.

To generate long term certificates:

openssl genrsa -out /tmp/KEY 4096
openssl req -new -key /tmp/KEY -out /tmp/REQ
openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT

/tmp/KEY is the private key, and /tmp/CERT is the certificate,
both in PEM format. /tmp/REQ can be removed. Adjust the last
command to set expiration date, etc, as needed. It doesn't
make a whole lot of sense for monero anyway, since most servers
will run with one time temporary self signed certificates anyway.

SSL support is transparent, so all communication is done on the
existing ports, with SSL autodetection. This means you can start
using an SSL daemon now, but you should not enforce SSL yet or
nothing will talk to you.
</content>
</entry>
<entry>
<title>rpc: fix internal daemon calls in restricted rpc getting partial data</title>
<updated>2019-01-28T19:35:20Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-01-11T19:09:39Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=acfff8d0ce56cb9145514d85e13c38bea1e646f9'/>
<id>urn:sha1:acfff8d0ce56cb9145514d85e13c38bea1e646f9</id>
<content type='text'>
</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>
</feed>
