ghost43
ghost43
This allows making any message handler async in lnpeer. Note: `process_message` is only called from `_message_loop`. There are(would be) basically three types of message handlers: 1. "traditional blocking msg handlers"....
This implements Electrum Protocol 2.0, see https://github.com/spesmilo/electrumx/pull/90 (formerly named version 1.5). Supersedes https://github.com/spesmilo/electrumx/pull/80 (see existing comments there). Includes https://github.com/spesmilo/electrumx/pull/109.
This PR describes an updated Electrum Protocol, version 2.0 (formerly named version 1.5). Some of these ideas have already been discussed and implemented as part of https://github.com/spesmilo/electrumx/pull/80, however this PR...
As in title, if a server peer closes the transport/session with us while we are testing if it is a valid peer, we might never re-test that server again, as...
An asyncio python client using [`asyncio.BaseTransport.close()`](https://docs.python.org/3/library/asyncio-protocol.html#asyncio.BaseTransport.close) never manages to close a transport (with a Fulcrum server); it must abort it using [`asyncio.WriteTransport.abort`](https://docs.python.org/3/library/asyncio-protocol.html#asyncio.WriteTransport.abort). We have already talked about this on IRC...
(This has been split off from https://github.com/lightningnetwork/lightning-rfc/pull/740#discussion_r399993684) [BOLT-02](https://github.com/lightningnetwork/lightning-rfc/blob/4107c69e315b4f33d5b00459bef919bcfaa64bf2/02-peer-protocol.md) claims: > The channel reserve is specified by the peer's channel_reserve_satoshis: 1% of the channel total is suggested. Each side of a...
[BOLT-02](https://github.com/lightningnetwork/lightning-rfc/blob/6e1bea0d4868cb55fae7590975ae593a228ad3fe/02-peer-protocol.md#requirements-11) says: > A sending node: > - MUST NOT send a commitment_signed message that does not include any updates. I am having some trouble understanding this... To be specific,...
There is no licence file in the git repo. Could you clarify the licence? It would be nice if it was MIT (like the kivy/kivy project is) or similar. I...
On macOS, when using hidapi in a thread other than the main thread, during shutdown of the python process, the application segfaults. AFAICS, depending on the macOS version, it might...
Commit https://github.com/spesmilo/electrum/commit/0c2a885c66d6c8e6c7aff1b1822b27341d4946db from https://github.com/spesmilo/electrum/pull/7918 was reverted in https://github.com/spesmilo/electrum/commit/019d213325312badc55d95a6cabc6278dda47a8a. I intend to re-add that commit -- this PR is here to experiment, and so that we don't forget.