Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Ssl on top of random unmerged stuff #4011

Closed
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
dc53234
optional boost stacktrace to get stack traces on mac and windows too
moneromooo-monero Apr 14, 2018
2f6797e
easylogging++: cached allowed categories
moneromooo-monero Apr 15, 2018
0f3614b
wallet2: use std::move on containers where appropriate
moneromooo-monero Apr 15, 2018
b7ed473
rpc: add option to skip coinbase info in get_blocks.bin
moneromooo-monero Apr 15, 2018
9d1a86d
rpc: sanity check on number of txes in a block
moneromooo-monero Apr 15, 2018
97a0b05
replace std::list with std::vector on some hot paths
moneromooo-monero Apr 15, 2018
632e667
rpc: rework to avoid repeated calculations in get_blocks.bin
moneromooo-monero Apr 16, 2018
c3de233
wallet: don't process miner tx if we're refreshing with no-coinbase
moneromooo-monero Apr 17, 2018
8a33f3f
wallet2: simplify/speedup process_blocks
moneromooo-monero Apr 17, 2018
8f38448
wallet2: parse blocks in the RPC thread, not the processing thread
moneromooo-monero Apr 17, 2018
902ed48
wallet2: remove useless device locking
moneromooo-monero Apr 18, 2018
eaba8fe
wallet2: avoid duplicate parsing of tx extra
moneromooo-monero Apr 18, 2018
94df79f
wallet2: avoid re-parsing blocks when refreshing in a loop
moneromooo-monero Apr 18, 2018
8e8c81a
blockchain: simplify/speedup handle_get_objects
moneromooo-monero Apr 18, 2018
a837a71
wallet2: speedup refresh
moneromooo-monero Apr 21, 2018
8bbb9f7
core: remove threadpool dependency from header
moneromooo-monero Apr 23, 2018
a37c5cf
wallet2: remove old blockchain size cache hack
moneromooo-monero Apr 24, 2018
b6ea0f1
wallet2: remove unneeded divisions
moneromooo-monero Apr 24, 2018
f198d3f
threadpool: allow leaf functions to run concurrently
moneromooo-monero Apr 26, 2018
f8dfd11
unit_tests: add logging unit test
moneromooo-monero Apr 27, 2018
fd4d687
wallet2: cache ringdb key while refreshing
moneromooo-monero Apr 27, 2018
5440c3c
cryptonote_protocol_handler: recover from wedged sync
moneromooo-monero Apr 27, 2018
ae8624c
wallet2: recover from index out of hashchain bounds error
moneromooo-monero Apr 28, 2018
92f0ea1
wallet2: recover from bad hashchain
moneromooo-monero Apr 30, 2018
6ca4379
cryptonote_protocol_handler: log when dropping a peer
moneromooo-monero May 1, 2018
2777be9
epee: log type name when a container size check fails
moneromooo-monero May 17, 2018
a4e0f2f
object_sizes: add a few useful types
moneromooo-monero May 17, 2018
76e4a6d
core: lock incoming tx lock when checking the txpool and chain
moneromooo-monero May 18, 2018
3497c0f
alt_chain_info can now give more info about a particular alt chain
moneromooo-monero May 19, 2018
70b4538
epee: fallback to a counter if gmtime fails when rotating logs
moneromooo-monero May 26, 2018
5de39f8
db_lmdb: log which output was not found in get_output_key
moneromooo-monero May 31, 2018
7818065
easylogging++: remove std::deque usage
moneromooo-monero May 31, 2018
f345f26
epee: fix detection of 172.16.0.0/16 local IP range
moneromooo-monero Jun 1, 2018
bd0e9d9
unit_tests: add tests for local IP range detection
moneromooo-monero Jun 1, 2018
3476fd3
wip
moneromooo-monero Apr 29, 2018
cc1a788
db: store cumulative rct output distribution in a table
moneromooo-monero May 22, 2018
5e3ed8d
account: fix build with GCC 8.1.0
moneromooo-monero May 24, 2018
79aee03
db_lmdb: resize blockchain database when 90% filled
moneromooo-monero May 25, 2018
8cf6991
p2p: warn when no incoming connections are seen for a while
moneromooo-monero May 25, 2018
f2f91b3
Revert "removing some unsed epee files"
moneromooo-monero May 26, 2018
b84c7d4
epee: fix include for ofstream
moneromooo-monero May 30, 2018
124464c
tx_pool: initialize bitflags padding since it gets written to storage
moneromooo-monero Jun 5, 2018
fd96854
ringct: remove an unnecessary scalarmultBase in zeroCommit
moneromooo-monero Jun 6, 2018
bd9b84f
wallet: do not log by default if we're not asked to log to console
moneromooo-monero Jun 6, 2018
bb5f6e3
blockchain_import: warn+delay about using --hard-against-pwnage 0
moneromooo-monero Jun 6, 2018
1c3f4cc
wallet2: fix bulletproof cold signing
moneromooo-monero Jun 7, 2018
37c02dc
epee: adaptive connection timeout system
moneromooo-monero Jun 7, 2018
b886c80
abstract_tcp_server2: fix busy calling of idle IO service
moneromooo-monero Jun 9, 2018
1522e1f
blockchain: avoid duplicate db query for height
moneromooo-monero Jun 9, 2018
a7ce6df
db_lmdb: close cursors when done
moneromooo-monero Jun 8, 2018
653ebe1
do not prune v1 txes
moneromooo-monero Jun 8, 2018
4587eb3
wallet2: fix double counting, will be gone once master's in
moneromooo-monero Jun 11, 2018
a80f170
wipN
moneromooo-monero Jun 11, 2018
a2c67be
demo http server tmp
moneromooo-monero Jun 12, 2018
5818e84
wallet: on first refresh, start off with a quantized height
moneromooo-monero Jun 13, 2018
ecd74a2
add and use constant time 32 byte equality function
moneromooo-monero Jun 13, 2018
c64c4dd
wipN+1
moneromooo-monero Jun 14, 2018
79647a2
wallet2: fix out of sync account tag cache
moneromooo-monero Jun 15, 2018
3fd2b80
epee: add SSL support
moneromooo-monero Jun 14, 2018
9718538
epee: SSL support for demo HTTP server
moneromooo-monero Jun 14, 2018
a4e0405
mlog: do not display http errors by default
moneromooo-monero Jun 17, 2018
14ba560
rpc: add blockchain disk size to getinfo
moneromooo-monero Jun 17, 2018
d48dd24
core: cache block template where possible
moneromooo-monero Apr 17, 2016
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+4 −2
Diff settings

Always

Just for now

abstract_tcp_server2: fix busy calling of idle IO service

This would make monerod use 100% CPU when running with torsocks
without Tor running
  • Loading branch information...
moneromooo-monero committed Jun 9, 2018
commit b886c80d405e72fb47e493c0952cc6aa0a05d7de
@@ -395,7 +395,7 @@ PRAGMA_WARNING_DISABLE_VS(4355)
//ask it inside(!) critical region if we still able to go in event wait...
size_t cnt = socket_.get_io_service().poll_one();
if(!cnt)
misc_utils::sleep_no_w(0);
misc_utils::sleep_no_w(1);
}

return true;
@@ -884,7 +884,9 @@ POP_WARNINGS
{
try
{
io_service_.run();
size_t cnt = io_service_.run();
if (cnt == 0)
misc_utils::sleep_no_w(1);
}
catch(const std::exception& ex)
{
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.