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

Implement listening for unconfirmed transactions via polling #28

Open
yaaccount opened this issue Dec 5, 2018 · 2 comments
Open

Implement listening for unconfirmed transactions via polling #28

yaaccount opened this issue Dec 5, 2018 · 2 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@yaaccount
Copy link

Implement listening for unconfirmed transactions via polling. Both listening to websocket and polling can co-exist, or we can use polling only.

Motivation: this doesn't work sometimes, it seems it depends on the selected node, but there can be other circumstances involved.

It should be relatively easy - in dabaBridge.service.js, setup a timer, call nem.com.requests.account.transactions.unconfirmed (see getUnconfirmedTransactions) and give the result to the same callback (unconfirmedCallback) as websocket listener does.

Alternatively to timer, this could be triggered on demand via some ui control in the dashboard/unconfirmed transactions tab.

Note: while in there, pay attention how multisig transactions requesting cosigning are reported, maybe we can do it in a better way.

@yaaccount yaaccount added bug Something isn't working enhancement New feature or request labels Dec 5, 2018
@yaaccount
Copy link
Author

yaaccount commented Dec 6, 2018

@yaaccount
Copy link
Author

See my comment here: NemProject#418 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant