Workers Auto Approve
implement abstract message sending retry
Go, Assembly, p2p, blockchain
# Overview / Motivation
`ConnectionPool` manages the open connection we have, we might `Dial` and get a new connection which will be closed later we'll have another connection with the same peer and we decide to keep his.
this causes one of the initiators to cancel his procedure because the connection is stale. we need to figure out the connection is stale as soon as possible and maybe abstract a retry that tries a new connection or tries to locate another existing connection before giving up on the procedure.
# The Task
Implement retries on sending messages which consider connections closing meanwhile and retrying.
this aims to solves that a protocol that requests sending a message will not get a timeout if the connection is closed because of connections conflict. ( we will seamlessly retry sending on the other connection)
# Implementation Notes
TODO: Add links to relevant resources, specs, related issues, etc...
One possible solution is to supply connections only from `ConnectionPool` and wrap them in a way that tries finding a new connection on a message failure (at least once for now) before returning an error.
# Time Estimation
1.5 days (12 hours)
# Contribution Guidelines
Important: Issue assignment to developers will be by the order of their application and proficiency level according to the tasks complexity. We will not assign tasks to developers who have'nt introduced themselves on our Gitter [dev channel](https://gitter.im/spacemesh-os/Lobby)
1. Introduce yourself on go-spacemesh [dev chat channel](https://gitter.im/spacemesh-os/Lobby) - ask our team any question you may have about this task
2. Fork branch `develop` to your own repo and work in your repo
3. You must document all methods, enums and types with [godoc comments](https://blog.golang.org/godoc-documenting-go-code)
4. You must write go unit tests for all types and methods when submitting a component, and integration tests if you submit a feature
5. When ready for code review, submit a PR from your repo back to branch `develop`
6. Attach relevant issue to PR
Setup your profile
Tell us a little about you:
No results found for
Type to search skills..
Required [[totalcharacter]] / 240
Are you currently looking for work?
[[ option.string ]]
Setup your profile
Our tools are based on the principles of earn (💰), learn (📖), and meet (💬).
Select the ones you are interested in. You can change it later in your settings.
I'm also an organization manager looking for a great community.
Enable your organization profile
Gitcoin products can help grow community around your brand. Create your tribe, events, and incentivize your community with bounties. Announce new and upcoming events using townsquare. Find top-quality hackers and fund them to work with you on a grant.
These are the organizations you own. If you don't see your organization here please be sure that information is public on your GitHub profile. Gitcoin will sync this information for you.
Select the products you are interested in:
Out of the box you will receive Tribes Lite for your organization. Please provide us with a contact email: