summaryrefslogtreecommitdiff
path: root/src/simplewallet
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1094Riccardo Spagni2016-09-181-3/+5
|\ | | | | | | | | | | 06bb692 cmake: support BUILD_SHARED_LIBS built-in option (redfish) e1c7af3 cmake: transitive deps and remove deprecated LINK_* (redfish) 54010b9 crypto: armv7: slow-hash: remove redundant source include (redfish)
| * cmake: transitive deps and remove deprecated LINK_*redfish2016-09-181-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.
* | Merge pull request #1089Riccardo Spagni2016-09-181-10/+11
|\ \ | | | | | | | | | 368485d simplewallet: do not expose the details of tx splitting to the user (moneromooo-monero)
| * | simplewallet: do not expose the details of tx splitting to the usermoneromooo-monero2016-09-171-10/+11
| |/ | | | | | | They're confusing, as people think it reports their balance.
* / simplewallet: fix wrong amount in show_transfers for pending transactionsmoneromooo-monero2016-09-171-1/+1
|/ | | | Change was not taken into consideration
* wallet: change priority/fee to ArticMine's recommendationmoneromooo-monero2016-09-162-16/+16
| | | | | | | | | | | 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.
* Add snap packaging.Casey Marshall2016-09-111-1/+2
| | | | | | | | | | | | | | | This adds [snap](https://snapcraft.io) packaging to the project. See the link for more information on snaps. Snap packages install on all Linux distributions. On Ubuntu, snap confinement with apparmor and seccomp provide an additional layer of security. This snap sets up monerod as a systemd service, which should start immediately on install. To access the wallet CLI, simply run `monero` (/snap/bin/monero). I think it's a really quick & easy way to get started with monero. I've made some opinionated decisions in the packaging just to kick this off, but I'm happy to iterate on this stuff.
* fix remaining bitmonero and simplewallet bitsRiccardo Spagni2016-09-031-5/+5
|
* rename simplewalletRiccardo Spagni2016-09-031-0/+3
|
* simplewallet: add magic and public keys to key image export filemoneromooo-monero2016-09-011-5/+30
| | | | This ensures it's hard to mix files up
* simplewallet: make the key image export format binarymoneromooo-monero2016-09-011-18/+5
| | | | Saves on space, and on some pointless hex conversions
* wallet: fix some "may be used uninitialized" warningsmoneromooo-monero2016-08-281-8/+8
| | | | | The compiler can't always work out the _found booleans are set iff the value is initialized.
* rct amount key modified as per luigi1111's recommendationsmoneromooo-monero2016-08-281-8/+20
| | | | | | | | | This allows the key to be not the same for two outputs sent to the same address (eg, if you pay yourself, and also get change back). Also remove the key amounts lists and return parameters since we don't actually generate random ones, so we don't need to save them as we can recalculate them when needed if we have the correct keys.
* wallet: do not store signatures in the wallet cachemoneromooo-monero2016-08-281-1/+1
| | | | | Saves some substantial space. Also avoid calculating tx hashes we don't need.
* simplewallet: better check_tx_key feedbackmoneromooo-monero2016-08-281-2/+20
| | | | | Print number of confirmations if the tx is in the blockchain, or a warning if it's in the pool.
* rct: make the amount key derivable by a third party with the tx keymoneromooo-monero2016-08-281-24/+16
| | | | Scheme design from luigi1114.
* port get_tx_key/check_tx_key to rctmoneromooo-monero2016-08-281-12/+51
|
* wallet: factor transfer_rct code with transfer codemoneromooo-monero2016-08-282-13/+2
| | | | | | | 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.
* add rct to the protocolmoneromooo-monero2016-08-282-20/+43
| | | | | It is not yet constrained to a fork, so don't use on the real network or you'll be orphaned or rejected.
* Merge pull request #982Riccardo Spagni2016-08-261-1/+1
|\ | | | | | | 65238d2 fix #691 removed help about leaving wallet name empty on --generate-new-wallet (guzzi_jones)
| * fix #691 removed help about leaving wallet name empty on --generate-new-walletguzzi_jones2016-08-241-1/+1
| |
* | Merge pull request #976Riccardo Spagni2016-08-261-1/+8
|\ \ | | | | | | | | | c2f4e16 simplewallet: default to max-concurrency 1 on MacOS X (moneromooo-monero)
| * | simplewallet: default to max-concurrency 1 on MacOS Xmoneromooo-monero2016-08-211-1/+8
| |/ | | | | | | | | | | | | A suspected bug in pthread/kernel, though might be that I messed something up too... This might rope in more platforms though.
* / simplewallet: do not suggest removing cache if the password was wrongmoneromooo-monero2016-08-161-1/+3
|/
* Merge pull request #948Riccardo Spagni2016-08-111-6/+6
|\ | | | | | | | | 11dc091 Fake outs set is now decided by the wallet (moneromooo-monero) 1593553 new unlocked parameter to output_histogram (moneromooo-monero)
| * Fake outs set is now decided by the walletmoneromooo-monero2016-08-111-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This plugs a privacy leak from the wallet to the daemon, as the daemon could previously see what input is included as a transaction input, which the daemon hadn't previously supplied. Now, the wallet requests a particular set of outputs, including the real one. This can result in transactions that can't be accepted if the wallet happens to select too many outputs with non standard unlock times. The daemon could know this and select another output, but the wallet is blind to it. It's currently very unlikely since I don't think anything uses non default unlock times. The wallet requests more outputs than necessary so it can use spares if any of the returns outputs are still locked. If there are not enough spares to reach the desired mixin, the transaction will fail.
* | Merge pull request #952Riccardo Spagni2016-08-112-4/+9
|\ \ | | | | | | | | | | | | 709c724 Better fix (#4) (hyc) d2644c1 fix restore-deterministic height (luigi1111)
| * | Better fix (#4)hyc2016-08-092-4/+9
| | |
| * | fix restore-deterministic heightluigi11112016-08-091-2/+2
| |/ | | | | | | | | | | | | | | | | | | Simplewallet improperly skipped the restore from height code if restoring a deterministic wallet AND not specifying a wallet file in the command line. The other generate options require a wallet file as an argument, which prevents "ask_wallet_create_if_needed()" from being called, which in turn causes "m_generate_new" to remain unset. Specifying a wallet file at launch with --restore-deterministic emulated this behavior.
* | Merge pull request #949Riccardo Spagni2016-08-112-69/+64
|\ \ | | | | | | | | | da1007f simplewallet: make the refresh thread into more generic idle thread (moneromooo-monero)
| * | simplewallet: make the refresh thread into more generic idle threadmoneromooo-monero2016-08-072-69/+64
| |/
* / Fix #864guzzi_jones2016-08-014-53/+106
|/ | | | | | | | | | | | | | | | | | | 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
* wallet: new {ex,im}port_key_images commands and RPC callsmoneromooo-monero2016-07-242-0/+109
| | | | | | 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.
* Merge pull request #923Riccardo Spagni2016-07-231-0/+1
|\ | | | | | | 8312887 simplewallet: suggest removing cache when loading fails (moneromooo-monero)
| * simplewallet: suggest removing cache when loading failsmoneromooo-monero2016-07-221-0/+1
| |
* | Merge pull request #916Riccardo Spagni2016-07-231-2/+28
|\ \ | | | | | | | | | b89b963 wallet: add unconfirmed incoming txes from the txpool (moneromooo-monero)
| * | wallet: add unconfirmed incoming txes from the txpoolmoneromooo-monero2016-07-201-2/+28
| |/ | | | | | | | | Shown in show_transfers simplewallet command, and get_transfers RPC command, if req.pool is true.
* / simplewallet: revert to foreground refresh at startupmoneromooo-monero2016-07-201-0/+2
|/ | | | Background refresh is confusing to users at startup.
* Merge pull request #902Riccardo Spagni2016-07-202-9/+27
|\ | | | | | | 014f3a0 Add a daemon RPC version, and make simplewallet check it (moneromooo-monero)
| * Add a daemon RPC version, and make simplewallet check itmoneromooo-monero2016-07-102-9/+27
| | | | | | | | | | If the version is different, simplewallet will refuse to use that daemon, unless --allow-mismatched-daemon-version is used.
* | wallet: add command and RPC to sign/verify datamoneromooo-monero2016-07-192-0/+69
|/ | | | | | | | | 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).
* Merge pull request #879Riccardo Spagni2016-07-061-0/+1
|\ | | | | | | 6b08001 simplewallet: mention the background refresh thread when starting (moneromooo-monero)
| * simplewallet: mention the background refresh thread when startingmoneromooo-monero2016-06-221-0/+1
| | | | | | | | | | It should be less confusing for people who're used to the foreground refresh from earlier versions.
* | Merge pull request #878Riccardo Spagni2016-07-062-1/+80
|\ \ | | | | | | | | | 945c272 wallet: add a fee multiplier (moneromooo-monero)
| * | wallet: add a fee multipliermoneromooo-monero2016-06-222-1/+80
| |/ | | | | | | | | | | | | 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".
* / TransactionHistory continuedIlya Kitaev2016-06-231-1/+1
|/
* Merge pull request #870Riccardo Spagni2016-06-211-2/+6
|\ | | | | | | 57dce80 gmtime for Windows (luigi1111)
| * gmtime for Windowsluigi11112016-06-201-2/+6
| | | | | | | | gmtime_r is not available in Windows, use gmtime_s instead. Also change shorthand codes (also not working in Windows).
* | simplewallet: add a status commandmoneromooo-monero2016-06-202-0/+25
|/ | | | | It matches the daemon, and should allow people who're suspicious of the background refresh to know they're synced.
* Merge pull request #827Riccardo Spagni2016-05-171-14/+16
|\ | | | | | | | | | | | | | | 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)