doc: reference BIP-44 address gap logic

This commit is contained in:
Vlad Stan 2023-04-10 13:36:44 +03:00 committed by GitHub
parent f5aa893a01
commit 96d511a58e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
704.md
View File

@ -56,7 +56,7 @@ We notate the above derived `direct message public key` with `dmpk`. Then we ca
The client (creator of the `dmpk`) must:
- use a new send key (`dmpk/0/<index>`) for each event it signs. It starts from `0` and increments after an event is signed.
- create filters for the public keys it expects to receive messages to (`dmpk/1/<index>`). It is recommended to listen for the next `10` keys.
- create filters for the public keys it expects to receive messages to (`dmpk/1/<index>`). It is recommended to listen for the next `10` keys and increment the index once a key is used (see [BIP-44 address gap logic](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#user-content-Address_gap_limit)).
## Exchange the `direct message parent key`
If `Alice` wants to signal `Bob` that she is ready to use this NIP (for more privacy) she must: