mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 00:45:53 -05:00
doc: reference BIP-44 address gap logic
This commit is contained in:
parent
f5aa893a01
commit
96d511a58e
2
704.md
2
704.md
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user