Skip to content

Commit

Permalink
small typo refactor of "used in"/"depends on" (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
prusnak authored Sep 18, 2024
1 parent 21e3d55 commit 83b682a
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 7 deletions.
2 changes: 2 additions & 0 deletions 05.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

`mandatory`

`used in: NUT-08, NUT-15`

---

Melting tokens is the opposite of minting tokens (see [NUT-04][04]). Like minting tokens, melting is a two-step process: requesting a melt quote and melting tokens. Here, we describe both steps.
Expand Down
2 changes: 2 additions & 0 deletions 07.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

`optional`

`used in: NUT-17`

---

With the token state check, wallets can ask the mint whether a specific proof is already spent and whether it is in-flight in a transaction. Wallets can also request the witness data that was used to spend a proof.
Expand Down
4 changes: 3 additions & 1 deletion 08.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# NUT-08: Lightning fee return

`optional`, `depends on: NUT-05`
`optional`

`depends on: NUT-05`

---

Expand Down
4 changes: 3 additions & 1 deletion 09.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# NUT-09: Restore signatures

`optional` `used in: NUT-13`
`optional`

`used in: NUT-13`

---

Expand Down
2 changes: 2 additions & 0 deletions 10.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

`optional`

`used in: NUT-11, NUT-14`

---

An ordinary ecash token is a set of `Proofs` each with a random string `secret`. To spend such a token in a [swap][03] or a [melt][05] operation, wallets include `proofs` in their request each with a unique `secret`. To autorize a transaction, the mint requires that the `secret` has not been seen before. This is the most fundamental spending condition in Cashu, which ensures that a token can't be double-spent.
Expand Down
4 changes: 3 additions & 1 deletion 11.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# NUT-11: Pay to Public Key (P2PK)

`optional`, `depends on: NUT-10`
`optional`

`depends on: NUT-10`

---

Expand Down
4 changes: 3 additions & 1 deletion 13.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# NUT-13: Deterministic Secrets

`optional` `depends on: NUT-09`
`optional`

`depends on: NUT-09`

---

Expand Down
4 changes: 3 additions & 1 deletion 14.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# NUT-14: Hashed Timelock Contracts (HTLCs)

`optional` `depends on: NUT-10`
`optional`

`depends on: NUT-10`

---

Expand Down
4 changes: 3 additions & 1 deletion 15.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# NUT-15: Partial multi-path payments

`optional` `depends on: NUT-05`
`optional`

`depends on: NUT-05`

---

Expand Down
4 changes: 3 additions & 1 deletion 17.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# NUT-17: WebSockets

`optional`, `depends on: NUT-07`
`optional`

`depends on: NUT-07`

---

Expand Down

0 comments on commit 83b682a

Please sign in to comment.