We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d3d07c + 8fdf18d commit f450be4Copy full SHA for f450be4
src/prelude.rs
@@ -21,7 +21,9 @@ pub use MostroError::*;
21
pub const MAX_RATING: u8 = 5;
22
// Min rating for a user
23
pub const MIN_RATING: u8 = 1;
24
-// All events broadcasted by Mostro daemon are Parameterized Replaceable Events
25
-// and the event kind must be between 30000 and 39999
26
-pub const NOSTR_REPLACEABLE_EVENT_KIND: u16 = 38383;
+// Addressable event kind must be between 30000 and 39999 (NIP-1)
+pub const NOSTR_ORDER_EVENT_KIND: u16 = 38383;
+pub const NOSTR_RATING_EVENT_KIND: u16 = 38384;
27
+pub const NOSTR_INFO_EVENT_KIND: u16 = 38385;
28
+pub const NOSTR_DISPUTE_EVENT_KIND: u16 = 38386;
29
pub(crate) const PROTOCOL_VER: u8 = 1;
0 commit comments