Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyln: Add type-annotations and a number of smaller cleanups #3811

Merged
merged 6 commits into from
Sep 23, 2020
Merged

Commits on Sep 19, 2020

  1. Configuration menu
    Copy the full SHA
    9005b58 View commit details
    Browse the repository at this point in the history
  2. pyln-client: Add support to monkey patch the JSONEncoder

    Several times we had issues with plugins not being able to re-encode an RPC
    result because they forgot to use the custom encoder class. This allows us to
    patch the JSONEncoder when we start the RPC or the plugin and automagically
    support classes that provide a `to_json` method.
    cdecker committed Sep 19, 2020
    Configuration menu
    Copy the full SHA
    4764ee1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dbf3b97 View commit details
    Browse the repository at this point in the history
  4. pyln: Add type-annotations to plugin.py

    This should help users that have type-checking enabled.
    cdecker committed Sep 19, 2020
    Configuration menu
    Copy the full SHA
    aad3e6c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    806e6b8 View commit details
    Browse the repository at this point in the history
  6. pyln: Rename LightningNode.fund_channel to fundchannel

    It is inconsistent with the RPC method, which was bothering me for some time.
    cdecker committed Sep 19, 2020
    Configuration menu
    Copy the full SHA
    e802b12 View commit details
    Browse the repository at this point in the history