You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25b123d6ed
Previously, we relied on the wallet in the `monero-wallet-rpc` daemon to be loaded as we do on startup. As a consequence of this expectation, restarting `monero-wallet-rpc` to fix bugs like #652 resulted in the ASB no longer operating correctly. To fix this, we now load the wallet on-demand in case the daemon responds with the error code -13. Ideally, we would implement this behaviour generically using the proxy pattern on the `MoneroWalletRpc` trait. Unfortunately, when attempting to do so we uncover a limitation in the design of `jsonrpc_client`. This limitation is tracked in https://github.com/thomaseizinger/rust-jsonrpc-client/issues/47. Once fixed, we can implement this logic in a more robust way that is not tied to the `check_tx_key` RPC call but applies to any RPC call automatically. |
3 years ago | |
---|---|---|
.. | ||
asb | 3 years ago | |
bin | 3 years ago | |
bitcoin | 3 years ago | |
cli | 3 years ago | |
database | 3 years ago | |
monero | 3 years ago | |
network | 3 years ago | |
protocol | 3 years ago | |
asb.rs | 3 years ago | |
bitcoin.rs | 3 years ago | |
cli.rs | 3 years ago | |
database.rs | 3 years ago | |
env.rs | 3 years ago | |
fs.rs | 3 years ago | |
kraken.rs | 3 years ago | |
lib.rs | 3 years ago | |
libp2p_ext.rs | 3 years ago | |
monero.rs | 3 years ago | |
monero_ext.rs | 3 years ago | |
network.rs | 3 years ago | |
proptest.rs | 3 years ago | |
protocol.rs | 3 years ago | |
seed.rs | 3 years ago | |
tor.rs | 3 years ago | |
tracing_ext.rs | 3 years ago |