mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-13 23:39:08 -05:00
Fixes markdown
This commit is contained in:
parent
b11fb1851b
commit
7b764aa917
24
29.md
24
29.md
|
@ -52,16 +52,16 @@ The `WINDOW-SIZE` is a number between 0 and 10 and represents each order of magn
|
|||
|
||||
By truncating the `.created_at` to the first `WINDOW-SIZE` chars, it effectively creates the groups below:
|
||||
|
||||
0: Returns only one hash for the entire subscription
|
||||
1: Groups by periods of 1000000000 seconds (~31.7 years): Periods start with `*000000000 and end with `*999999999`
|
||||
2: Groups by periods of 100000000 seconds (~3.17 years): Periods start with `**00000000 and end with `**99999999`
|
||||
3: Groups by periods of 10000000 seconds (~16.53 weeks): Periods start with `***0000000 and end with `***9999999`
|
||||
4: Groups by periods of 1000000 seconds (~11.57 days): Periods start with `****000000` and end with `****999999`
|
||||
5: Groups by periods of 100000 seconds (~1.16 days): Periods start with `*****00000` and end with `*****99999`
|
||||
6: Groups by periods of 10000 seconds (~2.77 hours): Periods start with `******0000` and end with `******9999`
|
||||
7: Groups by periods of 1000 seconds (~16.66 minutes): Periods start with `*******000` and end with `*******999`
|
||||
8: Groups by periods of 100 seconds (~1.66 minutes): Periods start with `********00` and end with `********99`
|
||||
9: Groups by periods of 10 seconds: Periods start with `*********0` and end with `*********9`
|
||||
10: Groups by periods of 1 second: Periods start with `**********` and end with `**********`
|
||||
- `WINDOW-SIZE=0`: Returns only one hash for the entire subscription
|
||||
- `WINDOW-SIZE=1`: Groups by periods of 1000000000 seconds (~31.7 years): Periods start with `*000000000 and end with `*999999999`
|
||||
- `WINDOW-SIZE=2`: Groups by periods of 100000000 seconds (~3.17 years): Periods start with `**00000000 and end with `**99999999`
|
||||
- `WINDOW-SIZE=3`: Groups by periods of 10000000 seconds (~16.53 weeks): Periods start with `***0000000 and end with `***9999999`
|
||||
- `WINDOW-SIZE=4`: Groups by periods of 1000000 seconds (~11.57 days): Periods start with `****000000` and end with `****999999`
|
||||
- `WINDOW-SIZE=5`: Groups by periods of 100000 seconds (~1.16 days): Periods start with `*****00000` and end with `*****99999`
|
||||
- `WINDOW-SIZE=6`: Groups by periods of 10000 seconds (~2.77 hours): Periods start with `******0000` and end with `******9999`
|
||||
- `WINDOW-SIZE=7`: Groups by periods of 1000 seconds (~16.66 minutes): Periods start with `*******000` and end with `*******999`
|
||||
- `WINDOW-SIZE=8`: Groups by periods of 100 seconds (~1.66 minutes): Periods start with `********00` and end with `********99`
|
||||
- `WINDOW-SIZE=9`: Groups by periods of 10 seconds: Periods start with `*********0` and end with `*********9`
|
||||
- `WINDOW-SIZE=10`: Groups by periods of 1 second: Periods start with `**********` and end with `**********`
|
||||
|
||||
Notice that each group starts at 0 (inclusive) and ends at their last possible number 9 (inclusive).
|
||||
Notice that each group starts at 0 (inclusive) and ends at their last possible number 9 (inclusive).
|
Loading…
Reference in New Issue
Block a user