summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* bumped version numberRiccardo Spagni2016-04-021-1/+1
|
* Merge pull request #779Riccardo Spagni2016-04-021-5/+1
|\ | | | | | | daac1cc core: remove the block reward accumulation loop (moneromooo-monero)
| * core: remove the block reward accumulation loopmoneromooo-monero2016-04-011-5/+1
| | | | | | | | | | | | | | | | This can generate non decomposed outputs for very large block rewards (or not so large ones if a miner decides to not quantize the block rewards). Out of an abundance of caution, we refuse to generate those. They are still accepted by the consensus code, however.
* | Merge pull request #778Riccardo Spagni2016-04-021-1/+3
|\ \ | | | | | | | | | efbdde2 Detect map resize failures (Howard Chu)
| * | Detect map resize failuresHoward Chu2016-03-301-1/+3
| | |
* | | Merge pull request #777Riccardo Spagni2016-04-022-0/+4
|\ \ \ | | | | | | | | | | | | 8757e46 add blockhashing blob to getblocktemplate (Howard Chu)
| * | | add blockhashing blob to getblocktemplateHoward Chu2016-03-302-0/+4
| |/ /
* | | Merge pull request #772Riccardo Spagni2016-04-021-0/+34
|\ \ \ | | | | | | | | | | | | ead6956 simplewallet: always gracefully exit on EOF (moneromooo-monero)
| * | | simplewallet: always gracefully exit on EOFmoneromooo-monero2016-03-291-0/+34
| | | |
* | | | Merge pull request #769Riccardo Spagni2016-04-024-63/+121
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | b4eada9 wallet: make load_keys check types when loading JSON (moneromooo-monero) 3e55725 wallet: make the JSON reading type safe (moneromooo-monero) f8d05f3 common: new json_util.h (moneromooo-monero)
| * | | | wallet: make load_keys check types when loading JSONmoneromooo-monero2016-03-272-22/+37
| | | | |
| * | | | wallet: make the JSON reading type safemoneromooo-monero2016-03-271-41/+31
| | | | |
| * | | | common: new json_util.hmoneromooo-monero2016-03-271-0/+53
| |/ / / | | | | | | | | | | | | With code to help factor out reading typed fields from JSON
* | | | Merge pull request #767Riccardo Spagni2016-04-0210-23/+98
|\ \ \ \ | | | | | | | | | | | | | | | 24b3e90 Convey tx verification failure reasons to the RPC client (moneromooo-monero)
| * | | | Convey tx verification failure reasons to the RPC clientmoneromooo-monero2016-03-2710-23/+98
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows appropriate action to be taken, like displaying the reason to the user. Do just that in simplewallet, which should help a lot in determining why users fail to send. Also make it so a tx which is accepted but not relayed is seen as a success rather than a failure.
* | | | Merge pull request #766Riccardo Spagni2016-04-021-0/+42
|\ \ \ \ | | | | | | | | | | | | | | | 77d1c6b simplewallet: default to trusted daemon for loopback address (moneromooo-monero)
| * | | | simplewallet: default to trusted daemon for loopback addressmoneromooo-monero2016-03-271-0/+42
| |/ / /
* | | | Merge pull request #764Riccardo Spagni2016-04-022-74/+374
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | f746c9d minor corrections/clarifications (Thomas Winget) c6bb201 Transaction pool documentation (and some cleanup) (Thomas Winget)
| * | | minor corrections/clarificationsThomas Winget2016-03-302-4/+6
| | | |
| * | | Transaction pool documentation (and some cleanup)Thomas Winget2016-03-242-74/+372
| | | | | | | | | | | | | | | | | | | | | | | | | | | | tx_pool.h doxygen documentation completed. Many notes made on areas for improvement, be that functionality or code clarity. Commented code and unused code removed.
* | | | wallet: fix --generate-from-keys saving as watch onlymoneromooo-monero2016-03-281-1/+1
| |_|/ |/| |
* | | Merge pull request #765Riccardo Spagni2016-03-2722-54/+389
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | d5d46e6 tests: obligatory hardfork unit build fix after interface change (moneromooo-monero) 25672d3 wallet: pass std::function by const ref, not value (moneromooo-monero) 0be6e08 wallet: do not leak owned amounts to the daemon unless --trusted-daemon (moneromooo-monero) 12146da wallet: change sweep_dust to sweep_unmixable (moneromooo-monero) 600a3cf New RPC and daemon command to get output histogram (moneromooo-monero) f9a2fd2 wallet: handle rare case where fee adjustment can bump to the next kB (moneromooo-monero) f26651a wallet: factor fee calculation (moneromooo-monero)
| * | wallet: pass std::function by const ref, not valuemoneromooo-monero2016-03-262-2/+2
| | | | | | | | | | | | Because we can.
| * | wallet: do not leak owned amounts to the daemon unless --trusted-daemonmoneromooo-monero2016-03-265-8/+11
| | | | | | | | | | | | | | | | | | This will be slower, though more private. New trusted_daemon parameter to the matching RPC call, false by default.
| * | wallet: change sweep_dust to sweep_unmixablemoneromooo-monero2016-03-266-30/+129
| | | | | | | | | | | | | | | | | | With the change in mixin rules for v2, the "annoying" outputs are slightly changed. There is high correlation between dust and unmixable, but no equivalence.
| * | New RPC and daemon command to get output histogrammoneromooo-monero2016-03-2615-0/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a list of existing output amounts along with the number of outputs of that amount in the blockchain. The daemon command takes: - no parameters: all outputs with at least 3 instances - one parameter: all outputs with at least that many instances - two parameters: all outputs within that many instances The default starts at 3 to avoid massive spamming of all dust outputs in the blockchain, and is the current minimum mixin requirement. An optional vector of amounts may be passed, to request histogram only for those outputs.
| * | wallet: handle rare case where fee adjustment can bump to the next kBmoneromooo-monero2016-03-261-2/+3
| | | | | | | | | | | | It resulted in a tx being sent with too low a fee, and thus rejected.
| * | wallet: factor fee calculationmoneromooo-monero2016-03-261-22/+11
| | |
* | | blockchain: for v3, require miner tx to have well behaved outsmoneromooo-monero2016-03-252-3/+13
| | | | | | | | | | | | | | | | | | This was meant to go in v2, but the miner tx slipped through the cracks as it doesn't go through the main tx verification since it doesn't get added to the pool.
* | | core: fix miner tx block reward with feesmoneromooo-monero2016-03-251-8/+7
|/ /
* | remove connectivity tool, comment it out from munin plugins tooRiccardo Spagni2016-03-253-424/+0
| |
* | Merge pull request #749Riccardo Spagni2016-03-2514-587/+2902
| | | | | | | | | | | | | | | | | | | | | | | | | | bfd4a28 Update BlockchainDB documentation (Thomas Winget) 797357e Change Doxyfile, Blockchain not blockchain_storage (Thomas Winget) c835215 remove defunct code from cryptonote::core (Thomas Winget) 50dba6d cryptonote::core doxygen documentation (Thomas Winget) 8ac329d doxygen documentation for difficulty functions (Thomas Winget) 540a76c Move checkpoint functions into checkpoints class (Thomas Winget) 1b0c98e doxygen documentation for checkpoints.{h,cpp} (Thomas Winget) 89c24ac Remove unnecessary or defunct code (Thomas Winget) ab0ed14 doxygen include private and static members (Thomas Winget) 3a48449 Updated documentation for blockchain.* (Thomas Winget)
* | Revert "Merge pull request #749"Riccardo Spagni2016-03-2514-2902/+587
| | | | | | | | | | This reverts commit 7fa63a82a1c3a0243f6757c1689855ed3ca61695, reversing changes made to cb6be986c36b78eddb4b7f16e9ad440af8567dc4.
* | Merge pull request #756Riccardo Spagni2016-03-254-10/+192
|\ \ | | | | | | | | | a2e378b wallet: add a --generate-from-json flag (moneromooo-monero)
| * | wallet: add a --generate-from-json flagmoneromooo-monero2016-03-254-10/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It takes a filename containing JSON data to generate a wallet. The following fields are valid: version: integer, should be 1 filename: string, path/filename for the newly created wallet scan_from_height: 64 bit unsigned integer, optional password: string, optional viewkey: string, hex representation spendkey: string, hex representation seed: string, optional, list of words separated by spaces Either seed or private keys should be given. If using private keys, the spend key may be omitted (the wallet will not be able to spend, but will see incoming transactions). If scan_from_height is given, blocks below this height will not be checked for transactions as an optimization.
* | | Merge pull request #749Riccardo Spagni2016-03-2514-587/+2902
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd4a28 Update BlockchainDB documentation (Thomas Winget) 797357e Change Doxyfile, Blockchain not blockchain_storage (Thomas Winget) c835215 remove defunct code from cryptonote::core (Thomas Winget) 50dba6d cryptonote::core doxygen documentation (Thomas Winget) 8ac329d doxygen documentation for difficulty functions (Thomas Winget) 540a76c Move checkpoint functions into checkpoints class (Thomas Winget) 1b0c98e doxygen documentation for checkpoints.{h,cpp} (Thomas Winget) 89c24ac Remove unnecessary or defunct code (Thomas Winget) ab0ed14 doxygen include private and static members (Thomas Winget) 3a48449 Updated documentation for blockchain.* (Thomas Winget)
| * | Update BlockchainDB documentationThomas Winget2016-03-241-155/+937
| | | | | | | | | | | | | | | BlockchainDB is now Doxygen-compliant and its documentation is up-to-date with recent changes.
| * | remove defunct code from cryptonote::coreThomas Winget2016-03-242-22/+0
| | |
| * | cryptonote::core doxygen documentationThomas Winget2016-03-242-26/+617
| | |
| * | doxygen documentation for difficulty functionsThomas Winget2016-03-242-2/+16
| | |
| * | Move checkpoint functions into checkpoints classThomas Winget2016-03-249-359/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | The functions in src/cryptonote_core/checkpoints_create.{h,cpp} should be member functions of the checkpoints class, if nothing else for the sake of keeping their documentation together. This commit covers moving those functions to be member functions of the checkpoints class as well as documenting those functions.
| * | doxygen documentation for checkpoints.{h,cpp}Thomas Winget2016-03-222-6/+99
| | | | | | | | | | | | | | | | | | | | | | | | All functions in src/cryptonote_core/checkpoints.h are now documented in doxygen style. checkpoints.cpp has been reviewed, one function has been marked for discussion on correctness.
| * | Remove unnecessary or defunct codeThomas Winget2016-03-222-22/+0
| | |
| * | Updated documentation for blockchain.*Thomas Winget2016-03-222-14/+925
| |/ | | | | | | | | | | | | | | All functions are now documented in doxygen format. Comments have been updated to reflect the current state of the code. Many areas for improvement in clarity and design have been noted, as well as cruft to be removed. These changes are not reflected in this commit both to allow time for comment and to keep commits organized by purpose.
* | Merge pull request #748Riccardo Spagni2016-03-251-1/+1
|\ \ | |/ |/| | | cc4b19c blockchain: fix partial block reward detection (moneromooo-monero)
| * blockchain: fix partial block reward detectionmoneromooo-monero2016-03-221-1/+1
| |
* | update version numberRiccardo Spagni2016-03-211-1/+1
|/
* Merge pull request #743Riccardo Spagni2016-03-211-1/+1
|\ | | | | | | a1c3829 also maybe do the block height this time, you know, just so that it actually works. (Riccardo Spagni)
| * also maybe do the block height this time, you know, just so that it actually ↵Riccardo Spagni2016-03-211-1/+1
| | | | | | | | works.
* | Merge pull request #742Riccardo Spagni2016-03-211-1/+1
|\| | | | | | | 23d1538 also update the timestamp for the hard fork (Riccardo Spagni)