aboutsummaryrefslogtreecommitdiff
path: root/src/wallet (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
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.
2016-09-30libwallet_api: fast-refresh in case of opening non-synced walletIlya Kitaev2-6/+5
2016-09-30libwallet_api: fix unhandled exception on address checkIlya Kitaev1-12/+16
2016-09-30libwallet_api: fast-refresh for new walletIlya Kitaev2-9/+28
2016-09-28wallet2: wallet2::get_daemon_blockchain_height() clean error message onIlya Kitaev1-0/+4
success
2016-09-28libwallet_api: Wallet::setAutoRefreshInterval sanity checkIlya Kitaev1-1/+9
2016-09-28libwallet_api: explicitly return 0 in Wallet::daemonBlockChainHeight()Ilya Kitaev1-0/+2
on error
2016-09-27wallet: cold wallet transaction signingmoneromooo-monero2-91/+324
This change adds the ability to create a new unsigned transaction from a watch only wallet, and save it to a file. This file can then be moved to another computer/VM where a cold wallet may load it, sign it, and save it. That cold wallet does not need to have a blockchain nor daemon. The signed transaction file can then be moved back to the watch only wallet, which can load it and send it to the daemon. Two new simplewallet commands to use it: sign_transfer (on the cold wallet) submit_transfer (on the watch only wallet) The transfer command used on a watch only wallet now writes an unsigned transaction set in a file called 'unsigned_monero_tx' instead of submitting the tx to the daemon as a normal wallet does. The signed tx file is called 'signed_monero_tx'.
2016-09-26wallet: fix log confusion between bytes and kilobytesmoneromooo-monero1-2/+2
2016-09-26Dropped "bit" from bitmonero.Randi Joseph1-2/+2
2016-09-26formatting: 2-spaces indentationIlya Kitaev1-20/+20
2016-09-26formatting: 2-spaces indentationIlya Kitaev1-1/+1
2016-09-26wallet2_api: milliseconds resolution for auto-refresh intervalIlya Kitaev3-13/+13
2016-09-26wallet2_api: added Wallet::daemonBlockChainHeight()Ilya Kitaev5-4/+57
2016-09-26libwallet_api: Wallet::blockChainHeight, WalletListener::newBlockIlya Kitaev3-3/+42
2016-09-26Dropped "bit" from bitmonero.Randi Joseph1-2/+2
2016-09-24wallet: update min mixin for sweep_unmixable on v4moneromooo-monero1-2/+4
2016-09-20wallet2_api: getter and setter for "refresh interval"Ilya Kitaev3-1/+39
2016-09-20wallet2_api: fixed deadlock while closing walletIlya Kitaev1-3/+7
2016-09-18epee: optionally restrict HTTP service to a configurable user agentmoneromooo-monero2-1/+6
This is intended to catch traffic coming from a web browser, so we avoid issues with a web page sending a transfer RPC to the wallet. Requiring a particular user agent can act as a simple password scheme, while we wait for 0MQ and proper authentication to be merged.
2016-09-18switch wallet API from std thread/mutex to boostRiccardo Spagni2-11/+11
2016-09-18switch wallet API from std thread/mutex to boostRiccardo Spagni2-11/+11
2016-09-18wallet: keep change dest separate from other destsmoneromooo-monero1-2/+4
This fixes misreporting of amount/fee in rct txes, as the rct tx construction code was lumping all dests (whether change or not) in the same dests vector, while the pre-rct code was keeping it separate.
2016-09-18wallet: fix empty tx in corner case sending nothingmoneromooo-monero1-0/+6
2016-09-18cmake: transitive deps and remove deprecated LINK_*redfish1-3/+5
Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
2016-09-16wallet: change priority/fee to ArticMine's recommendationmoneromooo-monero6-48/+68
We keep 1, 2, 3 multipliers till the fee decrase from 0.01/kB to 0.002/kB, where we start using 1, 20, 166 multipliers. This ensures the higher multiplier will compensate for the block reward penalty when pushing past 100% of the past median. The fee-multiplier wallet setting is now rename to priority, since it keeps its [0..3] range, but maps to different multiplier values.
2016-09-15Decrease minimum fee from 0.01/kB to 0.002/kBmoneromooo-monero2-14/+19
The wallet will start using that fee about two weeks after hard fork 3, when most people will likely have updated their daemons.
2016-09-14wallet: fix misdetection of duplicatesmoneromooo-monero1-11/+3
2016-09-03gui/libwallet_merged: libunbound is one more dependencyIlya Kitaev1-9/+13
2016-09-01wallet_merged: ringct added to dependenciesIlya Kitaev1-1/+1
2016-09-01Re-add s to rangesigsluigi11111-2/+2
Whoops.
2016-09-01Fix some rct tx size calculationsluigi11111-9/+6
Some variance is still expected
2016-09-01wallet: sanity check on histogram responsemoneromooo-monero1-0/+2
2016-08-30cmake: merge libs via virtual object librariesredfish1-2/+5
CMake issued a warming about policy CMP0026: access of LOCATION target property at config time was disallowed. Offending code was the code that merged static libraries to generate libwallet_merged.a. This patch does that same merge task in a much simpler way. And, since it doesn't violate the policy, the warning went away.
2016-08-30wallet: interpret 0 fee multiplier as default for sweep_all toomoneromooo-monero1-1/+3
2016-08-29wallet: fix not finding enough rct fake outputsmoneromooo-monero1-3/+8
If picking coinbase outputs, those are locked for a longer time than other outputs, so we ask for more of those