feat(gui): Allow discovery of sellers via connecting to rendezvous point (#83)

We,
- add a new list_sellers Tauri IPC command
- we rename the Seller struct to AliceAddress to name clash
This commit is contained in:
binarybaron 2024-09-19 00:40:51 +02:00 committed by GitHub
parent beccd23280
commit 167e031172
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 164 additions and 57 deletions

View file

@ -177,7 +177,7 @@ function HasNoProvidersSwapWidget() {
const forceShowDialog = useAppSelector((state) => state.swap.state !== null);
const isPublicRegistryDown = useAppSelector((state) =>
isRegistryDown(
state.providers.registry.failedReconnectAttemptsSinceLastSuccess,
state.providers.registry.connectionFailsCount,
),
);
const classes = useStyles();
@ -255,7 +255,7 @@ export default function SwapWidget() {
(state) =>
state.providers.registry.providers === null &&
!isRegistryDown(
state.providers.registry.failedReconnectAttemptsSinceLastSuccess,
state.providers.registry.connectionFailsCount,
),
);