mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-22 03:48:01 -05:00
refactor(monero-rpc-pool): ureq -> raw hyper (#487)
* refactor(monero-rpc-pool): ureq -> raw hyper * whitelist "getblocks.bin", refactor config constructors, use arti-client, record lowerst seen block height, small style changes * display effective bandwidth * compact wallet overview page a bit * record latencies correctly * add setting for monero tor routing, add ssl support for hyper, lengthen window duration for bandwidth tracker * remove unwrap * refactor ui * dont fail silently tor bootstrap * some workarounds for buggy wallet2 stuff
This commit is contained in:
parent
cd12d17580
commit
d21baa8350
19 changed files with 957 additions and 741 deletions
|
|
@ -319,6 +319,8 @@ export async function initializeContext() {
|
|||
// For Monero nodes, determine whether to use pool or custom node
|
||||
const useMoneroRpcPool = store.getState().settings.useMoneroRpcPool;
|
||||
|
||||
const useMoneroTor = store.getState().settings.enableMoneroTor;
|
||||
|
||||
const moneroNodeUrl =
|
||||
store.getState().settings.nodes[network][Blockchain.Monero][0] ?? null;
|
||||
|
||||
|
|
@ -341,6 +343,7 @@ export async function initializeContext() {
|
|||
electrum_rpc_urls: bitcoinNodes,
|
||||
monero_node_config: moneroNodeConfig,
|
||||
use_tor: useTor,
|
||||
enable_monero_tor: useMoneroTor,
|
||||
};
|
||||
|
||||
logger.info("Initializing context with settings", tauriSettings);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue