Skip to content

Offer selectable strategies for local caching of channel state #7

Open
@vforvalerio87

Description

Current behavior:
Right now channel state is re-fetched from the daemon at every call: the reason is that another application using the same private key and channel (example: dapp or CLI) may update the state of that channel for that user and the sdk wouldn't know about it

Desired behavior:
Allow users to specify pluggable caching strategies for channel state. Example: store in a variable for the current session, store to local file system, store to shared file system or database (this way multiple SDK instances could share the same channel)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions