summaryrefslogtreecommitdiff
path: root/src/p2p
Commit message (Collapse)AuthorAgeFilesLines
* Revert "p2p: connect via the bound ip, if any"moneromooo-monero2018-10-131-3/+3
| | | | | | This reverts commit 909398efc79cb1fa92e330e9a50a316ca5858953. It looks like it's causing trouble with tor on some setups
* Merge pull request #4089luigi11112018-08-151-3/+3
|\ | | | | | | 909398e p2p: connect via the bound ip, if any (moneromooo-monero)
| * p2p: connect via the bound ip, if anymoneromooo-monero2018-07-021-3/+3
| |
* | Merge pull request #4075luigi11112018-07-191-1/+0
|\ \ | | | | | | | | | 438d52d remove epee from link lines where it's redundant (moneromooo-monero)
| * | remove epee from link lines where it's redundantmoneromooo-monero2018-06-281-1/+0
| |/ | | | | | | | | | | For some reason, this confuses and kills ASAN on startup as it thinks const uint8_t ipv4_network_address::ID is defined multiple times.
* | Merge pull request #3854luigi11112018-07-191-0/+3
|\ \ | |/ |/| | | | | | | | | 149da42 db_lmdb: enable batch transactions by default (stoffu) 34cb6b4 add --regtest and --fixed-difficulty for regression testing (vicsn) 9e1403e update get_info RPC and bump RPC version (vicsn) 207b66e first new functional tests (vicsn)
| * add --regtest and --fixed-difficulty for regression testingvictorsintnicolaas2018-06-291-0/+3
| | | | | | | | | | | | | | on_generateblocks RPC call combines functionality from the on_getblocktemplate and on_submitblock RPC calls to allow rapid block creation. Difficulty is set permanently to 1 for regtest. Makes use of FAKECHAIN network type, but takes hard fork heights from mainchain Default reserve_size in generate_blocks RPC call is now 1. If it is 0, the following error occurs 'Failed to calculate offset for'. Queries hard fork heights info of other network types
* | Merge pull request #3982luigi11112018-06-271-16/+46
|\ \ | | | | | | | | | | | | 08b85a8 cryptonote_config: add get_config to refactor x = testnet ? config::testnet::X : stagenet ? config::stagenet::X : config::X (stoffu) 0cf80ba net_node: resolve host for node addresses given via command line flags (stoffu)
| * | net_node: resolve host for node addresses given via command line flagsstoffu2018-06-111-13/+43
| | |
| * | cryptonote_config: add get_config to refactor x = testnet ? ↵stoffu2018-06-111-3/+3
| |/ | | | | | | config::testnet::X : stagenet ? config::stagenet::X : config::X
* | Merge pull request #3861luigi11112018-06-192-0/+16
|\ \ | | | | | | | | | de1ffe0 p2p: warn when no incoming connections are seen for a while (moneromooo-monero)
| * | p2p: warn when no incoming connections are seen for a whilemoneromooo-monero2018-05-262-0/+16
| |/
* / p2p: fix fallback seed node usagemoneromooo-monero2018-04-292-3/+11
|/ | | | | | | Those were added to the seed nodes list even when they had already been added. Moreover, the current index was not reset after they were added, typically causing previous seeds to be used, and some of those fallback seeds to not be tried.
* Fix broken interactive daemon 'limit' commands plus RPC callsrbrunner72018-04-251-2/+2
|
* Build: update CMake and p2p for in-tree miniupnpanonimal2018-04-211-10/+3
| | | | (cherry picked from commit a7366b5feeffaeb65b217b2d6f138e0ab1c90192)
* CMake: update new location of in-tree miniupnpcanonimal2018-04-191-3/+3
| | | | (cherry picked from commit b16a282f97d8f6c967e8a0b1ecfd75110f095182)
* Merge pull request #3502Riccardo Spagni2018-04-121-1/+1
|\ | | | | | | 11c933e1 fix lambda compile error on openbsd (moneromooo-monero)
| * fix lambda compile error on openbsdmoneromooo-monero2018-03-271-1/+1
| |
* | p2p: correct port number for seed nodesstoffu2018-03-221-3/+3
|/
* p2p: fix network ID being uninitialised when using exclusive peersmoneromooo-monero2018-03-131-1/+4
|
* Stagenetstoffu2018-03-053-18/+34
|
* Merge pull request #3290Riccardo Spagni2018-02-201-0/+1
|\ | | | | | | 1d28c0d8 p2p: restore m_testnet assignment lost during rebase (whythat)
| * p2p: restore m_testnet assignment lost during rebasewhythat2018-02-181-0/+1
| |
* | p2p: need libcryptonote_core due to arg_testnet_on being usedstoffu2018-02-181-0/+1
|/
* options: add testnet option dependencieswhythat2018-02-161-2/+6
|
* options: remove testnet-* optionswhythat2018-02-163-16/+6
|
* Merge pull request #3196Riccardo Spagni2018-02-161-1/+2
|\ | | | | | | eda9fb5b p2p: fix testnet/mainnet port mixup (moneromooo-monero)
| * p2p: fix testnet/mainnet port mixupmoneromooo-monero2018-01-281-1/+2
| |
* | Merge pull request #3226Riccardo Spagni2018-02-162-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4646379 keccak: fix mdlen bounds sanity checking (moneromooo-monero) 2e3e90ac pass large parameters by const ref, not value (moneromooo-monero) 61defd89 blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero) 9af6b2d1 ringct: fix infinite loop in unused h2b function (moneromooo-monero) 8cea8d0c simplewallet: double check a new multisig wallet is multisig (moneromooo-monero) 9b98a6ac threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero) 24803ed9 blockchain_export: fix buffer overflow in exporter (moneromooo-monero) f3f7da62 perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero) c6ea3df0 performance_tests: remove add_arg call stray extra param (moneromooo-monero) fa6b4566 fuzz_tests: fix an uninitialized var in setup (moneromooo-monero) 03887f11 keccak: fix sanity check bounds test (moneromooo-monero) ad11db91 blockchain_db: initialize m_open in base class ctor (moneromooo-monero) bece67f9 miner: restore std::cout precision after modification (moneromooo-monero) 1aabd14c db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
| * | pass large parameters by const ref, not valuemoneromooo-monero2018-02-022-2/+2
| |/ | | | | | | Coverity 136394 136397 136409 136526 136529 136533 175302
* | Merge pull request #3221Riccardo Spagni2018-02-161-0/+2
|\ \ | | | | | | | | | 2e584dcb p2p: do not try to connect to peers in offline mode (moneromooo-monero)
| * | p2p: do not try to connect to peers in offline modemoneromooo-monero2018-02-011-0/+2
| |/
* | Allow the number of incoming connections to be limitedErik de Castro Lopo2018-01-294-3/+63
| | | | | | | | | | | | It was already possible to limit outgoing connections. One might want to do this on home network connections with high bandwidth but low usage caps.
* | Rename delete_connections to delete_out_connectionsErik de Castro Lopo2018-01-292-2/+2
| | | | | | | | This rename is needed so that delete_in_connections can be added.
* | Rename connections_count to max_out_connection_countErik de Castro Lopo2018-01-292-12/+12
|/ | | | This is needed so that a max_in_connection_count can be added.
* Merge pull request #3145Riccardo Spagni2018-01-271-6/+6
|\ | | | | | | | | fd1dfac5 p2p: don't lookup seed IPs if using an exclusive peer (moneromooo-monero) b50182ae p2p: don't connect to seeds if using an exclusive peer (moneromooo-monero)
| * p2p: don't lookup seed IPs if using an exclusive peermoneromooo-monero2018-01-171-5/+5
| |
| * p2p: don't connect to seeds if using an exclusive peermoneromooo-monero2018-01-171-1/+1
| |
* | Update 2018 copyrightxmr-eric2018-01-269-9/+9
| |
* | p2p: fix picking peers off an empty gray listmoneromooo-monero2018-01-181-1/+4
|/
* fix some link errors in debug mode for macosstoffu2018-01-101-0/+1
|
* Merge pull request #2928Riccardo Spagni2017-12-251-2/+5
|\ | | | | | | d28c388f p2p: stop net server before closing starting connections (moneromooo-monero)
| * p2p: stop net server before closing starting connectionsmoneromooo-monero2017-12-151-2/+5
| | | | | | | | | | | | This fixes a hang on exit due to race where a connection adds itself to the server after the starting connections are closed, but before the net server marks itself as stopped.
* | p2p: use size_t for arbitrary counters instead of uint8_tmoneromooo-monero2017-12-181-2/+2
| |
* | Merge pull request #2877Riccardo Spagni2017-12-1710-1261/+90
|\ \ | | | | | | | | | | | | | | | 43f5269f Wallets now do not depend on the daemon rpc lib (moneromooo-monero) bb89ae8b move connection_basic and network_throttle from src/p2p to epee (moneromooo-monero) 4abf25f3 cryptonote_core does not depend on p2p anymore (moneromooo-monero)
| * | move connection_basic and network_throttle from src/p2p to epeemoneromooo-monero2017-12-166-1214/+0
| | | | | | | | | | | | | | | These even had the epee namespace. This fixes some ugly circular dependencies.
| * | cryptonote_core does not depend on p2p anymoremoneromooo-monero2017-12-164-47/+90
| | | | | | | | | | | | | | | | | | As a followon side effect, this makes a lot of inline code included only in particular cpp files (and instanciated when necessary.
* | | move includes around to lessen overall loadmoneromooo-monero2017-12-161-0/+2
|/ /
* | Merge pull request #2878Riccardo Spagni2017-12-161-4/+2
|\ \ | | | | | | | | | | | | abebe392 rpc: add offline state in info rpc (moneromooo-monero) 7696e849 core: make --offline also disable DNS lookups (moneromooo-monero)
| * | core: make --offline also disable DNS lookupsmoneromooo-monero2017-11-301-4/+2
| |/