aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/node_server.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Establish Monzero Phase 0 and inactive assets baselinemonzero-phase0-assets-prototype-20260815Monzero Build System7 hours1-1/+10
|
* daemon: remove miniupnptobtoht2026-04-261-2/+0
|
* Merge pull request #10410tobtoht2026-04-181-0/+105
|\ | | | | | | 1d2ae21 p2p: isolate regtest from mainnet bootstrap state (Jeetraj)
| * p2p: isolate regtest from mainnet bootstrap stateJeetraj2026-04-101-0/+105
| |
* | p2p: fix hanging shutdownj-berman2026-04-041-34/+19
|/
* p2p: fix race causing dropped connections during syncj-berman2025-12-111-1/+1
| | | | | | | | | | | | | Without this commit: 1) read height from DB 2) add block to chain in separate thread 3) read chain for block id's and request them from peer 4) ERR in handle_response_chain_entry, peer's first block is the one that was added to the chain, which has block idx=height from step 1. This commit reads the chain for height and highest block id's in one go while holding the m_blockchain_lock to avoid the race.
* Merge pull request #9740tobtoht2025-03-101-3/+5
|\ | | | | | | 008ba966d blockchain sync: reduce disk writes from 2 to 1 per tx (jeffro256)
| * blockchain sync: reduce disk writes from 2 to 1 per txjeffro2562025-03-101-3/+5
| |
* | Fix build with boost ASIO 0.87. Support boost 1.66+Lee *!* Clagett2025-02-141-19/+19
|/
* Merge pull request #9460tobtoht2025-01-221-0/+12
|\ | | | | | | 0cd74568d Cleanup TCP throttling code (performance) + move connection checks (Lee *!* Clagett)
| * Cleanup TCP throttling code (performance) + move connection checksLee *!* Clagett2024-12-191-0/+12
| |
* | p2p: allow comments in banlist filesjeffro2562024-12-131-0/+85
|/ | | | In-line comments explicitly explaining banned hosts/subnets might help assuage fears of some good banlists' arbitaryiness.
* Move update_checkpoints() to a later stageSChernykh2022-09-221-0/+1
| | | | update_checkpoints() makes a few DNS requests and can take up to 20-30 seconds to complete (3-6 seconds on average). It is currently called from core::handle_incoming_block() which holds m_incoming_tx_lock, so it blocks all incoming transactions and blocks processing while update_checkpoints() is running. This PR moves it to until after a new block has been processed and relayed, to avoid full monerod locking.
* Don't exclusively drop tor/i2p outgoing cxns in idle loopj-berman2022-05-181-2/+2
|
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* Merge pull request #7874luigi11112021-10-111-0/+260
|\ | | | | | | | | 9154883 node_server: fix race condition (anon) 8922f96 node_server: add race condition demo (anon)
| * node_server: add race condition demoanon2021-09-201-0/+260
| |
* | Mac: UT node server fix IP localhost by aliasingmj-xmr2021-09-121-0/+3
|/
* unit_tests: fix broken testsanon2021-07-281-4/+6
| | | | | boosted_tcp_server: check condition before sleep too cryptonote_protocol_handler: each instance of BlockchainLMDB requires separate thread due to private thread local fields
* Remove payload copy in all outgoing p2p messagesLee Clagett2021-01-191-16/+6
|
* unit_tests: fix boost 1.58 compatibilityanon2021-04-081-1/+1
|
* Tests: Fix test node_server.bind_same_p2p_port from randomly crashingmj-xmr2021-04-051-0/+12
|
* cryptonote_protocol_handler: add race condition demoanon2021-03-221-0/+592
|
* Remove unused variables in monero codebaseKevin Barbour2021-02-091-1/+0
| | | | | | | | | | | There are quite a few variables in the code that are no longer (or perhaps never were) in use. These were discovered by enabling compiler warnings for unused variables and cleaning them up. In most cases where the unused variables were the result of a function call the call was left but the variable assignment removed, unless it was obvious that it was a simple getter with no side effects.
* protocol: more sanity checks in new chain block hashesmoneromooo-monero2020-12-311-1/+2
|
* protocol: fix false positives dropping peersmoneromooo-monero2020-12-271-0/+1
| | | | it'd trigger on reorgs
* Revert "Reject existing claimed blocks in sync mode"luigi11112020-12-271-1/+0
|
* protocol: reject claimed block hashes that already are in the chainmoneromooo-monero2020-12-171-0/+1
|
* cryptonote_core: dandelion - use local height or median height if syncingxiphon2020-11-251-1/+2
|
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* Merge pull request #6214luigi11112020-03-311-0/+2
|\ | | | | | | 054b4c7 protocol: request txpool contents when synced (moneromooo-monero)
| * protocol: request txpool contents when syncedmoneromooo-monero2020-03-221-0/+2
| | | | | | | | | | | | | | A newly synced Alice sends a (typically quite small) list of txids in the local tpxool to a random peer Bob, who then uses the existing tx relay system to send Alice any tx in his txpool which is not in the list Alice sent
* | p2p: remove old debug commandsAaron Hook2020-03-201-1/+0
|/
* Adding support for hidden (anonymity) txpoolLee Clagett2019-11-021-5/+6
|
* unit_tests: fix use after freemoneromooo-monero2019-10-301-7/+16
|
* unit_tests: fix build after renamemoneromooo-monero2019-10-151-4/+6
|
* p2p+rpc: don't skip p2p or rpc port bind failure by defaultxiphon2019-10-131-0/+299