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

instead of fire-first network requests, node should request to transmit #3

Open
Jovonni opened this issue Mar 2, 2020 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@Jovonni
Copy link
Contributor

Jovonni commented Mar 2, 2020

The mechanism to request should be configurable
For example, behavior like:

if Server::broadcast_proposal_response(proposal.clone(), peer.clone().location, node_ip.clone(), ProposalStatus::Accepted).is_ok() {
    DB::update_proposal(proposal.clone(), "accepted_broadcasted");
} else {
    ...
}

should be requested first, or only allowed to be submitted to a node if the node states it is available to receive requests.

@Jovonni Jovonni added bug Something isn't working enhancement New feature or request labels Mar 2, 2020
@Jovonni Jovonni self-assigned this Mar 2, 2020
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