Skip to content

Brainstorming things that a must have in this lib #63

Open
@vincenzopalazzo

Description

@vincenzopalazzo

When I start this project I taken some decisions that today I will never take again, some of them are:

  • Use a singleton instance, this break the possibility to use DI library with the class
  • Create the java version of each command, (I should be used the reflection to make the job)
  • Divided the library into two modules, one is the RPC module with all the RPC calls and JSON calls, and the other one is the plugin module and will create an internal instance of the RPC class.
  • Avoid mixing the structured class with a generic method like rawCall, I would like to have a different class, like LiteCLightningRpc(rpc_path), and ClightninRPC(rpc_path).

I would like to implement some of these changes, like

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions