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

Don't add empty accounts to bloom #2753

Merged
merged 1 commit into from
Oct 20, 2016
Merged

Don't add empty accounts to bloom #2753

merged 1 commit into from
Oct 20, 2016

Conversation

arkpar
Copy link
Collaborator

@arkpar arkpar commented Oct 20, 2016

No description provided.

@arkpar arkpar added A0-pleasereview 🤓 Pull request needs code review. B0-patch M4-core ⛓ Core client code / Rust. labels Oct 20, 2016
@@ -340,18 +340,18 @@ impl State {

/// Determine whether an account exists.
pub fn exists(&self, a: &Address) -> bool {
self.ensure_cached(a, RequireCache::None, |a| a.is_some())
self.ensure_cached(a, RequireCache::None, false, |a| a.is_some())
Copy link
Contributor

Choose a reason for hiding this comment

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

could use a comment here explaining why this is consensus-critical/ensure that tests will catch it if changed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@rphmeier rphmeier added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Oct 20, 2016
@@ -1 +1 @@
Subproject commit 862b4e3d4a9a7141af1b4aaf7dfe228a6a294614
Subproject commit 97066e40ccd061f727deb5cd860e4d9135aa2551
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't be changed most probably.

Copy link
Contributor

Choose a reason for hiding this comment

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

git submodule update --init?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It is the latest commit. This change is already in master.

@rphmeier rphmeier added A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. and removed A8-looksgood 🦄 Pull request is reviewed well. labels Oct 20, 2016
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 8efbfe9 on bloom-clean into * on master*.

@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. labels Oct 20, 2016
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 3b37feb on bloom-clean into * on master*.

@arkpar arkpar merged commit ae853a7 into master Oct 20, 2016
arkpar added a commit that referenced this pull request Oct 20, 2016
arkpar added a commit that referenced this pull request Oct 20, 2016
* v1.3.9

* Block import optimization (#2748)

* Block import optimization

* whitespace

[ci:none]

* Don't add empty accounts to bloom (#2753)

* Incrementally calculate verification queue heap size (#2749)

* incrementally calculate queue heap size

* query the correct queue sizes
@gavofyork gavofyork deleted the bloom-clean branch November 3, 2016 11:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants