-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Variables renaming on TaskManager #1185
Conversation
@erikzhang, can you please check this again. I think that this is a good renaming. I closed the other PR because the recent PR #1183 will improve the use of Transaction |
I don't think this is a good renaming. Because |
@erikzhang, I do not understand. Currently, it is just used by the consensus, in the specific case of asking for Speaker txs. Another idea that just came, maybe the restart could just clear specific consensus hashes, if we move to a set for each type (nowadays we have a |
@doubiliu and @Tommo-L, since you are already playing with this I think that this renaming makes the task more clear. I do not see a problem on this because we can have |
From the perspective of |
If you want to rename the |
I agree, @Tommo-L, I prefer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
@erikzhang, can we merge? :) aehuaheauheauea |
My point of view has not changed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New names are better, they are more explicative than the current ones.
I will approve this because, in my opinion, this is a good change.
I'm not going to merge it until Erik agrees.
@erikzhang we can rename to a different one once we starting using it in a different place. There is no reason to make it generic at this point. |
|
It is because I checked the code and the only place where it is used is here: OnPrepareRequestReceived. |
If it is not |
AHeuaheuaea, ok @erikzhang, let's close this. However, the availableInvBlocksTasks looks good renaming... ;D |
This helps for understanding #1148
@erikzhang, please consider this renaming.
RestartTasks
was a name hard to understand.In fact, that class was just used at
ConsensusService
, which forces a restart ofglobal
andknowhashes
I believe that comprehension will improve with this.