Commit Graph

259 Commits (105afa5557b9e596caa27455cb2efb970bd1842e)

Author SHA1 Message Date
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
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 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
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 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 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 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 8086379680
Merge pull request #1397
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 d60826c0b9
Merge pull request #1133
8 years ago
NanoAkron 8ed0d72b12
Moved logging to target functions rather than caller
8 years ago
moneromooo-monero cec090fc8a
Revert "Fix fake 'network synchronized, begin using' messages"
8 years ago
moneromooo-monero 5e3e362c85
core: make the sync chunk block count overridable
8 years ago
Riccardo Spagni df63e0704a
fix remaining bitmonero and simplewallet bits
8 years ago
Riccardo Spagni e33e74a69b
Merge pull request #1012
8 years ago
tobiasw2 c2941cb30a Show correct amount of days behind/ahead while syncing
8 years ago
Thomas Winget 78035d2b6c
Fix fake 'network synchronized, begin using' messages
8 years ago
moneromooo-monero 1c3ed4c9da
cryptonote_protocol: clarify height wording
8 years ago
moneromooo-monero 3b1d7e03fc
Fix V1/V2 use of hard fork related parameters
8 years ago
Riccardo Spagni de03926850
updated copyright year
9 years ago
warptangent 725acc7f17
Replace tabs with two spaces for consistency with rest of codebase
9 years ago
moneromooo-monero cb4ee1b50d
Tone down L0 logs during daemon sync some more
9 years ago
moneromooo-monero 217792351d
Tone down a bit L0 logs during daemon sync
9 years ago
Javier Smooth 4cea2b13b2 Add IP blocking for misbehaving nodes (adapted from Boolberry)
9 years ago
moneromooo-monero 932994c0cb
Relay transactions when they linger too long in the pool
9 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo 2b2ae36724 Pause miner before preparing for incoming blocks
9 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo e5d2680094 ** CHANGES ARE EXPERIMENTAL (FOR TESTING ONLY)
9 years ago
rfree2monero c511abf005 remerged; commands JSON. logging upgrade. doxygen
9 years ago
rfree2monero ae2a50659f 2014 network limit 1.2 +utils +toc -doc -drmonero
9 years ago
rfree2monero 5ce4256e3d 2014 network limit 1.1 +utils +toc -doc -drmonero
9 years ago
rfree2monero eabb519605 2014 network limit 1.0a +utils +toc -doc -drmonero
9 years ago
Riccardo Spagni f4b69d553a
year updated in license
10 years ago
fluffypony cf5a8b1d6c moved non-critical warnings and errors to log level 1
10 years ago