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

Update blocksync message formats #686

Merged
merged 4 commits into from
Sep 4, 2020
Merged

Update blocksync message formats #686

merged 4 commits into from
Sep 4, 2020

Conversation

austinabell
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Updates Cbor format of messages
  • Updates network params and logging
    • Necessary for throughput and block sizes in space race

Reference issue to close (if applicable)

Closes

Other information and links

@austinabell austinabell added Spec Change Updates to implementation required due to a Filecoin spec change after implementation Status: Needs Review labels Sep 4, 2020
// store messages
self.chain_store.put_messages(&b.bls_msgs)?;
self.chain_store.put_messages(&b.secp_msgs)?;
// store messagesc
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment fix

Copy link
Member

@ec2 ec2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

// store messages
self.chain_store.put_messages(&b.bls_msgs)?;
self.chain_store.put_messages(&b.secp_msgs)?;
// store messagesc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// store messagesc
// store messages

@@ -128,8 +128,8 @@ where
warn!("Failed to bootstrap with Kademlia: {}", e);
}

let (network_sender_in, network_receiver_in) = channel(20);
let (network_sender_out, network_receiver_out) = channel(20);
let (network_sender_in, network_receiver_in) = channel(200);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too high, no? Or did you try lower and the channels were choking out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh ooops, didn't mean to swap

@austinabell austinabell merged commit 0809097 into main Sep 4, 2020
@austinabell austinabell deleted the austin/blocksyncupd branch September 4, 2020 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Spec Change Updates to implementation required due to a Filecoin spec change after implementation Status: Needs Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants