aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | difficulty: fix misleading commentGuillaume LE VAILLANT2017-08-021-2/+2
| | | |
* | | | Merge pull request #2232Riccardo Spagni2017-08-151-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 87b5ede9 miner: fix ignoring battery from command line (moneromooo-monero)
| * | | | miner: fix ignoring battery from command linemoneromooo-monero2017-07-311-1/+1
| |/ / /
* | | / protocol: fix reorgs while syncingmoneromooo-monero2017-08-121-1/+3
| |_|/ |/| |
* | | connection_context: initialize statemoneromooo-monero2017-08-091-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.
* | Merge pull request #2149Riccardo Spagni2017-08-071-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 158c3ecf core: thread most of handle_incoming_tx (moneromooo-monero) f57ee382 cryptonote_protocol: retry stale spans early (moneromooo-monero) 90df52e1 cryptonote_protocol: light cleanup (moneromooo-monero) 84e23156 cryptonote_protocol: avoid spurious SYNCHRONIZED OK messages (moneromooo-monero) 5be43fcd cryptonote_protocol_handler: sync speedup (moneromooo-monero)
| * | cryptonote_protocol_handler: sync speedupmoneromooo-monero2017-08-071-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.
* | Merge pull request #2234Riccardo Spagni2017-08-071-1/+0
|\ \ | | | | | | | | | 214fd81e some include cleanup (moneromooo-monero)
| * | some include cleanupmoneromooo-monero2017-07-311-1/+0
| |/
* | Merge pull request #2210Riccardo Spagni2017-08-072-6/+15
|\ \ | | | | | | | | | cb0b5594 Move OpenAlias console input back from libs (moneromooo-monero)
| * | Move OpenAlias console input back from libsmoneromooo-monero2017-07-272-6/+15
| |/ | | | | | | | | | | | | Library code should definitely not ask for console input unless it's clearly an input function. Delegating the user interaction part to the caller means it can now be used by a GUI, or have a decision algorithm better adapted to a particular caller.
* | Merge pull request #2147Riccardo Spagni2017-08-071-26/+86
|\ \ | |/ |/| | | 94717021 fix on_battery_power for linux (Ryan Mehta)
| * fix on_battery_power for linuxRyan Mehta2017-07-061-26/+86
| | | | | | | | fix ac/battery linux
* | miner: fix background mining options parsingmoneromooo-monero2017-07-121-2/+2
|/ | | | | They were set as uint8_t, which boost was apparently treating as a character type, rather than a numeric type
* Add OSX background miningjethro2017-06-082-1/+43
| | | | | Implements miner::get_system_times, miner::get_process_time and miner::on_battery_power for OSX so that background mining works on OSX.
* changed crypto to cncrypto so it generated libcncryptoGentian2017-05-231-1/+1
| | | | fix a cmakelist
* Merge pull request #1938Riccardo Spagni2017-04-242-2/+4
|\ | | | | | | bff90264 Add expected total reward to RPC "getblocktemplate". Only works from V5 fork onward - returns 0 before that block. (assylias)
| * Add expected total reward to RPC "getblocktemplate".assylias2017-04-192-2/+4
| | | | | | | | Only works from V5 fork onward - returns 0 before that block.
* | Simplified the implementation and features of spanLee Clagett2017-04-111-7/+22
| |
* | Improvements for epee binary to hex functions:Lee Clagett2017-04-112-17/+8
|/ | | | | | | - Performance improvements - Added `span` for zero-copy pointer+length arguments - Added `std::ostream` overload for direct writing to output buffers - Removal of unused `string_tools::buff_to_hex`
* Merge pull request #1955Riccardo Spagni2017-04-112-7/+1
|\ | | | | | | 5b632468 core: fix blob size cache, and reenable hash and blob size caches (moneromooo-monero)
| * core: fix blob size cache, and reenable hash and blob size cachesmoneromooo-monero2017-04-032-7/+1
| |
* | Merge pull request #1946Riccardo Spagni2017-04-111-0/+2
|\ \ | | | | | | | | | a38343bf miner: add a debug log in pause and resume (moneromooo-monero)
| * | miner: add a debug log in pause and resumemoneromooo-monero2017-03-311-0/+2
| |/
* / Add other possible paths of AC power status file on LinuxGuillaume LE VAILLANT2017-03-281-3/+5
|/
* core: disable tx/block hash cachemoneromooo-monero2017-03-261-0/+6
| | | | Looks like it doesn't work on win64
* core: avoid possible reordering bugs wth tx/bloch hash cachemoneromooo-monero2017-03-253-28/+42
|
* core: cache tx and block hashes in the respective classesmoneromooo-monero2017-03-234-2/+114
| | | | An idea from smooth
* wallet-rpc: enable openaliasstoffu2017-03-172-2/+6
|
* Add intervening v5 fork for increased min block sizemoneromooo-monero2017-03-152-1/+11
| | | | | | | | | | Minimum mixin 4 and enforced ringct is moved from v5 to v6. v5 is now used for an increased minimum block size (from 60000 to 300000) to cater for larger typical/minimum transaction size. The fee algorithm is also changed to decrease the base per kB fee, and add a cheap tier for those transactions which we do not care if they get delayed (or even included in a block).
* fix dependency: put HardFork back to cryptonote_basic, made some ↵kenshi842017-03-103-0/+684
| | | | BlockchainDB functions virtual again to avoid missing symbols error
* format_utils: fix typo in assert messagelethos32017-03-051-2/+2
| | | Fix two small typos as mentioned by reddit user nthterm.
* Merge pull request #1826Riccardo Spagni2017-03-032-9/+60
|\ | | | | | | 2c468dd4 allow user I/O in millinero, micronero, nanonero, piconero (moneromooo-monero)
| * allow user I/O in millinero, micronero, nanonero, piconeromoneromooo-monero2017-03-022-9/+60
| |
* | Merge pull request #1820Riccardo Spagni2017-03-033-0/+33
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7a44f38a Add support for the wallet to refresh pruned blocks (moneromooo-monero) da18898f ringct: do not require range proof in decodeRct/decodeRctSimple (moneromooo-monero) b49c6ab4 rpc: add a default category for daemon rpc (moneromooo-monero) f113b92b core: add functions to serialize base tx info (moneromooo-monero) 6fd4b827 node_rpc_proxy: allow caching daemon RPC version (moneromooo-monero) b5c74e40 wallet: invalidate node proxy cache when reconnecting (moneromooo-monero)
| * | core: add functions to serialize base tx infomoneromooo-monero2017-02-273-0/+33
| |/ | | | | | | | | That is, information without signatures (for v1) nor range proofs and MGs (for v2)
* / core: move hardfork back to cryptonote_coremoneromooo-monero2017-02-253-685/+2
|/ | | | | should fix a cross dependency betewen cryptonote_basic and blockchain_db
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-2122-22/+22
|
* Merge pull request #1731Riccardo Spagni2017-02-211-3/+3
|\ | | | | | | | | | | a427235e core: add a missing newline on a string to be logged (moneromooo-monero) b6a2230e unit_tests: fix minor blockchain_db regression (moneromooo-monero) c488eca5 hardfork: tone down some logs (moneromooo-monero)
| * hardfork: tone down some logsmoneromooo-monero2017-02-141-3/+3
| |
* | Merge pull request #1733Riccardo Spagni2017-02-211-4/+3
|\ \ | | | | | | | | | a493c0b1 BACKGROUND_MINING_MINER_MONITOR_INVERVAL_IN_SECONDS was odr-used, so required a definition. (Dion Ahmetaj)
| * | BACKGROUND_MINING_MINER_MONITOR_INVERVAL_IN_SECONDS was odr-used, so ↵Dion Ahmetaj2017-02-151-4/+3
| |/ | | | | | | | | | | required a definition. Instead of adding a declaration to cpp file, I changed it to non odr-used.
* | Merge pull request #1744Riccardo Spagni2017-02-211-104/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a5a0a3c8 core: updates can now be downloaded (and SHA256 hash checked) (moneromooo-monero) 216f062e util: add a SHA256 function (moneromooo-monero) 4bf78492 mlog: only silence errors for net by default, not net.* (moneromooo-monero) d282cfcc core: test key images against validity domain (moneromooo-monero) efb72e74 http_client: add a couple consts (moneromooo-monero) f640512c Optionally query moneropulse DNS records to check for updates (moneromooo-monero) e3cae4ae core: display any fork warning at startup too (moneromooo-monero) 969ad710 dns_utils: fix first checked DNS entry being ignored (moneromooo-monero) 08c3f380 util: add a vercmp function to compare version numbers (moneromooo-monero) e8a7525c dns_utils: factor TXT record loading code from checkpoint code (moneromooo-monero)
| * | dns_utils: factor TXT record loading code from checkpoint codemoneromooo-monero2017-02-201-104/+5
| |/
* / More robust battery status handling.Dion Ahmetaj2017-02-162-21/+64
|/ | | | | | Added an extra path to check for linux power supply status. Added ignore battery option. If set to true, then when we can't figure out the power status, we'll assume the system is plugged in.
* Added a note about smart mining to status command. Fixed up a bug where I ↵Dion Ahmetaj2017-02-102-4/+4
| | | | was resetting bg mining enabled instead of started. Upped the miner threshold. Also moved setting of enabled on start above miner thread creation since starting with true, then stopping, then starting with false resulted in race condition.
* Changed ac_line_status to on_battery_power.Dion Ahmetaj2017-02-102-6/+6
|
* Use defined directive to silence pre-proc warnings.Dion Ahmetaj2017-02-101-1/+1
|
* Cleaned up some logging. Thanks to moneromooo for help.Dion Ahmetaj2017-02-101-20/+20
|
* Added some //TODO comments pertaining to returning enums instead of bools in ↵Dion Ahmetaj2017-02-101-0/+5
| | | | order to be better able to handle failure states.