Fix formatting issue

pull/303/head
Karl Oczadly 2021-10-11 20:00:58 +01:00 zatwierdzone przez GitHub
rodzic 8fd0def332
commit 5771efe844
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 24 dodań i 22 usunięć

Wyświetl plik

@ -424,12 +424,14 @@ and guest.
</channel>
```
#### [Nano](https://nano.org)
#### Nano
For the `<podcast:value>` tag, the following attributes MUST be used:
Specification for Value 4 Value integration with the [Nano](https://nano.org) cryptocurrency.
For the `<podcast:value>` tag, the following attributes are applicable:
- `type` (*required*): "nano"
- `method` (*required*): "sendblock"
- `suggested` (*optional*): A float representing the amount in nano (eg. 0.025)
- `suggested` (*optional*): A float representing the amount in nano (eg. 0.00025)
For the `<podcast:valueRecipient>` tag, the following attributes MUST be used:
- `type`: "account"
@ -437,23 +439,23 @@ For the `<podcast:valueRecipient>` tag, the following attributes MUST be used:
- `split`: \<*the number of shares*\>
#### Example
<details><summary>Click to expand example</summary>
***Note:** The following is a made up example, and the example accounts shown are for demonstration purposes only.*
```xml
<podcast:value type="nano" method="sendblock" suggested="0.0000001">
<podcast:valueRecipient
name="John Vallis (Host)"
type="account"
address="nano_3fegpdys1a3ncscmhagn3yxdrf5s9kb8drorsi75399omnwjbcp87cyibzyx"
split="50"
/>
<podcast:valueRecipient
name="Paul Itoi (Guest)"
type="account"
address="nano_1ero6egquwf3bkh4h5ksf7ghumehn3c131opqe65bsi5q17huwjsnhcp8kxd"
split="50"
/>
***Note:** The following is a made up example, and the accounts shown are for demonstration purposes only.*
```xml
<channel>
<podcast:value type="nano" method="sendblock" suggested="0.0001">
<podcast:valueRecipient
name="John Doe (Host)"
type="account"
address="nano_3fegpdys1a3ncscmhagn3yxdrf5s9kb8drorsi75399omnwjbcp87cyibzyx"
split="50"
/>
<podcast:valueRecipient
name="Jane Doe (Guest)"
type="account"
address="nano_1ero6egquwf3bkh4h5ksf7ghumehn3c131opqe65bsi5q17huwjsnhcp8kxd"
split="50"
/>
</podcast:value>
```
</details>
</channel>
```