summaryrefslogtreecommitdiff
path: root/src/cryptonote_core
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #4472"Riccardo Spagni2018-10-085-34/+27
| | | | This reverts commit b26ab0b5803af4ffe23de11a45e43877301a4902.
* Merge pull request #4472Riccardo Spagni2018-10-065-27/+34
| | | | 02d3ef7b blocks: use auto-generated .c files instead of 'LD -r -b binary' (xiphon)
* Merge pull request #4476Riccardo Spagni2018-10-021-1/+1
| | | | fa9e54b6 build: fix gcc false positive 'stringop-overflow' warning (xiphon)
* Merge pull request #4467Riccardo Spagni2018-10-021-2/+2
| | | | fa942ef6 daemon: silence daemon update warnings on testnet (iDunk5400)
* add --block-notify to monerod and --tx-notify to monero-wallet-{cli,rpc}moneromooo-monero2018-09-293-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | Those take a command line of the form "A [B]", with A being the name (and optional path, if not in the caller's CWD, but fully qualified path is recommended, avoids possible security issues) to a program, and optional arguments. Any occurence of the two character string "%s" will be replaced by the hash of the block or transaction which triggered the notification. Tokenization is barebones. If you want things like pipes, calls to paths with spaces, etc, then use a script (though exec time will suffer). block-notify is called when a new block is added onto the chain. tx-notify is called when a new transaction happens with the wallet as source and/or destination. It is the notification program's responsibility to determine what to do in those cases. Note that this is asynchronous, so it is very possible that: - the notification programs will be run out of order - several events happen before the notification for the first one A Windows port would be nice if someone wants to make one.
* Merge pull request #4423v0.13.0.0-RC1Riccardo Spagni2018-09-251-1/+1
|\ | | | | | | | | | | | | 357441a2 add checkpoints for testnet and mainnet (Riccardo Spagni) d9f666d7 update checkpoints.dat (Riccardo Spagni) 6b1b4e83 update version to 13.0 (Riccardo Spagni) 6f153533 update readme with v13.0 (Riccardo Spagni)
| * update checkpoints.datRiccardo Spagni2018-09-231-1/+1
| |
* | Merge pull request #4435Riccardo Spagni2018-09-251-0/+1
|\ \ | | | | | | | | | c39ad0cd tx_pool: fix tx removal at startup keeping references (moneromooo-monero)
| * | tx_pool: fix tx removal at startup keeping referencesmoneromooo-monero2018-09-251-0/+1
| |/
* / blockchain: add stagenet v8 and v9, two weeks before mainnetmoneromooo-monero2018-09-241-0/+2
|/
* Merge pull request #4378Riccardo Spagni2018-09-212-1/+18
|\ | | | | | | ac934663 rpc: add a "is an update available" flag in get_info (moneromooo-monero)
| * rpc: add a "is an update available" flag in get_infomoneromooo-monero2018-09-142-1/+18
| | | | | | | | Make it easier for a user to be told when to update
* | Merge pull request #4369Riccardo Spagni2018-09-211-7/+2
|\ \ | | | | | | | | | | | | b2bb9312 blockchain: simplify output distribution code (moneromooo-monero) befdcbf4 db_lmdb: do not use base for cumulative distribution (moneromooo-monero)
| * | blockchain: simplify output distribution codemoneromooo-monero2018-09-121-7/+2
| |/
* | Merge pull request #4325Riccardo Spagni2018-09-181-0/+6
|\ \ | | | | | | | | | 4e1e9a60 blockchain: add mainnet v8 height targetting 18 october (moneromooo-monero)
| * | blockchain: add mainnet v8 height targetting 18 octobermoneromooo-monero2018-09-021-0/+6
| | | | | | | | | | | | and v9 a day later
* | | Merge pull request #4372Riccardo Spagni2018-09-141-1/+1
|\ \ \ | | | | | | | | | | | | 1660b0e7 tx_pool: make the max tx size a consensus rule from v8 (moneromooo-monero)
| * | | tx_pool: make the max tx size a consensus rule from v8moneromooo-monero2018-09-131-1/+1
| | |/ | |/|
* / | remove obsolete daemon selection of fake outs and old tx constructionmoneromooo-monero2018-09-144-328/+0
|/ /
* | blockchain: add a testnet v9 a day after v8moneromooo-monero2018-09-111-0/+1
| | | | | | | | So that bulletproofs become mandatory
* | v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2018-09-118-327/+356
| |
* | require canonical multi output bulletproof layoutmoneromooo-monero2018-09-111-0/+29
| |
* | Bulletproof aggregated verification and testsmoneromooo-monero2018-09-114-51/+149
| | | | | | | | Also constrains bulletproofs to simple rct, for simplicity
* | bulletproofs: add aggregated verificationmoneromooo-monero2018-09-112-2/+2
| | | | | | | | Ported from sarang's java code
* | bulletproofs: add multi output bulletproofs to rctmoneromooo-monero2018-09-113-8/+24
| |
* | Merge pull request #4276luigi11112018-09-041-7/+1
|\ \ | | | | | | | | | 48a7bc4 tx_pool: fix infinite loop when failing to find a meta record (moneromooo-monero)
| * | tx_pool: fix infinite loop when failing to find a meta recordmoneromooo-monero2018-08-191-7/+1
| | |
* | | Merge pull request #4268luigi11112018-09-041-0/+3
|\ \ \ | |_|/ |/| | | | | 1f2409e Do memwipe for critical secret keys copied to rct::key (stoffu)
| * | Do memwipe for critical secret keys copied to rct::keystoffu2018-08-161-0/+3
| |/
* | Merge pull request #4240luigi11112018-08-221-1/+1
|\ \ | | | | | | | | | 83f5587 blockchain: use uint64_t for height, not size_t (moneromooo-monero)
| * | blockchain: use uint64_t for height, not size_tmoneromooo-monero2018-08-091-1/+1
| | |
* | | Merge pull request #4204luigi11112018-08-223-14/+35
|\ \ \ | | | | | | | | | | | | b278b83 core: sync database based on bytes added, not blocks added (moneromooo-monero)
| * | | core: sync database based on bytes added, not blocks addedmoneromooo-monero2018-08-123-14/+35
| |/ / | | | | | | | | | | | | Blocks have a very wide range, whereas actual size is the relevant quantity to consider when syncing
* | / core: cache block template where possiblemoneromooo-monero2018-08-164-2/+94
| |/ |/| | | | | | | | | | | This avoids constant rechecking of the same things each time a miner asks for the block template. The tx pool maintains a cookie to allow users to detect when the pool state changed, which means the block template needs rebuilding.
* | Merge pull request #4164luigi11112018-08-151-15/+19
|\ \ | |/ |/| | | 8e24533 blockchain: some batch tx scanning speedup (moneromooo-monero)
| * blockchain: some batch tx scanning speedupmoneromooo-monero2018-07-211-15/+19
| |
* | Merge pull request #4108luigi11112018-07-271-0/+1
|\ \ | |/ |/| | | 8c05237 blockchain: cache next block difficulty after adding a block (moneromooo-monero)
| * blockchain: cache next block difficulty after adding a blockmoneromooo-monero2018-07-071-0/+1
| | | | | | | | | | It's not 100% certain it'll be needed, but it avoids getinfo needing the blockchain lock and potentially blocking
* | Merge pull request #4081luigi11112018-07-191-1/+2
|\ \ | | | | | | | | | d95bc44 blockchain: fix getting invalid block data on failure (moneromooo-monero)
| * | blockchain: fix getting invalid block data on failuremoneromooo-monero2018-06-291-1/+2
| |/
* | Merge pull request #4076luigi11112018-07-191-0/+2
|\ \ | | | | | | | | | aa0ea0a blockchain: set the m_verifivation_failed flag in a couple more places (moneromooo-monero)
| * | blockchain: set the m_verifivation_failed flag in a couple more placesmoneromooo-monero2018-06-281-0/+2
| |/ | | | | | | | | | | when a block being added to the main chain is invalid. This ensures the peer is banned after a number of these.
* | Merge pull request #4047luigi11112018-07-192-6/+35
|\ \ | | | | | | | | | 41b4bf9 tx_pool: cache check_tx_inputs results (moneromooo-monero)
| * | tx_pool: cache check_tx_inputs resultsmoneromooo-monero2018-06-242-6/+35
| | | | | | | | | | | | | | | | | | This is called a lot when creating a block template, and does not change until the blockchain changes. This also avoids tx parsing when cached.
* | | Merge pull request #3981luigi11112018-07-191-5/+34
|\ \ \ | | | | | | | | | | | | 45e419b db: store cumulative rct output distribution in the db for speed (moneromooo-monero)
| * | | db: store cumulative rct output distribution in the db for speedmoneromooo-monero2018-07-131-5/+34
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | This gets rid of the temporary precalc cache. Also make the RPC able to send data back in binary or JSON, since there can be a lot of data This bumps the LMDB database format to v3, with migration.
* | | Merge pull request #3973luigi11112018-07-192-6/+7
|\ \ \ | | | | | | | | | | | | 50af357 alt_chain_info can now give more info about a particular alt chain (moneromooo-monero)
| * | | alt_chain_info can now give more info about a particular alt chainmoneromooo-monero2018-06-262-6/+7
| | | |
* | | | Merge pull request #3854luigi11112018-07-194-4/+87
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 149da42 db_lmdb: enable batch transactions by default (stoffu) 34cb6b4 add --regtest and --fixed-difficulty for regression testing (vicsn) 9e1403e update get_info RPC and bump RPC version (vicsn) 207b66e first new functional tests (vicsn)
| * | | add --regtest and --fixed-difficulty for regression testingvictorsintnicolaas2018-06-294-4/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | on_generateblocks RPC call combines functionality from the on_getblocktemplate and on_submitblock RPC calls to allow rapid block creation. Difficulty is set permanently to 1 for regtest. Makes use of FAKECHAIN network type, but takes hard fork heights from mainchain Default reserve_size in generate_blocks RPC call is now 1. If it is 0, the following error occurs 'Failed to calculate offset for'. Queries hard fork heights info of other network types