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

Payments. Provider constantly notifies current Consumer's balance #346

Closed
Waldz opened this issue Sep 11, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@Waldz
Copy link
Member

commented Sep 11, 2018

IN ORDER TO be up-to-date
AS A Service Consumer
I WANT TO I want to know what is my remote balance

Acceptance Criteria:

  • Provider tells your Consumer's current Balance to Consumer
  • To calculate Consumer’s Balance(=Promised amount - Used amount) of usage Myst/second measurement unit is being used.

@Waldz Waldz changed the title Payments. Provider constantly notifies current Consumer's Balance Payments. Provider constantly notifies current Consumer's balance Sep 12, 2018

@Waldz Waldz self-assigned this Sep 12, 2018

@Waldz

This comment has been minimized.

Copy link
Member Author

commented Sep 15, 2018

  • Create promise.BallanseMessage
  • Create promise.BallanseMessage sender&receiver
  • Create connection.PromiseIssuer to process promises on Consumer side
  • Inject identity.Dialog to connection.PromiseIssuer
  • Inject identity.Signer to connection.PromiseIssuer
  • Create connection.PromiseProcessor to process promises on Provider side
  • Log ballance messages
  • Send ballance messages
  • Create noopPromiseIssuer and noopPromiseProcessor with 0 money
@Waldz

This comment has been minimized.

Copy link
Member Author

commented Oct 2, 2018

This story was blocked by #382 for long time. Not anymore

@Waldz Waldz closed this in #381 Oct 3, 2018

@ramzius ramzius added this to the Working promise engine POC milestone Oct 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.