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

Add electrum config for server version, ping strategy and reconnection #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ghost
Copy link

@ghost ghost commented May 10, 2018

Make the client a little more robust by implementing a ping strategy to keep it connected to the peer.

If the connection is closed, it tries to reconnect. Once reconnected it sends again the server/protocol version before issuing any call.

https://github.com/kyuupichan/electrumx/blob/master/docs/protocol-methods.rst

…nect tries when connection is lost

fix: reconnect strategy
@ghost
Copy link
Author

ghost commented May 23, 2018

+1

1 similar comment
@BransonGitomeh
Copy link

+1

@BransonGitomeh
Copy link

any chance of this being merged? @you21979 .please

…lback

feat(persistence): add persistence policy with max retry && final callback
@askz
Copy link

askz commented Jul 9, 2018

+10

@Overtorment
Copy link

Overtorment commented Jan 5, 2019

This doesnt look mainained anymore. Can we agree on a successor and address all PRs there..?

@askz
Copy link

askz commented Jan 7, 2019

Agreed.

Not useful for me anymore so can't take it !

@ghost
Copy link
Author

ghost commented Jan 7, 2019

Let's use this one:

https://github.com/7kharov/node-electrum-client

The current PR has been merged there !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants