mirror of
https://github.com/haveno-dex/haveno-ui.git
synced 2025-12-10 06:05:41 -05:00
feat: node settings wired to haveno daemon
- wired node settings to daemon and storage - updated tests and storybook - refactored for simplicity and code quality --- Reviewed-by: localredhead
This commit is contained in:
parent
8eb4694ca2
commit
250d742d48
73 changed files with 1436 additions and 680 deletions
|
|
@ -46,8 +46,9 @@ export const store = {
|
|||
getAccountInfo: async (): Promise<AccountInfoDto> =>
|
||||
ipcRenderer.invoke(IpcChannels.GetAccountInfo),
|
||||
|
||||
setMoneroNode: async (value: string): Promise<void> =>
|
||||
ipcRenderer.invoke(IpcChannels.SetMoneroNode, value),
|
||||
// sets the selected monero node url; empty indicates local node
|
||||
setMoneroNode: async (uri?: string): Promise<void> =>
|
||||
ipcRenderer.invoke(IpcChannels.SetMoneroNode, uri),
|
||||
|
||||
getPreferences: async (): Promise<IPreferences> =>
|
||||
ipcRenderer.invoke(IpcChannels.GetPreferences),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue