summaryrefslogtreecommitdiff
path: root/src/cryptonote_core
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1437Riccardo Spagni2016-12-131-0/+3
|\ | | | | | | | | | | 655eafd1 bump version (Riccardo Spagni) 117194a3 update checkpoints (Riccardo Spagni) 39a9db9e update checkpoints (Riccardo Spagni)
| * update checkpointsRiccardo Spagni2016-12-131-0/+3
| |
* | blockchain: fix reorganizations past a hard fork boundarymoneromooo-monero2016-12-131-0/+3
|/ | | | | | | After popping blocks from the old chain, the hard fork object's notion of the current version was not in line with the new height, causing the first blocks from the new chain to be rejected due to a false expection of a newer version.
* Merge pull request #1419Riccardo Spagni2016-12-102-10/+14
|\ | | | | | | f4a3ce15 Fix sending outputs from a tx with more than one pubkey (moneromooo-monero)
| * Fix sending outputs from a tx with more than one pubkeymoneromooo-monero2016-12-092-10/+14
| | | | | | | | | | | | A bug in cold signing caused a spurious pubkey to be included in transactions, so we need to ensure we use the correct one when sending outputs from one of those.
* | Merge pull request #1418Riccardo Spagni2016-12-101-4/+4
|\ \ | | | | | | | | | dfbb85b6 blockchain: fix setting non trovial alternate chain as invalid (moneromooo-monero)
| * | blockchain: fix setting non trovial alternate chain as invalidmoneromooo-monero2016-12-081-4/+4
| |/ | | | | | | | | | | The wrong iterator was being used. Also preincrement iterators to avoid possibly invalidating them, I'm not sure this is necessary, but let's be safe.
* | blockchain: bring the v4 fork height one block forwardluigi11112016-12-061-3/+3
| | | | | | | | | | This will ensure the early 0.10 daemons will barf at the fork height, and not a bit later, which could be confusing.
* | ringct: switch to Borromean signaturesShen Noether2016-12-041-4/+4
|/
* Merge pull request #1398Riccardo Spagni2016-12-044-7/+7
|\ | | | | | | f4772bae Fix a few minor typos (Pierre Boyer)
| * Fix a few minor typosPierre Boyer2016-12-044-7/+7
| |
* | Merge pull request #1397Riccardo Spagni2016-12-043-2/+26
|\ \ | | | | | | | | | 3f7d6fb5 Fix delayed exit when syncing (moneromooo-monero)
| * | Fix delayed exit when syncingmoneromooo-monero2016-12-043-2/+26
| |/
* | Merge pull request #1392Riccardo Spagni2016-12-041-1/+7
|\ \ | | | | | | | | | 204b1bff blockchain: use high bound block reward on error where appropriate (moneromooo-monero)
| * | blockchain: use high bound block reward on error where appropriatemoneromooo-monero2016-12-011-1/+7
| |/ | | | | | | | | | | If the block reward to use for the fee calculation can't be calculated (should not happen in practice), use a high bound, so we use a fee overestimate that will be accepted by the network.
* | Merge pull request #1386Riccardo Spagni2016-12-041-0/+13
|\ \ | | | | | | | | | 8f6ec90c blockchain: reject invalid pubkeys from v4 (moneromooo-monero)
| * | blockchain: reject invalid pubkeys from v4moneromooo-monero2016-11-281-0/+13
| |/
* / change 'invalid address format' loglevelJaquee2016-11-271-1/+1
|/
* Add a get_outs (fully text based) version of get_outs.binmoneromooo-monero2016-11-224-4/+4
|
* wallet2: try all tx keys when scanning a new transactionmoneromooo-monero2016-11-161-2/+2
| | | | | | The vast majority of transactions will have just one tx pubkey, but a bug with cold wallet signing caused two such keys to be there, with the second one being the real one.
* core: remove any tx pubkey from extra before adding onemoneromooo-monero2016-11-151-0/+1
| | | | | This will happen when signing a transaction from a cold wallet, and we don't want the placeholder the hot wallet put in it.
* Merge pull request #1263Riccardo Spagni2016-11-112-0/+19
|\ | | | | | | d61bd81 add lightweight block propagation ("fluffy blocks") (Dion Ahmetaj)
| * add lightweight block propagation ("fluffy blocks")Dion Ahmetaj2016-11-092-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a new command to the P2P protocol definitions to allow querying for support flags. Implemented handling of new support flags command in net_node. Changed for_each callback template to include support flags. Updated print_connections command to show peer support flags. Added p2p constant for signaling fluffy block support. Added get_pool_transaction function to cryptnote_core. Added new commands to cryptonote protocol for relaying fluffy blocks. Implemented handling of fluffy block command in cryptonote protocol. Enabled fluffy block support in node initial configuration. Implemented get_testnet function in cryptonote_core. Made it so that fluffy blocks only run on testnet.
* | Merge pull request #1285Riccardo Spagni2016-11-082-0/+8
|\ \ | | | | | | | | | a970a4e refresh speedup (luigi1111)
| * | refresh speedupluigi11112016-11-012-0/+8
| |/ | | | | | | Compute derivation only once per tx, instead of once per output. Approx 33% faster while using 75% as much CPU on my machine. Note old functions in cryptonote_core (lookup_acc_outs and is_out_to_acc) are still used by tests.
* | Merge pull request #1276Riccardo Spagni2016-11-083-5/+124
|\ \ | |/ |/| | | | | | | 18f66f4 wallet: use the dynamic per kB fee (moneromooo-monero) e6deb8a rpc: add a dynamic fee estimation RPC call (moneromooo-monero) 82dbba1 core: dynamic fee algorithm from ArticMine (moneromooo-monero)
| * rpc: add a dynamic fee estimation RPC callmoneromooo-monero2016-10-312-0/+44
| |
| * core: dynamic fee algorithm from ArticMinemoneromooo-monero2016-10-313-5/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fee will vary based on the base reward and the current block size limit: fee = (R/R0) * (M0/M) * F0 R: base reward R0: reference base reward (10 monero) M: block size limit M0: minimum block size limit (60000) F0: 0.002 monero Starts applying at v4
* | core: fix removal of extra nonce using wrong typemoneromooo-monero2016-10-301-1/+1
|/
* daemon: report transaction relay status in print_pool* commandsmoneromooo-monero2016-10-231-0/+2
|
* core: notify the txpool when transactions are relayedmoneromooo-monero2016-10-232-0/+19
|
* tx_pool: set relayed flag on relaymoneromooo-monero2016-10-221-0/+3
|
* Merge pull request #1215Riccardo Spagni2016-10-182-2/+2
|\ | | | | | | a6bc110 patched parameter type bug that was causing failure on 32 bit (Dion Ahmetaj)
| * patched parameter type bug that was causing failure on 32 bitDion Ahmetaj2016-10-142-2/+2
| |
* | wallet: select part of the fake outs from recent outputsmoneromooo-monero2016-10-152-3/+4
|/ | | | | | | 25% of the outputs are selected from the last 5 days (if possible), in order to avoid the common case of sending recently received outputs again. 25% and 5 days are subject to review later, since it's just a wallet level change.
* Merge pull request #1203Riccardo Spagni2016-10-112-0/+5
|\ | | | | | | | | 4038e86 Add performance timers for ringct tx verification (moneromooo-monero) 74dfdb0 perf_timer: new class and macros to make performance logs easier (moneromooo-monero)
| * Add performance timers for ringct tx verificationmoneromooo-monero2016-10-102-0/+5
| |
* | Merge pull request #1204Riccardo Spagni2016-10-112-0/+35
|\ \ | |/ |/| | | | | | | | | 7db29d6 print_coinbase_tx_sum now breaks output into fee and emission components (Dion Ahmetaj) dd6c443 changed params from start/end index to height/count (Dion Ahmetaj) e95d3f3 attempted to remove whitespace spam (Dion Ahmetaj) 412da63 added print_coinbase_tx_sum option (Dion Ahmetaj)
| * print_coinbase_tx_sum now breaks output into fee and emission componentsDion Ahmetaj2016-10-102-6/+20
| |
| * changed params from start/end index to height/countDion Ahmetaj2016-10-102-4/+4
| |
| * attempted to remove whitespace spamDion Ahmetaj2016-10-101-1/+1
| |
| * added print_coinbase_tx_sum optionDion Ahmetaj2016-10-102-1/+22
| |
* | core: remove some unused codemoneromooo-monero2016-10-081-3/+0
|/
* Merge pull request #1177Riccardo Spagni2016-10-041-1/+1
|\ | | | | | | 3644aa9 blockchain: avoid using a reference to a temporary (moneromooo-monero)
| * blockchain: avoid using a reference to a temporarymoneromooo-monero2016-10-031-1/+1
| |
* | Merge pull request #1139Riccardo Spagni2016-10-041-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01ec195 Update CMakeLists.txt (codehalo) 446ebbc Update CMakeLists.txt (codehalo) bd773e7 Update CMakeLists.txt (codehalo) 3627cea Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 2a51396 Dropped "bit" from bitmonero. (Randi Joseph) 78b13d6 Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 1e6aedb Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 9e54616 Dropped "bit" from bitmonero. (Randi Joseph)
| * | Dropped "bit" from bitmonero.Randi Joseph2016-09-261-2/+2
| | |
* | | Merge pull request #1133Riccardo Spagni2016-10-041-4/+1
|\ \ \ | | | | | | | | | | | | cec090f Revert "Fix fake 'network synchronized, begin using' messages" (moneromooo-monero)
| * | | Revert "Fix fake 'network synchronized, begin using' messages"moneromooo-monero2016-09-251-4/+1
| |/ / | | | | | | | | | | | | | | | This reverts commit 78035d2b6c9922f4cd730df0766aa74f4854ccb2. The patch doesn't work, and causes constant SYNCHRONIZED OK spam.
* | | Merge pull request #1123Riccardo Spagni2016-10-041-8/+0
|\ \ \ | | | | | | | | | | | | 0d036be blockchain: do not reject chain histories matching only genesis (moneromooo-monero)