Commit Graph

248 Commits (c6c4ead44ee7ecd1959a940564c3fd5c96cf1ba5)

Author SHA1 Message Date
Jason Rhinelander adc16d2504 Fix check for disconnecting peers when syncing
5 years ago
Doyle f17dcde451 Remove unused txs member in NOTIFY_RESPONSE_GET_OBJECT
5 years ago
moneromooo-monero a96c1a46d4
cryptonote_protocol: drop peers we can't download from when syncing
5 years ago
moneromooo-monero 68ad548193
cryptonote_protocol: fix another potential P2P DoS
5 years ago
moneromooo-monero 1cc61018e5
cryptonote_protocol: expand basic DoS protection
5 years ago
anonimal 8f66b7053a
cryptonote_protocol_handler: prevent potential DoS
5 years ago
moneromooo-monero 2aa11341fc
daemon: display peer address type in print_cn
5 years ago
moneromooo-monero e980938210
fix wide difficulty conversion with some versions of boost
5 years ago
moneromooo-monero f26e0b5d11
cryptonote_protocol: warn when the last connection goes
5 years ago
Riccardo Spagni 3759e2359f
Merge pull request #5360
5 years ago
Riccardo Spagni 4ac78e1612
Merge pull request #5346
5 years ago
moneromooo-monero b0c552f50f
cryptonote_protocol_handler: add block/tx hashes in notify logs
5 years ago
moneromooo-monero 547a9708de
cryptonote: block parsing + hash calculation speedup
5 years ago
moneromooo-monero 91f4c7f45f
Make difficulty 128 bit instead of 64 bit
5 years ago
Riccardo Spagni acc7211b5b
Merge pull request #5199
5 years ago
Riccardo Spagni bf0f85221b
Merge pull request #5195
5 years ago
Riccardo Spagni 848591c4d8
Merge pull request #5190
5 years ago
binaryFate 1f2930ce0b Update 2019 copyright
5 years ago
moneromooo-monero 88c85c18e0
cryptonote: avoid double parsing blocks when syncing
5 years ago
moneromooo-monero 238401d4e9
core: avoid double parsing blocks after hoh
5 years ago
Riccardo Spagni 372c0da086
Merge pull request #5111
5 years ago
moneromooo-monero eef164f7cc
cryptonote_protocol_handler: search for syncing peers in "cruise mode"
5 years ago
xiphon a54e81e572 daemon: add '--no-sync' arg to optionally disable blockchain sync
5 years ago
xiphon 551104fbf1 daemon: add --public-node mode, RPC port propagation over P2P
5 years ago
moneromooo-monero 2456945408
epee: add SSL support
5 years ago
moneromooo-monero 6a3608d3d2
cryptonote_protocol_handler: pad tx messages when using tor/i2p
5 years ago
Lee Clagett 973403bc9f Adding initial support for broadcasting transactions over Tor
5 years ago
moneromooo-monero b750fb27b0
Pruning
5 years ago
Riccardo Spagni 846362842c
Merge pull request #4976
5 years ago
Riccardo Spagni 13b006137c
Merge pull request #4949
5 years ago
moneromooo-monero 85665003a7
epee: better network buffer data structure
5 years ago
Riccardo Spagni dde1e69723
Merge pull request #4787
6 years ago
moneromooo-monero 5464725a29
protocol: change standby mode to not wait sleeping
6 years ago
Riccardo Spagni 5ed45acaec
Merge pull request #4906
6 years ago
moneromooo-monero 506472e0c6
protocol: fix use after free when dropping a connection
6 years ago
moneromooo-monero c25260f51c
protocol: fix incorrect tx hash in log
6 years ago
moneromooo-monero 3dba7f252e
protocol: option to pad transaction relay to the next kB
6 years ago
luigi1111 0d415ff638
Merge pull request #4207
6 years ago
luigi1111 4745e3be22
Merge pull request #4020
6 years ago
moneromooo-monero ce9457a379
cryptonote_protocol: don't serialize an unneeded new block message
6 years ago
Jorropo c24a0af9f1 [monerod] Added blocks remaining count during syncronisation.
6 years ago
luigi1111 a844844cda
Merge pull request #3716
6 years ago
moneromooo-monero ed2c81ed95
replace std::list with std::vector on some hot paths
6 years ago
moneromooo-monero 1789b76b5d
cryptonote_protocol_handler: log when dropping a peer
6 years ago
moneromooo-monero f2cb56a2eb
protocol: drop (and increase fails) if most blocks hashes are invalid
6 years ago
moneromooo-monero e942d34d54
protocol: do not switch to unsafe sync mode for just a few blocks
6 years ago
Riccardo Spagni 6b9d9f56a1
Merge pull request #3719
6 years ago
stoffu 3880bf396a
cryptonote_protocol_handler.inl: remove span read just now that failed to pass some basic tests
6 years ago
stoffu da249fd5ba
cryptonote_protocol_handler.inl: fix return type mismatches (int vs bool)
6 years ago
Thaer Khawaja dad1077577 Only log an error if fork version is higher AND is not known.
6 years ago
Dimitris Apostolou 57c0b1ed9f Fix typos in various files
6 years ago
Riccardo Spagni 4f93f74528
Merge pull request #3277
6 years ago
Edward Betts fbcc91c2a4 Correct spelling mistakes.
6 years ago
stoffu af773211cb
Stagenet
6 years ago
Riccardo Spagni ef47ba95c8
Merge pull request #3229
6 years ago
Riccardo Spagni bdf0339dda
Merge pull request #3181
6 years ago
moneromooo-monero 928c1825f0
cryptonote_protocol: guard against all threads in standby
6 years ago
Riccardo Spagni 4fcf609942
Merge pull request #3186
6 years ago
xmr-eric 18216f19dd Update 2018 copyright
6 years ago
moneromooo-monero 7ed62e63e5
cryptonote_protocol: fix std::move usage on different types
6 years ago
Riccardo Spagni 5a312752af
Merge pull request #3040
6 years ago
Riccardo Spagni 75cbb7719e
Merge pull request #3015
6 years ago
moneromooo-monero e3f0980a1d
daemon: don't drop RPC with busy error when running offline
6 years ago
Riccardo Spagni 0b5994fbec
Merge pull request #3004
6 years ago
moneromooo-monero 69f9a07553
cryptonote_protocol: fix missing space in version mismatch message
6 years ago
moneromooo-monero f06603a439
cryptonote_protocol: update target height when receiving blocks
6 years ago
moneromooo-monero a2c845c7e3
cryptonote_protocol: internal error consistency size check
6 years ago
moneromooo-monero 45a1c4c088
add empty container sanity checks when using front() and back()
7 years ago
moneromooo-monero 46d6fa35c9
cryptonote_protocol: sanity check chain hashes from peer
7 years ago
moneromooo-monero 25584f8639
cryptonote_protocol: print peer versions when unexpected
7 years ago
moneromooo-monero bb89ae8b20
move connection_basic and network_throttle from src/p2p to epee
7 years ago
moneromooo-monero 4abf25f3c9
cryptonote_core does not depend on p2p anymore
7 years ago
moneromooo-monero b927f0b17e
cryptonote_protocol: fix corner case looping asking for same block hashes
7 years ago
moneromooo-monero 310b790a64
make connection_id a string in RPC
7 years ago
moneromooo-monero 383ff4f689
remove "using namespace std" from headers
7 years ago
moneromooo-monero 1ff638e927
protocol: drop connections which don't handshake after some time
7 years ago
Vasil Dimov 4d35ad7603
Fix compiler warnings with Clang 6.0.0.
7 years ago
Riccardo Spagni d5ab55b8d7
Merge pull request #2604
7 years ago
Riccardo Spagni 5ea20d6944
Merge pull request #2469
7 years ago
moneromooo-monero 0a872798bc
protocol: kick idle peers by dropping them
7 years ago
moneromooo-monero 5d65a75b69
move checkpoints in a separate library
7 years ago
Riccardo Spagni 74c4f1a563
Merge pull request #2460
7 years ago
moneromooo-monero 7adceee634
precomputed block hashes are now in blocks of N (currently 256)
7 years ago
moneromooo-monero 3487d81034
cryptonote_protocol: fix needless chain hashes downloads
7 years ago
moneromooo-monero 7f2f6ee1c9
protocol: remove hop count on block propagation
7 years ago
moneromooo-monero 6ac61100a1
Add a --fluffy-blocks option to relay blocks as fluffy blocks
7 years ago
Riccardo Spagni 1e57e48342
Merge pull request #2372
7 years ago
moneromooo-monero c867357adc
cryptonote_protocol: error handling on cleanup_handle_incoming_blocks
7 years ago
moneromooo-monero 63d8dddc0a
cryptonote_protocol: remove old spans when received as old blocks
7 years ago
Riccardo Spagni 36b978f50e
Merge pull request #2314
7 years ago
moneromooo-monero df0cffede0
cryptonote_protocol: warn if we see a higher top version we expect
7 years ago
moneromooo-monero 317ab21a03
cryptonote_protocol: less strict check on top version on connect
7 years ago
moneromooo-monero cc81a37155
cryptonote_protocol: update target height when syncing too
7 years ago
moneromooo-monero e2ad372b87
cryptonote_protocol: simplify and remove unnecessary casts
7 years ago
moneromooo-monero 727e67cada
cryptonote_protocol: print peer top height along with its version
7 years ago
Howard Chu c22d22e2db
Cleanup test impact of adding safesyncmode() method
7 years ago
moneromooo-monero 70b8c6d77a
cryptonote_protocol: misc fixes to the new sync algorithm
7 years ago
Howard Chu 9a859844f4
Toggle SAFE syncmode on and off automatically
7 years ago
Riccardo Spagni 4466b6d1b0
Merge pull request #2303
7 years ago
Riccardo Spagni 4859a00134
Merge pull request #2300
7 years ago