Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Better memory management #516

Merged
merged 10 commits into from Feb 27, 2016
Merged

Better memory management #516

merged 10 commits into from Feb 27, 2016

Conversation

arkpar
Copy link
Collaborator

@arkpar arkpar commented Feb 25, 2016

No description provided.

@arkpar arkpar added the A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. label Feb 25, 2016
impl Default for BlockQueueConfig {
fn default() -> Self {
BlockQueueConfig {
max_queue_size: 30000,
Copy link
Contributor

Choose a reason for hiding this comment

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

No test proof that this options are actually working

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Test added

@@ -220,33 +238,7 @@ const COLLECTION_QUEUE_SIZE: usize = 8;

impl BlockChain {
/// Create new instance of blockchain from given Genesis
///
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

BlockChain is no longer part of the public crate interface

@arkpar arkpar added A0-pleasereview 🤓 Pull request needs code review. and removed A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. labels Feb 25, 2016
@arkpar arkpar closed this Feb 26, 2016
@arkpar arkpar reopened this Feb 26, 2016
@@ -58,6 +58,8 @@ pub struct Spec {

/// Known nodes on the network in enode format.
pub nodes: Vec<String>,
/// Network ID
pub network_id: U256,
Copy link
Contributor

Choose a reason for hiding this comment

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

where does this come from? should it be part of this PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Well, I've added a number of configuration options in this PR, and that's one of them.

@gavofyork gavofyork added A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 26, 2016
@arkpar arkpar added A0-pleasereview 🤓 Pull request needs code review. and removed A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. labels Feb 27, 2016
gavofyork pushed a commit that referenced this pull request Feb 27, 2016
Better memory management
@gavofyork gavofyork merged commit b3f0959 into master Feb 27, 2016
@gavofyork gavofyork deleted the sync branch February 27, 2016 14:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-pleasereview 🤓 Pull request needs code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants