Commit 15f0ef8
authored
feat(bob): Non-interactive transfer proof (#818)
* Upgrade toolchain to rustc 1.89.0
* Switch from curve25519-dalek-ng to curve25519-dalek in most places except the DLEQ proof system
* Remove CliCommand::BuyXmr everywhere
* New monero-wallet-ng with confirmations / scanner subscriptions and transaction verification
* monero-wallet-ng: examples (could be pruned)
* monero-wallet: split into wallets, listener, lib modules
* monero-sys: remove Wallets::wait_until_confirmed(...) in favour of monero-wallet-ng
* swap(alice): replace monero-sys in favour monero-wallet-ng of wait_until_confirmed
* swap(bob): rename XmrLockProofReceived -> XmrLockTransactionCandidate, add new XmrLockTransactionSeen, extract helpers into common.rs, use monero-wallet-ng helpers, add new TransferProofMaybeWithTxKey
* gui: add BobStateName.XmrLockTransactionSeen to guards
* helpers: state3.infallible_recv_transfer_proof(...), infallible_wait_for_xmr_lock_confirmation(...), never go into XmrLockTransactionSeen directly
* fmt
* monero-wallet-ng: remove examples
* progress
* nitpick: remove _ng suffix
* fix underflow in absolute_confirmations_into_relative, use GuaranteedScanner
* rename .wait_for_incoming_transfer_ng to .wait_for_incoming_transfer
* replace map_err with context
* document some more behaviour
* clarify naiveness of scanner
* add changelog entry
* prune: remove old WatchRequest everywhere
* bump rust toolchain to 1.90 and move shared deps into workspace
* bob: add intermediate WaitingForCancelTimelockExpiration state
* bob: do not explicitly check for tx lock timelock status before watching for tx redeem
* bob: use env_config.monero_finality_confirmations, dont try to redeem indefinitely upon cooperative redeem
* add monero_wallet_ng to tracing
* monero-wallet-ng: reset backoff upon success, instrument span into tokio tasks
* add VerifyingXmrLockTx and VerifyingXmrLockTx tauri state
* bob: check for tx_redeem and timelock state concurrently during pre-requisite check before sending enc sig
* fix(monero-wallet-ng): correctly instrument span
* monero-wallet-ng: use normal Scanner instead of GuaranteedScanner
* storeListener.ts: do init tasks in parallel
* nitpick: remove dead code in background.ts
* add PreflightEncSig and InflightEncSig tauri events
* fix closure calls
* final nitpciks
* fix setup-build-environment/action.yml
* fix typo
* zeroize to match monero-oxide version
* last nitpicks
* scan blocks in batches
* nitpick
* add happy_path_alice_does_not_send_transfer_proof integration test1 parent 7e3955c commit 15f0ef8
File tree
62 files changed
+3531
-2239
lines changed- .github
- actions/setup-build-environment
- workflows
- monero-sys/src
- monero-tests
- monero-wallet-ng
- src
- monero-wallet
- src
- src-gui/src
- models
- renderer
- components
- alert/SwapStatusAlert
- modal/swap
- pages
- history/table
- swap/swap
- done
- in_progress
- store
- features
- middleware
- utils
- swap-asb/src
- swap-core
- src
- monero
- swap-db/src
- swap-machine
- src
- alice
- bob
- common
- swap-p2p/src
- swap-serde/src
- swap
- src
- asb
- cli
- api
- common
- protocol
- alice
- bob
- tests
- harness
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
62 files changed
+3531
-2239
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
0 commit comments