aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | abstract_tcp_server2: fix crashy race on socket shutdownmoneromooo-monero2019-03-191-5/+6
| |/ /
* | / epee: fix build with boost 1.70.0moneromooo-monero2019-03-211-5/+11
| |/ |/| | | | | get_io_service was deprecated, and got removed
* | Merge pull request #5061Riccardo Spagni2019-03-179-9/+9
|\ \ | |/ |/| | | 1f2930ce Update 2019 copyright (binaryFate)
| * Update 2019 copyrightbinaryFate2019-03-059-9/+9
| |
* | Fix startup errors with SSL cert generationHoward Chu2019-03-081-1/+0
|/ | | | Use SSL API directly, skip boost layer
* epee: add SSL supportMartijn Otto2019-03-057-19/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* default initialize rpc structuresmoneromooo-monero2019-03-042-0/+19
|
* Merge pull request #5162Riccardo Spagni2019-03-042-6/+14
|\ | | | | | | 4d3b61a3 Use io_service::work in epee tcp server (Lee Clagett)
| * Use io_service::work in epee tcp serverLee Clagett2019-02-102-6/+14
| |
* | Merge pull request #5160Riccardo Spagni2019-03-041-1/+1
|\ \ | | | | | | | | | 7af4fbd4 epee: Add space after ':' in additional http response headers (Tom Smeding)
| * | epee: Add space after ':' in additional http response headersTom Smeding2019-02-181-1/+1
| |/
* | Merge pull request #5113Riccardo Spagni2019-03-041-0/+1
|\ \ | | | | | | | | | c0e9e805 Fixed missing return value in once_a_time class on windows (Markus Behm)
| * | Fixed missing return value in once_a_time class on windowsMarkus Behm2019-02-091-0/+1
| |/
* | Merge pull request #5102Riccardo Spagni2019-03-042-0/+417
|\ \ | | | | | | | | | 1eef0565 performance_tests: better stats, and keep track of timing history (moneromooo-monero)
| * | performance_tests: better stats, and keep track of timing historymoneromooo-monero2019-01-282-0/+417
| | |
* | | Merge pull request #5096Riccardo Spagni2019-03-041-1/+2
|\ \ \ | | | | | | | | | | | | 7c3ade44 network_throttle: use circular_buffer where appropriate (moneromooo-monero)
| * | | network_throttle: use circular_buffer where appropriatemoneromooo-monero2019-02-011-1/+2
| | | |
* | | | Merge pull request #5091Riccardo Spagni2019-03-041-1/+4
|\ \ \ \ | | | | | | | | | | | | | | | 123fc2a2 i2p: initial support (Jethro Grassie)
| * | | | i2p: initial supportJethro Grassie2019-01-301-1/+4
| | |_|/ | |/| |
* / | | epee: add SSL supportmoneromooo-monero2019-02-028-198/+539
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Adding initial support for broadcasting transactions over TorLee Clagett2019-01-285-98/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Support for ".onion" in --add-exclusive-node and --add-peer - Add --anonymizing-proxy for outbound Tor connections - Add --anonymous-inbounds for inbound Tor connections - Support for sharing ".onion" addresses over Tor connections - Support for broadcasting transactions received over RPC exclusively over Tor (else broadcast over public IP when Tor not enabled).
* | | rpc: fix internal daemon calls in restricted rpc getting partial datamoneromooo-monero2019-01-281-6/+6
| |/ |/|
* | Pruningmoneromooo-monero2019-01-224-2/+29
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* epee: speedup word/number matchingmoneromooo-monero2019-01-162-45/+89
| | | | | | | | | | | | | | | | | Number matching semantics are slightly changed: since this is used as a filter to check whether a number is signed and/or floating point, we can speed this up further. strto* functions are called afterwards and will error out where necessary. We now also accept numbers like .4 which were not accepted before. The strto* calls on a boost::string_ref will not access unallocated memory since the parsers always stop at the first bad character, and the original string is zero terminated. in arbitrary time measurement units for some arbitrary test case: match_number2: 235 -> 70 match_word2: 330 -> 108
* Merge pull request #5021Riccardo Spagni2019-01-162-3/+13
|\ | | | | | | b82efa32 epee: speed up json parsing (moneromooo-monero)
| * epee: speed up json parsingmoneromooo-monero2018-12-272-3/+13
| |
* | Merge pull request #5001Riccardo Spagni2019-01-161-30/+0
|\ \ | | | | | | | | | a5ffc2d5 Remove boost::lexical_cast for uuid and unused uuid function (Lee Clagett)
| * | Remove boost::lexical_cast for uuid and unused uuid functionLee Clagett2018-12-231-30/+0
| |/
* | Merge pull request #4976Riccardo Spagni2019-01-1611-54/+128
|\ \ | | | | | | | | | 85665003 epee: better network buffer data structure (moneromooo-monero)
| * | epee: better network buffer data structuremoneromooo-monero2018-12-2311-54/+128
| |/ | | | | | | avoids pointless allocs and memcpy
* | Merge pull request #4950Riccardo Spagni2019-01-061-8/+15
|\ \ | | | | | | | | | 68f045de easylogging++: check allowed categories before logging (moneromooo-monero)
| * | easylogging++: check allowed categories before loggingmoneromooo-monero2018-12-071-8/+15
| |/
* | Merge pull request #4949Riccardo Spagni2019-01-061-9/+30
|\ \ | | | | | | | | | | | | 5464725a protocol: change standby mode to not wait sleeping (moneromooo-monero) 85807dfb add a once_a_time_milliseconds class (moneromooo-monero)
| * | add a once_a_time_milliseconds classmoneromooo-monero2018-12-071-9/+30
| | |
* | | Merge pull request #4938Riccardo Spagni2019-01-062-38/+18
|\ \ \ | | | | | | | | | | | | | | | | a13eb0a1 epee: speed up string matching a bit (moneromooo-monero) 3a3858dc epee: avoid string allocation when parsing a pod from string (moneromooo-monero)
| * | | epee: speed up string matching a bitmoneromooo-monero2018-12-081-2/+6
| | | |
| * | | epee: avoid string allocation when parsing a pod from stringmoneromooo-monero2018-12-081-36/+12
| |/ /
* | | Merge pull request #4933luigi11112018-12-312-2/+2
|\ \ \ | |_|/ |/| | | | | 3cf85f0 Changed RECIEVED to RECEIVED in log messages. (normoes)
| * | Changed RECIEVED to RECEIVED in log messages.Norman Moeschter2018-12-042-2/+2
| | |
* | | Merge pull request #4866Riccardo Spagni2018-12-046-57/+371
|\ \ \ | | | | | | | | | | | | | | | | 9c923bad epee: fix network packet header field endianness (moneromooo-monero) ec1a62b5 move int-util.h to epee (moneromooo-monero)
| * | | epee: fix network packet header field endiannessmoneromooo-monero2018-12-045-57/+113
| | | |
| * | | move int-util.h to epeemoneromooo-monero2018-12-041-0/+258
| | |/ | |/|
* | | Merge pull request #4880Riccardo Spagni2018-12-041-0/+9
|\ \ \ | |/ / |/| | | | | 96e6b439 blockchain_stats: don't use gmtime_r on Windows (moneromooo-monero)
| * | blockchain_stats: don't use gmtime_r on Windowsmoneromooo-monero2018-11-211-0/+9
| | | | | | | | | | | | | | | | | | In some cases, it doesn't like it (I don't know the details). Factor into a new epee function
* | | Merge pull request #4854Riccardo Spagni2018-12-044-18/+4
|\ \ \ | | | | | | | | | | | | bd98e99c Removed a lot of unnecessary includes (Martijn Otto)
| * | | Removed a lot of unnecessary includesMartijn Otto2018-11-154-18/+4
| | | |
* | | | Merge pull request #4853Riccardo Spagni2018-12-041-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 2b3595d0 various: do not propagate exception through dtor (moneromooo-monero)
| * | | | various: do not propagate exception through dtormoneromooo-monero2018-11-151-1/+1
| |/ / / | | | | | | | | | | | | Coverity 189689, 189690, 189692, 189695
* | | | Merge pull request #4850Riccardo Spagni2018-12-041-15/+35
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | b36353e2 unit_tests: add some hex parsing test for non hex input (xiphon) 6671110c unit_tests: add a test for parse_hexstr_to_binbuff (moneromooo-monero) f6187cd8 epee: speed up parse_hexstr_to_binbuff a little (Howard Chu)
| * | | epee: speed up parse_hexstr_to_binbuff a littleHoward Chu2018-11-151-15/+35
| |/ /