Implement __eq__() methods on Revocation, Identity, Membership, and Certification classes
-
Implement __eq__
inDocument
-
Call super().__eq__()
inTransaction
’s__eq__()
method - Implement
__eq__()
and__hash__()
methods in: -
Identity
:-
Revocation
-
Certification
-
-
Membership
Useful to write tests.
__eq__()
is already implemented on Transation
, Block
, and BlockUID
classes.
Edited by Moul