summaryrefslogtreecommitdiff
path: root/src/daemon
Commit message (Collapse)AuthorAgeFilesLines
* ArticMine's new block weight algorithmmoneromooo-monero2019-02-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This curbs runaway growth while still allowing substantial spikes in block weight Original specification from ArticMine: here is the scaling proposal Define: LongTermBlockWeight Before fork: LongTermBlockWeight = BlockWeight At or after fork: LongTermBlockWeight = min(BlockWeight, 1.4*LongTermEffectiveMedianBlockWeight) Note: To avoid possible consensus issues over rounding the LongTermBlockWeight for a given block should be calculated to the nearest byte, and stored as a integer in the block itself. The stored LongTermBlockWeight is then used for future calculations of the LongTermEffectiveMedianBlockWeight and not recalculated each time. Define: LongTermEffectiveMedianBlockWeight LongTermEffectiveMedianBlockWeight = max(300000, MedianOverPrevious100000Blocks(LongTermBlockWeight)) Change Definition of EffectiveMedianBlockWeight From (current definition) EffectiveMedianBlockWeight = max(300000, MedianOverPrevious100Blocks(BlockWeight)) To (proposed definition) EffectiveMedianBlockWeight = min(max(300000, MedianOverPrevious100Blocks(BlockWeight)), 50*LongTermEffectiveMedianBlockWeight) Notes: 1) There are no other changes to the existing penalty formula, median calculation, fees etc. 2) There is the requirement to store the LongTermBlockWeight of a block unencrypted in the block itself. This is to avoid possible consensus issues over rounding and also to prevent the calculations from becoming unwieldy as we move away from the fork. 3) When the EffectiveMedianBlockWeight cap is reached it is still possible to mine blocks up to 2x the EffectiveMedianBlockWeight by paying the corresponding penalty.
* daemon: fix reading past stack on exitmoneromooo-monero2018-10-151-5/+10
|
* daemon: do not run complex code in a signal handlermoneromooo-monero2018-10-121-1/+8
| | | | | instead, delegate the work to a one off thread and notify it from the signal handler
* Revert "Merge pull request #4472"Riccardo Spagni2018-10-082-10/+19
| | | | This reverts commit b26ab0b5803af4ffe23de11a45e43877301a4902.
* Merge pull request #4472Riccardo Spagni2018-10-062-19/+10
| | | | 02d3ef7b blocks: use auto-generated .c files instead of 'LD -r -b binary' (xiphon)
* Merge pull request #4485v0.13.0.2-RC2Riccardo Spagni2018-10-021-5/+15
| | | | 5ec929fb daemon: do not display uptime when not known (moneromooo-monero)
* Merge pull request #4470Riccardo Spagni2018-10-021-0/+2
| | | | | | | | | | | | | | | | | | | | 2fbf38ee Fix 32bit depends builds (TheCharlatan) 17142ec9 malloc scratchpad for all supported android archs (m2049r) 6a781408 Make depends use self built clang for darwin (TheCharlatan) 69da14e1 fixes make debug compilation on OSX (Dusan Klinec) fe125647 Fixup RENAME_DB() macro (Howard Chu) b2972927 osx compilation fix: missing boost libs added (Dusan Klinec) 174f31bf simplewallet: don't complain about payment id on pool mined blocks (moneromooo-monero) 89288863 README: mention ASAN usage alongside valgrind (moneromooo-monero) 83debef9 wallet_rpc_server: remove verbose field in incoming_transfers query (moneromooo-monero) a69271fa Fixed a typo (Piotr KÄ…kol) 92d1da28 unit_tests: fix build with GCC 5.4.0 on ubuntu (moneromooo-monero) a21da905 Wallet: use unique_ptr for WalletImpl members (oneiric) 7a056f44 WalletAPI: multisigSignData bug fixed (naughtyfox) 43a06350 ringdb: use cursors to be a bit faster (moneromooo-monero) 7964d4f8 wallet2: handle corner case in picking fake outputs (moneromooo-monero) 6f5360b3 bump version to 0.13.0.1 (Riccardo Spagni) cf470bf3 switch from master to rc (Riccardo Spagni)
* Merge pull request #4341Riccardo Spagni2018-09-181-0/+2
|\ | | | | | | e6117282 daemon: request no PoW hashes we don't need when asking for blocks (moneromooo-monero)
| * daemon: request no PoW hashes we don't need when asking for blocksmoneromooo-monero2018-09-051-0/+2
| | | | | | | | This fixes the horrendous slowdown in bc_dyn_stats
* | Merge pull request #4317Riccardo Spagni2018-09-181-2/+5
|\ \ | | | | | | | | | 76f95f05 rpc: allow to pass RPC login via RPC_LOGIN env var (Dusan Klinec)
| * | rpc: allow to pass RPC login via RPC_LOGIN env varDusan Klinec2018-08-311-2/+5
| |/ | | | | | | - passing by parameter is insecure as it is shown in the process list
* | Merge pull request #3430Riccardo Spagni2018-09-181-1/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42397359 Fixup 32bit arm build (TheCharlatan) a06d2581 Fix Windows build (TheCharlatan) ecaf5b3f Add libsodium to the packages, the arm build was complaining about it. (TheCharlatan) cbbf4d24 Adapt translations to upstream changes (TheCharlatan) db571546 Updated pcsc url (TheCharlatan) f0ba19fd Add lrelease to the depends (TheCharlatan) cfb30462 Add Miniupnp submodule (TheCharlatan) 5f7da005 Unbound is now a submodule. Adapt depends for this. (TheCharlatan) d6b9bdd3 Update readmes to reflect the usage of depends (TheCharlatan) 56b6e41e Add support for apple and arm building (TheCharlatan) 29311fd1 Disable stack unwinding for mingw32 depends build. (TheCharlatan) 8db3d573 Modify depends for monero's dependencies (TheCharlatan) 0806a23a Initial depends addition (TheCharlatan)
| * | Add support for apple and arm buildingTheCharlatan2018-09-101-1/+3
| |/ | | | | | | | | | | Add pcsc-lite to linux builds Fixup windows icu4c linking with depends, the static libraries have an 's' appended to them Compiling depends arm-linux-gnueabihf will allow you to compile armv6zk monero binaries
* / v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2018-09-111-12/+15
|/
* daemon.print_bc: don't print difficulty twicestoffu2018-07-241-1/+1
|
* Merge pull request #4075luigi11112018-07-191-1/+0
|\ | | | | | | 438d52d remove epee from link lines where it's redundant (moneromooo-monero)
| * remove epee from link lines where it's redundantmoneromooo-monero2018-06-281-1/+0
| | | | | | | | | | | | For some reason, this confuses and kills ASAN on startup as it thinks const uint8_t ipv4_network_address::ID is defined multiple times.
* | Merge pull request #4029luigi11112018-07-191-1/+3
|\ \ | | | | | | | | | bd9e4e3 daemon: show a bit more info with print_block (stoffu)
| * | daemon: show a bit more info with print_blockstoffu2018-06-201-1/+3
| | |
* | | Merge pull request #3973luigi11112018-07-194-10/+31
|\ \ \ | | | | | | | | | | | | 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-264-10/+31
| | | |
* | | | Merge pull request #3854luigi11112018-07-192-3/+5
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 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-292-3/+5
| |/ / | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #3897luigi11112018-06-202-1/+7
|\ \ \ | | | | | | | | | | | | 63d0ab0 mlog: --max-log-files to set the max number of rotated log files (stoffu)
| * | | mlog: --max-log-files to set the max number of rotated log filesstoffu2018-06-132-1/+7
| |/ /
* | | Merge pull request #3888luigi11112018-06-201-0/+3
|\ \ \ | | | | | | | | | | | | 1aae39d daemon: fix readline interfering with std::cerr usage (moneromooo-monero)
| * | | daemon: fix readline interfering with std::cerr usagemoneromooo-monero2018-05-311-0/+3
| | | | | | | | | | | | | | | | | | | | Once readline is initialized, std::cerr's operator<< will output a 0xff byte for unknown reasons.
* | | | Merge pull request #3757luigi11112018-06-201-2/+17
|\ \ \ \ | |_|_|/ |/| | | | | | | 6f9260e handle optional miner params better (cryptochangements34)
| * | | handle optional miner params bettercryptochangements342018-05-061-2/+17
| | | |
* | | | Merge pull request #3851luigi11112018-06-191-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | a87980f fix build with GCC 8.1.0 (moneromooo-monero)
| * | | | fix build with GCC 8.1.0moneromooo-monero2018-05-261-1/+1
| | |/ / | |/| |
* | | | Merge pull request #3725luigi11112018-06-161-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | 9cc0d42 connection_context: remove state_ prefix from state names (moneromooo-monero) d9d002c daemon: print peer state in sync_info (moneromooo-monero)
| * | | daemon: print peer state in sync_infomoneromooo-monero2018-04-281-1/+1
| | |/ | |/| | | | | | | It's often relevant
* | | Merge pull request #3583luigi11112018-05-311-1/+1
|\ \ \ | | | | | | | | | | | | 372ffeb Add a space in mining to testnet/stagenet string (cryptochangements34)
| * | | Add a space in mining to testnet/stagenet stringcryptochangements342018-04-081-1/+1
| | | |
* | | | Merge pull request #3561luigi11112018-05-311-0/+3
|\ \ \ \ | |_|_|/ |/| | | | | | | 353e9c0 Core RPC: optionally add POW hash to block_header_response (stoffu)
| * | | Core RPC: optionally add POW hash to block_header_responsestoffu2018-04-051-0/+3
| |/ /
* | / daemon: request unpruned transactions for print_txmoneromooo-monero2018-05-191-0/+1
| |/ |/| | | | | instead of uninitialized
* | Fix broken interactive daemon 'limit' commands plus RPC callsrbrunner72018-04-252-12/+6
| |
* | Merge pull request #3636Riccardo Spagni2018-04-211-23/+22
|\ \ | | | | | | | | | 998c1461 daemon: read config file before reading any other args (stoffu)
| * | daemon: read config file before reading any other argsstoffu2018-04-141-23/+22
| | |
* | | daemon: add a version commandmoneromooo-monero2018-04-133-0/+14
|/ /
* / fix lambda compile error on openbsdmoneromooo-monero2018-03-271-3/+3
|/
* Fix typos in various filesDimitris Apostolou2018-03-151-1/+1
|
* Stagenetstoffu2018-03-058-40/+74
|
* options: add testnet option dependencieswhythat2018-02-162-13/+27
|
* options: remove testnet-* optionswhythat2018-02-164-32/+10
|
* Merge pull request #3181Riccardo Spagni2018-02-162-3/+3
|\ | | | | | | e3f0980a daemon: don't drop RPC with busy error when running offline (moneromooo-monero)
| * daemon: don't drop RPC with busy error when running offlinemoneromooo-monero2018-01-252-3/+3
| |
* | Merge pull request #3165Riccardo Spagni2018-02-161-4/+21
|\ \ | | | | | | | | | 7539603f Bootstrap daemon (stoffu)