aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-03-26wallet: change sweep_dust to sweep_unmixablemoneromooo-monero1-1/+1
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-25wallet: add a --generate-from-json flagmoneromooo-monero1-0/+2
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-11Use boost::thread instead of std::threadHoward Chu1-3/+3
and all other associated IPC
2016-02-22simplewallet: add a new --restore-from-keys optionmoneromooo-monero1-0/+3
It is similar in use to --restore-from-view-key, but also expects a spend private key. Requested by luigi1112, and useful to restore MyMonero wallets.
2016-01-29Fix V1/V2 use of hard fork related parametersmoneromooo-monero1-1/+2
Some of it uses hardcoded height, which will need some thinking for next (voted upon) fork.
2016-01-25simplewallet: remove leftover command line refresh-type handlingmoneromooo-monero1-2/+0
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-12-30wallet: add a rescan_bc command and rescan_blockchain RPCmoneromooo-monero1-0/+2
Blockchain hashes and key images are flushed, and blocks are pulled anew from the daemon. The console command is shortened to match bc_height. This should make it a lot easier on users who are currently told to remove this particular cache file but keep the keys one, etc, etc.
2015-12-05wallet: make the wallet refresh type a wallet settingmoneromooo-monero1-0/+1
instead of a command line setting. It makes sense that is is a long lived setting.
2015-11-29wallet: cancellable refreshmoneromooo-monero1-0/+3
^C while in manual refresh will cancel the refresh, since that's often an annoying thing to have to wait for. Also, a manual refresh command will interrupt any running background refresh and take over, rather than wait for the background refresh to be done, and look to be hanging.
2015-11-28wallet: optional automatic refresh from the daemonmoneromooo-monero1-0/+9
The daemon will be polled every 90 seconds for new blocks. It is enabled by default, and can be turned on/off with set auto-refresh 1 and set auto-refresh 0 in the wallet.
2015-11-22wallet: make the refresh optimizations selectable via command linemoneromooo-monero1-1/+3
Take the opportunity to add a no-coinbase case too, for even faster sync when an address is known to never have mined to.
2015-11-22wallet: rename store-tx-keys to store-tx-infomoneromooo-monero1-1/+1
With backward compatibility
2015-11-21simplewallet: lessen display flicker confusionmoneromooo-monero1-2/+2
Height seemed to be flying all over the place on a rescan here. Logging to a file shows the heights are actually correct, and this is some kind of screen refresh artifact. Flush after \r and update less often to reduce this effect a lot.
2015-11-15wallet: track outgoing payments and add a show_transfers commandmoneromooo-monero1-0/+1
It's a user friendly display of incoming and outgoing transfers, listed by height, within an optional height range.
2015-10-30simplewallet: add a set default-mixin commandmoneromooo-monero1-0/+1
The default default mixin is 4. It can now be changed per wallet.
2015-10-14simplewallet: add a check_tx_key commandmoneromooo-monero1-0/+1
It allows one to check the amount of monero sent to a particular address in a particular transaction, given that transaction's tx key
2015-10-11simplewallet: add a --trusted-daemon flagmoneromooo-monero1-0/+1
It allows enabling the rescan_spent command only for trusted daemon
2015-08-24simplewallet: add a store-tx-keys option to setmoneromooo-monero1-0/+1
To enable storing tx keys in the (now encrypted) wallet cache.
2015-08-19make tx keys available to the usermoneromooo-monero1-0/+1
They are also stored in the cache file, to be retrieved using a new get_tx_key command.
2015-08-11wallet: new rescan_spent command to update outputs' spent statusmoneromooo-monero1-0/+1
This obsoletes the need for a lengthy blockchain rescan when a transaction doesn't end up in the chain after being accepted by the daemon, or any other reason why the wallet's idea of spent and unspent outputs gets out of sync from the blockchain's.
2015-07-22wallet: new transaction construction algorithmmoneromooo-monero1-0/+2
It should avoid a lot of the issues sending more than half the wallet's contents due to change. Actual output selection is still random. Changing this would improve the matching of transaction amounts to output sizes, but may have non obvious effects on blockchain analysis. Mapped to the new transfer_new command in simplewallet, and transfer uses the existing algorithm. To use in RPC, add "new_algorithm: true" in the transfer_split JSON command. It is not used in the transfer command.
2015-07-19simplewallet: fix context/string order mismatchmoneromooo-monero1-1/+1
2015-07-18wallet: add boolean to always confirm transactions with the usermoneromooo-monero1-0/+1
This can be useful if you want to be given a veto over the tx fee, or if you want to see what a tx fee would be without actually sending.
2015-07-14Translatable strings for simplewalletmoneromooo-monero1-1/+4
The system is mostly the Qt system, but we don't use Qt to avoid the dependencies. See README.i18n for details.
2015-06-20simplewallet: allow creating a wallet from a public address and view secret keymoneromooo-monero1-0/+3
The needed information is supplied via a triple: --generate-from-view-key address:viewkey:filename
2015-06-12Integrated addresses (standard address plus payment id)moneromooo-monero1-0/+1
2015-05-31wallet: add watch only wallet supportmoneromooo-monero1-0/+1
The new save_watch_only saves a copy of the keys file without the spend key. It can then be given away to be used as a normal keys file, but with no spend ability.
2015-05-30wallet: add a sweep_dust commandmoneromooo-monero1-0/+1
Sends all the dust to your own wallet. May fail (if the fee required is more than the dust total). May end up paying most of the dust in fees. Unlocked dust total is now also displayed in "balance".
2015-05-19Add spendkey dump to simplewalletluigi11111-0/+1
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-12-08Add simple_wallet::seed_set_language methodwarptangent1-0/+12
Add simple_wallet::set_variable method to provide top-level "set" command and support "set seed language" command.
2014-10-19Prints seed after wallet upgrade. Removed iostream include.Oran Juice1-0/+5
2014-10-02Restructured language sources to be singletonsOran Juice1-1/+2
2014-09-27Doxygen comments inOran Juice1-4/+20
2014-09-25Accepts seed language choice from user.Oran Juice1-0/+1
2014-09-15Add testnet flagZachary Michaels1-2/+2
Source: cryptonotefoundation
2014-08-05added viewkey command to CLIJakob Lind1-0/+1
2014-08-03added seed command to get deterministic seed.Jakob Lind1-0/+1
not yet password protected
2014-07-23License updated to BSD 3-clausefluffypony1-3/+29
2014-06-30wallet RPC converted to use new transaction semanticsThomas Winget1-1/+0
wallet RPC now uses wallet2::create_transactions and wallet2::commit_tx instead of wallet2::transfer. This made it possible to add the RPC call /transfer_split, which will split transactions automatically if they are too large. The old call to /transfer will return an error stating to use /transfer_split if multiple transactions are needed to fulfill the request.
2014-06-30final changes to get transaction splitting building. needs testing.Thomas Winget1-3/+3
2014-06-30working on dividing functions in prep for tx splittingtom1-0/+4
2014-06-12allow two-random-numbers wallet generation (but not as default)Thomas Winget1-3/+2
2014-06-12reworked command line args for simplewallet.Thomas Winget1-1/+1
--generate-new-wallet and --wallet-file are now properly mutually-exclusive.
2014-06-12most functions prototyped/modified for wallet recoveryThomas Winget1-1/+9
2014-05-250.8.8updatemydesktop1-1/+1
2014-05-16Added 'save_bc' command in daemon for saving blockchain remotelyNeozaru1-0/+1
2014-05-03initial [broken] updatemydesktop1-0/+3
2014-04-02json rpc for wallet and bugfixAntonio Juarez1-3/+63
2014-03-20some fixesAntonio Juarez1-6/+6
2014-03-03moved all stuff to githubAntonio Juarez1-0/+74