aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Merge pull request #5292Riccardo Spagni2019-04-011-0/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 328d291f wallet2: set seed language when creating from json (moneromooo-monero)
| * | | | | | | | wallet2: set seed language when creating from jsonmoneromooo-monero2019-03-151-0/+2
| | | | | | | | |
* | | | | | | | | Merge pull request #5291Riccardo Spagni2019-04-011-1/+1
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | a52366c1 wallet2: fix generation from json when restore height is not set (moneromooo-monero)
| * | | | | | | | wallet2: fix generation from json when restore height is not setmoneromooo-monero2019-03-141-1/+1
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | It was not recovering then, but creating a new random address
* | | | | | / / Added socks proxy (tor/i2pd/kovri) support to walletLee Clagett2019-03-254-6/+55
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | Merge pull request #5282Riccardo Spagni2019-03-242-0/+6
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | f962449d wallet_rpc_server: include out subaddress indices in get_transfers (moneromooo-monero)
| * | | | | | | wallet_rpc_server: include out subaddress indices in get_transfersmoneromooo-monero2019-03-132-0/+6
| |/ / / / / /
* | | | | | | Merge pull request #5277Riccardo Spagni2019-03-242-18/+24
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | adf6d773 wallet: fix offline signing calling a daemon RPC (moneromooo-monero)
| * | | | | | wallet: fix offline signing calling a daemon RPCmoneromooo-monero2019-03-212-18/+24
| | |_|_|_|/ | |/| | | |
* / | | | | wallet2: sanity check new tx before sendingmoneromooo-monero2019-03-212-105/+217
|/ / / / / | | | | | | | | | | | | | | | | | | | | We generate and check tx proofs and verify the amounts in those match what the original amounts were.
* | | | | Merge pull request #5270Riccardo Spagni2019-03-211-1/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 5ade7281 Wallet API: multisig_tx_set passing bug fixed (naughtyfox)
| * | | | | Wallet API: multisig_tx_set passing bug fixednaughtyfox2019-03-121-1/+3
| |/ / / /
* | | | | Merge pull request #5266Riccardo Spagni2019-03-211-1/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 576116d4 wallet: fix load failure if the mms isn't usable (moneromooo-monero)
| * | | | | wallet: fix load failure if the mms isn't usablemoneromooo-monero2019-03-111-1/+8
| |/ / / /
* | | | | Merge pull request #5248Riccardo Spagni2019-03-211-0/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 3f6f90bb wallet2: do not use invalid keys as fake outs in rings (moneromooo-monero)
| * | | | | wallet2: do not use invalid keys as fake outs in ringsmoneromooo-monero2019-03-071-0/+11
| |/ / / /
* | | | | Merge pull request #5235Riccardo Spagni2019-03-211-15/+17
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | c6a70af8 wallet2: key image import fixes (moneromooo-monero)
| * | | | | wallet2: key image import fixesmoneromooo-monero2019-03-051-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - return the right output data when offset is not zero - do not consider import failed if result height is zero (it can be 0 if unknown) - select the right tx pubkey when using subaddresses (it's faster, and we might select the wrong one if we got an output using one of the additional tx keys) - account for skipped outputs for spent/unspent balance info "spent" is arguably wrong, since it will count spent change multiple times as it goes through receive/spend cycles.
* | | | | | Merge pull request #5211Riccardo Spagni2019-03-217-38/+306
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c9b13fbb tests/trezor: HF9 and HF10 tests (Dusan Klinec) a1fd1d49 device/trezor: HF10 support added, wallet::API (Dusan Klinec) d74d26f2 crypto: hmac_keccak added (Dusan Klinec)
| * | | | | | device/trezor: HF10 support added, wallet::APIDusan Klinec2019-03-207-38/+306
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - import only key images generated by cold signing process - wallet_api: trezor methods added - wallet: button request code added - const added to methods - wallet2::get_tx_key_device() tries to decrypt stored tx private keys using the device. - simplewallet supports get_tx_key and get_tx_proof on hw device using the get_tx_key feature - live refresh enables refresh with trezor i.e. computing key images on the fly. More convenient and efficient for users. - device: has_ki_live_refresh added - a thread is watching whether live refresh is being computed, if not for 30 seconds, it terminates the live refresh process - switches Trezor state
* | | | | | Merge pull request #5203Riccardo Spagni2019-03-194-26/+70
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 8b514645 add multisig tx sets to describe_transfer rpc endpoint (spoke0)
| * | | | | | add multisig tx sets to describe_transfer rpc endpointspoke02019-03-054-27/+71
| | | | | | |
* | | | | | | Merge pull request #4889Riccardo Spagni2019-03-192-17/+93
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | f42263eb wallet: adds rescan_bc option with preserving key images (Dusan Klinec)
| * | | | | | wallet: adds rescan_bc option with preserving key imagesDusan Klinec2019-03-152-17/+93
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - enables to perform rescan_spent / ki sync with untrusted daemon. Spent check status involves RPC calls which require trusted daemon status as it leaks information. The new call performs soft reset while preserving key images thus a sequence: refresh, ki sync / import, rescan_bc keep_ki will correctly perform spent checking without need for trusted daemon. - useful to detect spent outputs with untrusted daemon on watch_only / multisig / hw-cold wallets after expensive key image sync. - cli: rescan_bc keep_ki
* | | | | | Merge pull request #5182Riccardo Spagni2019-03-172-3/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | b674728d Better error when sending a tx with a too large extra field (moneromooo-monero)
| * | | | | | Better error when sending a tx with a too large extra fieldmoneromooo-monero2019-02-222-3/+21
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #5168Riccardo Spagni2019-03-171-7/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 8630a028 wallet: fix payment ID decryption for construction data (Dusan Klinec)
| * | | | | | wallet: fix payment ID decryption for construction dataDusan Klinec2019-02-201-7/+6
| |/ / / / /
* | | | | | Merge pull request #5165Riccardo Spagni2019-03-173-0/+203
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 36451697 Simplify RPC endpoint, emoving second RPC endpoint generate_from_view_key (Joel) c17c8188 Remove code duplication (Joel) acb14c10 Add generate_from_view_key RPC method (Joel) 7dd7a3b7 Add generate_from_keys RPC method (Joel)
| * | | | | | Simplify RPC endpoint, emoving second RPC endpoint generate_from_view_keyJoel2019-03-022-17/+4
| | | | | | |
| * | | | | | Remove code duplicationJoel2019-02-213-190/+20
| | | | | | |
| * | | | | | Add generate_from_view_key RPC methodJoel2019-02-193-0/+185
| | | | | | |
| * | | | | | Add generate_from_keys RPC methodJoel2019-02-193-0/+201
| |/ / / / /
* | | | | | Merge pull request #5061Riccardo Spagni2019-03-1733-33/+33
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | 1f2930ce Update 2019 copyright (binaryFate)
| * | | | | Update 2019 copyrightbinaryFate2019-03-0533-33/+33
| | |_|_|/ | |/| | |
* | | | | Merge pull request #5280Riccardo Spagni2019-03-161-0/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | aac4e2f5 wallet_rpc_server: add missing --rpc-ssl-allowed-fingerprints (moneromooo-monero)
| * | | | wallet_rpc_server: add missing --rpc-ssl-allowed-fingerprintsmoneromooo-monero2019-03-131-0/+1
| |/ / /
* | | | Merge pull request #4977Riccardo Spagni2019-03-141-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | 5ea17909 device/trezor: debugging features, trezor tests (Dusan Klinec)
| * | | | device/trezor: debugging features, trezor testsDusan Klinec2019-03-051-0/+2
| | |/ / | |/| |
* | | | wallet2: don't store 0 amount outputs, they'll fail to be spentmoneromooo-monero2019-03-121-1/+7
| |/ / |/| | | | | | | | | | | | | | | | | | | | It's better to just ignore them, the user does not really need to know they're here. If the mask is wrong, they'll fail to be used, and sweeping will fail as it tries to use it. Reported by Josh Davis.
* | | Merge pull request #4852Riccardo Spagni2019-03-053-5/+17
|\ \ \ | |_|/ |/| | | | | 057c279c epee: add SSL support (Martijn Otto)
| * | epee: add SSL supportMartijn Otto2019-03-053-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPC connections now have optional tranparent SSL. An optional private key and certificate file can be passed, using the --{rpc,daemon}-ssl-private-key and --{rpc,daemon}-ssl-certificate options. Those have as argument a path to a PEM format private private key and certificate, respectively. If not given, a temporary self signed certificate will be used. SSL can be enabled or disabled using --{rpc}-ssl, which accepts autodetect (default), disabled or enabled. Access can be restricted to particular certificates using the --rpc-ssl-allowed-certificates, which takes a list of paths to PEM encoded certificates. This can allow a wallet to connect to only the daemon they think they're connected to, by forcing SSL and listing the paths to the known good certificates. To generate long term certificates: openssl genrsa -out /tmp/KEY 4096 openssl req -new -key /tmp/KEY -out /tmp/REQ openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT /tmp/KEY is the private key, and /tmp/CERT is the certificate, both in PEM format. /tmp/REQ can be removed. Adjust the last command to set expiration date, etc, as needed. It doesn't make a whole lot of sense for monero anyway, since most servers will run with one time temporary self signed certificates anyway. SSL support is transparent, so all communication is done on the existing ports, with SSL autodetection. This means you can start using an SSL daemon now, but you should not enforce SSL yet or nothing will talk to you.
* | | wallet_rpc_server: avoid repeated string allocations when parsingmoneromooo-monero2019-03-051-20/+14
| | |
* | | wallet2: don't calculate prefix hash when we don't need itmoneromooo-monero2019-03-051-6/+6
|/ /
* | check load_t_from_json return valuesmoneromooo-monero2019-03-041-3/+9
| |
* | default initialize rpc structuresmoneromooo-monero2019-03-043-155/+314
| |
* | various: remove unused variablesmoneromooo-monero2019-03-043-7/+0
| |
* | Merge pull request #5156Riccardo Spagni2019-03-042-20/+48
|\ \ | | | | | | | | | 3d2772a0 wallet-rpc: get balance for all accounts and subaddresses (stoffu)
| * | wallet-rpc: get balance for all accounts and subaddressesstoffu2019-02-202-21/+49
| |/
* | Merge pull request #5154Riccardo Spagni2019-03-042-4/+14
|\ \ | | | | | | | | | 8a1ff079 wallet-rpc: get transfers for all accounts and subaddresses (Jethro Grassie)