| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Rings for outgoing transactions are stored within the scanning code since the last hardfork,
so this code is largely unneccessary now.
Co-authored-by: j-berman <justinberman@protonmail.com>
|
| |\
| |
| |
| | |
e44e8b164 wallet: background sync with just the view key (j-berman)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
| |/
|
|
|
|
|
|
|
|
|
| |
[RELEASE]
1. Use std::is_standard_layout and std::is_trivially_copyable instead of std::is_pod for KV byte-wise serialization, which fixes compile issue for Boost UUIDs
2. Removed reimplementation of std::hash for boost::uuids::uuid
3. Removed << operator overload for crypto::secret_key
4. Removed instances in code where private view key was dumped to the log in plaintext
Release version of #9450, containing C++14 modified assertions
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
@tobtoht: undo rebase changes tx.dsts -> tx_dsts
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Detach & re-process txs >= lowest scan height
- ensures that if a user calls scan_tx(tx1) after scanning tx2,
the wallet correctly processes tx1 and tx2
- if a user provides a tx with a height higher than the wallet's
last scanned height, the wallet will scan starting from that tx's
height
- scan_tx requires trusted daemon iff need to re-process existing
txs: in addition to querying a daemon for txids, if a user
provides a txid of a tx with height *lower* than any *already*
scanned txs in the wallet, then the wallet will also query the
daemon for all the *higher* txs as well. This is likely
unexpected behavior to a caller, and so to protect a caller from
revealing txid's to an untrusted daemon in an unexpected way,
require the daemon be trusted.
|
| |\
| |
| |
| | |
85c9fe5 wallet2: fix create view-only wallet from existing wallet (j-berman)
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
5ffa31c wallet2: fail to establish daemon cxn == 'Disconnected' cxn status (j-berman)
|
| | | |
|
| |/ |
|
| | |
|
| |
|
|
|
| |
this will make it easier huge wallets to do so without hitting
random limits (eg, max string size in node).
|
| |\
| |
| |
| |
| | |
16f8e04 Remove erraneous commas (Luke Parker)
da0715e Improve consistency between on_money_received and on_money_received_unconfirmed (Luke Parker)
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
unconfirmed solely uses a - b, and received now accepts b so it can
provide more detailed logs on what occurred (printing a - b, yet with a
and b).
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Implements view tags as proposed by @UkoeHB in MRL issue
https://github.com/monero-project/research-lab/issues/73
At tx construction, the sender adds a 1-byte view tag to each
output. The view tag is derived from the sender-receiver
shared secret. When scanning for outputs, the receiver can
check the view tag for a match, in order to reduce scanning
time. When the view tag does not match, the wallet avoids the
more expensive EC operations when deriving the output public
key using the shared secret.
|
| |
|
|
|
|
| |
https://github.com/ArticMine/Monero-Documents/blob/master/MoneroScaling2021-02.pdf
with a change to use 1.7 instead of 2.0 for the max long term increase rate
|
| |\
| |
| |
| | |
da9aa1f Copyright: Update to 2022 (mj-xmr)
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
e08abaa multisig key exchange update and refactor (koe)
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| |\
| |
| |
| | |
8ef51dc wallet_api: fix typo in exportKeyImages (selsta)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
bbeb555 wallet_api: getPassword (tobtoht)
|
| | |/ |
|
| | | |
|
| |\ \
| | |
| | |
| | | |
8e0b8dd wallet/api: remove Bitmonero namespace alias (selsta)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
1aa1850 wallet_api: signMessage: add sign with subaddress (tobtoht)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
f174a8f wallet_api: reconnectDevice (tobtoht)
|
| | |/ |
|
| |/ |
|
| |\
| |
| |
| | |
445a9d8 wallet_api: import / export output function (tobtoht)
|
| | | |
|
| |\ \
| |/
|/|
| | |
c8ff1d4 monero-wallet-cli: improve error message when tx amount is zero (Elliot Wirrick)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
25e8254 expose set_offline to wallet api (benevanoff)
|
| | | | |
|
| |\ \ \
| |_|/
|/| |
| | | |
673c6d2 Reduce compilation time of epee/portable_storage_template_helper.h (mj-xmr)
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | | |
7c4e4c7 wallet_api: add isDeterministic() (tobtoht)
|
| | |/ / |
|