Commit Graph

392 Commits (v0.11.0.1)

Author SHA1 Message Date
Lee Clagett 3b24b1d082 Added support for "noise" over I1P/Tor to mask Tx transmission.
5 years ago
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
moneromooo-monero e396146aee
default initialize rpc structures
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
Riccardo Spagni 31bdf7bd11
Merge pull request #4988
5 years ago
Lee Clagett 973403bc9f Adding initial support for broadcasting transactions over Tor
5 years ago
moneromooo-monero dc0b86ab4b
block_queue: fix late sanity check off by one
5 years ago
moneromooo-monero b750fb27b0
Pruning
5 years ago
Riccardo Spagni 3e9bb9626a
Merge pull request #5001
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
6 years ago
Lee Clagett a5ffc2d5ad Remove boost::lexical_cast for uuid and unused uuid function
6 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
Riccardo Spagni 868630c1db
Merge pull request #4877
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
Martijn Otto bd98e99c80
Removed a lot of unnecessary includes
6 years ago
moneromooo-monero 3dba7f252e
protocol: option to pad transaction relay to the next kB
6 years ago
luigi1111 46d8bc2a33
Merge pull request #4160
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
moneromooo-monero 704b60caf0
block_queue: faster check whether a block was requested
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 84a7f6a482 Readd copyright starting date
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 d25217f058
Merge pull request #3105
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
moneromooo-monero b56f46457c
cryptonote_protocol: fix size_t used in wire format
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
7 years ago
moneromooo-monero f06603a439
cryptonote_protocol: update target height when receiving blocks
7 years ago
moneromooo-monero a2c845c7e3
cryptonote_protocol: internal error consistency size check
7 years ago
moneromooo-monero b51dc56687
use const refs in for loops for non tiny types
7 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
Riccardo Spagni 066fd7aced
Merge pull request #2877
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 09ce03d612
move includes around to lessen overall load
7 years ago
Riccardo Spagni 9b511d3e93
Merge pull request #2866
7 years ago
moneromooo-monero b927f0b17e
cryptonote_protocol: fix corner case looping asking for same block hashes
7 years ago
rbrunner7 cf5f623616 Corrections in rate limiting / trottle code, especially in 'out' direction
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 1e577e8fbf
Merge pull request #2571
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 8028dde7a6
block_queue: use boost::uuids::nil_uuid where appropriate
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
Riccardo Spagni 13be8115e4
Merge pull request #2458
7 years ago
stoffu e29282d208
build: auto update version info without manually deleting version.h
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
Riccardo Spagni 1d32a5a445
Merge pull request #2291
7 years ago
moneromooo-monero 5a283078ec
cryptonote_protocol: large block sync size before v4
7 years ago
moneromooo-monero 7b74760756
cryptonote_protocol: kick idle synchronizing peers
7 years ago
moneromooo-monero 42b34b3545
Consistently print peer id in hex and on 16 chars
7 years ago
Nano Akron b59cd0745b befor -> before
7 years ago
moneromooo-monero 827afcb7ea
protocol: pass blockchain cumulative difficulty when syncing
7 years ago
Riccardo Spagni 53dde37ceb
Merge pull request #2276
7 years ago
Riccardo Spagni 86cf8cac86
Merge pull request #2275
7 years ago
Riccardo Spagni 1d093eff67
Merge pull request #2273
7 years ago
Riccardo Spagni e0df740bc9
Merge pull request #2272
7 years ago
moneromooo-monero 35e01a6e50
cryptonote_protocol: fix "holes" in block download schedule
7 years ago
moneromooo-monero 3da1edfde5
cryptonote_protocol: fix out of order addition
7 years ago
moneromooo-monero 6edb1b3e46
block_queue: do not add empty spans
7 years ago
moneromooo-monero 2ec15a6931
daemon: print peers' top height in sync_info
7 years ago
moneromooo-monero 88e83f9427
cryptonote_protocol_handler: log versions as unsigned ints
7 years ago
moneromooo-monero 08abb670e1
protocol: fix reorgs while syncing
7 years ago
moneromooo-monero a1891ebea9
tests: fix tests build
7 years ago
moneromooo-monero 0e8d60c06c
cryptonote_protocol: fix recv/send idle time before handshake
7 years ago
moneromooo-monero f90bbe2a5c
cryptonote_protocol: keep target in sync with dropped connections
7 years ago
moneromooo-monero 635929eaca
protocol: add checks for top block hard fork version
7 years ago
Riccardo Spagni 6db8a60a18
Merge pull request #2149
7 years ago
Riccardo Spagni b1af32b48d
Merge pull request #2242
7 years ago
Riccardo Spagni ea46a5527a
Merge pull request #2234
7 years ago
moneromooo-monero 158c3ecff3
core: thread most of handle_incoming_tx
7 years ago
moneromooo-monero f57ee382b8
cryptonote_protocol: retry stale spans early
7 years ago
moneromooo-monero 90df52e12f
cryptonote_protocol: light cleanup
7 years ago
moneromooo-monero 84e23156ac
cryptonote_protocol: avoid spurious SYNCHRONIZED OK messages
7 years ago
moneromooo-monero 5be43fcdba
cryptonote_protocol_handler: sync speedup
7 years ago
moneromooo-monero 1c9196b0c5
cryptonote_protocol: fix days behind calc on testnet
7 years ago
moneromooo-monero 214fd81e93
some include cleanup
7 years ago
rbrunner7 f1b76c8424 cryptonote_protocol: Set send_idle_time in connection_info correctly
7 years ago
moneromooo-monero 8f96cfc20a
Remove typeid use in network_address
7 years ago
Riccardo Spagni a0174ad534
Merge pull request #2064
7 years ago
Riccardo Spagni a237f90c5b
Merge pull request #2052
7 years ago
moneromooo-monero 6fc2dc3927
cryptonote_protocol_handler: fix crash in debug log
7 years ago
moneromooo-monero 072102cfd2
abstracted nework addresses
7 years ago
moneromooo-monero b52abd1370
Move txpool to the database
7 years ago
moneromooo-monero b54e19d00e
protocol: fix wrong tx being looked up from fluffy block
7 years ago
moneromooo-monero 09e060febb
protocol: fix fluffy to normal block dropping txes
7 years ago
moneromooo-monero 96ce57d551
protocol: tone down a rate limit not implemented yet warning
7 years ago
moneromooo-monero 4d05955d53
protocol: fix "sync done" message not appearing
7 years ago
Riccardo Spagni c3599fa7b9
update copyright year, fix occasional lack of newline at line end
7 years ago
Riccardo Spagni b252afb0b0
Merge pull request #1736
7 years ago
Riccardo Spagni 49efd3add9
Merge pull request #1727
7 years ago
Howard Chu 424b76a4e5
Fix spurious synchronization status msgs
7 years ago
moneromooo-monero 0288310e3b
blockchain_db: add "raw" blobdata getters for block and transaction
7 years ago
moneromooo-monero 53f040445f
cryptonote_protocol: tweaks to the syncing speedup
7 years ago
Riccardo Spagni e246dd1443
Merge pull request #1717
7 years ago
moneromooo-monero 8bdc86beb4
protocol: speed up sync by minimizing duplicate work
7 years ago
moneromooo-monero 9faef1f83a
cryptonote_protocol: misc fluffy block fixes
7 years ago
kenshi84 8027ce0c75 extract some basic code from libcryptonote_core into libcryptonote_basic
7 years ago
Riccardo Spagni f9e60dcd55
Merge pull request #1617
7 years ago
NanoAkron 98357db400
Update log messages to reflect fact we no longer need to type `exit` to save database before quitting
7 years ago
Miguel Herranz 0644eed772 Remove boost/foreach.cpp includes
7 years ago
Miguel Herranz 629e3101ab Replace BOOST_FOREACH with C++11 ranged for
7 years ago
moneromooo-monero 8028b5324e
protocol: log received messages in a separate category
7 years ago
moneromooo-monero a480bf6b14
fixups in logging init calls, and add missing net context in a log
7 years ago
moneromooo-monero 5833d66f65
Change logging to easylogging++
7 years ago
moneromooo-monero 81c384e408
fix do_not_relay not preventing relaying on a timer
7 years ago
NanoAkron 4299bdf614
Improve language of 'node ahead by' message
8 years ago
Gingeropolous aeb13289bb Update cryptonote_protocol_handler.inl
8 years ago
Riccardo Spagni f2ea2afb77
Merge pull request #1398
8 years ago
Riccardo Spagni 8086379680
Merge pull request #1397
8 years ago
Pierre Boyer f4772bae81 Fix a few minor typos
8 years ago
moneromooo-monero 3f7d6fb57d
Fix delayed exit when syncing
8 years ago
moneromooo-monero 4adde0423b
p2p: possibly fix crash in relay_blocks
8 years ago
Riccardo Spagni 5f568533aa
Merge pull request #1263
8 years ago
Dion Ahmetaj d61bd8187e add lightweight block propagation ("fluffy blocks")
8 years ago
moneromooo-monero 5c4cb96cfb
cryptonote_protocol: drop connection when find_blockchain_supplement fails
8 years ago
moneromooo-monero 1e163666f3
core: notify the txpool when transactions are relayed
8 years ago
Riccardo Spagni 4cb1348548
Merge pull request #1139
8 years ago
Riccardo Spagni d60826c0b9
Merge pull request #1133
8 years ago
NanoAkron 8ed0d72b12
Moved logging to target functions rather than caller
8 years ago
codehalo 01ec1959c3 Update CMakeLists.txt
8 years ago
codehalo 446ebbcd7b Update CMakeLists.txt
8 years ago
codehalo bd773e7805 Update CMakeLists.txt
8 years ago
Randi Joseph cfd71e6bde Cleanup. Dropped "bit" from bitmonero.
8 years ago
Randi Joseph 78b13d6dac Cleanup. Dropped "bit" from bitmonero.
8 years ago