Ledger format: add missing PayChannel fields for source/destination tags

This commit is contained in:
mDuo13
2017-06-05 19:10:30 -07:00
parent 4cb03632a1
commit 3b5d933c0c
2 changed files with 14 additions and 0 deletions

View File

@@ -422,6 +422,8 @@ A `PayChannel` node has the following fields:
| `Flags` | Number | UInt32 | A bit-map of boolean flags enabled for this payment channel. Currently, the protocol defines no flags for `PayChannel` nodes. |
| `Expiration` | Number | UInt32 | _(Optional)_ The mutable expiration time for this payment channel, in [seconds since the Ripple Epoch](reference-rippled.html#specifying-time). The channel is expired if this value is present and smaller than the previous ledger's [`close_time` field](#header-format). See [Setting Channel Expiration](#setting-channel-expiration) for more details. |
| `CancelAfter` | Number | UInt32 | _(Optional)_ The immutable expiration time for this payment channel, in [seconds since the Ripple Epoch](reference-rippled.html#specifying-time). This channel is expired if this value is present and smaller than the previous ledger's [`close_time` field](#header-format). This is optionally set by the transaction that created the channel, and cannot be changed. |
| SourceTag | Number | UInt32 | _(Optional)_ An arbitrary tag to further specify the source for this payment channel, such as a hosted recipient at the owner's address. |
| DestinationTag | Number | UInt32 | _(Optional)_ An arbitrary tag to further specify the destination for this payment channel, such as a hosted recipient at the destination address. |
[XRP, in drops]: reference-rippled.html#specifying-currency-amounts

View File

@@ -1023,6 +1023,18 @@
<td align="left">UInt32</td>
<td align="left"><em>(Optional)</em> The immutable expiration time for this payment channel, in <a href="reference-rippled.html#specifying-time">seconds since the Ripple Epoch</a>. This channel is expired if this value is present and smaller than the previous ledger's <a href="#header-format"><code>close_time</code> field</a>. This is optionally set by the transaction that created the channel, and cannot be changed.</td>
</tr>
<tr>
<td align="left">SourceTag</td>
<td align="left">Number</td>
<td align="left">UInt32</td>
<td align="left"><em>(Optional)</em> An arbitrary tag to further specify the source for this payment channel, such as a hosted recipient at the owner's address.</td>
</tr>
<tr>
<td align="left">DestinationTag</td>
<td align="left">Number</td>
<td align="left">UInt32</td>
<td align="left"><em>(Optional)</em> An arbitrary tag to further specify the destination for this payment channel, such as a hosted recipient at the destination address.</td>
</tr>
</tbody>
</table>
<h3 id="setting-channel-expiration">Setting Channel Expiration</h3>