-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathversioning-plan.txt
51 lines (47 loc) · 1 KB
/
versioning-plan.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
So simple they will never change
UncheckedUrl
Url
RelayUrl
Unixtime
SubscriptionId
MilliSatoshi
Very unlikely to need versioning due to being fixed by the protocol
Signature (uses a type that is the raw sequence of bytes)
PublicKey (is the raw bytes)
PublicKeyHex
Id (bytes)
IdHex
EventKind (just a u32)
Never serialized
Span
ContentSegment
ShatteredContent
EventDelegation
ZapData
PayRequestData
EventKindOrRange
Dont version right now
Filter (defined structure that only uses types that aren't versioned)
EventAddr
EventReference
EventPointer
Profile
NostrBech32
NostrUrl
DelegationConditions
Versioned:
RelayLimitation
RelayRetention
Fee
RelayFees
RelayInformationDocument
SimpleRelayUsage
SimpleRelayList
Nip05
Metadata
Tag (due to changing fields in enum values)
Rumor (due to Tag)- might not be serialized, but has speedy
PreEvent (due to Tag)- might not be serialized, but has speedy
Event (due to Tag)
RelayMessage
ClientMessage