Multiple protocol documentation issues
Created by: ThibG
The protocol documentation (https://github.com/duniter/duniter/blob/master/doc/Protocol.md) has some outdated information, errors and misleading examples:
- General: character encoding is not defined
- BLOCK_UID
- Hash function not specified
- Examples hint at SHA1 instead of SHA256
- Identity:
- Examples hint at Base58-encoded signatures
- Inline format not defined
- Revocation:
- Inline format not defined
- Certification:
- “Self-certification” should be called “Identity” for consistancy
- Examples hint at Base58-encoded signatures
- It is unclear how to retrieve identity information from the inline format: In fact, it seems to me that a key owner may publish multiple identities, so PUBKEY_TO doesnt seem sufficient to recover the identity. Alternatively, maybe iterating over known identities for that pubkey and taking the first matching certificate signature could work…