aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-06-03Wallet API : WalletManager::findWallets() addedIlya Kitaev8-19/+86
2016-06-01scripts for faster test wallets generationIlya Kitaev11-19/+120
2016-05-27regenerated test wallets, basic functions got brokenIlya Kitaev1-17/+20
2016-05-27Merge remote-tracking branch 'upstream/master'Ilya Kitaev28-830/+1409
2016-05-27installing wallet_api headerIlya Kitaev1-2/+2
2016-05-27cmake: BUILD_TESTS as option explicitly; added missed dependencyIlya Kitaev1-0/+3
2016-05-27cmake libutils dependency addedIlya Kitaev1-0/+46
2016-05-27all wallet dependencies merged to single static libIlya Kitaev4-2/+491
2016-05-17Merge pull request #842Riccardo Spagni4-4/+11
d539be3 crypto: make clear generate_random_bytes is not thread safe (moneromooo-monero)
2016-05-17Merge pull request #840Riccardo Spagni2-6/+8
1c0bffb Restrict also 'get_connections' and 'getbans' APIs. (osensei) 9f8bc49 Don't allow 'flush_txpool' and 'setbans' JSON_RPC methods when running in restricted mode. (osensei)
2016-05-17Merge pull request #837Riccardo Spagni1-1/+9
bc99b5d Update README with TAILS instructions (dEBRUYNE-1)
2016-05-17Merge pull request #831Riccardo Spagni11-31/+121
9ef8c7b tests: fix tests broken by the removal of the block reward accumulation loop (moneromooo-monero) a6e717e cn_deserialize: deserialize tx_extra too (moneromooo-monero) 3eff37f unit_tests: add a write_varint/read_varint test (moneromooo-monero) 7a66387 unit_tests: fix UNBOUND_LIBRARIES/UNBOUND_LIBRARY typo (moneromooo-monero) d6bce4b core: move tx_extra parsing errors to log level 1 (moneromooo-monero)
2016-05-17Merge pull request #827Riccardo Spagni3-19/+31
f1e70d1 Only log 1/N skipped blocks (Howard Chu) cebb97c Move refresh height to keys file from cache file (Howard Chu) 590c439 Make fast_refresh interruptible (Howard Chu) 687855d Set refresh height earlier (Howard Chu) 2fb00c0 Fix 19fe8ae3ef1aa46ae8fdd4e4d6862510390ddab7 (Howard Chu)
2016-05-17WalletListener::moneyReceived testIlya Kitaev1-12/+38
2016-05-16Restrict also 'get_connections' and 'getbans' APIs.osensei1-2/+2
2016-05-16WalletListener::moneySpent testIlya Kitaev3-55/+164
2016-05-15crypto: make clear generate_random_bytes is not thread safemoneromooo-monero4-4/+11
And add a thread safe version to encourage proper use
2016-05-14Don't allow 'flush_txpool' and 'setbans' JSON_RPC methods when running in ↵osensei2-4/+6
restricted mode.
2016-05-13WalletListener::moneySpent(), WalletListener::moneyReceived()Ilya Kitaev2-2/+22
2016-05-13i_wallet_callback: virtual dtorIlya Kitaev1-0/+1
2016-05-12Merge remote-tracking branch 'upstream/master'Ilya Kitaev22-146/+1306
2016-05-11Update README with TAILS instructionsdEBRUYNE-11-1/+9
2016-05-05started WalletListenerIlya Kitaev3-1/+65
2016-05-05TransactionHistory continuedIlya Kitaev1-5/+0
2016-05-01tests: fix tests broken by the removal of the block reward accumulation loopmoneromooo-monero6-24/+18
The tests for rejection of unmixable outputs in v2 are commented out, as there are no unmixable outputs created anymore. This should be restored at some point.
2016-05-01cn_deserialize: deserialize tx_extra toomoneromooo-monero1-0/+21
2016-05-01unit_tests: add a write_varint/read_varint testmoneromooo-monero2-1/+68
2016-05-01unit_tests: fix UNBOUND_LIBRARIES/UNBOUND_LIBRARY typomoneromooo-monero1-1/+1
2016-05-01core: move tx_extra parsing errors to log level 1moneromooo-monero2-5/+13
They're not fatal, though indicate something wrong
2016-04-29Merge branch 'performance' of https://github.com/LMDB/bitmoneroRiccardo Spagni7-769/+1229
2016-04-29Only log 1/N skipped blocksHoward Chu1-2/+4
2016-04-29Move refresh height to keys file from cache fileHoward Chu2-1/+8
2016-04-29Make fast_refresh interruptibleHoward Chu1-2/+3
2016-04-29Set refresh height earlierHoward Chu1-13/+15
Do it before the generate() call so the value actually gets stored.
2016-04-29TransactionHistory continuedIlya Kitaev6-23/+163
2016-04-29Merge pull request #826Riccardo Spagni1-27/+44
76c6bf1 simplewallet: display all settings on set with no arguments (moneromooo-monero)
2016-04-29Merge pull request #825Riccardo Spagni8-7/+47
513a658 add a --max-concurrency flag (moneromooo-monero)
2016-04-29Merge pull request #824Riccardo Spagni2-2/+12
09dddf2 wallet: add a filter_by_height field to get_transfers (moneromooo-monero)
2016-04-29Fix 19fe8ae3ef1aa46ae8fdd4e4d6862510390ddab7Howard Chu1-2/+2
Don't prompt for restore-height on generate-new-wallet
2016-04-28simplewallet: display all settings on set with no argumentsmoneromooo-monero1-27/+44
2016-04-28add a --max-concurrency flagmoneromooo-monero8-7/+47
It sets the max number of threads to use for a parallel job. This is different that the number of total threads, since monero binaries typically start a lot of them.
2016-04-27wallet: add a filter_by_height field to get_transfersmoneromooo-monero2-2/+12
It allows a simple get_transfers (with default 0 min_height and max_height) to return all transactions, instead of the unexpected set of txes in block 0, which is probably none at all.
2016-04-27Merge pull request #823Riccardo Spagni1-1/+1
a687e6e simplewallet: fix pending transfers fee display in show_transfers (moneromooo-monero)
2016-04-27Merge pull request #822Riccardo Spagni3-0/+151
48ab3f9 wallet: add get_transfers rpc call (moneromooo-monero)
2016-04-27Merge pull request #821Riccardo Spagni1-1/+5
d7bb175 simplewallet: more threading fixes (moneromooo-monero)
2016-04-26simplewallet: fix pending transfers fee display in show_transfersmoneromooo-monero1-1/+1
2016-04-26simplewallet: more threading fixesmoneromooo-monero1-1/+5
2016-04-26wallet: add get_transfers rpc callmoneromooo-monero3-0/+151
Allows getting in, out, pending, and failed transfers, similarly to the show_transfers command.
2016-04-26Merge pull request #816Riccardo Spagni8-15/+236
7baed9b wallet: allow attaching notes to txids (moneromooo-monero) ce6f8a6 wallet: add GMT timestamps to transfers/payments (moneromooo-monero)
2016-04-26wallet: allow attaching notes to txidsmoneromooo-monero8-4/+193
2016-04-26wallet: add GMT timestamps to transfers/paymentsmoneromooo-monero3-14/+46
2016-04-26Merge pull request #819Riccardo Spagni1-1/+1
31587bd random: call abort(3) instead of assert in must_succeed macro (moneromooo-monero)
2016-04-26Merge pull request #817Riccardo Spagni2-11/+45
4b1c0d6 simplewallet: some background refresh threading fixes (moneromooo-monero)
2016-04-26Merge pull request #815Riccardo Spagni7-63/+531
b0850a9 wallet: add a new sweep_all command and RPC command (moneromooo-monero)
2016-04-26Merge pull request #814Riccardo Spagni3-13/+40
68cbe15 modified: src/wallet/wallet2.cpp modified: src/wallet/wallet2.h (awfulcrawler) 4b325bd modified: src/simplewallet/simplewallet.cpp modified: src/wallet/wallet2.cpp modified: src/wallet/wallet2.h (awfulcrawler)
2016-04-26Merge pull request #813Riccardo Spagni1-1/+6
70c8656 blockchain: add missing overflow check for already generated coins (moneromooo-monero) d6fd6be blockchain: update cumulative block limit when popping a block (moneromooo-monero)
2016-04-26Merge pull request #812Riccardo Spagni2-3/+7
3102feb abstract_tcp_server2: fix send queue limit warning spam (moneromooo-monero) 6bca9a8 abstract_tcp_server2: avoid deadlock waiting for send queue to drain (moneromooo-monero) 7450656 net_node: fix connection leak when ping fails with bad response (moneromooo-monero)
2016-04-26Merge pull request #811Riccardo Spagni2-5/+8
672162d tests: fix compile failure on wallet2::transfer (moneromooo-monero) b0c18ef wallet2: move output selection api public (moneromooo-monero)
2016-04-26Merge pull request #806Riccardo Spagni8-0/+176
19fe8ae Add --restore-height option (Howard Chu) b6e42c3 Speed up new wallet refresh (Howard Chu) b7140da Add GET_HASHES_FAST rpc, use it in wallet (Howard Chu)
2016-04-26merged with upstreamIlya Kitaev5-3/+106
2016-04-26Merge remote-tracking branch 'upstream/master' into developIlya Kitaev29-305/+1044
2016-04-24Another take on migrationHoward Chu2-582/+106
Delete old indices and recreate them, rather than updating them Maybe not quite as slow as before.
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-22Wallet API: transaction history in progressIlya Kitaev5-11/+19
2016-04-22Wallet API : transaction history in progressIlya Kitaev8-25/+100
2016-04-21simplewallet: some background refresh threading fixesmoneromooo-monero2-11/+45
We want to lock operations which access the blockchain in wallet2. We also want the background refresh to happen again when we cancel a foreground refresh. Wrap the locking setup in a macro so it doesn't get copy/pasted/mangled, and use a scope exit trick to ensure it's always properly restored.
2016-04-20transaction history api in progressIlya Kitaev2-0/+42
2016-04-20transaction history api in progressIlya Kitaev6-16/+68
2016-04-20api implementation splitted over separate filesIlya Kitaev13-315/+710
2016-04-19wallet: add a new sweep_all command and RPC commandmoneromooo-monero7-63/+531
This sends all outputs in a wallet to a given address, alleviating the difficulty people have had trying to send all monero but being left with some small amount left.
2016-04-19TransactionInfo / TransactionHistory APIs designIlya Kitaev2-130/+188
2016-04-18 modified: src/wallet/wallet2.cppawfulcrawler2-5/+6
modified: src/wallet/wallet2.h Removed working comments
2016-04-18 modified: src/simplewallet/simplewallet.cppawfulcrawler3-13/+39
modified: src/wallet/wallet2.cpp modified: src/wallet/wallet2.h Update to fix unconfirmed balance and give a slightly more verbose and informative confirmation message for transfers
2016-04-18Merge pull request #1 from monero-project/masterAwfulCrawler17-128/+287
Catch up with Monero master
2016-04-17Add --restore-height optionHoward Chu2-0/+25
For specifying the block height from which to start a restore
2016-04-17Speed up new wallet refreshHoward Chu1-0/+6
Use the current blockchain height as the refresh_from_block_height.
2016-04-17Add GET_HASHES_FAST rpc, use it in walletHoward Chu6-0/+145
When m_refresh_from_block_height has been set, only hashes will be retrieved up to that height, instead of full blocks. The same will be done for "refresh <height>" when the specified height is beyond the current local blockchain.
2016-04-17blockchain: add missing overflow check for already generated coinsmoneromooo-monero1-1/+5
When reaching the tail emission phase, the amount of coins will eventually go over MONEY_SUPPLY, overflowing 64 bits. There was a check added to blockchain_storage, but this was not ported to the blockchain DB version. Reported by smooth.
2016-04-17blockchain: update cumulative block limit when popping a blockmoneromooo-monero1-0/+1
Avoids possible issues with accepting a tx too large to fit in an actual block. Reported by smooth.
2016-04-17abstract_tcp_server2: fix send queue limit warning spammoneromooo-monero1-1/+1
When the send queue limit is reached, it is likely to not drain any time soon. If we call close on the connection, it will stay alive, waiting for the queue to drain before actually closing, and will hit that check again and again. Since the queue size limit is the reason we're closing in the first place, we call shutdown directly.
2016-04-17abstract_tcp_server2: avoid deadlock waiting for send queue to drainmoneromooo-monero1-2/+5
If we reach the send queue size limit, we need to release the lock, or we will deadlock and it will never drain. If we reach that limit, it's likely there's another problem in the first place though, so it will probably not drain in practice either, unless some kind of transient network timeout.
2016-04-17net_node: fix connection leak when ping fails with bad responsemoneromooo-monero1-0/+1
If there is no comms error, but the response is not as expected, close would not be called.
2016-04-17tests: fix compile failure on wallet2::transfermoneromooo-monero1-1/+2
2016-04-17wallet2: move output selection api publicmoneromooo-monero1-4/+6
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-12TODOs for Transaction/Transfer interfaceIlya Kitaev3-23/+29
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-09mdb_drop optimizationHoward Chu1-1/+10
If we know there are no sub-DBs and no overflow pages, skip leaf scan.
2016-04-09rpc: add pool/blockchain and block height results to gettransactionsmoneromooo-monero4-12/+74
2016-04-08MigrationHoward Chu2-5/+1049
Migrate from DB version 0 to version 1 on startup
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-06Transaction API continuedIlya Kitaev3-4/+23
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-05Merge branch 'performance' into masterHoward Chu7-754/+637
2016-04-05CleanupHoward Chu4-28/+70
drop obsolete remove_output() fix get_output_key(global), fix crash in blockchain_dump
2016-04-05Cleanup and clarifyHoward Chu4-146/+129
Try to rationalize the variable names, document usage.
2016-04-05Use cursors in some remove functionsHoward Chu1-7/+33
Helps when they're called repeatedly in one txn
2016-04-05Use DUPFIXED for block_info and output_txsHoward Chu2-56/+46
Saves another ~150MB or so on the full blockchain
2016-04-05More outputs consolidationHoward Chu3-492/+264
Also bumped DB VERSION to 1 Another significant speedup and space savings: Get rid of global_output_indices, remove indirection from output to keys This is the change warptangent described on irc but never got to finish.
2016-04-05Use DUPFIXED for output_keysHoward Chu1-23/+37
Saves another 90MB on 200000 block import. Had to bring back compare_uint64 for this, but it's safe since this table is always 64-bit aligned.
2016-04-05Use DUPFIXED for tx_indicesHoward Chu1-50/+60
Small space savings, no measurable speedup
2016-04-05Use DUPFIXED for block_heightsHoward Chu1-22/+29
Only a small savings...
2016-04-05Use DUPFIXED for spent_keysHoward Chu1-23/+18
2016-04-05Add back changes from revert.warptangent1-19/+2
m_tx_outputs doesn't need to be changed, as it's no longer dup list.
2016-04-05Use MDB_APPEND mode with two tx subdbswarptangent1-2/+2
This is possible on those using a tx index as a key.
2016-04-05Schema update: tx_indices - consolidate the tx subdbs from 5 to 3warptangent3-75/+56
2016-04-05Schema update: tx_indices - yet less indirectionwarptangent4-20/+15
2016-04-05Schema update: tx_indices - improve further with less indirectionwarptangent4-21/+56
2016-04-05Add batch warning for further reviewwarptangent1-0/+4
2016-04-05Schema update: tx_indiceswarptangent2-32/+109
2016-04-05Consolidated block infoHoward Chu2-95/+63
2016-04-05Update schema for "tx_outputs" to use array containing amount output indiceswarptangent4-119/+131
This speeds up wallet refresh by directly retrieving a tx's amount output indices. It removes the indirection and walking the amount output duplicate list for every amount in each requested tx. "tx_outputs" is used by: Amount output indices are needed for wallet refresh. Global output indices are needed for removing a tx. Both amount output indices and global output indices are now stored in an array of 64-bit unsigned ints: tx_outputs[<tx_hash>] -> [ <a1_oi, a1_gi, a2_oi, a2_gi, ...> ] Previously it was: tx_outputs[<tx_hash>] -> duplicate list of <a1_gi, a2_gi, a3_gi, ...> The amount output list had to be walked for every amount in order to find each amount's output index, by comparing the amount's global output index with each one in the duplicate list until a match was found. See also d045dfa7ce0bf131681193c97560da26f9f37900
2016-04-05blockchain_utilities: Update documentationwarptangent1-4/+54
2016-04-05get_payments short IDluigi11111-8/+17
Add support for short/integrated/encrypted IDs to get_payments RPC
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-05Wallet::createTransaction API introducedIlya Kitaev3-126/+191
2016-04-05tx_pool: ensure no txes that fail check_inputs get in the block templatemoneromooo-monero1-1/+1
2016-04-04Wallet::transfer() continuedIlya Kitaev3-6/+177
2016-04-03Wallet::transfer in progressIlya Kitaev2-1/+42
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-31Wallet::refresh + testsIlya Kitaev3-0/+28
2016-03-31"testnet" is default parameterIlya Kitaev2-3/+11
2016-03-31testnet option, Wallet::balance(), Wallet::unlockedBalance()Ilya Kitaev3-17/+27
2016-03-31Merge remote-tracking branch 'upstream/master'Ilya Kitaev72-1301/+3878
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-25- testnet option added to api;Ilya Kitaev5-37/+98
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.