aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_error_codes.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-07-16Merge pull request #9338luigi11111-1/+1
4a376d6 copyright: fix vector.h typo (hinto.janaiyo) d61e8e9 workflows: delete copyright.yml (plowsof) 341771a copyright: bump to 2024 (copyCat)
2024-05-24wallet: background sync with just the view keyj-berman1-0/+2
- When background syncing, the wallet wipes the spend key from memory and processes all new transactions. The wallet saves all receives, spends, and "plausible" spends of receives the wallet does not know key images for. - When background sync disabled, the wallet processes all background synced txs and then clears the background sync cache. - Adding "plausible" spends to the background sync cache ensures that the wallet does not need to query the daemon to see if any received outputs were spent while background sync was enabled. This would harm privacy especially for users of 3rd party daemons. - To enable the feature in the CLI wallet, the user can set background-sync to reuse-wallet-password or custom-background-password and the wallet automatically syncs in the background when the wallet locks, then processes all background synced txs when the wallet is unlocked. - The custom-background-password option enables the user to open a distinct background wallet that only has a view key saved and can be opened/closed/synced separately from the main wallet. When the main wallet opens, it processes the background wallet's cache. - To enable the feature in the RPC wallet, there is a new `/setup_background_sync` endpoint. - HW, multsig and view-only wallets cannot background sync.
2024-05-21copyright: bump to 2024copyCat1-1/+1
2024-02-24Enforce Tx unlock_time is Zero by Relay Rulejeffro2561-0/+1
Related to https://github.com/monero-project/research-lab/issues/78 Added a relay rule that enforces the `unlock_time` field is equal to 0 for non-coinbase transactions. UIs changed: * Removed `locked_transfer` and `locked_sweep_all` commands from `monero-wallet-cli` APIs changed: * Removed `unlock_time` parameters from `wallet2` transfer methods * Wallet RPC transfer endpoints send error codes when requested unlock time is not 0 * Removed `unlock_time` parameters from `construct_tx*` cryptonote core functions
2024-02-18Daemon-specific proxy for the wallet-rpc.0xFFFC00001-0/+1
1. Daemon-specific proxy is exclusive with global proxy (--proxy). 2. If you set global proxy (--proxy) you cannot set daemon-specific proxy. 3. If you don't set global proxy, you can set proxy (or not set) proxy for each daemon connection with the proxy field in jsonrpc to the wallet-rpc.
2023-01-16Copyright: Update to 2023mj-xmr1-1/+1
Co-authored-by: plowsof <plowsof@protonmail.com> extra files
2022-05-17disable multisig by defaultmoneromooo-monero1-0/+1
There are vulnerabilities in multisig protocol if the parties do not trust each other, and while there is a patch for it, it has not been throroughly reviewed yet, so it is felt safer to disable multisig by default for now. If all parties in a multisig setup trust each other, then it is safe to enable multisig.
2022-03-04Copyright: Update to 2022mj-xmr1-1/+1
2021-04-07monero-wallet-cli: improve error message when tx amount is zeroElliot Wirrick1-0/+1
2020-08-28wallet: allow signing a message with spend or view keymoneromooo-monero1-0/+1
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2019-05-02wallet: distinguish between empty and absent attributesmoneromooo-monero1-0/+1
2019-04-16wallet_rpc_server: add set_log_level/set_log_categoriesmoneromooo-monero1-0/+1
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2018-10-18Add RPC error code for non-deterministic walletMichał Sałaban1-0/+1
2018-06-03wallet-rpc: watch-only and cold wallet features addedDusan Klinec1-0/+4
- unsigned_txset, signed_txset in transfer / submit_transfer / sign_transfer - export_outputs, import_outputs Squashed commits: [f4d9f3d4] wallet-rpc: do_not_relay removed from submit_transfer [5b16a86f] wallet-rpc: review-fix - method signature changes, renaming [b7fbb10a] wallet-rpc: naming fixes (unsigned vs signed), consts renamed [8c7d2727] wallet-rpc: sign_transfer added [481d024a] wallet2: sign_tx splitted to work with strings and structs, more granular [2a474db9] wallet-rpc: wallet2::load_unsigned_tx split to load from str, file [b1e3a018] wallet-rpc: review fix, load_tx_from_str variable rename [1f6373be] wallet-rpc: review fix: save_tx_to_{str,file} [2a08eafc] wallet-rpc: review comments fixes - redundant this removed from wallet2.cpp - load_tx_from_str, load_tx_from_file [43498052] wallet-rpc: submit_transfer added [9c45d1ad] wallet-rpc: watch_only check, return unsigned_txset [62831396] wallet2: added string variants to load_tx, save_tx - analogously to save_multisig_tx - required for monero-wallet-rpc to support watch-only wallet
2018-02-16Merge pull request #3207Riccardo Spagni1-2/+2
a99ef176 wallet-rpc: take subaddress account as arg for get_transfer_by_txid (stoffu) 77125096 wallet-rpc: rename *_INDEX_OUTOFBOUND into *_INDEX_OUT_OF_BOUNDS (stoffu)
2018-01-31wallet-rpc: rename *_INDEX_OUTOFBOUND into *_INDEX_OUT_OF_BOUNDSstoffu1-2/+2
2018-01-29Return appropriate error code when there's no connection to daemonMichał Sałaban1-0/+1
2018-01-28Return appropriate error code when not enough money for txMichał Sałaban1-0/+1
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-12-17wallet: add multisig sign/submit RPCmoneromooo-monero1-0/+3
2017-12-17multisig address generation RPCmoneromooo-monero1-0/+6
2017-11-24wallet_rpc_server: new relay_tx commandmoneromooo-monero1-0/+2
It takes a full tx+metadata hex string as input
2017-11-18Tx proof (revised):stoffu1-0/+2
- refactoring: proof generation/checking code was moved from simplewallet.cpp to wallet2.cpp - allow an arbitrary message to be signed together with txid - introduce two types (outbound & inbound) of tx proofs; with the same syntax, inbound is selected when <address> belongs to this wallet, outbound otherwise. see GitHub thread for more discussion - wallet RPC: added get_tx_key, check_tx_key, get_tx_proof, check_tx_proof - wallet API: moved WalletManagerImpl::checkPayment to Wallet::checkTxKey, added Wallet::getTxProof/checkTxProof - get_tx_key/check_tx_key: handle additional tx keys by concatenating them into a single string
2017-10-23Add more specific RPC error codesMichał Sałaban1-0/+8
2017-10-07Subaddresseskenshi841-0/+2
2017-04-11Resolve #92 add ability to create wallets thru RPCHoward Chu1-0/+1
Reviewed and squashed. Open/Create is only allowed if no walletfile was specified at startup.
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-04wallet_rpc_server: add address book RPC callsmoneromooo-monero1-0/+1
2016-11-28wallet: add API and RPC to create/parse monero: URIsmoneromooo-monero1-0/+1
2016-07-24wallet: new {ex,im}port_key_images commands and RPC callsmoneromooo-monero1-0/+1
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-19wallet: add command and RPC to sign/verify datamoneromooo-monero1-0/+1
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-04-26wallet: allow attaching notes to txidsmoneromooo-monero1-0/+1
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-01-11Add a --restricted-rpc flag to simplewalletmoneromooo-monero1-0/+1
It restricts RPC to a subset of "view only" commands. Kind of like a poor man's view key replacement.
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-07-23License updated to BSD 3-clausefluffypony1-3/+29
2014-06-02Added incoming_transfers RPC API methodpaybee1-1/+0
2014-05-27Added incoming_transfers RPC API methodpaybee1-0/+2
2014-05-03initial [broken] updatemydesktop1-1/+2
2014-04-02json rpc for wallet and bugfixAntonio Juarez1-0/+11