hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
310 stars 135 forks source link

Voting calculation change #5356

Open swirlds-automation opened 1 year ago

swirlds-automation commented 1 year ago

Right now, 4 of the equations are passed a witness y that we are voting on, but should instead be passed a creator ID m, whose witness is being voted on. For example, vote(x,y) returns a boolean for whether x is voting yes for witness y. That will be changed to vote(x,m) which returns the witness y created by m for which X is voting yes.  (Or null if it isn't voting yes for any witness created by m).  The switch will affect votefirstVotecopyVote, and decide. In all those cases, we will have a parameter m (creator ID) instead of y (a witness). 

swirlds-automation commented 1 year ago

migrated from: url=https://github.com/swirlds/swirlds-platform/issues/6486 author:lpetrovic05, #:6486, createdAt:2022-12-29T07:10:39Z, updatedAt=2023-02-17T22:51:39Z labels=Migration:Hashgraph

poulok commented 11 months ago

@lpetrovic05 is this ticket still valid?

lpetrovic05 commented 10 months ago

@lpetrovic05 is this ticket still valid?

I can only tell you that this was not done, I am not sure if it needs to be done. We should discuss with with Leemon.