* start adding support for subaddresses
* add happy_path_alice_developer_tip_subaddress
* remove redundant addSubaddressAccount bridge
* document multiple tx keys
* don't autoformat c++ files
* update PendingTransaction::txKeys() to return the output address and the transaction id for each tx key as well
* fix c++ include error, update bridge.rs
* make TxReceipt have a map of transfer keys
* fix derive_puclic_key function call
* add undo-git-changes to justfile (restores unstaged changes in git submodule)
* don't autoformat c/c++ files
This is annoying because it's increasing the diff size when I really
just want to extract the changes into a patch.
* Change the txKeys method to correctly identify the tx key for each output.
Caviat: we currently skip all outputs that belong to the primary address.
This means we won't have a tx key when sending to our own main address or
for change outputs. Transactions which try anyway will fail in the rust
verification step.
* add a simple test casse
* update error message to reflect caviat of not beign able to send to your own main address
* un-hardcode path in transaction_keys.rs
* update patch to throw an exception in txKeys() when a crypto operation fails
(instead of ignoring it)
* cleanup
* add a new crate monero-tests for monero integration tests
* add monero-tests/transactions to ci
* add comment to tx_keys map
* fix compilation, add test case for wrong transfer key
* fix ci
* add new test and explanatory comments
* Add explanatory comment
* rename test to avoid name abiguity
* silence some monero c++ spam
* start updating distribute function to use integers
* Revert "start updating distribute function to use integers"
This reverts commit b69ec7c44cee3c19001001c36cc62f3ce5ec4c74.
* update rust to 1.88
---------
Co-authored-by: Binarybaron <binarybaron@protonmail.com>
Co-authored-by: Mohan <86064887+binarybaron@users.noreply.github.com>
* fix(flatpak): remove unused net.unstoppableswap.gui.json
This is the same as o.e.a.json just with a different id,
is unused, and was clearly supposed to be a rename,
not a copy, in the referenced commit
Fixes: 517a4fa574
* refactor(CI): clean up build-gui-release-binaries.yml
* refactor(publish_flatpak): deslopify. NFC
* refactor(publish_flatpak): lift out .flatpakrepo & .flatpakref
Common bits at the top for convenience
* feat(CI): build + upload flatpak to gh-pages in build-gui-release-binaries.yml
This is equivalent to the current flatpak releases except it also has
the icon
* progress
* fix race condition where EventLoopHandle::swap_handle would take forever if event loop was not running
* add trace statements in bob event loop, inform swarm about redials
* progress
* revamp of protocols/swap_setup, reliable error propagation, slowly getting this to work...
* some formatting
* fix react shengigans
* If a connection handler died which had an assigned swap setup request, notify the swarm that the request failed
* key inflight swap setup request by (PeerId, SwapID) instead of just peer id
* add min height to swap state page
* extract should_acknowledge_transfer_proof out of event loop, propagate swap setup errors to event loop with context
* add --trace to justfile
* remove docker_test_all.sh
* add back the correct connection_keep_alive swap_setup/alice.rs
* fix some memory leaks
* let swarm_setup behaviour instruct swarm to dial peer
* fmt
* reduce diff
* remove redial::Redialing
* add trace statements to swap_setup/bob.rs
* extract swap setup protocol itself into run_swap_setup
* make queues unbounded, small nitpicks
* do not buffer transfer proof acknowledgements
* prevent swap_setup/bob.rs from keeping all connections alive
* buffer transfer proofs
* do not redial ALL peers
* keep all connections alive with swap_setup/bob.rs
* add comment
* fix(gui): we were not checking for null everywhere
* add more null checks, enable tsconfig strict
* remove dead code
* more nullish checks
* remove unused JSONViewTree.tsx
* fix a bunch of small typescript lints
* add explanations as to why LabeledMoneroAddress.address is non-nullish but we pass in null due to typeshare limitation
* remove @mui/lab from yarn.lock
* re-add SortableQuoteWithAddress
* add guard function for ExportBitcoinWalletResponseExt ("wallet_descriptor")
* fix remaining linter errors
* remove duplicate XMR
* fix hasUnusualAmountOfTimePassed in SwapStatusAlert.tsx
The CI builds the GUI on ubuntu noble, which contains
2.44.0-2
in universe and
2.48.7-0ubuntu0.24.04.2
in security. Naturally, the bigger version is picked by default.
The same thing happens when building on bookworm (2.48.1-2~deb12u1).
This version causes the GUI to crash just after creating a blank window,
yielding no logs and stderr of
Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...
This is a known issue in the Tauri/AppImage world,
and downgrading to 2.44 is likewise a known fix, cf.
https://github.com/gitbutlerapp/gitbutler/issues/5282
and all the referencing issues.
On bookworm this can be fixed by installing 2.44.3-1
off snapshot.d.o at 20240909T145608Z.
On noble, we can just ask for the older version, since both are visible.
Only pin on noble: we only ever request noble,
but some third-party workflows are on jammy.
The version doesn't matter there.
Closes#594Closes#582
* refactor(gui): seperate get info and get timelock to speed up display of swaps
* progress
* progress
* remove unused function useSwapInfoWithTimelock
* use GetSwapTimelockArgs and GetSwapTimelockResponse types