aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-09-16wallet: change priority/fee to ArticMine's recommendationmoneromooo-monero1-1/+1
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-08-28wallet: factor transfer_rct code with transfer codemoneromooo-monero1-1/+0
The "transfer" simplewallet command is renamed to "transfer_original". "transfer_new" is renamed "transfer", "transfer_rct" is removed, and the new "transfer" now selects rct or non rct transactions based on the current block height.
2016-08-28add rct to the protocolmoneromooo-monero1-3/+4
It is not yet constrained to a fork, so don't use on the real network or you'll be orphaned or rejected.
2016-08-11Merge pull request #952Riccardo Spagni1-0/+1
709c724 Better fix (#4) (hyc) d2644c1 fix restore-deterministic height (luigi1111)
2016-08-11Merge pull request #949Riccardo Spagni1-5/+7
da1007f simplewallet: make the refresh thread into more generic idle thread (moneromooo-monero)
2016-08-09Better fix (#4)hyc1-0/+1
2016-08-07simplewallet: make the refresh thread into more generic idle threadmoneromooo-monero1-5/+7
2016-08-01Fix #864guzzi_jones1-0/+1
Squashed commit of the following: commit 9af9e4223b58bbb65a3519af2c2bfc273cbd23d6 fixed some formatting commit c7920e1cf88ff46eb9294101344d9a567f22e2da Merge: 97eb28b 1da1c68 fix#864 fix using boolean commit 97eb28ba5dd49ddde8c8785f39b24d955e5de31c Fix #864 boolean value used to verify on new wallet commit 1da1c68bd3a9a373c70482b6e6e95251096149f1 fix #864 changed to boolean to prompt for verify commit 5bee96652434762d2c91ce31a1b1c9f169446ddc fix 864; made variable names easier for understanding branching. commit 45715960d30293f781b2ff9e5e647c2ec893f4a3 fix #864; allow password to be entered twice for new wallets for verification. fix #864 password entry verification; ammended boolean fix #864 ; default constructor for password_container should set verify=true
2016-07-24wallet: new {ex,im}port_key_images commands and RPC callsmoneromooo-monero1-0/+2
They are used to export a signed set of key images from a wallet with a private spend key, so an auditor with the matching view key may see which of those are spent, and which are not.
2016-07-20Merge pull request #902Riccardo Spagni1-1/+2
014f3a0 Add a daemon RPC version, and make simplewallet check it (moneromooo-monero)
2016-07-19wallet: add command and RPC to sign/verify datamoneromooo-monero1-0/+2
Signing is done using the spend key, since the view key may be shared. This could be extended later, to let the user choose which key (even a per tx key). simplewallet's sign/verify API uses a file. The RPC uses a string (simplewallet can't easily do strings since commands receive a tokenized set of arguments).
2016-07-10Add a daemon RPC version, and make simplewallet check itmoneromooo-monero1-1/+2
If the version is different, simplewallet will refuse to use that daemon, unless --allow-mismatched-daemon-version is used.
2016-06-22wallet: add a fee multipliermoneromooo-monero1-0/+1
Fee can now be multiplied by 2 or 3, if users want to give priority to their transactions. There are only three levels to avoid too much fingerprinting. Default is 1 (minimum fee). The default multiplier can be set by "set fee-multiplier X".
2016-06-20simplewallet: add a status commandmoneromooo-monero1-0/+1
It matches the daemon, and should allow people who're suspicious of the background refresh to know they're synced.
2016-04-26wallet: allow attaching notes to txidsmoneromooo-monero1-0/+2
2016-04-26Merge pull request #817Riccardo Spagni1-0/+1
4b1c0d6 simplewallet: some background refresh threading fixes (moneromooo-monero)
2016-04-26Merge pull request #815Riccardo Spagni1-0/+2
b0850a9 wallet: add a new sweep_all command and RPC command (moneromooo-monero)
2016-04-21simplewallet: some background refresh threading fixesmoneromooo-monero1-0/+1
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-19wallet: add a new sweep_all command and RPC commandmoneromooo-monero1-0/+2
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-17Add --restore-height optionHoward Chu1-0/+1
For specifying the block height from which to start a restore
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