From 3aa12cf16a5a3df6487bad077a63c530889fbd56 Mon Sep 17 00:00:00 2001 From: Binarybaron Date: Sat, 9 Nov 2024 12:19:28 +0100 Subject: [PATCH 1/3] fix(dev-docs): Update links to dev-docs. The Github documentation has been moved from /docs to /dev-docs --- swap/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swap/README.md b/swap/README.md index 35adc5f0..69288fed 100644 --- a/swap/README.md +++ b/swap/README.md @@ -24,14 +24,14 @@ You can read [this blogpost](https://comit.network/blog/2021/07/02/transaction-p ./swap --testnet buy-xmr --receive-address --change-address --seller ``` -For more detailed documentation on the CLI, see [this README](./docs/cli/README.md). +For more detailed documentation on the CLI, see [this README](./dev-docs/cli/README.md). ## Becoming a Market Maker Swapping of course needs two parties - and the CLI is only one of them: The taker that occasionally starts a swap with a market maker. If you are interested in becoming a market maker you will want to run the second binary provided in this repository: `asb` - the Automated Swap Backend. -Detailed documentation for the `asb` can be found [in this README](./docs/asb/README.md). +Detailed documentation for the `asb` can be found [in this README](./dev-docs/asb/README.md). ## Safety From a67814868cb6ec88783fe5ea1a415338ce81a86a Mon Sep 17 00:00:00 2001 From: einliterflasche Date: Fri, 29 Nov 2024 16:11:40 +0100 Subject: [PATCH 2/3] update more links from docs/ to dev-docs/ --- README.md | 2 +- dev-docs/asb/README.md | 4 +-- .../components/pages/help/ExportDataBox.tsx | 2 +- ...c946bc4d37d50f40670b4f51d2efcce595aa6.json | 20 ++++++++++++++ ...d9ae92227d057386921e0e57165b887de3c75.json | 12 ++++++++ ...3cad023c30705d5b41a1399ef79d8d2571d7c.json | 20 ++++++++++++++ ...b501749f907f7c422945a8bdda2b6274f5225.json | 12 ++++++++ ...a50f51073d36257d49768de99ff863e3511e0.json | 12 ++++++++ ...d9431ee68360941f341386cbacf44ea598de8.json | 26 ++++++++++++++++++ ...b1c0a27b2a45656549b23076d7542cfa21ecf.json | 20 ++++++++++++++ ...a22e7fdc6b925de211f7784782f051c2dcd8c.json | 20 ++++++++++++++ ...7a8e5014bdc694c36a14053ef3bb2fc0c69b0.json | 12 ++++++++ ...c5401e2122077365e5e5a19408c068c7f9454.json | 20 ++++++++++++++ ...aa665aae3c6f1e312ee444e65df1c95afe8b2.json | 20 ++++++++++++++ ...03323a8cf258cbebb2834e3f7cf8f812fa646.json | 20 ++++++++++++++ ...b59cced041406a9db71da827b09f0d3bacfd6.json | 12 ++++++++ ...35821da948bd86cc57798b4d8375baf0b51ae.json | 20 ++++++++++++++ swap/tempdb | Bin 0 -> 49152 bytes 18 files changed, 250 insertions(+), 4 deletions(-) create mode 100644 swap/.sqlx/query-081c729a0f1ad6e4ff3e13d6702c946bc4d37d50f40670b4f51d2efcce595aa6.json create mode 100644 swap/.sqlx/query-0ab84c094964968e96a3f2bf590d9ae92227d057386921e0e57165b887de3c75.json create mode 100644 swap/.sqlx/query-0d465a17ebbb5761421def759c73cad023c30705d5b41a1399ef79d8d2571d7c.json create mode 100644 swap/.sqlx/query-2a356078a41b321234adf2aa385b501749f907f7c422945a8bdda2b6274f5225.json create mode 100644 swap/.sqlx/query-50a5764546f69c118fa0b64120da50f51073d36257d49768de99ff863e3511e0.json create mode 100644 swap/.sqlx/query-5cc61dd0315571bc198401a354cd9431ee68360941f341386cbacf44ea598de8.json create mode 100644 swap/.sqlx/query-88f761a4f7a0429cad1df0b1bebb1c0a27b2a45656549b23076d7542cfa21ecf.json create mode 100644 swap/.sqlx/query-98a8b7f4971e0eb4ab8f5aa688aa22e7fdc6b925de211f7784782f051c2dcd8c.json create mode 100644 swap/.sqlx/query-b703032b4ddc627a1124817477e7a8e5014bdc694c36a14053ef3bb2fc0c69b0.json create mode 100644 swap/.sqlx/query-ce270dd4a4b9615695a79864240c5401e2122077365e5e5a19408c068c7f9454.json create mode 100644 swap/.sqlx/query-d78acba5eb8563826dd190e0886aa665aae3c6f1e312ee444e65df1c95afe8b2.json create mode 100644 swap/.sqlx/query-e05620f420f8c1022971eeb66a803323a8cf258cbebb2834e3f7cf8f812fa646.json create mode 100644 swap/.sqlx/query-e36c287aa98ae80ad4b6bb6f7e4b59cced041406a9db71da827b09f0d3bacfd6.json create mode 100644 swap/.sqlx/query-e9d422daf774d099fcbde6c4cda35821da948bd86cc57798b4d8375baf0b51ae.json create mode 100644 swap/tempdb diff --git a/README.md b/README.md index d72933ca..81fc2eb7 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,6 @@ This is the monorepo containing the source code for all of our core projects: - [`tauri`](src-tauri/) contains the tauri bindings between binaries and user interface - and other crates we use in our binaries -If you're just here for the software, head over to the [releases](https://github.com/UnstoppableSwap/xmr-btc-swap/releases/latest) tab and grab the binary for your operating system! If you're just looking for documentation, check out our [docs page](https://docs.unstoppableswap.net/) or our [github docs](docs/README.md). +If you're just here for the software, head over to the [releases](https://github.com/UnstoppableSwap/xmr-btc-swap/releases/latest) tab and grab the binary for your operating system! If you're just looking for documentation, check out our [docs page](https://docs.unstoppableswap.net/) or our [github docs](dev-docs/README.md). Join our [Matrix room](https://matrix.to/#/#unstoppableswap-core:matrix.org) to follow development more closely. diff --git a/dev-docs/asb/README.md b/dev-docs/asb/README.md index ccaa4279..66d08b3e 100644 --- a/dev-docs/asb/README.md +++ b/dev-docs/asb/README.md @@ -63,11 +63,11 @@ In particular, you may be interested in setting up your ASB to be reachable via In order to understand the different components of the ASB and CLI better here is a component diagram showcasing the ASB and CLI setup using public Bitcoin and Monero infrastructure: -![Service Provider scenarios](http://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/comit-network/xmr-btc-swap/363ce1cdf6fe6478736ff91e1458d650c2319248/docs/asb/diagrams/cli-asb-components-asb-pub-nodes.puml) +![Service Provider scenarios](http://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/comit-network/xmr-btc-swap/363ce1cdf6fe6478736ff91e1458d650c2319248/dev-docs/asb/diagrams/cli-asb-components-asb-pub-nodes.puml) Contrary, here is a diagram that showcases a service provider running it's own blockchain infrastructure for the ASB: -![Service Provider scenarios](http://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/comit-network/xmr-btc-swap/363ce1cdf6fe6478736ff91e1458d650c2319248/docs/asb/diagrams/cli-asb-components-asb-self-hosted.puml) +![Service Provider scenarios](http://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/comit-network/xmr-btc-swap/363ce1cdf6fe6478736ff91e1458d650c2319248/dev-docs/asb/diagrams/cli-asb-components-asb-self-hosted.puml) The diagram shows that the `asb` group (representing the `asb` binary) consists of three components: diff --git a/src-gui/src/renderer/components/pages/help/ExportDataBox.tsx b/src-gui/src/renderer/components/pages/help/ExportDataBox.tsx index 60f47abd..55fa1e99 100644 --- a/src-gui/src/renderer/components/pages/help/ExportDataBox.tsx +++ b/src-gui/src/renderer/components/pages/help/ExportDataBox.tsx @@ -95,7 +95,7 @@ function WalletDescriptorModal({
  • For more information on what to do with the descriptor, see our - {" "}documentation + {" "}documentation
  • diff --git a/swap/.sqlx/query-081c729a0f1ad6e4ff3e13d6702c946bc4d37d50f40670b4f51d2efcce595aa6.json b/swap/.sqlx/query-081c729a0f1ad6e4ff3e13d6702c946bc4d37d50f40670b4f51d2efcce595aa6.json new file mode 100644 index 00000000..94b77425 --- /dev/null +++ b/swap/.sqlx/query-081c729a0f1ad6e4ff3e13d6702c946bc4d37d50f40670b4f51d2efcce595aa6.json @@ -0,0 +1,20 @@ +{ + "db_name": "SQLite", + "query": "\n SELECT peer_id\n FROM peers\n WHERE swap_id = ?\n ", + "describe": { + "columns": [ + { + "name": "peer_id", + "ordinal": 0, + "type_info": "Text" + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + false + ] + }, + "hash": "081c729a0f1ad6e4ff3e13d6702c946bc4d37d50f40670b4f51d2efcce595aa6" +} diff --git a/swap/.sqlx/query-0ab84c094964968e96a3f2bf590d9ae92227d057386921e0e57165b887de3c75.json b/swap/.sqlx/query-0ab84c094964968e96a3f2bf590d9ae92227d057386921e0e57165b887de3c75.json new file mode 100644 index 00000000..f05e8f65 --- /dev/null +++ b/swap/.sqlx/query-0ab84c094964968e96a3f2bf590d9ae92227d057386921e0e57165b887de3c75.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "\n insert into peer_addresses (\n peer_id,\n address\n ) values (?, ?);\n ", + "describe": { + "columns": [], + "parameters": { + "Right": 2 + }, + "nullable": [] + }, + "hash": "0ab84c094964968e96a3f2bf590d9ae92227d057386921e0e57165b887de3c75" +} diff --git a/swap/.sqlx/query-0d465a17ebbb5761421def759c73cad023c30705d5b41a1399ef79d8d2571d7c.json b/swap/.sqlx/query-0d465a17ebbb5761421def759c73cad023c30705d5b41a1399ef79d8d2571d7c.json new file mode 100644 index 00000000..58fbb3f8 --- /dev/null +++ b/swap/.sqlx/query-0d465a17ebbb5761421def759c73cad023c30705d5b41a1399ef79d8d2571d7c.json @@ -0,0 +1,20 @@ +{ + "db_name": "SQLite", + "query": "\n SELECT min(entered_at) as start_date\n FROM swap_states\n WHERE swap_id = ?\n ", + "describe": { + "columns": [ + { + "name": "start_date", + "ordinal": 0, + "type_info": "Text" + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + true + ] + }, + "hash": "0d465a17ebbb5761421def759c73cad023c30705d5b41a1399ef79d8d2571d7c" +} diff --git a/swap/.sqlx/query-2a356078a41b321234adf2aa385b501749f907f7c422945a8bdda2b6274f5225.json b/swap/.sqlx/query-2a356078a41b321234adf2aa385b501749f907f7c422945a8bdda2b6274f5225.json new file mode 100644 index 00000000..a42beda2 --- /dev/null +++ b/swap/.sqlx/query-2a356078a41b321234adf2aa385b501749f907f7c422945a8bdda2b6274f5225.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "\n insert into peers (\n swap_id,\n peer_id\n ) values (?, ?);\n ", + "describe": { + "columns": [], + "parameters": { + "Right": 2 + }, + "nullable": [] + }, + "hash": "2a356078a41b321234adf2aa385b501749f907f7c422945a8bdda2b6274f5225" +} diff --git a/swap/.sqlx/query-50a5764546f69c118fa0b64120da50f51073d36257d49768de99ff863e3511e0.json b/swap/.sqlx/query-50a5764546f69c118fa0b64120da50f51073d36257d49768de99ff863e3511e0.json new file mode 100644 index 00000000..f83a6884 --- /dev/null +++ b/swap/.sqlx/query-50a5764546f69c118fa0b64120da50f51073d36257d49768de99ff863e3511e0.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "\n insert into monero_addresses (\n swap_id,\n address\n ) values (?, ?);\n ", + "describe": { + "columns": [], + "parameters": { + "Right": 2 + }, + "nullable": [] + }, + "hash": "50a5764546f69c118fa0b64120da50f51073d36257d49768de99ff863e3511e0" +} diff --git a/swap/.sqlx/query-5cc61dd0315571bc198401a354cd9431ee68360941f341386cbacf44ea598de8.json b/swap/.sqlx/query-5cc61dd0315571bc198401a354cd9431ee68360941f341386cbacf44ea598de8.json new file mode 100644 index 00000000..7f58635f --- /dev/null +++ b/swap/.sqlx/query-5cc61dd0315571bc198401a354cd9431ee68360941f341386cbacf44ea598de8.json @@ -0,0 +1,26 @@ +{ + "db_name": "SQLite", + "query": "\n SELECT swap_id, state\n FROM (\n SELECT max(id), swap_id, state\n FROM swap_states\n GROUP BY swap_id\n )\n ", + "describe": { + "columns": [ + { + "name": "swap_id", + "ordinal": 0, + "type_info": "Text" + }, + { + "name": "state", + "ordinal": 1, + "type_info": "Text" + } + ], + "parameters": { + "Right": 0 + }, + "nullable": [ + true, + true + ] + }, + "hash": "5cc61dd0315571bc198401a354cd9431ee68360941f341386cbacf44ea598de8" +} diff --git a/swap/.sqlx/query-88f761a4f7a0429cad1df0b1bebb1c0a27b2a45656549b23076d7542cfa21ecf.json b/swap/.sqlx/query-88f761a4f7a0429cad1df0b1bebb1c0a27b2a45656549b23076d7542cfa21ecf.json new file mode 100644 index 00000000..b7429dcd --- /dev/null +++ b/swap/.sqlx/query-88f761a4f7a0429cad1df0b1bebb1c0a27b2a45656549b23076d7542cfa21ecf.json @@ -0,0 +1,20 @@ +{ + "db_name": "SQLite", + "query": "\n SELECT state\n FROM swap_states\n WHERE swap_id = ?\n ORDER BY id desc\n LIMIT 1;\n\n ", + "describe": { + "columns": [ + { + "name": "state", + "ordinal": 0, + "type_info": "Text" + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + false + ] + }, + "hash": "88f761a4f7a0429cad1df0b1bebb1c0a27b2a45656549b23076d7542cfa21ecf" +} diff --git a/swap/.sqlx/query-98a8b7f4971e0eb4ab8f5aa688aa22e7fdc6b925de211f7784782f051c2dcd8c.json b/swap/.sqlx/query-98a8b7f4971e0eb4ab8f5aa688aa22e7fdc6b925de211f7784782f051c2dcd8c.json new file mode 100644 index 00000000..5a5f8c4f --- /dev/null +++ b/swap/.sqlx/query-98a8b7f4971e0eb4ab8f5aa688aa22e7fdc6b925de211f7784782f051c2dcd8c.json @@ -0,0 +1,20 @@ +{ + "db_name": "SQLite", + "query": "SELECT DISTINCT address FROM monero_addresses", + "describe": { + "columns": [ + { + "name": "address", + "ordinal": 0, + "type_info": "Text" + } + ], + "parameters": { + "Right": 0 + }, + "nullable": [ + false + ] + }, + "hash": "98a8b7f4971e0eb4ab8f5aa688aa22e7fdc6b925de211f7784782f051c2dcd8c" +} diff --git a/swap/.sqlx/query-b703032b4ddc627a1124817477e7a8e5014bdc694c36a14053ef3bb2fc0c69b0.json b/swap/.sqlx/query-b703032b4ddc627a1124817477e7a8e5014bdc694c36a14053ef3bb2fc0c69b0.json new file mode 100644 index 00000000..79ade14e --- /dev/null +++ b/swap/.sqlx/query-b703032b4ddc627a1124817477e7a8e5014bdc694c36a14053ef3bb2fc0c69b0.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "\n insert into swap_states (\n swap_id,\n entered_at,\n state\n ) values (?, ?, ?);\n ", + "describe": { + "columns": [], + "parameters": { + "Right": 3 + }, + "nullable": [] + }, + "hash": "b703032b4ddc627a1124817477e7a8e5014bdc694c36a14053ef3bb2fc0c69b0" +} diff --git a/swap/.sqlx/query-ce270dd4a4b9615695a79864240c5401e2122077365e5e5a19408c068c7f9454.json b/swap/.sqlx/query-ce270dd4a4b9615695a79864240c5401e2122077365e5e5a19408c068c7f9454.json new file mode 100644 index 00000000..4927cda6 --- /dev/null +++ b/swap/.sqlx/query-ce270dd4a4b9615695a79864240c5401e2122077365e5e5a19408c068c7f9454.json @@ -0,0 +1,20 @@ +{ + "db_name": "SQLite", + "query": "\n SELECT address\n FROM monero_addresses\n WHERE swap_id = ?\n ", + "describe": { + "columns": [ + { + "name": "address", + "ordinal": 0, + "type_info": "Text" + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + false + ] + }, + "hash": "ce270dd4a4b9615695a79864240c5401e2122077365e5e5a19408c068c7f9454" +} diff --git a/swap/.sqlx/query-d78acba5eb8563826dd190e0886aa665aae3c6f1e312ee444e65df1c95afe8b2.json b/swap/.sqlx/query-d78acba5eb8563826dd190e0886aa665aae3c6f1e312ee444e65df1c95afe8b2.json new file mode 100644 index 00000000..cf0105e2 --- /dev/null +++ b/swap/.sqlx/query-d78acba5eb8563826dd190e0886aa665aae3c6f1e312ee444e65df1c95afe8b2.json @@ -0,0 +1,20 @@ +{ + "db_name": "SQLite", + "query": "\n SELECT DISTINCT address\n FROM peer_addresses\n WHERE peer_id = ?\n ", + "describe": { + "columns": [ + { + "name": "address", + "ordinal": 0, + "type_info": "Text" + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + false + ] + }, + "hash": "d78acba5eb8563826dd190e0886aa665aae3c6f1e312ee444e65df1c95afe8b2" +} diff --git a/swap/.sqlx/query-e05620f420f8c1022971eeb66a803323a8cf258cbebb2834e3f7cf8f812fa646.json b/swap/.sqlx/query-e05620f420f8c1022971eeb66a803323a8cf258cbebb2834e3f7cf8f812fa646.json new file mode 100644 index 00000000..5eb6fef3 --- /dev/null +++ b/swap/.sqlx/query-e05620f420f8c1022971eeb66a803323a8cf258cbebb2834e3f7cf8f812fa646.json @@ -0,0 +1,20 @@ +{ + "db_name": "SQLite", + "query": "\n SELECT state\n FROM swap_states\n WHERE swap_id = ?\n ", + "describe": { + "columns": [ + { + "name": "state", + "ordinal": 0, + "type_info": "Text" + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + false + ] + }, + "hash": "e05620f420f8c1022971eeb66a803323a8cf258cbebb2834e3f7cf8f812fa646" +} diff --git a/swap/.sqlx/query-e36c287aa98ae80ad4b6bb6f7e4b59cced041406a9db71da827b09f0d3bacfd6.json b/swap/.sqlx/query-e36c287aa98ae80ad4b6bb6f7e4b59cced041406a9db71da827b09f0d3bacfd6.json new file mode 100644 index 00000000..d836424a --- /dev/null +++ b/swap/.sqlx/query-e36c287aa98ae80ad4b6bb6f7e4b59cced041406a9db71da827b09f0d3bacfd6.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "\n INSERT INTO buffered_transfer_proofs (\n swap_id,\n proof\n ) VALUES (?, ?);\n ", + "describe": { + "columns": [], + "parameters": { + "Right": 2 + }, + "nullable": [] + }, + "hash": "e36c287aa98ae80ad4b6bb6f7e4b59cced041406a9db71da827b09f0d3bacfd6" +} diff --git a/swap/.sqlx/query-e9d422daf774d099fcbde6c4cda35821da948bd86cc57798b4d8375baf0b51ae.json b/swap/.sqlx/query-e9d422daf774d099fcbde6c4cda35821da948bd86cc57798b4d8375baf0b51ae.json new file mode 100644 index 00000000..f375b6b6 --- /dev/null +++ b/swap/.sqlx/query-e9d422daf774d099fcbde6c4cda35821da948bd86cc57798b4d8375baf0b51ae.json @@ -0,0 +1,20 @@ +{ + "db_name": "SQLite", + "query": "\n SELECT proof\n FROM buffered_transfer_proofs\n WHERE swap_id = ?\n ", + "describe": { + "columns": [ + { + "name": "proof", + "ordinal": 0, + "type_info": "Text" + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + false + ] + }, + "hash": "e9d422daf774d099fcbde6c4cda35821da948bd86cc57798b4d8375baf0b51ae" +} diff --git a/swap/tempdb b/swap/tempdb new file mode 100644 index 0000000000000000000000000000000000000000..959df1558fb770364adf82e82d344e1069f3f680 GIT binary patch literal 49152 zcmeI(Z)h8390%~bq{$_hb{P}7(!qG3LmRsc(^ZFqGL!Bc#Wd;CR9F0SOOvPeu=%sx zMN1JOwF+89ol`1o%7!p>;#6eSF<YJA(TIw0L=dVdO zOS-t-)1|iHA6&qHiQ6(4TxgqZ>uHr+mjchVc8EXtFNyQbPQ`HuKmY;|fB*y_0D+AP zRHLFG_4V;HH|m+ONjg>;AE#xSQ}lACps}Pxwxup&wCqUv6o&~SQ{7K@AXQ<;bvjk8>2+* zM}(mkuhiYmkD8&@My5uOR%jthZCOu4pti!ULMBglu`@$6Ep9>T?Bt(FTJLF0DNWDl zY-p|~TN>YMwV>uz>r-=#4J6X?K{?eh5v|FSEz>+L=(cIO)+BB|n%Vj0#|gV%Tz3*% zW8Vy<_Gask{h1JNj-pv>6e-MWO3AAal{30pENJ$;s{zDbO00SM2pgsBWD*-V$WX2Y zv09g-TDGi~j0;$?)IWi&Vzt1UKRL-hJB{*zL3ubG9UNNGBM0QWq9gG%=^sg@;6o{ZVb=oHOXj8-YSny2;V*Bd8>_Pf>_ z#dZuOVn5<$ze{|^?~^w6a&P&73%(NUVLNOPfB*y_009U<00Izz00bZaf&Y}ilw0uJ zyT?E2-ZpXO(_=oiuEEwzRu(HseW{aJOP$1ASn0X7r#Bplgd?|;NbkPeBKvywe!KYD zgQt%9t8WSyA1mz`e)X^NZ2Rla>>b?Ay>#T=BlmoCdQ@G~-&ua){8uN0i?JVL?(_Fk zm*9z5S3dpLPl+)-TdEXPZGz@VrIcf>SmQDs)2Fuodg8;I7Jt6w7vam-@-Hs-wLhKR z(h&+@cq6cNxp2kx_Vz#LK0f*E{KAFrzq$IGd*=g`uU{s!@ZN-43(#1p(V9kcsQUQf zt540(p8a~q&QJOeobf+DcYOK_S-RoxColWY-Qm0W_|o#=ckM5qys!6M*XP~udje-g z)~oK|WiI%8@Cw^ug8&2|009U<00Izz00bZa0SG|ge<&cjJ-oF<;k7v6fA*z+Y!H9|1Rwwb2tWV=5P$##AOHafY+?c2|8L^XMQ9L!00bZa0SG_<0uX=z z1Rwx`ngH(qF%%#G0SG_<0uX=z1Rwwb2tWV=n_s~A|9^b{fAjYXkC?Nm=2tWV=5P$## zAOHafK)~4oc>eF~{zvo>fB*y_009U<00Izz00bc53<2E#JENZwB?KS<0SG_<0uX=z m1Rwwb2sm2+-~V@Z|08+`KmY;|fB*y_009U<00IzjhQL4OuW~H_ literal 0 HcmV?d00001 From a333725577a6d5684e8ca18e68a5232ab2b98d3b Mon Sep 17 00:00:00 2001 From: einliterflasche Date: Fri, 29 Nov 2024 16:14:04 +0100 Subject: [PATCH 3/3] remove sqlx cache data from git --- ...c946bc4d37d50f40670b4f51d2efcce595aa6.json | 20 -------------- ...d9ae92227d057386921e0e57165b887de3c75.json | 12 --------- ...3cad023c30705d5b41a1399ef79d8d2571d7c.json | 20 -------------- ...b501749f907f7c422945a8bdda2b6274f5225.json | 12 --------- ...a50f51073d36257d49768de99ff863e3511e0.json | 12 --------- ...d9431ee68360941f341386cbacf44ea598de8.json | 26 ------------------- ...b1c0a27b2a45656549b23076d7542cfa21ecf.json | 20 -------------- ...a22e7fdc6b925de211f7784782f051c2dcd8c.json | 20 -------------- ...7a8e5014bdc694c36a14053ef3bb2fc0c69b0.json | 12 --------- ...c5401e2122077365e5e5a19408c068c7f9454.json | 20 -------------- ...aa665aae3c6f1e312ee444e65df1c95afe8b2.json | 20 -------------- ...03323a8cf258cbebb2834e3f7cf8f812fa646.json | 20 -------------- ...b59cced041406a9db71da827b09f0d3bacfd6.json | 12 --------- ...35821da948bd86cc57798b4d8375baf0b51ae.json | 20 -------------- 14 files changed, 246 deletions(-) delete mode 100644 swap/.sqlx/query-081c729a0f1ad6e4ff3e13d6702c946bc4d37d50f40670b4f51d2efcce595aa6.json delete mode 100644 swap/.sqlx/query-0ab84c094964968e96a3f2bf590d9ae92227d057386921e0e57165b887de3c75.json delete mode 100644 swap/.sqlx/query-0d465a17ebbb5761421def759c73cad023c30705d5b41a1399ef79d8d2571d7c.json delete mode 100644 swap/.sqlx/query-2a356078a41b321234adf2aa385b501749f907f7c422945a8bdda2b6274f5225.json delete mode 100644 swap/.sqlx/query-50a5764546f69c118fa0b64120da50f51073d36257d49768de99ff863e3511e0.json delete mode 100644 swap/.sqlx/query-5cc61dd0315571bc198401a354cd9431ee68360941f341386cbacf44ea598de8.json delete mode 100644 swap/.sqlx/query-88f761a4f7a0429cad1df0b1bebb1c0a27b2a45656549b23076d7542cfa21ecf.json delete mode 100644 swap/.sqlx/query-98a8b7f4971e0eb4ab8f5aa688aa22e7fdc6b925de211f7784782f051c2dcd8c.json delete mode 100644 swap/.sqlx/query-b703032b4ddc627a1124817477e7a8e5014bdc694c36a14053ef3bb2fc0c69b0.json delete mode 100644 swap/.sqlx/query-ce270dd4a4b9615695a79864240c5401e2122077365e5e5a19408c068c7f9454.json delete mode 100644 swap/.sqlx/query-d78acba5eb8563826dd190e0886aa665aae3c6f1e312ee444e65df1c95afe8b2.json delete mode 100644 swap/.sqlx/query-e05620f420f8c1022971eeb66a803323a8cf258cbebb2834e3f7cf8f812fa646.json delete mode 100644 swap/.sqlx/query-e36c287aa98ae80ad4b6bb6f7e4b59cced041406a9db71da827b09f0d3bacfd6.json delete mode 100644 swap/.sqlx/query-e9d422daf774d099fcbde6c4cda35821da948bd86cc57798b4d8375baf0b51ae.json diff --git a/swap/.sqlx/query-081c729a0f1ad6e4ff3e13d6702c946bc4d37d50f40670b4f51d2efcce595aa6.json b/swap/.sqlx/query-081c729a0f1ad6e4ff3e13d6702c946bc4d37d50f40670b4f51d2efcce595aa6.json deleted file mode 100644 index 94b77425..00000000 --- a/swap/.sqlx/query-081c729a0f1ad6e4ff3e13d6702c946bc4d37d50f40670b4f51d2efcce595aa6.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n SELECT peer_id\n FROM peers\n WHERE swap_id = ?\n ", - "describe": { - "columns": [ - { - "name": "peer_id", - "ordinal": 0, - "type_info": "Text" - } - ], - "parameters": { - "Right": 1 - }, - "nullable": [ - false - ] - }, - "hash": "081c729a0f1ad6e4ff3e13d6702c946bc4d37d50f40670b4f51d2efcce595aa6" -} diff --git a/swap/.sqlx/query-0ab84c094964968e96a3f2bf590d9ae92227d057386921e0e57165b887de3c75.json b/swap/.sqlx/query-0ab84c094964968e96a3f2bf590d9ae92227d057386921e0e57165b887de3c75.json deleted file mode 100644 index f05e8f65..00000000 --- a/swap/.sqlx/query-0ab84c094964968e96a3f2bf590d9ae92227d057386921e0e57165b887de3c75.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n insert into peer_addresses (\n peer_id,\n address\n ) values (?, ?);\n ", - "describe": { - "columns": [], - "parameters": { - "Right": 2 - }, - "nullable": [] - }, - "hash": "0ab84c094964968e96a3f2bf590d9ae92227d057386921e0e57165b887de3c75" -} diff --git a/swap/.sqlx/query-0d465a17ebbb5761421def759c73cad023c30705d5b41a1399ef79d8d2571d7c.json b/swap/.sqlx/query-0d465a17ebbb5761421def759c73cad023c30705d5b41a1399ef79d8d2571d7c.json deleted file mode 100644 index 58fbb3f8..00000000 --- a/swap/.sqlx/query-0d465a17ebbb5761421def759c73cad023c30705d5b41a1399ef79d8d2571d7c.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n SELECT min(entered_at) as start_date\n FROM swap_states\n WHERE swap_id = ?\n ", - "describe": { - "columns": [ - { - "name": "start_date", - "ordinal": 0, - "type_info": "Text" - } - ], - "parameters": { - "Right": 1 - }, - "nullable": [ - true - ] - }, - "hash": "0d465a17ebbb5761421def759c73cad023c30705d5b41a1399ef79d8d2571d7c" -} diff --git a/swap/.sqlx/query-2a356078a41b321234adf2aa385b501749f907f7c422945a8bdda2b6274f5225.json b/swap/.sqlx/query-2a356078a41b321234adf2aa385b501749f907f7c422945a8bdda2b6274f5225.json deleted file mode 100644 index a42beda2..00000000 --- a/swap/.sqlx/query-2a356078a41b321234adf2aa385b501749f907f7c422945a8bdda2b6274f5225.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n insert into peers (\n swap_id,\n peer_id\n ) values (?, ?);\n ", - "describe": { - "columns": [], - "parameters": { - "Right": 2 - }, - "nullable": [] - }, - "hash": "2a356078a41b321234adf2aa385b501749f907f7c422945a8bdda2b6274f5225" -} diff --git a/swap/.sqlx/query-50a5764546f69c118fa0b64120da50f51073d36257d49768de99ff863e3511e0.json b/swap/.sqlx/query-50a5764546f69c118fa0b64120da50f51073d36257d49768de99ff863e3511e0.json deleted file mode 100644 index f83a6884..00000000 --- a/swap/.sqlx/query-50a5764546f69c118fa0b64120da50f51073d36257d49768de99ff863e3511e0.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n insert into monero_addresses (\n swap_id,\n address\n ) values (?, ?);\n ", - "describe": { - "columns": [], - "parameters": { - "Right": 2 - }, - "nullable": [] - }, - "hash": "50a5764546f69c118fa0b64120da50f51073d36257d49768de99ff863e3511e0" -} diff --git a/swap/.sqlx/query-5cc61dd0315571bc198401a354cd9431ee68360941f341386cbacf44ea598de8.json b/swap/.sqlx/query-5cc61dd0315571bc198401a354cd9431ee68360941f341386cbacf44ea598de8.json deleted file mode 100644 index 7f58635f..00000000 --- a/swap/.sqlx/query-5cc61dd0315571bc198401a354cd9431ee68360941f341386cbacf44ea598de8.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n SELECT swap_id, state\n FROM (\n SELECT max(id), swap_id, state\n FROM swap_states\n GROUP BY swap_id\n )\n ", - "describe": { - "columns": [ - { - "name": "swap_id", - "ordinal": 0, - "type_info": "Text" - }, - { - "name": "state", - "ordinal": 1, - "type_info": "Text" - } - ], - "parameters": { - "Right": 0 - }, - "nullable": [ - true, - true - ] - }, - "hash": "5cc61dd0315571bc198401a354cd9431ee68360941f341386cbacf44ea598de8" -} diff --git a/swap/.sqlx/query-88f761a4f7a0429cad1df0b1bebb1c0a27b2a45656549b23076d7542cfa21ecf.json b/swap/.sqlx/query-88f761a4f7a0429cad1df0b1bebb1c0a27b2a45656549b23076d7542cfa21ecf.json deleted file mode 100644 index b7429dcd..00000000 --- a/swap/.sqlx/query-88f761a4f7a0429cad1df0b1bebb1c0a27b2a45656549b23076d7542cfa21ecf.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n SELECT state\n FROM swap_states\n WHERE swap_id = ?\n ORDER BY id desc\n LIMIT 1;\n\n ", - "describe": { - "columns": [ - { - "name": "state", - "ordinal": 0, - "type_info": "Text" - } - ], - "parameters": { - "Right": 1 - }, - "nullable": [ - false - ] - }, - "hash": "88f761a4f7a0429cad1df0b1bebb1c0a27b2a45656549b23076d7542cfa21ecf" -} diff --git a/swap/.sqlx/query-98a8b7f4971e0eb4ab8f5aa688aa22e7fdc6b925de211f7784782f051c2dcd8c.json b/swap/.sqlx/query-98a8b7f4971e0eb4ab8f5aa688aa22e7fdc6b925de211f7784782f051c2dcd8c.json deleted file mode 100644 index 5a5f8c4f..00000000 --- a/swap/.sqlx/query-98a8b7f4971e0eb4ab8f5aa688aa22e7fdc6b925de211f7784782f051c2dcd8c.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "db_name": "SQLite", - "query": "SELECT DISTINCT address FROM monero_addresses", - "describe": { - "columns": [ - { - "name": "address", - "ordinal": 0, - "type_info": "Text" - } - ], - "parameters": { - "Right": 0 - }, - "nullable": [ - false - ] - }, - "hash": "98a8b7f4971e0eb4ab8f5aa688aa22e7fdc6b925de211f7784782f051c2dcd8c" -} diff --git a/swap/.sqlx/query-b703032b4ddc627a1124817477e7a8e5014bdc694c36a14053ef3bb2fc0c69b0.json b/swap/.sqlx/query-b703032b4ddc627a1124817477e7a8e5014bdc694c36a14053ef3bb2fc0c69b0.json deleted file mode 100644 index 79ade14e..00000000 --- a/swap/.sqlx/query-b703032b4ddc627a1124817477e7a8e5014bdc694c36a14053ef3bb2fc0c69b0.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n insert into swap_states (\n swap_id,\n entered_at,\n state\n ) values (?, ?, ?);\n ", - "describe": { - "columns": [], - "parameters": { - "Right": 3 - }, - "nullable": [] - }, - "hash": "b703032b4ddc627a1124817477e7a8e5014bdc694c36a14053ef3bb2fc0c69b0" -} diff --git a/swap/.sqlx/query-ce270dd4a4b9615695a79864240c5401e2122077365e5e5a19408c068c7f9454.json b/swap/.sqlx/query-ce270dd4a4b9615695a79864240c5401e2122077365e5e5a19408c068c7f9454.json deleted file mode 100644 index 4927cda6..00000000 --- a/swap/.sqlx/query-ce270dd4a4b9615695a79864240c5401e2122077365e5e5a19408c068c7f9454.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n SELECT address\n FROM monero_addresses\n WHERE swap_id = ?\n ", - "describe": { - "columns": [ - { - "name": "address", - "ordinal": 0, - "type_info": "Text" - } - ], - "parameters": { - "Right": 1 - }, - "nullable": [ - false - ] - }, - "hash": "ce270dd4a4b9615695a79864240c5401e2122077365e5e5a19408c068c7f9454" -} diff --git a/swap/.sqlx/query-d78acba5eb8563826dd190e0886aa665aae3c6f1e312ee444e65df1c95afe8b2.json b/swap/.sqlx/query-d78acba5eb8563826dd190e0886aa665aae3c6f1e312ee444e65df1c95afe8b2.json deleted file mode 100644 index cf0105e2..00000000 --- a/swap/.sqlx/query-d78acba5eb8563826dd190e0886aa665aae3c6f1e312ee444e65df1c95afe8b2.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n SELECT DISTINCT address\n FROM peer_addresses\n WHERE peer_id = ?\n ", - "describe": { - "columns": [ - { - "name": "address", - "ordinal": 0, - "type_info": "Text" - } - ], - "parameters": { - "Right": 1 - }, - "nullable": [ - false - ] - }, - "hash": "d78acba5eb8563826dd190e0886aa665aae3c6f1e312ee444e65df1c95afe8b2" -} diff --git a/swap/.sqlx/query-e05620f420f8c1022971eeb66a803323a8cf258cbebb2834e3f7cf8f812fa646.json b/swap/.sqlx/query-e05620f420f8c1022971eeb66a803323a8cf258cbebb2834e3f7cf8f812fa646.json deleted file mode 100644 index 5eb6fef3..00000000 --- a/swap/.sqlx/query-e05620f420f8c1022971eeb66a803323a8cf258cbebb2834e3f7cf8f812fa646.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n SELECT state\n FROM swap_states\n WHERE swap_id = ?\n ", - "describe": { - "columns": [ - { - "name": "state", - "ordinal": 0, - "type_info": "Text" - } - ], - "parameters": { - "Right": 1 - }, - "nullable": [ - false - ] - }, - "hash": "e05620f420f8c1022971eeb66a803323a8cf258cbebb2834e3f7cf8f812fa646" -} diff --git a/swap/.sqlx/query-e36c287aa98ae80ad4b6bb6f7e4b59cced041406a9db71da827b09f0d3bacfd6.json b/swap/.sqlx/query-e36c287aa98ae80ad4b6bb6f7e4b59cced041406a9db71da827b09f0d3bacfd6.json deleted file mode 100644 index d836424a..00000000 --- a/swap/.sqlx/query-e36c287aa98ae80ad4b6bb6f7e4b59cced041406a9db71da827b09f0d3bacfd6.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n INSERT INTO buffered_transfer_proofs (\n swap_id,\n proof\n ) VALUES (?, ?);\n ", - "describe": { - "columns": [], - "parameters": { - "Right": 2 - }, - "nullable": [] - }, - "hash": "e36c287aa98ae80ad4b6bb6f7e4b59cced041406a9db71da827b09f0d3bacfd6" -} diff --git a/swap/.sqlx/query-e9d422daf774d099fcbde6c4cda35821da948bd86cc57798b4d8375baf0b51ae.json b/swap/.sqlx/query-e9d422daf774d099fcbde6c4cda35821da948bd86cc57798b4d8375baf0b51ae.json deleted file mode 100644 index f375b6b6..00000000 --- a/swap/.sqlx/query-e9d422daf774d099fcbde6c4cda35821da948bd86cc57798b4d8375baf0b51ae.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "db_name": "SQLite", - "query": "\n SELECT proof\n FROM buffered_transfer_proofs\n WHERE swap_id = ?\n ", - "describe": { - "columns": [ - { - "name": "proof", - "ordinal": 0, - "type_info": "Text" - } - ], - "parameters": { - "Right": 1 - }, - "nullable": [ - false - ] - }, - "hash": "e9d422daf774d099fcbde6c4cda35821da948bd86cc57798b4d8375baf0b51ae" -}