aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/connection_context.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-01-22Pruningmoneromooo-monero1-1/+22
The blockchain prunes seven eighths of prunable tx data. This saves about two thirds of the blockchain size, while keeping the node useful as a sync source for an eighth of the blockchain. No other data is currently pruned. There are three ways to prune a blockchain: - run monerod with --prune-blockchain - run "prune_blockchain" in the monerod console - run the monero-blockchain-prune utility The first two will prune in place. Due to how LMDB works, this will not reduce the blockchain size on disk. Instead, it will mark parts of the file as free, so that future data will use that free space, causing the file to not grow until free space grows scarce. The third way will create a second database, a pruned copy of the original one. Since this is a new file, this one will be smaller than the original one. Once the database is pruned, it will stay pruned as it syncs. That is, there is no need to use --prune-blockchain again, etc.
2018-06-26replace std::list with std::vector on some hot pathsmoneromooo-monero1-1/+1
also use reserve where appropriate
2018-04-28connection_context: remove "state_" prefix from state namesmoneromooo-monero1-5/+5
It's redundant and makes it easier to print them in columns
2018-02-04connection_context: initialize m_last_request_time to current timemoneromooo-monero1-1/+1
This prevents spurious early peer drops
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-09-27connection_context: initialize m_callback_request_count to 0moneromooo-monero1-1/+1
2017-09-25move checkpoints in a separate librarymoneromooo-monero1-1/+1
2017-08-17Merge pull request #2303Riccardo Spagni1-0/+3
5a283078 cryptonote_protocol: large block sync size before v4 (moneromooo-monero) 7b747607 cryptonote_protocol: kick idle synchronizing peers (moneromooo-monero)
2017-08-16cryptonote_protocol: kick idle synchronizing peersmoneromooo-monero1-0/+3
In case they dropped off downloading for any reason, they'll get sent to download again.
2017-08-15befor -> beforeNano Akron1-4/+4
Really unique yet consistent spelling mistake
2017-08-12protocol: fix reorgs while syncingmoneromooo-monero1-1/+3
2017-08-09connection_context: initialize statemoneromooo-monero1-0/+1
Why this was initialized properly before I have no idea, but it is not anymore. Fix it, which fixes syncing in release mode.
2017-08-07cryptonote_protocol_handler: sync speedupmoneromooo-monero1-0/+1
A block queue is now placed between block download and block processing. Blocks are now requested only from one peer (unless starved). Includes a new sync_info coommand.
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi841-0/+77