summaryrefslogtreecommitdiff
path: root/tests/unit_tests/ban.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Only log an error if fork version is higher AND is not known.Thaer Khawaja2018-04-231-0/+1
|
* Stagenetstoffu2018-03-051-1/+1
|
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* cryptonote_core does not depend on p2p anymoremoneromooo-monero2017-12-161-0/+5
| | | | | | As a followon side effect, this makes a lot of inline code included only in particular cpp files (and instanciated when necessary.
* Merge pull request #2469Riccardo Spagni2017-10-151-0/+1
|\ | | | | | | 7adceee6 precomputed block hashes are now in blocks of N (currently 256) (moneromooo-monero)
| * precomputed block hashes are now in blocks of N (currently 256)moneromooo-monero2017-09-181-0/+1
| | | | | | | | This shaves a lot of space off binaries
* | Upgrades to epee::net_utils::network_addressLee Clagett2017-10-051-1/+1
| | | | | | | | | | | | | | | | - internal nullptr checks - prevent modifications to network_address (shallow copy issues) - automagically works with any type containing interface functions - removed fnv1a hashing - ipv4_network_address now flattened with no base class
* | move checkpoints in a separate librarymoneromooo-monero2017-09-251-1/+1
| |
* | get_blockchain_top now returns voidmoneromooo-monero2017-09-251-1/+1
|/ | | | | | It was always returning true, and could not be foreseen to usefully return errors in the future. This silences CID 162652 as well as saves some checking code in a few places.
* Add a --fluffy-blocks option to relay blocks as fluffy blocksmoneromooo-monero2017-09-031-0/+1
| | | | Defaults to off, but fluffy blocks are forced enabled on testnet
* Cleanup test impact of adding safesyncmode() methodHoward Chu2017-08-221-0/+1
|
* Merge pull request #2303Riccardo Spagni2017-08-171-1/+1
|\ | | | | | | | | 5a283078 cryptonote_protocol: large block sync size before v4 (moneromooo-monero) 7b747607 cryptonote_protocol: kick idle synchronizing peers (moneromooo-monero)
| * cryptonote_protocol: large block sync size before v4moneromooo-monero2017-08-171-1/+1
| |
* | protocol: pass blockchain cumulative difficulty when syncingmoneromooo-monero2017-08-151-0/+1
|/ | | | Not used yet.
* tests: fix tests buildmoneromooo-monero2017-08-101-0/+2
| | | | | | | Add get_fork_version and add_ideal_fork_version to core so cryptonote_protocol does not have to need the Blockchain class directly, as it's not in its dependencies, and add those to the fake core classes in tests too.
* core: thread most of handle_incoming_txmoneromooo-monero2017-08-071-0/+1
|
* unit_tests: fix build failures after network_address changesmoneromooo-monero2017-06-191-52/+55
|
* Move txpool to the databasemoneromooo-monero2017-05-251-1/+2
| | | | | | | Integration could go further (ie, return_tx_to_pool calls should not be needed anymore, possibly other things). poolstate.bin is now obsolete.
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* blockchain_db: add "raw" blobdata getters for block and transactionmoneromooo-monero2017-02-131-1/+1
| | | | This speeds up operations such as serving blocks to syncing peers
* cryptonote_protocol: misc fluffy block fixesmoneromooo-monero2017-02-121-0/+2
| | | | | | | | | | | | | | | - fix wrong block being used when a new block is received between a node elaying a fluffy block and sending a new fluffy block with txes a peer did not have - misc a neverending ping pong requesting the same missing txids when a new block is received in the meantime, causing the top block to not be the one we need - send the original fluffy block message block height when sending a new fluffy block, not the current top height, which might have been updated since - avoid sending back the whole block blob when asking for txes, send only the hash instead - plus misc cleanup and additional debugging logs
* fix do_not_relay not preventing relaying on a timermoneromooo-monero2017-01-141-1/+1
| | | | Also print its value when printing pool
* tests: fix tests builds after fluffy blocks mergemoneromooo-monero2016-11-111-0/+3
|
* core: notify the txpool when transactions are relayedmoneromooo-monero2016-10-231-0/+1
|
* tests: fix build after addition of cryptonote_core::get_block_sync_sizemoneromooo-monero2016-10-011-0/+1
|
* Revert "Print stack trace upon exceptions"moneromooo-monero2016-03-211-1/+1
| | | | | | Ain't nobody got time for link/cmake skullduggery. This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d.
* Print stack trace upon exceptionsmoneromooo-monero2016-03-191-1/+1
| | | | Useful for debugging users' logs
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* unit_tests: new test for IP blockingmoneromooo-monero2015-12-241-0/+168