aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #1493Riccardo Spagni2017-01-081-5/+5
|\ \ | |/ |/| | | 0478ac68 blockchain: allow marking "tx not found" without an exception (moneromooo-monero)
| * blockchain: allow marking "tx not found" without an exceptionmoneromooo-monero2017-01-071-5/+5
| | | | | | | | | | This is a normal occurence in many cases, and there is no need to spam the log with those when it is.
* | add tx hash to time statsluigi11112016-12-211-2/+5
|/ | | | Also miner tx hash to log level 1 (have you ever tried to find a testnet miner tx hash?)
* Merge pull request #1467Riccardo Spagni2016-12-201-0/+32
|\ | | | | | | 55fa0479 rpc: new function and RPC to get alternative chain info (moneromooo-monero)
| * rpc: new function and RPC to get alternative chain infomoneromooo-monero2016-12-171-0/+32
| |
* | also use portable serializer for boost_serialization_helper.h and ↵kenshi842016-12-201-2/+0
|/ | | | net_node.inl, completely adandon boost/archive/binary_oarchive.hpp
* 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 #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.
* Merge pull request #1398Riccardo Spagni2016-12-041-3/+3
|\ | | | | | | f4772bae Fix a few minor typos (Pierre Boyer)
| * Fix a few minor typosPierre Boyer2016-12-041-3/+3
| |
* | Merge pull request #1397Riccardo Spagni2016-12-041-1/+20
|\ \ | | | | | | | | | 3f7d6fb5 Fix delayed exit when syncing (moneromooo-monero)
| * | Fix delayed exit when syncingmoneromooo-monero2016-12-041-1/+20
| |/
* | 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.
* / blockchain: reject invalid pubkeys from v4moneromooo-monero2016-11-281-0/+13
|/
* Add a get_outs (fully text based) version of get_outs.binmoneromooo-monero2016-11-221-1/+1
|
* rpc: add a dynamic fee estimation RPC callmoneromooo-monero2016-10-311-0/+30
|
* core: dynamic fee algorithm from ArticMinemoneromooo-monero2016-10-311-0/+52
| | | | | | | | | | | | | | | 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
* wallet: select part of the fake outs from recent outputsmoneromooo-monero2016-10-151-2/+2
| | | | | | | 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.
* Add performance timers for ringct tx verificationmoneromooo-monero2016-10-101-0/+3
|
* 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 #1123Riccardo Spagni2016-10-041-8/+0
|\ \ | | | | | | | | | 0d036be blockchain: do not reject chain histories matching only genesis (moneromooo-monero)
| * | blockchain: do not reject chain histories matching only genesismoneromooo-monero2016-09-241-8/+0
| |/ | | | | | | | | This is fine if our local chain is so small that it is entirely contained within the last jump in the peer's short chain history.
* / Moved logging to target functions rather than callerNanoAkron2016-10-031-6/+8
|/
* fix v5 heightRiccardo Spagni2016-09-181-1/+1
|
* fix v5 fork date descriptionRiccardo Spagni2016-09-181-1/+1
|
* updated fork heights for v4 and v5Riccardo Spagni2016-09-181-0/+7
|
* compile errors fixed when PER_BLOCK_CHECKPOINT not definedrckngOpossum2016-09-151-1/+3
|
* compile errors fixed when DEBUG_CREATE_BLOCK_TEMPLATE definedrckngOpossum2016-09-151-1/+1
|
* Merge pull request #1022Riccardo Spagni2016-09-011-1/+1
|\ | | | | | | b8c03a5 Remove blocks_per_sync limits (Howard Chu)
| * Remove blocks_per_sync limitsHoward Chu2016-08-311-1/+1
| | | | | | | | | | | | The code used to cap at 5000 blocks per sync. It also treated 0 as 1. Remove these checks; if specified as 0 do no periodic syncs at all. Then the user is responsible for syncing in some external process.
* | core: faster find_blockchain_supplementmoneromooo-monero2016-08-311-6/+2
|/ | | | | | | | | | | | | Since this queries block heights for blocks that may or may not exist, queries for non existing blocks would throw an exception, and that would slow down the loop a lot. 7 seconds to go through a 30 hash list. Fix this by adding an optional return block height to block_exists and using this instead. Actual errors will still throw an exception. This also cuts down on log exception spam.
* core: allow empty global indices for txes with empty voutmoneromooo-monero2016-08-291-1/+6
|
* blockchain: testnet heights for v3, v4, and v5moneromooo-monero2016-08-281-0/+4
|
* wallet: transfer_selected_rct now also selects fake outsmoneromooo-monero2016-08-281-2/+2
|
* increase minimum mixin to 4 on hard fork 5moneromooo-monero2016-08-281-2/+3
|
* core: allow v1 txes after HF 5 when sweeping unmixable outputsmoneromooo-monero2016-08-281-1/+19
|
* New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero2016-08-281-14/+10
| | | | | | | | | | | | | | | When RingCT is enabled, outputs from coinbase transactions are created as a single output, and stored as RingCT output, with a fake mask. Their amount is not hidden on the blockchain itself, but they are then able to be used as fake inputs in a RingCT ring. Since the output amounts are hidden, their "dustiness" is not an obstacle anymore to mixing, and this makes the coinbase transactions a lot smaller, as well as helping the TXO set to grow more slowly. Also add a new "Null" type of rct signature, which decreases the size required when no signatures are to be stored, as in a coinbase tx.
* rct: rework v2 txes into prunable and non prunable datamoneromooo-monero2016-08-281-9/+15
| | | | Nothing is pruned, but this allows easier changes later.
* rct: rework the verification preparation processmoneromooo-monero2016-08-281-126/+96
| | | | | | | | | | The whole rct data apart from the MLSAGs is now included in the signed message, to avoid malleability issues. Instead of passing the data that's not serialized as extra parameters to the verification API, the transaction is modified to fill all that information. This means the transaction can not be const anymore, but it cleaner in other ways.
* rct: change the simple flag to a typemoneromooo-monero2016-08-281-3/+9
| | | | for future expansion
* rct: avoid the need for the last II elementShen Noether2016-08-281-8/+6
| | | | | | This element is used in the generation of the MLSAG, but isn't needed in verification. Also misc changes in the cryptonote code to match, by mooo.
* core: add some locking around pool usemoneromooo-monero2016-08-281-1/+3
|
* change fork settings to allow pre-rct txes for one more fork cyclemoneromooo-monero2016-08-281-1/+1
|
* rct: do not serialize public keys in outPkmoneromooo-monero2016-08-281-4/+31
| | | | They can be reconstructed from vout
* integrate simple rct apimoneromooo-monero2016-08-281-57/+155
|
* mixable transactions must be rct for v3moneromooo-monero2016-08-281-6/+28
|