Closed dkent600 closed 6 years ago
All of voting machines assume that the contract using them is implementing GenesisProtocolExecuteInterface and GenesisProtocolCallbacksInterface.
GenesisProtocolExecuteInterface
GenesisProtocolCallbacksInterface
Do the names of these interfaces really imply anything about GenesisProtocol or voting machines/schemes in general?
Would it make more sense to be named something more generic like ProposalExecuteInterface and ContractCallbacksInterface?
ProposalExecuteInterface
ContractCallbacksInterface
Otherwise it is confusing to those reading the code, and we could do well to document the reasons behind the naming.
ProposalExecuteInterface VotingCallbacksInterface
All of voting machines assume that the contract using them is implementing
GenesisProtocolExecuteInterface
andGenesisProtocolCallbacksInterface
.Do the names of these interfaces really imply anything about GenesisProtocol or voting machines/schemes in general?
Would it make more sense to be named something more generic like
ProposalExecuteInterface
andContractCallbacksInterface
?Otherwise it is confusing to those reading the code, and we could do well to document the reasons behind the naming.