mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
ServerProxy does not seem to be thread-safe. For e.g. a 2of3 multisig wallet, which would send two messages, one msg would get sent but the other might error out. See trace: E | plugins.cosigner_pool.qt.Plugin | on_failure Traceback (most recent call last): File "...\electrum\electrum\gui\qt\util.py", line 832, in run result = task.task() File "...\electrum\electrum\plugins\cosigner_pool\qt.py", line 199, in <lambda> task = lambda: server.put(_hash, message) File "...\Python38\lib\xmlrpc\client.py", line 1109, in __call__ return self.__send(self.__name, args) File "...\Python38\lib\xmlrpc\client.py", line 1450, in __request response = self.__transport.request( File "...\Python38\lib\xmlrpc\client.py", line 1153, in request return self.single_request(host, handler, request_body, verbose) File "...\Python38\lib\xmlrpc\client.py", line 1165, in single_request http_conn = self.send_request(host, handler, request_body, verbose) File "...\Python38\lib\xmlrpc\client.py", line 1271, in send_request connection.putrequest("POST", handler, skip_accept_encoding=True) File "...\Python38\lib\http\client.py", line 1088, in putrequest raise CannotSendRequest(self.__state) http.client.CannotSendRequest: Request-sent |
||
---|---|---|
.. | ||
audio_modem | ||
bitbox02 | ||
coldcard | ||
cosigner_pool | ||
digitalbitbox | ||
email_requests | ||
hw_wallet | ||
keepkey | ||
labels | ||
ledger | ||
revealer | ||
safe_t | ||
trezor | ||
trustedcoin | ||
virtualkeyboard | ||
__init__.py | ||
README |
Plugin rules: * The plugin system of Electrum is designed to allow the development of new features without increasing the core code of Electrum. * Electrum is written in pure python. if you want to add a feature that requires non-python libraries, then it must be submitted as a plugin. If the feature you want to add requires communication with a remote server (not an Electrum server), then it should be a plugin as well. If the feature you want to add introduces new dependencies in the code, then it should probably be a plugin. * We expect plugin developers to maintain their plugin code. However, once a plugin is merged in Electrum, we will have to maintain it too, because changes in the Electrum code often require updates in the plugin code. Therefore, plugins have to be easy to maintain. If we believe that a plugin will create too much maintenance work in the future, it will be rejected. * Plugins should be compatible with Electrum's conventions. If your plugin does not fit with Electrum's architecture, or if we believe that it will create too much maintenance work, it will not be accepted. In particular, do not duplicate existing Electrum code in your plugin. * We may decide to remove a plugin after it has been merged in Electrum. For this reason, a plugin must be easily removable, without putting at risk the user's bitcoins. If we feel that a plugin cannot be removed without threatening users who rely on it, we will not merge it.