Commit Graph

215 Commits (c40ab9b5be9b0dec72fa5adbcc45a24ef56ef7fa)

Author SHA1 Message Date
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