Issue375 - slow comparison of public_key_type#377
Conversation
|
Kudos, SonarCloud Quality Gate passed!
|
nathanielhourt
left a comment
There was a problem hiding this comment.
Unfortunately, it is my understanding from the BitShares folks that this will cause a hardfork. The sorting order of objects can affect consensus, and while it shouldn't matter in sign_state, it does matter, for example, in the database.
The best way forward, I think, is to put together a list of all places where the operator defined here would be used, audit each one to determine whether or not it can affect consensus, and then put hardfork guards around each of them to ensure that the behavior change is handled smoothly.
@nathanhourt |
|
Ahh, I believe you are correct, yes. Ideally it would check the authenticators in an In general, it may be tricky to predict accurately whether a particular sort change could cause a fork or not, which is why I suggest just guarding all of them. There is some complexity yet to be dealt with, however, if any database tables are ordered based on |
…oting' #377 - remove IDs if there were in schedule_set earlier See merge request PBSA/peerplays!121
No description provided.