Revert some bad docs in Packet -- I think we will still use that. Also rename addMembershipCertificate to more security-descriptive validateAndAddMembershipCertificate, give it a return value, and drop unused force parameter.
This commit is contained in:
parent
56285ec0d4
commit
f398952a6c
4 changed files with 34 additions and 38 deletions
|
@ -179,9 +179,9 @@ public:
|
|||
* Add or update a membership certificate
|
||||
*
|
||||
* @param cert Certificate of membership
|
||||
* @param forceAccept If true, accept without validating signature
|
||||
* @return True if certificate was accepted as valid
|
||||
*/
|
||||
void addMembershipCertificate(const CertificateOfMembership &cert,bool forceAccept);
|
||||
bool validateAndAddMembershipCertificate(const CertificateOfMembership &cert);
|
||||
|
||||
/**
|
||||
* Check if we should push membership certificate to a peer, and update last pushed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue