aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-04-24random: call abort(3) instead of assert in must_succeed macromoneromooo-monero1-1/+1
Avoids silent use of bad RNG in release builds, in case those calls might actually fail. Reported by smooth.
2016-04-14Merge pull request #803Riccardo Spagni1-2/+13
c33ffc8 simplewallet: save fixes in RPC mode (moneromooo-monero)
2016-04-14Merge pull request #786Riccardo Spagni1-0/+4
5092e45 tests: unbound API is only accessible in static builds (moneromooo-monero)
2016-04-14Merge pull request #785Riccardo Spagni1-5/+66
1a58d20 simplewallet: optional address in --generate-from-json (moneromooo-monero)
2016-04-14Merge pull request #784Riccardo Spagni2-0/+2
087373e Fix potential race with parallel processing of txes/signatures/blocks (moneromooo-monero)
2016-04-14Merge pull request #783Riccardo Spagni6-74/+61
48d0747 wallet: better output selection for transfer/transfer_new (moneromooo-monero)
2016-04-14Merge pull request #782Riccardo Spagni1-1/+13
113cdc1 core: keep the acc loop for the genesis block (moneromooo-monero)
2016-04-14Merge pull request #801Riccardo Spagni3-0/+12
ed61a2c simplewallet: set strict umask at start (moneromooo-monero) 7385c03 util: add a function to set umask to 077 (moneromooo-monero)
2016-04-14Merge pull request #800Riccardo Spagni2-19/+0
4cfb4df blockchain: remove the tx validation result cache (moneromooo-monero)
2016-04-14Merge pull request #797Riccardo Spagni4-12/+37
d662ab5 rpc: print human readable time since received when printing pool (moneromooo-monero) 5c9dd23 rpc: add a do_not_relay boolean to tx submission (moneromooo-monero)
2016-04-14Merge pull request #796Riccardo Spagni1-1/+1
d817aec tx_pool: ensure no txes that fail check_inputs get in the block template (moneromooo-monero)
2016-04-14Merge pull request #791Riccardo Spagni4-12/+74
f17b2f4 rpc: add pool/blockchain and block height results to gettransactions (moneromooo-monero)
2016-04-14Merge pull request #789Riccardo Spagni1-2/+4
17cac41 tests: fix build with older GCC (Javier Smooth)
2016-04-10simplewallet: save fixes in RPC modemoneromooo-monero1-2/+13
^C when in RPC mode would not save the wallet while it was still refreshing after starting up. Also, save the wallet out of the signal handler. We don't want to call complex stuff in a signal handler.
2016-04-09rpc: add pool/blockchain and block height results to gettransactionsmoneromooo-monero4-12/+74
2016-04-06simplewallet: set strict umask at startmoneromooo-monero1-0/+1
2016-04-06util: add a function to set umask to 077moneromooo-monero2-0/+11
Useful to ensure files are written without group/other read rights.
2016-04-06blockchain: remove the tx validation result cachemoneromooo-monero2-19/+0
As pointed out by smooth, a transaction's validity may change over time as the blockchain changes.
2016-04-06Merge pull request #799Riccardo Spagni1-5/+7
aaaf9e2 Fix get_tick_count() on Windows (Howard Chu)
2016-04-06Fix get_tick_count() on WindowsHoward Chu1-5/+7
GetTickCount used in 52056dcfc480a126e06afaf209b1772b6aa77fb3 only has ~10-16ms resolution. Use higher rez timer to get 1ms rez.
2016-04-06Merge pull request #787Riccardo Spagni1-0/+1
b1aaf20 epee: flush output after a message (moneromooo-monero)
2016-04-06Merge pull request #798Riccardo Spagni1-0/+2
1aad759 tx_pool: fix (hopefully) save/load of kept_by_block (moneromooo-monero)
2016-04-06tx_pool: fix (hopefully) save/load of kept_by_blockmoneromooo-monero1-0/+2
2016-04-05rpc: print human readable time since received when printing poolmoneromooo-monero1-11/+33
2016-04-05rpc: add a do_not_relay boolean to tx submissionmoneromooo-monero3-1/+4
Just to make it easier
2016-04-05tx_pool: ensure no txes that fail check_inputs get in the block templatemoneromooo-monero1-1/+1
2016-04-02tests: fix build with older GCCJavier Smooth1-2/+4
2016-04-02epee: flush output after a messagemoneromooo-monero1-0/+1
This is equivalent to line buffering, as C++ seems to lack a setvbuf equivalent which alows line buffering.
2016-04-02tests: unbound API is only accessible in static buildsmoneromooo-monero1-0/+4
2016-04-02simplewallet: optional address in --generate-from-jsonmoneromooo-monero1-5/+66
When present, it can be used to validate the keys, as well as deduce the spend key, if it is absent (watch wallet).
2016-04-02Fix potential race with parallel processing of txes/signatures/blocksmoneromooo-monero2-0/+2
2016-04-02wallet: better output selection for transfer/transfer_newmoneromooo-monero6-74/+61
This now requests the set of outputs that can be mixed first, to avoid trying non dust but unmixable outputs, which we know will fail.
2016-04-02core: keep the acc loop for the genesis blockmoneromooo-monero1-1/+13
For unknown reasons, it was generated with a block reward consisting of a single large dusty output.
2016-04-02Merge pull request #780v0.9.4Riccardo Spagni1-1/+1
a42e19e bumped version number (Riccardo Spagni)
2016-04-02bumped version numberRiccardo Spagni1-1/+1
2016-04-02Merge pull request #779Riccardo Spagni1-5/+1
daac1cc core: remove the block reward accumulation loop (moneromooo-monero)
2016-04-02Merge pull request #778Riccardo Spagni1-1/+3
efbdde2 Detect map resize failures (Howard Chu)
2016-04-02Merge pull request #777Riccardo Spagni2-0/+4
8757e46 add blockhashing blob to getblocktemplate (Howard Chu)
2016-04-02Merge pull request #774Riccardo Spagni2-1/+52
34957fc tests: add test for needed OpenSSL algorithms in unbound (moneromooo-monero)
2016-04-02Merge pull request #773Riccardo Spagni1-2/+2
587e2e9 README: mention TORSOCKS_ALLOW_INBOUND for wallet connections (moneromooo-monero)
2016-04-02Merge pull request #772Riccardo Spagni1-0/+34
ead6956 simplewallet: always gracefully exit on EOF (moneromooo-monero)
2016-04-02Merge pull request #769Riccardo Spagni4-64/+122
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)
2016-04-02Merge pull request #768Riccardo Spagni1-4/+17
43962f4 abstract_tcp_server2: possible fix for exception in handle_accept (moneromooo-monero)
2016-04-02Merge pull request #767Riccardo Spagni10-23/+98
24b3e90 Convey tx verification failure reasons to the RPC client (moneromooo-monero)
2016-04-02Merge pull request #766Riccardo Spagni1-0/+42
77d1c6b simplewallet: default to trusted daemon for loopback address (moneromooo-monero)
2016-04-02Merge pull request #764Riccardo Spagni2-74/+374
f746c9d minor corrections/clarifications (Thomas Winget) c6bb201 Transaction pool documentation (and some cleanup) (Thomas Winget)
2016-04-01core: remove the block reward accumulation loopmoneromooo-monero1-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.
2016-03-30Detect map resize failuresHoward Chu1-1/+3
2016-03-30minor corrections/clarificationsThomas Winget2-4/+6
2016-03-30add blockhashing blob to getblocktemplateHoward Chu2-0/+4
2016-03-29tests: add test for needed OpenSSL algorithms in unboundmoneromooo-monero2-1/+52
These can be compiled out of libunbound, leading to failure to check DNSSEC validity.
2016-03-29README: mention TORSOCKS_ALLOW_INBOUND for wallet connectionsmoneromooo-monero1-2/+2
2016-03-29simplewallet: always gracefully exit on EOFmoneromooo-monero1-0/+34
2016-03-28Merge pull request #770Riccardo Spagni1-1/+1
878ab5d wallet: fix --generate-from-keys saving as watch only (moneromooo-monero)
2016-03-28wallet: fix --generate-from-keys saving as watch onlymoneromooo-monero1-1/+1
2016-03-27wallet: make load_keys check types when loading JSONmoneromooo-monero2-23/+38
2016-03-27wallet: make the JSON reading type safemoneromooo-monero1-41/+31
2016-03-27common: new json_util.hmoneromooo-monero1-0/+53
With code to help factor out reading typed fields from JSON
2016-03-27Merge pull request #765Riccardo Spagni23-54/+390
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)
2016-03-27abstract_tcp_server2: possible fix for exception in handle_acceptmoneromooo-monero1-4/+17
2016-03-27Convey tx verification failure reasons to the RPC clientmoneromooo-monero10-26/+101
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.
2016-03-27simplewallet: default to trusted daemon for loopback addressmoneromooo-monero1-0/+42
2016-03-26tests: obligatory hardfork unit build fix after interface changemoneromooo-monero1-1/+1
2016-03-26wallet: pass std::function by const ref, not valuemoneromooo-monero2-2/+2
Because we can.
2016-03-26wallet: do not leak owned amounts to the daemon unless --trusted-daemonmoneromooo-monero5-8/+11
This will be slower, though more private. New trusted_daemon parameter to the matching RPC call, false by default.
2016-03-26wallet: change sweep_dust to sweep_unmixablemoneromooo-monero6-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.
2016-03-26New RPC and daemon command to get output histogrammoneromooo-monero16-0/+244
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.
2016-03-26wallet: handle rare case where fee adjustment can bump to the next kBmoneromooo-monero1-2/+3
It resulted in a tx being sent with too low a fee, and thus rejected.
2016-03-26wallet: factor fee calculationmoneromooo-monero1-22/+11
2016-03-25Merge pull request #763Riccardo Spagni3-11/+20
b852766 blockchain: for v3, require miner tx to have well behaved outs (moneromooo-monero) 97638b1 core: fix miner tx block reward with fees (moneromooo-monero)
2016-03-25blockchain: for v3, require miner tx to have well behaved outsmoneromooo-monero2-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.
2016-03-25core: fix miner tx block reward with feesmoneromooo-monero1-8/+7
2016-03-25Merge pull request #762Riccardo Spagni13-435/+11
287e882 remove connectivity tool, comment it out from munin plugins too (Riccardo Spagni) 51a56e7 remove unecessary and bad std::move from portable_storage_template_helper.h (Riccardo Spagni)
2016-03-25remove connectivity tool, comment it out from munin plugins tooRiccardo Spagni12-433/+9
2016-03-25remove unecessary and bad std::move from portable_storage_template_helper.hRiccardo Spagni1-2/+2
2016-03-25Merge pull request #749Riccardo Spagni15-594/+2909
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)
2016-03-25Merge pull request #761Riccardo Spagni15-2909/+594
01e0a69 Revert "Merge pull request #749" (Riccardo Spagni)
2016-03-25Revert "Merge pull request #749"Riccardo Spagni15-2909/+594
This reverts commit 7fa63a82a1c3a0243f6757c1689855ed3ca61695, reversing changes made to cb6be986c36b78eddb4b7f16e9ad440af8567dc4.
2016-03-25Merge pull request #756Riccardo Spagni4-10/+192
a2e378b wallet: add a --generate-from-json flag (moneromooo-monero)
2016-03-25Merge pull request #749Riccardo Spagni15-594/+2909
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)
2016-03-25Merge pull request #748Riccardo Spagni1-1/+1
cc4b19c blockchain: fix partial block reward detection (moneromooo-monero)
2016-03-25wallet: add a --generate-from-json flagmoneromooo-monero4-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.
2016-03-24Transaction pool documentation (and some cleanup)Thomas Winget2-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.
2016-03-24Update BlockchainDB documentationThomas Winget1-155/+937
BlockchainDB is now Doxygen-compliant and its documentation is up-to-date with recent changes.
2016-03-24Change Doxyfile, Blockchain not blockchain_storageThomas Winget1-3/+3
Changes the Doxyfile to expand preprocessor macros, but only the ones defined in the Doxyfile. This way we can specify that BLOCKCHAIN_DB == DB_LMDB for the sake of documentation.
2016-03-24remove defunct code from cryptonote::coreThomas Winget2-22/+0
2016-03-24cryptonote::core doxygen documentationThomas Winget2-26/+617
2016-03-24doxygen documentation for difficulty functionsThomas Winget2-2/+16
2016-03-24Move checkpoint functions into checkpoints classThomas Winget9-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.
2016-03-22doxygen documentation for checkpoints.{h,cpp}Thomas Winget2-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.
2016-03-22Remove unnecessary or defunct codeThomas Winget2-22/+0
2016-03-22doxygen include private and static membersThomas Winget1-4/+4
This can be easily reverted or removed before this branch is merged, so I'm going ahead and committing these couple changes.
2016-03-22Updated documentation for blockchain.*Thomas Winget2-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.
2016-03-22blockchain: fix partial block reward detectionmoneromooo-monero1-1/+1
2016-03-21Merge pull request #746v0.9.3Riccardo Spagni1-1/+1
8438aeb update version number (Riccardo Spagni)
2016-03-21update version numberRiccardo Spagni1-1/+1
2016-03-21Merge pull request #745Riccardo Spagni1-1/+1
4b425a3 core_tests: fix compile failure with GCC 4.8.4 (moneromooo-monero)
2016-03-21core_tests: fix compile failure with GCC 4.8.4moneromooo-monero1-1/+1
Reported and tested by smooth
2016-03-21Merge pull request #744Riccardo Spagni15-73/+176
40974b1 fix building on FreeBSD (Riccardo Spagni) 1800d61 bump miniupnpc API version number (Riccardo Spagni) a4242c4 update miniupnpc (Riccardo Spagni)
2016-03-21fix building on FreeBSDRiccardo Spagni2-4/+1
2016-03-21bump miniupnpc API version numberRiccardo Spagni1-1/+1
2016-03-21update miniupnpcRiccardo Spagni13-68/+174
2016-03-21Merge pull request #743Riccardo Spagni1-1/+1
a1c3829 also maybe do the block height this time, you know, just so that it actually works. (Riccardo Spagni)
2016-03-21also maybe do the block height this time, you know, just so that it actually ↵Riccardo Spagni1-1/+1
works.
2016-03-21Merge pull request #742Riccardo Spagni1-1/+1
23d1538 also update the timestamp for the hard fork (Riccardo Spagni)
2016-03-21also update the timestamp for the hard forkRiccardo Spagni1-1/+1
2016-03-21Merge pull request #741Riccardo Spagni3-31/+47
eda51a0 set fork date for September, add hyc's GPG key, remove aabramov's (Riccardo Spagni)
2016-03-21Merge pull request #740Riccardo Spagni43-259/+63
f7301c3 Revert "Print stack trace upon exceptions" (moneromooo-monero)
2016-03-21set fork date for September, add hyc's GPG key, remove aabramov'sRiccardo Spagni3-31/+47
2016-03-21Revert "Print stack trace upon exceptions"moneromooo-monero43-259/+63
Ain't nobody got time for link/cmake skullduggery. This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d.
2016-03-20Merge pull request #738Riccardo Spagni1-40/+47
79117d4 db_lmdb: include the error codes from lmdb api in error logs (moneromooo-monero)
2016-03-20Merge pull request #737Riccardo Spagni1-1/+1
1c3ed4c cryptonote_protocol: clarify height wording (moneromooo-monero)
2016-03-20Merge pull request #736Riccardo Spagni1-0/+8
2b4cab3 epee: fix potential hang on exit (moneromooo-monero)
2016-03-20Merge pull request #735Riccardo Spagni1-1/+1
d2aa427 rpc: fix print_tx in command line mode (moneromooo-monero)
2016-03-20Merge pull request #734Riccardo Spagni1-42/+54
b525457 simplewallet: make --password-file work in RPC mode (moneromooo-monero)
2016-03-20Merge pull request #733Riccardo Spagni43-63/+259
fff238e Print stack trace upon exceptions (moneromooo-monero)
2016-03-20db_lmdb: include the error codes from lmdb api in error logsmoneromooo-monero1-40/+47
2016-03-20cryptonote_protocol: clarify height wordingmoneromooo-monero1-1/+1
It's logging the blockchain height, not the top block height
2016-03-20epee: fix potential hang on exitmoneromooo-monero1-0/+8
Also close sockets on failure, just in case
2016-03-19rpc: fix print_tx in command line modemoneromooo-monero1-1/+1
It was only filling the input in non rpc mode
2016-03-19simplewallet: make --password-file work in RPC modemoneromooo-monero1-42/+54
2016-03-19Print stack trace upon exceptionsmoneromooo-monero43-63/+259
Useful for debugging users' logs
2016-03-19Merge pull request #732Riccardo Spagni2-2/+4
db1b2db Reduce log noise (Howard Chu) 9b3e43c Fix issue #706 (Howard Chu)
2016-03-19Merge pull request #731Riccardo Spagni1-1/+1
498ad73 tests: enable core tests again (moneromooo-monero)
2016-03-19Reduce log noiseHoward Chu1-2/+3
2016-03-19Fix issue #706Howard Chu1-0/+1
2016-03-17tests: enable core tests againmoneromooo-monero1-1/+1
They should not have been disabled in the first place
2016-03-16Merge pull request #730v0.9.2Riccardo Spagni2-1/+1
435b6e4 bump the version (Riccardo Spagni) e4c2e9e baked-in block headers now go all the way up to 1 million. 1 MILLION (Riccardo Spagni)
2016-03-16bump the versionRiccardo Spagni1-1/+1
2016-03-16baked-in block headers now go all the way up to 1 million. 1 MILLIONRiccardo Spagni1-0/+0
2016-03-16Merge pull request #728Riccardo Spagni10-5/+845
7df2baf fixed "undefined reference" for boost::system library (Ilya Kitaev) 62606f1 Wallet::store_to(path, password) implemented; (Ilya Kitaev) 19fcc74 Wallet::address implemented (Ilya Kitaev) 180ac6e WalletManager::recoveryWallet implemented (Ilya Kitaev) 5a4f099 Wallet::setPassword() method for wallet2_api (Ilya Kitaev) 57d7ffc changes in wallet2_api + implemented WalletManager::openWallet (Ilya Kitaev) f1f9279 get_seed() included to interface (Ilya Kitaev) 930bed7 tests for wallet2_api (Ilya Kitaev) 318660d wallet2 public api. initial commit (Ilya Kitaev)
2016-03-16Merge pull request #729Riccardo Spagni2-10/+21
a74348e Add destructor for readtxns (Howard Chu)
2016-03-16fixed "undefined reference" for boost::system libraryIlya Kitaev1-1/+2
2016-03-16Add destructor for readtxnsHoward Chu2-10/+21
Only if we created the readtxn. Was missing cleanups from exceptions before.
2016-03-16Wallet::store_to(path, password) implemented;Ilya Kitaev6-18/+177
2016-03-16Wallet::address implementedIlya Kitaev3-0/+15
2016-03-16WalletManager::recoveryWallet implementedIlya Kitaev3-10/+56
2016-03-16Wallet::setPassword() method for wallet2_apiIlya Kitaev5-13/+80
2016-03-16changes in wallet2_api + implemented WalletManager::openWalletIlya Kitaev3-33/+155
2016-03-16get_seed() included to interfaceIlya Kitaev3-23/+65
2016-03-16tests for wallet2_apiIlya Kitaev6-7/+170
2016-03-16wallet2 public api. initial commitIlya Kitaev3-2/+227
2016-03-15Merge pull request #727Riccardo Spagni1-46/+50
6b0a903 Small cleanups (Howard Chu) 01c1512 More for 92dd4ec6d6251b15954002e72a7c7faa5059a3ab (Howard Chu)
2016-03-15Merge pull request #726Riccardo Spagni2-4/+4
5dd91f6 fix formatting error on bitmonero print_block return (Mike C) ee71946 Fix typo on bitmonerod rpc method error. (Mike C)
2016-03-15Small cleanupsHoward Chu1-24/+28
Only one return and TXN_POSTFIX_RDONLY() per function Only log rtxn_start if the rtxn wasn't already active
2016-03-15More for 92dd4ec6d6251b15954002e72a7c7faa5059a3abHoward Chu1-22/+22
Make sure we stop the right txn too
2016-03-14fix formatting error on bitmonero print_block returnMike C1-1/+1
Example of current return for `print_block 912345`: timestamp: 1452793716 previous hash: b61c58b2e0be53fad5ef9d9731a55e8a81d972b8d90ed07c04fd37ca6403ff78 nonce: 1646 is orphan: 0 height: 912345 depth: 85434 hash: e22cf75f39ae720e8b71b3d120a5ac03f0db50bba6379e2850975b4859190bc6difficul ty: 815625611 reward: 7388968946286 { "major_version": 1, "minor_version": 2, … Without `std::endl`, the difficulty gets smashed on the end of the hash.
2016-03-14Fix typo on bitmonerod rpc method error.Mike C1-3/+3
2016-03-14Merge pull request #723Riccardo Spagni2-21/+21
2abdb2c avoid some val copies (Howard Chu)
2016-03-14Merge pull request #725Riccardo Spagni2-42/+31
92dd4ec Hack for read/write txn mixup (Howard Chu) b28258a change to LMDB as default, even on 32-bit and ARM (Riccardo Spagni)
2016-03-14Hack for read/write txn mixupHoward Chu2-42/+31
save the thread ID of the writer thread so we don't try to use the writetxn from reader threads
2016-03-14change to LMDB as default, even on 32-bit and ARMRiccardo Spagni1-28/+19
2016-03-14avoid some val copiesHoward Chu2-21/+21
2016-03-12Merge pull request #721Riccardo Spagni1-28/+19
11de192 change to LMDB as default, even on 32-bit and ARM (Riccardo Spagni)
2016-03-12Merge pull request #719Riccardo Spagni1-0/+1
e98b26a epee: fix bug deleting more than one connection at once (moneromooo-monero)
2016-03-12change to LMDB as default, even on 32-bit and ARMRiccardo Spagni1-28/+19
2016-03-12Merge pull request #720Riccardo Spagni2-3/+6
8689014 switch default utilities DB to lmdb, update checkpoints.dat (Riccardo Spagni)
2016-03-12switch default utilities DB to lmdb, update checkpoints.datRiccardo Spagni2-3/+6
2016-03-12epee: fix bug deleting more than one connection at oncemoneromooo-monero1-0/+1
2016-03-12Merge pull request #718Riccardo Spagni1-0/+1
41ea91a simplewallet: fix hang when setting auto-refresh to 0 (moneromooo-monero)
2016-03-12Merge pull request #717Riccardo Spagni1-0/+4
28bfc90 simplewallet: special ^C handling for windows (moneromooo-monero)
2016-03-12simplewallet: fix hang when setting auto-refresh to 0moneromooo-monero1-0/+1
It would try to join the auto refresh thread, which would only happen after it was done, which would take a long time when doing so on a newly created wallet.
2016-03-12Merge pull request #716Riccardo Spagni3-7/+10
789e275 rpc: do not return bans if they're effectively spent (moneromooo-monero) 474e4c0 p2p: lock access to the blocked ips map (moneromooo-monero)
2016-03-12Merge pull request #715Riccardo Spagni2-4/+15
8bc1bd6 wallet: use minimum mixin when RPC asks for too low mixin (moneromooo-monero) 31d2e0f wallet_rpc_server: make use_fork_rules public (moneromooo-monero)
2016-03-12simplewallet: special ^C handling for windowsmoneromooo-monero1-0/+4
Because obviously it doesn't work as other POSIX platforms. Reported and tested by luigi1111.
2016-03-12rpc: do not return bans if they're effectively spentmoneromooo-monero1-4/+7
The blocked ip list will still hold them till next time a connection attempt is made with that IP, so the effective length of the ban may be negative.
2016-03-12p2p: lock access to the blocked ips mapmoneromooo-monero2-3/+3
2016-03-11wallet: use minimum mixin when RPC asks for too low mixinmoneromooo-monero1-3/+13
After the fork, normal transfer functions called via RPC use the minimum mixin 2 if 0 or 1 is requested. While the incoming transaction may be valid (eg, it has an unmixable and at most a mixable input), it is a simple way to make sure RPC users can't get a seemingly random accept/reject behavior if they don't update their requested mixin.
2016-03-11wallet_rpc_server: make use_fork_rules publicmoneromooo-monero1-1/+2
We will need it in the wallet RPC server
2016-03-11Merge pull request #714Riccardo Spagni1-2/+2
4917af2 update donation addresses (Riccardo Spagni)
2016-03-11update donation addressesRiccardo Spagni1-2/+2
2016-03-11Merge pull request #713Riccardo Spagni3-4/+25
5b568b0 minor tweaks, add readme for crypto_ops_builder (Riccardo Spagni) 0a4dd68 minor tweaks, add readme for crypto_ops_builder (Riccardo Spagni)
2016-03-11Merge branch 'master' of https://github.com/fluffypony/bitmoneroRiccardo Spagni0-0/+0
2016-03-11minor tweaks, add readme for crypto_ops_builderRiccardo Spagni3-4/+25
2016-03-11minor tweaks, add readme for crypto_ops_builderRiccardo Spagni3-4/+25
2016-03-11Merge pull request #712Riccardo Spagni30-103/+110
66c2fc7 Need to link boost::chrono in more places now (Howard Chu) b937a2c Use boost::thread instead of std::thread (Howard Chu)
2016-03-11Merge pull request #711Riccardo Spagni2-1/+8
52056dc WIN32 thread_id is OS-dependent not compiler-dependent (Howard Chu) 87d39f3 WIN32: Need getpid() declaration (Howard Chu)
2016-03-11Merge pull request #710Riccardo Spagni1-14/+14
8941ce0 More for bdec7cb (Howard Chu)
2016-03-11Need to link boost::chrono in more places nowHoward Chu3-0/+3
2016-03-11WIN32 thread_id is OS-dependent not compiler-dependentHoward Chu1-1/+7
2016-03-11Use boost::thread instead of std::threadHoward Chu27-103/+107
and all other associated IPC
2016-03-11WIN32: Need getpid() declarationHoward Chu1-0/+1
2016-03-09More for bdec7cbHoward Chu1-14/+14
More uses of db error helper
2016-03-05Merge pull request #705Riccardo Spagni1-4/+54
f7ed167 blockchain_utilities: Update documentation (warptangent)
2016-03-05Merge pull request #704Riccardo Spagni1-8/+17
e2b7e55 get_payments short ID (luigi1111)
2016-03-05Merge pull request #703Riccardo Spagni1-1/+1
dfca2ae unit_tests: fix hard fork unit test compilation (warptangent)
2016-03-05Merge pull request #702Riccardo Spagni2-6/+67
0485d17 blockchain_export: Support BerkeleyDB (warptangent) 41487e3 blockchain_export: Move DB implementation includes (warptangent)
2016-03-05blockchain_utilities: Update documentationwarptangent1-4/+54
2016-03-05Merge pull request #700Riccardo Spagni2-34/+35
bdec7cb BlockchainLMDB: Use DB error helper consistently (warptangent) c5932eb BlockchainLMDB: Add DB error to exception (warptangent) a49c355 Blockchain: Omit verbose time stats messages by default (warptangent)
2016-03-05Merge pull request #698Riccardo Spagni1-57/+14
ee7a8b8 Get rid of lmdb_cur (Howard Chu)
2016-03-05Merge pull request #696Riccardo Spagni1-1/+1
d57ec75 Fix language (Howard Chu)
2016-03-05Merge pull request #695Riccardo Spagni1-0/+6
f5affbe More for df239428c0f43e2664f2be273996a734ca12c686 (Howard Chu)
2016-03-05get_payments short IDluigi11111-8/+17
Add support for short/integrated/encrypted IDs to get_payments RPC
2016-03-05unit_tests: fix hard fork unit test compilationwarptangent1-1/+1
Match changed BlockchainDB function declaration.
2016-03-05blockchain_export: Support BerkeleyDBwarptangent1-4/+65
TEST: blockchain_export -h This should show "berkeley" as an available option to --database. With an existing BerkeleyDB database, run: blockchain_export --database berkeley
2016-03-05blockchain_export: Move DB implementation includeswarptangent2-2/+2
2016-03-03BlockchainLMDB: Use DB error helper consistentlywarptangent1-28/+27
2016-03-03BlockchainLMDB: Add DB error to exceptionwarptangent1-5/+7
2016-03-03Blockchain: Omit verbose time stats messages by defaultwarptangent1-1/+1
This is already the default for the daemon, but by checking a command line argument and calling a Blockchain member function setter. Initialize the variable to false so it's not dependent on an external command-line argument check. This allows utilities like blockchain_import to have a reasonable default without code changes.
2016-03-03Get rid of lmdb_curHoward Chu1-57/+14
We don't need it now with per-txn cursors.