aboutsummaryrefslogtreecommitdiff
path: root/src/wallet (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2017-03-25wallet: option to merge destinationsmoneromooo-monero2-6/+15
With the change from the original transfer method to the new algorithm, payments to the same destination were merged. It seemed like a good idea, optimizing space. However, it is a useful tool for people who want to split large outputs into several smaller ones (ie, service providers making frequent payments, and who do not like a large chunk of their balance being locked for 10 blocks after each payment). Default to off, which is a change from the previous behavior.
2017-03-24wallet: try to save large outputs when using an unneeded second inputmoneromooo-monero2-3/+39
When a single input is enough to satisfy a transfer, the code would previously try to add a second input, to match the "canonical" makeup of a transaction with two inputs and two outputs. This would cause wallets to slowly merge outputs till all the monero ends up in a single output, which causes trouble when making two transactions one after the other, since change is locked for 10 blocks, and an increasing portion of the remaining balance would end up locked on each transaction. There are two new settings (min-output-count and min-output-value) which can control when to stop adding such unneeded second outputs. The idea is that small "dust" outputs will still get added, but larger ones will not. Enable with, eg: set min-output-count 10 set min-output-value 30 to avoid using an unneeded second output of 30 monero or more, if there would be less than 10 such outputs left. This does not invalidate any other reason why such outputs would be used (ie, when they're really needed to satisfy a transfer, or when randomly picked in the normal course of selection). This may be improved in the future.
2017-03-24Wallet API: add hard fork info functionsJaquee5-26/+18
2017-03-23core, wallet: faster tx pool scanningmoneromooo-monero1-78/+83
Includes a new RPC to get tx pool hashes fast.
2017-03-21wallet: fix set_log not handling 0,xxx style settingsmoneromooo-monero1-1/+1
2017-03-21wallet2: cache which pool txes were scanned alreadymoneromooo-monero2-2/+26
This massively speeds up the wallet updating the pool on mainnet, where the tx backlog is more than 500 txes.
2017-03-20wallet2: start using new fee priorities at v5, not 14 days laermoneromooo-monero1-1/+1
Waiting would mean the fee used is 1x base, but the base will have suddenly dropped
2017-03-20wallet2: speed up transactions using remote nodesmoneromooo-monero2-4/+42
Asking for a full histogram from a remote node (since it's untrusted) is pretty slow, and spams the remote node, so we replace it by only adding a second input if we have rct ones, which are for all intents and purposes always mixable.
2017-03-20wallet rpc: enable solo miningstoffu3-0/+93
2017-03-19wallet-rpc bugfix: get_transfer_by_txid previously checking against payment idkenshi841-1/+1
2017-03-18wallet: increase node_rpc_proxy timeout to match wallet2moneromooo-monero1-4/+6
2017-03-18wallet_rpc_server: make a few RPCs unavailable in restricted modemoneromooo-monero1-0/+28
Address book modification, setting tx nodes, importing key images
2017-03-18use const references in catch blocksmoneromooo-monero3-10/+10
2017-03-18wallet2: call is_key_image_spent in blocks in rescan_spentmoneromooo-monero1-21/+24
This is a potentially long lasting daemon RPC call
2017-03-18wallet_rpc_server: add a rescan_spent RPCmoneromooo-monero3-0/+39
2017-03-17wallet-rpc: enable openaliasstoffu1-3/+3
2017-03-15Add intervening v5 fork for increased min block sizemoneromooo-monero2-15/+37
Minimum mixin 4 and enforced ringct is moved from v5 to v6. v5 is now used for an increased minimum block size (from 60000 to 300000) to cater for larger typical/minimum transaction size. The fee algorithm is also changed to decrease the base per kB fee, and add a cheap tier for those transactions which we do not care if they get delayed (or even included in a block).
2017-03-12Adds a config file option to the walletArne Brutschy1-0/+19
2017-03-05wallet: add password commandmoneromooo-monero2-3/+3
Also tweak wallet2 password code to verify password without saying it's a new wallet, because it's assuming things.
2017-03-04wallet: fix get_tranfers with multiple incoming txes with same pidmoneromooo-monero1-3/+13
2017-03-04Revert "wallet: fix insertion of pool transactions"moneromooo-monero1-1/+1
This reverts commit d47dac9a88ddd46b88850a899311363b3261c89e. Callers actually expect the key to be payment id, so this needs a lot more changes (like storing payment ids in the structure, and possibly also to other existing structures which do the same thing).
2017-03-03wallet api: fix parameters in wallet2callbackImplJaquee1-7/+7
2017-03-03use txid in wallet2::process_new_transaction()Jaquee1-1/+1
2017-03-02allow user I/O in millinero, micronero, nanonero, piconeromoneromooo-monero2-0/+17
2017-03-02wallet api: add missing mining optionsJaquee3-3/+5
2017-02-28wallet: fix insertion of pool transactionsmoneromooo-monero1-1/+1
They were inserted using payment id as key, not txid
2017-02-28wallet: fix --log-file not workingmoneromooo-monero3-28/+28
2017-02-27Add support for the wallet to refresh pruned blocksmoneromooo-monero2-49/+63
2017-02-27node_rpc_proxy: allow caching daemon RPC versionmoneromooo-monero2-0/+26
2017-02-27wallet: invalidate node proxy cache when reconnectingmoneromooo-monero3-0/+14
2017-02-25Wallet API: Add support for daemon rpc loginJaquee3-4/+7
2017-02-24wallet: avoid pre-log-init spew on --versionmoneromooo-monero1-11/+11
2017-02-24wallet_rpc_server: new --trusted-daemon flagmoneromooo-monero3-13/+17
and remove trusted_daemon fields from transfer RPCs, it is much friendlier on users
2017-02-24add rpc timeouts to calls that might timeoutRiccardo Spagni1-4/+4
2017-02-23wallet2: fix wrong status on daemon shutdown/startupJaquee1-1/+5
2017-02-22wallet2_api: add updates check apimoneromooo-monero2-0/+31
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni25-26/+26
2017-02-19wallet2: fix failure to send (relatedness check in wrong case)moneromooo-monero1-5/+5
A relatedness check was meant to be done in the case of adding an extra output if just one was enough. This was mistakenly added to the "preferred output" case.
2017-02-18wallet_api: fix logging init via apimoneromooo-monero3-1/+6
2017-02-14simplewallet: validate hex input sizemoneromooo-monero4-12/+12
2017-02-11Fix GUI building after libcryptonote_core was split (#1626)iDunk54001-1/+1
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi847-16/+15
2017-02-06wallet2: fix transactions not considering rct inputsmoneromooo-monero2-11/+11
I broke this very recently in 2bf029be172a47ace8134143e1320fdb10d3ea44 and didn't notice in time
2017-02-06Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett8-386/+51
2017-02-05Wallet API: Easylogger wrapper for guiJaquee2-0/+8
2017-02-05Wallet API: Catch error from tools::is_local_addressJaquee1-2/+7
2017-02-04GUI: Improved refresh performanceJaquee1-7/+10
2017-02-04wallet api: Remove initAsync() and don't start refresh automatically on initJaquee3-31/+6
2017-02-04wallet2::init() - disconnect before init if connectedJaquee1-0/+2
Makes it possible for GUI to reinit with new daemon without closing and reopening wallet.
2017-02-04wallet_rpc_server: add address book RPC callsmoneromooo-monero4-0/+184
2017-02-03simplewallet: option to always ask password for any crytical operationskenshi842-2/+11
2017-01-30Wallet API: Create wallet from keysJaquee5-0/+178
2017-01-30Changed console output for transaction from L0 to L1NanoAkron1-1/+1
2017-01-29wallet_rpc_server: fix short payment id validation in transfermoneromooo-monero1-1/+1
2017-01-28wallet2: fix corner case failing to send a second outputmoneromooo-monero1-1/+2
If a rct transaction can be made with just one input, a second output will be added. This output will be the smallest amount output available. However, if this output is a non rct output with less available fake outs than requested, the transaction will be rejected. We now check the histogram to only consider outputs with enough available fake outs in the first place.
2017-01-28Factor is_address_local code into a tools functionmoneromooo-monero1-36/+2
2017-01-28wallet_rpc_server: fix logs going to the wrong filemoneromooo-monero3-7/+7
2017-01-26Fix invalid + of std::string and intTimothy D. Prime1-3/+3
These warnings were emitted by clang++, and they are real bugs. src/rpc/core_rpc_server.cpp:208:58: warning: adding 'uint64_t' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int] res.status = "Error retrieving block at height " + height; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ The obvious intent is achieved by using std::to_string().
2017-01-25Updates to epee HTTP client codeLee Clagett7-80/+66
- http_simple_client now uses std::chrono for timeouts - http_simple_client accepts timeouts per connect / invoke call - shortened names of epee http invoke functions - invoke command functions only take relative path, connection is not automatically performed
2017-01-23fixed typo: monero-wallet-cli,logkenshi841-1/+1
2017-01-22Wallet api: testnet getter=2-0/+2
2017-01-22Replace BOOST_FOREACH with C++11 ranged forMiguel Herranz2-31/+31
2017-01-22wallet2: fix sending a rct tx with a single output availablemoneromooo-monero1-3/+50
This would have tried to send a second output to make the tx look like the 2/2 ideal, but it would not fail to find one because picking an output from preferred_inputs priority list did not remove it from the unused tranfer/dust outputs, so it would try to send the same output twice. While there, I also added a check to avoid sending a second input if it's related to the first. Better 1/2 than linking inputs, I think.
2017-01-20wallet: print exception message on get_random_outs_errormoneromooo-monero1-2/+2
2017-01-16wallet2_api: add API to set log categoriesmoneromooo-monero2-0/+6
2017-01-16wallet: add a node RPC cache layer for simple RPC callsmoneromooo-monero6-79/+259
Mostly getinfo and get_hard_fork_info, which are called pretty often. This speeds up transfers as a bonus.
2017-01-16wallet2: reuse fake outs when adjusting fee on transfermoneromooo-monero3-23/+55
This avoids indirectly leaking the real output to the daemon, and is faster. This will still happen for more complex cases, especially when cancelling a tx and "re-rolling" it.
2017-01-16specify restore height by YYYY-MM-DD formatkenshi842-0/+88
2017-01-16Change logging to easylogging++moneromooo-monero7-60/+52
This replaces the epee and data_loggers logging systems with a single one, and also adds filename:line and explicit severity levels. Categories may be defined, and logging severity set by category (or set of categories). epee style 0-4 log level maps to a sensible severity configuration. Log files now also rotate when reaching 100 MB. To select which logs to output, use the MONERO_LOGS environment variable, with a comma separated list of categories (globs are supported), with their requested severity level after a colon. If a log matches more than one such setting, the last one in the configuration string applies. A few examples: This one is (mostly) silent, only outputting fatal errors: MONERO_LOGS=*:FATAL This one is very verbose: MONERO_LOGS=*:TRACE This one is totally silent (logwise): MONERO_LOGS="" This one outputs all errors and warnings, except for the "verify" category, which prints just fatal errors (the verify category is used for logs about incoming transactions and blocks, and it is expected that some/many will fail to verify, hence we don't want the spam): MONERO_LOGS=*:WARNING,verify:FATAL Log levels are, in decreasing order of priority: FATAL, ERROR, WARNING, INFO, DEBUG, TRACE Subcategories may be added using prefixes and globs. This example will output net.p2p logs at the TRACE level, but all other net* logs only at INFO: MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE Logs which are intended for the user (which Monero was using a lot through epee, but really isn't a nice way to go things) should use the "global" category. There are a few helper macros for using this category, eg: MGINFO("this shows up by default") or MGINFO_RED("this is red"), to try to keep a similar look and feel for now. Existing epee log macros still exist, and map to the new log levels, but since they're used as a "user facing" UI element as much as a logging system, they often don't map well to log severities (ie, a log level 0 log may be an error, or may be something we want the user to see, such as an important info). In those cases, I tried to use the new macros. In other cases, I left the existing macros in. When modifying logs, it is probably best to switch to the new macros with explicit levels. The --log-level options and set_log commands now also accept category settings, in addition to the epee style log levels.
2017-01-15remove std::move from return statements (pessimizing-move warning)Chris Vickio1-2/+2
2017-01-15change counter from bool to int (deprecated-increment-bool warning)Chris Vickio1-1/+1
2017-01-14wallet2: use at least two rct inputs if possiblemoneromooo-monero2-9/+36
If we'd make a rct tx with just one input, we try to add a second one to match the 2/2 ideal. This means more txes use that template (and are thus using a larger anonymity set), and it coalesces outputs "for free". We use the smallest amount outputs in priority for this, so we can "clean" the wallet at the same time.
2017-01-14fix timeout in check_connectionJaquee3-5/+7
2017-01-14make struct/class declarations consistent (mismatched-tags warning)Chris Vickio3-4/+2
2017-01-13wallet2: fix tx reroll not updating fee is going up a kB stepmoneromooo-monero1-7/+13
2017-01-13Wallet API: add key image import/export functionsJaquee3-6/+67
2017-01-13Wallet API: support integrated addresses in address book.Jaquee1-12/+42
2017-01-13Wallet API: add rescanSpent()Jaquee3-1/+24
2017-01-13Move key image export/import functions to wallet2Jaquee2-1/+90
2017-01-12Wallet2 + API: Callbacks for unconfirmed transfersJaquee7-6/+67
2017-01-11Added (not yet enabled) HTTP client authenticationLee Clagett1-1/+1
2017-01-10Wallet api: Update trustedDaemon when daemon is changedJaquee1-0/+6
2017-01-10GUI cold signingJaquee10-9/+519
fix conflict
2017-01-10Wallet API: functions for supporting/creating view only walletsJaquee4-5/+88
2017-01-10Wallet API: functions for supporting/creating view only walletsJaquee4-5/+88
2017-01-09wallet2_api: add solo mining APImoneromooo-monero3-1/+49
2017-01-09wallet cli: print originating block heights of mixin keys when making transferkenshi842-2/+11
2017-01-08Add parse_uri to wallet2_apiMoroccanMalinois3-0/+8
2017-01-08Cold signing: make sure short payment id isnt encrypted twiceJaquee2-1/+43
2017-01-08wallet_rpc_server: new RPC call to get a transfer by txidmoneromooo-monero3-86/+208
2017-01-03portable serializer: tests addedkenshi841-0/+3
2017-01-02portable serializer: make signerd/unsigned tx portable, ignore archive ↵kenshi842-50/+88
version checking
2017-01-01wallet2_api: add an address book payment id lookup APImoneromooo-monero3-0/+25
2016-12-27wallet api: prevent setting refresh height too highJaquee1-4/+2
2016-12-27Wallet2: faster exit while refreshingJaquee1-1/+6
2016-12-27wallet2: check the node returned the real output when requestedmoneromooo-monero1-0/+17
2016-12-26wallet2 bugfix: store watch_only flag properly with rewrite()kenshi841-1/+1
2016-12-25wallet2_api: some new APIs to access daemon statemoneromooo-monero3-2/+41
2016-12-24wallet2: fix large reorgs failingmoneromooo-monero1-1/+1
If a reorg was large enough that a full 1000 block chunk from the daemon was all known blocks, refresh would stop, and no reorg would happen.
2016-12-21make openalias also available for solo miner; introduce namespace ↵kenshi843-73/+2
tools::dns_utils; support integrated address with dns lookup
2016-12-20also use portable serializer for boost_serialization_helper.h and ↵kenshi841-2/+2
net_node.inl, completely adandon boost/archive/binary_oarchive.hpp
2016-12-20moved boost cpp into hpp since they're supposed to be header onlykenshi841-1/+0
2016-12-19Refactored password prompting for walletsLee Clagett5-205/+159
2016-12-19Lower connection timeout in check_connection()Jaquee1-1/+1
2016-12-19Removed unused functionsLee Clagett1-2/+0
2016-12-17wallet2_api: add an API to the OpenAlias resolvermoneromooo-monero3-0/+12
2016-12-16Enabled HTTP auth support for monero-wallet-rpcLee Clagett2-7/+94
2016-12-16added experimental boost::archive::portable_binary_{i|o}archivekenshi843-11/+31
2016-12-15Wallet API: Do not refresh while daemon is syncingJaquee3-22/+65
+ fixed fast refresh when creating wallet offline + improved close wallet logic (make sure refresh thread is stopped)
2016-12-14AddressBook: use unsigned type for row ID'sanonimal5-9/+9
Fixes build warnings and may also prevent future headaches.
2016-12-13Bitmonero namespace renamed Monero. Bitmonero namespace alias added so that ↵Randi Joseph14-15/+43
third party uses of the wallet api can transition.
2016-12-13Adding HTTP Digest Auth (but not yet enabled)Lee Clagett1-1/+1
2016-12-12monero-wallet-cli wording changes 'n' stuffluigi11112-4/+4
Possibly other pedantry. Pedants are people too.
2016-12-12addressbook updatesJaquee5-26/+41
2016-12-12GUI address bookJaquee9-7/+307
2016-12-10wallet: bring forward use of the dynamic feemoneromooo-monero1-1/+1
It was 14 days after v4, it is now one day after it. luigi1111's suggestion
2016-12-10wallet2: pass by const ref where possiblemoneromooo-monero1-1/+1
Reported by kenshi84
2016-12-09Fix sending outputs from a tx with more than one pubkeymoneromooo-monero2-3/+20
A bug in cold signing caused a spurious pubkey to be included in transactions, so we need to ensure we use the correct one when sending outputs from one of those.
2016-12-07wallet: send 0 change to a random address where necessary with rctmoneromooo-monero1-3/+13
If a rct transaction would cause no change to be generated, a zero change output is added, and sent to a randomly generated address. This ensures that no transaction will be sent with just one output, which could cause the receiver to be able to determine which of the inputs in the sent rings is the real one. This is very rare, since it requires the sum of outputs to be equal to the sum of outputs plus the fee, which is now a function of the last few blocks.
2016-12-05Added confirmation before binding wallet-rpc to external IPLee Clagett2-14/+30
2016-12-05Remove infinite loop in refresh codeJaquee1-69/+43
This reverts commit fd181b03bb58a8b0628d2af8637cf6bb968fc437.
2016-12-04wallet2: avoid possible undefined behavior on empty stringmoneromooo-monero1-2/+1
2016-12-04Fix a few minor typosPierre Boyer4-7/+7
2016-11-29wallet_api: add a few daemon related gettersmoneromooo-monero3-2/+88
Blockchain height, version, Mining hash rate...
2016-11-28wallet: add API and RPC to create/parse monero: URIsmoneromooo-monero6-0/+233
2016-11-26wallet: add a getter for the filename pathmoneromooo-monero5-0/+14
2016-11-26Improve daemon RPC version handlingmoneromooo-monero3-8/+8
Daemon RPC version is now composed of a major and minor number, so that incompatible changes bump the major version, while compatible changes can still bump the minor version without causing clients to unnecessarily complain.
2016-11-23Fix DNS failures in offline mode preventing daemon startupmoneromooo-monero1-1/+1
2016-11-23wallet2: fix wrong change being recorded for cold signed txesmoneromooo-monero2-3/+11
2016-11-22Add a get_outs (fully text based) version of get_outs.binmoneromooo-monero1-3/+3
2016-11-19wallet: fix exporting outputs and key images with txes with two pubkeysmoneromooo-monero2-7/+52
This also needs to make sure to pick the correct one, in the case where cold signing caused to tx keys to be included.
2016-11-18wallet2_api: fix history leak on destructionmoneromooo-monero1-1/+2
2016-11-18wallet2_api: fix payment ids from integrated addresses being ignoredmoneromooo-monero1-0/+11
2016-11-18Clamp refresh from height to blockchain height.Dion Ahmetaj1-43/+69
2016-11-17wallet2: fix illegal memory access removing newlines from passwordmoneromooo-monero1-1/+1
2016-11-17wallet2: fix decrypting a bit too much in authenticated modemoneromooo-monero1-4/+5
2016-11-16wallet: return fee in transfer RPCmoneromooo-monero2-0/+12
2016-11-16wallet: auto sync outputs and key images in cold signing filesmoneromooo-monero2-2/+52
When passing around unsigned and signed transactions, outputs and key images are passed along (outputs are passed along unsigned transactions from the hot wallet to the cold wallet, key images are passed along with signed transations from the cold wallet to the hot wallet), to allow more user friendly syncing between hot and cold wallets.
2016-11-16wallet2: fill key image and pubkey maps when importing outputsmoneromooo-monero1-0/+2
2016-11-16wallet: cast indices to string in logs to be nice to CLANGmoneromooo-monero1-4/+4
2016-11-16wallet2: try all tx keys when scanning a new transactionmoneromooo-monero1-2/+7
The vast majority of transactions will have just one tx pubkey, but a bug with cold wallet signing caused two such keys to be there, with the second one being the real one.
2016-11-15wallet2: fill in key image map when importing key imagesmoneromooo-monero1-0/+1
2016-11-13wallet: fix serialization of new m_key_image_known membermoneromooo-monero1-2/+16
2016-11-13wallet: fix serialization of new m_key_image_known membermoneromooo-monero1-2/+16
2016-11-13Wallet2: calculate approximate blockchain height on offline creationJacob Brydolf5-2/+43
Wallet API: add approximateBlockChainHeight()
2016-11-12Don't build monero-wallet-rpc when building the GUIiDunk54001-29/+31
2016-11-12wallet: add version dependency to the wallet targetmoneromooo-monero1-0/+1
2016-11-10Created monero-wallet-rpc, moving functionality from monero-wallet-cliLee Clagett9-18/+1123
2016-11-09wallet2_api: support for sweeping allmoneromooo-monero3-11/+33
2016-11-09Wallet API: use stored refresh height when rebuilding cacheJacob Brydolf2-2/+13
2016-11-09wallet: fix corner case of no recent outputs availablemoneromooo-monero1-6/+9
Also clarify related logs
2016-11-08wallet2_api: API to sign and verify a messagemoneromooo-monero3-0/+35
2016-11-09wallet_api: PendingTransaction::txCount - number of split transactionsIlya Kitaev3-2/+13
2016-11-08Wallet API: added getTxKey()Jacob Brydolf3-0/+22
2016-11-08wallet2_api: add API for create_unmixable_sweep_transactionsmoneromooo-monero3-0/+101
2016-11-08Wallet API: Pause refresh while creating transactionJacob Brydolf1-0/+6
2016-11-07wallet: encrypt outputs and key images files with the view keymoneromooo-monero2-0/+61
This key is available to both cold and hot wallet. Authenticated encryption will guard against interception and/or modification of the file.
2016-11-07wallet: fix output collision detection for view walletsmoneromooo-monero2-20/+46
View wallets do not have the spend secret key, and are thus unable to derive key images for incoming outputs. Moreover, a previous patch set key images to zero as a means to mark an output as having an unknown key image, so they could be filled in when importing key images at a later time. That later patch caused spurious collisions. We now use public keys to detect duplicate outputs. Public keys obtained from the blockchain are checked to be identical to the ones derived locally, so can't be spoofed.
2016-11-07wallet2_api: allow connection to return "yes, but wrong version"moneromooo-monero3-5/+17
2016-11-06wallet2_api: do not copy the whole pending tx when iteratingmoneromooo-monero1-1/+1
2016-11-05wallet2_api: add API for tx notesmoneromooo-monero5-0/+46
2016-11-05wallet_api: txkey checking functions for the GUImoneromooo.monero3-0/+167
2016-11-02wallet: fix bad amounts/fees againmoneromooo-monero3-3/+37
m_amount_out was sometimes getting initialized with the sum of an transaction's outputs, and sometimes with the sum of outputs that were not change. This caused confusion and bugs. We now always set it to the sum of outputs. This reverts an earlier fix for bad amounts as this used the other semantics. The wallet data should be converted automatically in a percentage of cases that I'm hesitant to estimate. In any case, restoring from seed or keys or rebuilding the cache will get it right.
2016-11-01refresh speedupluigi11112-17/+14
Compute derivation only once per tx, instead of once per output. Approx 33% faster while using 75% as much CPU on my machine. Note old functions in cryptonote_core (lookup_acc_outs and is_out_to_acc) are still used by tests.
2016-10-31adding static_assert to pod functions in string toolsLee Clagett1-2/+2
2016-10-31wallet: use the dynamic per kB feemoneromooo-monero2-4/+42
2016-10-30wallet: new import_outputs/export_outputs commandsmoneromooo-monero2-1/+52
The intended use is to export outputs from a hot wallet, which can scan incoming transfers from the network, and import them in the cold wallet, which can't. The cold wallet can then compute key images for those outputs, which can then be exported with export_key_images, etc.
2016-10-30Wallet API: added walletExists logicJacob Brydolf1-1/+7
2016-10-30wallet: set incoming outputs' key image to 0 on view walletsmoneromooo-monero2-4/+19
This allows rescan_spent to know the daemon response to those is not valid.
2016-10-30wallet: print tx overview on submit_transfer toomoneromooo-monero2-2/+8
This is on the potentially compromised wallet, but still guards against stupid mistakes.
2016-10-28Wallet API: make sure path exists before searching for walletsJacob Brydolf1-2/+5
2016-10-26simplewallet: log transactions to submit in submit_transfermoneromooo-monero1-1/+2
Not as trustworthy as this is in the view wallet, the one that's considered compromised.
2016-10-25wallet: fix pre-rct cold wallet signing not splitting changemoneromooo-monero2-17/+19
Re-creating the transaction on the cold wallet was not splitting the change, causing the transaction to be rejected by the network. This worked on testnet since amounts do not have to be split. Also add selected_transfers, which can now be saved since they're size_t rather than iterators. This allows the view wallet to properly set the sent outputs as spent and update balance. Bump transfer file version numbers to match.
2016-10-22wallet: sanity check on selected transfer indices in signed ptxmoneromooo-monero1-0/+7
2016-10-16wallet_api: add address validation functionsmoneromooo-monero2-0/+22
The payment id from integrated addresses is also parsed
2016-10-16wallet2_api: recognize full size payment ids as validmoneromooo-monero1-2/+7
2016-10-16wallet_api: do not override invalid payment idmoneromooo-monero1-1/+1
Instead, return an empty string to mark the error
2016-10-15Rewrote add_wallet_create_if_needed for clearer flow and behaviourNanoAkron1-1/+0
2016-10-15Always confirm transfers defaults to ON/YESNanoAkron2-8/+7
2016-10-15simplewallet: fix sweep_all misreporting sweeped amount for rct outputsmoneromooo-monero2-0/+7
RingCT outputs will be 0 in the vin, so we need to get the actual amount from elsewhere.
2016-10-15wallet: force 0 mixin transactions to use pre-rct txesmoneromooo-monero1-1/+1
rct transactions does not support 0 mixin, and those are now typically dust sweep transactions, for which a lower fee is a must.
2016-10-15wallet: select part of the fake outs from recent outputsmoneromooo-monero1-8/+40
25% of the outputs are selected from the last 5 days (if possible), in order to avoid the common case of sending recently received outputs again. 25% and 5 days are subject to review later, since it's just a wallet level change.
2016-10-15wallet: speed up output selection, and fix bug with relatedness calculationmoneromooo-monero1-3/+5
2016-10-15wallet: fix mixup between mixin 2 and 4 before/after v5moneromooo-monero1-2/+2
2016-10-15wallet: improve error messages when not enough money for transfermoneromooo-monero3-2/+44
2016-10-15wallet_api: fix wrong amount in tx historymoneromooo-monero1-1/+1
2016-10-10Wallet API: added setRecoveringFromSeed();Jacob Brydolf3-0/+12
2016-10-08libwallet_api: Added option to restore from specific heightJacob Brydolf5-3/+20
2016-10-07wallet: do not announce pool txes as money spent/received (yet)moneromooo-monero1-4/+7
2016-10-07libwallet_api: reverted deleted curly braceIlya Kitaev1-0/+1
2016-10-07libwallet_api: do not signal on sent/received tx until wallet completelyIlya Kitaev3-6/+31
synchronized
2016-10-06libwallet_api: TransactionHistory: read/write syncchronizationIlya Kitaev2-14/+21
2016-10-06libwallet_api: some renamingsIlya Kitaev3-3/+3
2016-10-06Initialize transaction history if emptyIlya Kitaev3-2/+11
2016-10-06libwallet_api: fixes for transaction historyIlya Kitaev1-3/+13
2016-10-04libwallet_api: fixes for transaction historyIlya Kitaev1-3/+13
2016-10-04wallet: better implementation of sweep_unmixablemoneromooo-monero2-222/+31
This was still using the old transaction creation algorithm, coupled with a deterministic output selection scheme, which made it ill suited to the job, since it'd loop indefinitely in case the fee increased between the test tx and adding the fee.
2016-10-03wallet2_api: added Wallet::daemonBlockChainTargetHeight()Jacob Brydolf5-0/+57
libwallet_api: Wallet::blockChainTargetHeight Signed-off-by: Jacob Brydolf <jacob@brydolf.net>
2016-10-01libwallet_api: do not use fast-refresh on recoveryIlya Kitaev2-3/+10
2016-10-01wallet: wallet option to confirm transfers with no payment idmoneromooo-monero2-2/+11
set confirm-missing-payment-id 0|1 Defaults to true.