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

Create A Flow And Service To Share/Synchronise All Accounts #28

Open
opticyclic opened this issue Jul 11, 2019 · 2 comments
Open

Create A Flow And Service To Share/Synchronise All Accounts #28

opticyclic opened this issue Jul 11, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@opticyclic
Copy link
Contributor

There is a service called shareAccountInfoWithParty that the gold-trading example uses for trading using accounts instead of nodes.

It would be useful if there was a function that shared all accounts with another Party/node.

The next logical step would be to have the other node share all their accounts back.

The final step would be to have a function that iterated over all the nodes on the network and shared/synchronised all the accounts between all nodes so that every account would be able to deal with any other account in the same way that every node is automatically able to deal with any other node.

@opticyclic
Copy link
Contributor Author

There seems to be a start of something like this in the cordapp-sweepstake example:

class ShareAccountInfo(private val otherParty: Party) : FlowLogic<Unit>() {

@roger-that-dev
Copy link

Thanks - will look into this.

@roger-that-dev roger-that-dev added the enhancement New feature or request label Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants