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

Feat/forkchoice reduction #149

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Conversation

naterush
Copy link
Collaborator

@naterush naterush commented Dec 4, 2017

This is not actually meant to be merged (it was a branch off of the old develop). Just a PoC research type deal. This implements the efficient fork choice functions.

I'm running into this weird, random bug where I can't set the color of the nodes. In the plot tool, I run into the error:

ax.collections[0].set_edgecolor("black")
IndexError: list index out of range

When I print ax.collections, it's an empty list. Not sure why this is the case (displaying worked until I made the changes to view). Is it possible there is a dependancy issue? Not sure.

I can't figure out why changing the view in the way I did would change this would have any effect at all, and have been thrashing for a bit w/ it so thought it would be good to get another pair of eyes on it!

@naterush
Copy link
Collaborator Author

naterush commented Dec 4, 2017

@djrtwo if you get a chance, I'd love another set of eyes on this bug. It's very weird and I can't figure out why it would possibly happen :D

@naterush
Copy link
Collaborator Author

naterush commented Dec 5, 2017

The above bug is fixed! The fork choice is unfortunately not the same, though. Going to keep debugging + updating the spec for the algo as necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant