MCPcopy Create free account

hub / github.com/darosior/ledger_installer / functions

Functions79 in github.com/darosior/ledger_installer

↓ 16 callersMethodsend_to_gui
Send a LedgerMessage to the GUI via async-channel
gui/src/ledger_service.rs:350
↓ 11 callersMethodis_none
(&self)
gui/src/ledger_service.rs:231
↓ 6 callersMethodis_some
(&self)
gui/src/ledger_service.rs:236
↓ 5 callersMethodsend_ledger_msg
(&self, msg: LedgerMessage)
gui/src/gui.rs:61
↓ 4 callersMethodinstall
(&mut self, testnet: bool)
gui/src/ledger_service.rs:481
↓ 3 callersFunctionbitcoin_latest_app
Get the Bitcoin app information for this device from the "catalog" (as Ledger Live calls it). Set `is_testnet` to `true` to get the Test app instead.
ledger_manager/src/lib.rs:611
↓ 3 callersMethodconnect
(&self)
gui/src/ledger_service.rs:454
↓ 3 callersMethodpoll
Try to connect to the ledger device and get firmware/bitcoin-apps versions
gui/src/ledger_service.rs:392
↓ 3 callersFunctionquery_via_websocket
Some actions, such as installing apps or upgrading the firmware, are done in Ledger Live by opening a socket so a remote server communicates directly
ledger_manager/src/lib.rs:300
↓ 2 callersMethodactive
(&self, style: &Self::Style)
gui/src/theme/mod.rs:88
↓ 2 callersFunctionbitcoin_app_installed
Get the installed Bitcoin app, if any. Set `is_testnet` to look for the testnet Bitcoin app.
ledger_manager/src/lib.rs:470
↓ 2 callersFunctionbitcoin_apps_by_hashes
Returns a Vec of Options as some elements in the response's JSON array may be `null`. Get metadata about a list of Bitcoin apps identified by their ha
ledger_manager/src/lib.rs:555
↓ 2 callersFunctionbtn
( version: &Version, latest: &Version, install_msg: Option<Message>, update_ms
gui/src/gui.rs:395
↓ 2 callersFunctiondeser_apdu_command
(hex_str: &str)
ledger_manager/src/lib.rs:276
↓ 2 callersFunctiondevice_info
(ledger_api: &TransportNativeHID)
gui/src/ledger_service.rs:144
↓ 2 callersFunctiongenuine_check
Check whether the Ledger device is genuine.
ledger_manager/src/lib.rs:640
↓ 2 callersFunctionget_latest_apps
Get the Bitcoin apps information for this device from the "catalog" (as Ledger Live calls it). This uses the v2 API. See for reference: - https://gith
ledger_manager/src/lib.rs:579
↓ 2 callersFunctioninstall_app
( ledger_api: &TransportNativeHID, device_info: &DeviceInfo, app: &BitcoinAppInfo, )
ledger_manager/src/lib.rs:661
↓ 2 callersFunctioninstall_app
Install the Bitcoin app on the device.
cli/src/main.rs:108
↓ 2 callersFunctionlist_installed_apps
Get the metadata of the applications installed on the device. This calls the Ledger API, to only query the data available from the device see `list_in
ledger_manager/src/lib.rs:456
↓ 2 callersFunctionlist_installed_apps_raw
Get a list of applications installed on this device.
ledger_manager/src/lib.rs:398
↓ 2 callersFunctionopen_app
(ledger_api: &TransportNativeHID, is_testnet: bool)
cli/src/main.rs:133
↓ 2 callersMethodpoll_later
Delayed self sent message in order to call poll() later
gui/src/ledger_service.rs:381
↓ 2 callersFunctionraw_btn
(txt: &str, msg: Option<Message>)
gui/src/gui.rs:380
↓ 2 callersFunctionupdate_app
(ledger_api: &TransportNativeHID, is_testnet: bool)
cli/src/main.rs:120
↓ 2 callersFunctionversion
(version: Version)
gui/src/gui.rs:416
↓ 1 callersFunctionapps_container
( bitcoin_version: Version, bitcoin_latest: Version, test_version: Version, test_latest: Versi
gui/src/gui.rs:366
↓ 1 callersFunctioncheck_apps_installed
( transport: &TransportNativeHID, msg_callback: M, )
gui/src/ledger_service.rs:18
↓ 1 callersFunctioncheck_latest_apps
( transport: &TransportNativeHID, msg_callback: M, )
gui/src/ledger_service.rs:59
↓ 1 callersFunctiondevice_container
( model: Option<String>, version: Option<String>, is_genuine: Option<bool>, device_busy: bool,
gui/src/gui.rs:297
↓ 1 callersFunctiondevice_info
(ledger_api: &TransportNativeHID)
cli/src/main.rs:77
↓ 1 callersMethodgenuine_check
(&mut self)
gui/src/ledger_service.rs:521
↓ 1 callersFunctionget_version_info
( transport: TransportNativeHID, actual_device_version: &Option<String>, version_callback: V,
gui/src/ledger_service.rs:158
↓ 1 callersMethodhandle_message
Handle a LedgerMessage received from the GUI via async-channel
gui/src/ledger_service.rs:361
↓ 1 callersFunctioninstall_app
(transport: &TransportNativeHID, msg_callback: M, testnet: bool)
gui/src/ledger_service.rs:87
↓ 1 callersMethodinstall_app
(&mut self, testnet: bool)
gui/src/ledger_service.rs:494
↓ 1 callersFunctioninstall_bitcoin_app
Install the Bitcoin application on this device. Set `is_testnet` to `true` to install the testnet app instead.
ledger_manager/src/lib.rs:680
↓ 1 callersMethodinstall_main
(&mut self)
gui/src/ledger_service.rs:505
↓ 1 callersMethodinstall_test
(&mut self)
gui/src/ledger_service.rs:513
↓ 1 callersFunctionis_bitcoin_app_installed
Whether the Bitcoin app is installed on this device.
ledger_manager/src/lib.rs:485
↓ 1 callersFunctionledger_api
()
cli/src/main.rs:66
↓ 1 callersFunctionledger_api
()
gui/src/ledger_service.rs:140
↓ 1 callersFunctionopen_bitcoin_app
Open the given application on the device.
ledger_manager/src/lib.rs:620
↓ 1 callersFunctionperform_genuine_check
(ledger_api: &TransportNativeHID)
cli/src/main.rs:99
↓ 1 callersFunctionprint_ledger_info
(ledger_api: &TransportNativeHID)
cli/src/main.rs:84
↓ 1 callersMethodrun
(&mut self)
gui/src/ledger_service.rs:576
↓ 1 callersFunctionset_logger
(verbose: bool)
gui/src/logger.rs:4
↓ 1 callersMethodstart
(mut self)
gui/src/ledger_service.rs:344
↓ 1 callersMethodupdate_apps_version
(&self)
gui/src/ledger_service.rs:462
↓ 1 callersFunctionupdate_bitcoin_app
Update the Bitcoin application on this device. Set `is_testnet` to `true` to install the testnet app instead.
ledger_manager/src/lib.rs:715
↓ 1 callersMethodupdate_main
(&mut self)
gui/src/ledger_service.rs:509
↓ 1 callersMethodupdate_test
(&mut self)
gui/src/ledger_service.rs:517
Methodappearance
(&self, _style: &Self::Style)
gui/src/theme/mod.rs:21
Methoddisabled
(&self, style: &Self::Style)
gui/src/theme/mod.rs:147
Methoddisabled_color
(&self, _style: &Self::Style)
gui/src/theme/mod.rs:159
Methoddisplay_message
(sender: &Sender<LedgerMessage>, msg: &str, alarm: bool)
gui/src/ledger_service.rs:547
Methoddragging
(&self, _style: &Self::Style)
gui/src/theme/mod.rs:239
Methodeq
(&self, other: &Self)
gui/src/ledger_service.rs:261
Methodfmt
(&self, f: &mut Formatter<'_>)
gui/src/ledger_service.rs:242
Methodfocused
(&self, style: &Self::Style)
gui/src/theme/mod.rs:153
Methodfrom
(_: Result<(), iced::font::Error>)
gui/src/gui.rs:38
Methodfrom
(color: iced::Color)
gui/src/theme/mod.rs:39
Methodfrom_app_firmware
Determine device model based on BitcoinAppInfo.firmware value
gui/src/ledger_service.rs:295
Methodfrom_device
(device_info: &DeviceInfo)
ledger_manager/src/lib.rs:503
Methodget
Read command from environment variables.
cli/src/main.rs:32
Methodhovered
(&self, style: &Self::Style)
gui/src/theme/mod.rs:106
Functionmain
()
cli/src/main.rs:139
Functionmain
()
gui/src/main.rs:15
Methodnew
Query information about this device. Adapted from https://github.com/LedgerHQ/ledger-live/blob/dd1d17fd3ce7ed42558204b2f93707fb9b1599de/libs/device-c
ledger_manager/src/lib.rs:129
Methodnew
(args: Self::Flags)
gui/src/gui.rs:73
Methodnew
( sender: Sender<LedgerMessage>, receiver: Receiver<LedgerMessage>, loopback: Sender<L
gui/src/ledger_service.rs:559
Methodplaceholder_color
(&self, _style: &Self::Style)
gui/src/theme/mod.rs:163
Methodselection_color
(&self, _style: &Self::Style)
gui/src/theme/mod.rs:171
Methodsubscription
(&self)
gui/src/gui.rs:290
Methodtheme
(&self)
gui/src/gui.rs:286
Methodtitle
(&self)
gui/src/gui.rs:93
Methodupdate
(&mut self, event: Message)
gui/src/gui.rs:97
Methodvalue_color
(&self, _style: &Self::Style)
gui/src/theme/mod.rs:167
Methodview
(&self)
gui/src/gui.rs:183