add reviewer fixes

This commit is contained in:
Oliver Eggert
2026-06-23 17:04:40 -07:00
parent d8ed8610a7
commit 7cb8931fdf
19 changed files with 19 additions and 23 deletions

View File

@@ -7,9 +7,7 @@ labels:
- Payment Channel
---
# channel_verify
[[ソース]](https://github.com/XRPLF/rippled/blob/cdee9a675c0e571b5c86dc01550a554a42e6f85c/src/xrpld/rpc/handlers/ChannelVerify.cpp#L30 "Source")
_[PayChan Amendment][]が有効になっている必要があります。{% badge href="https://github.com/XRPLF/rippled/releases/tag/0.33.0" %}新規: rippled 0.33.0{% /badge %}_
{% source-link path="src/xrpld/rpc/handlers/ChannelVerify.cpp" /%}
`channel_verify`メソッドは、特定額のXRPをPayment Channelから清算するときに使用できる署名の有効性を検証します。

View File

@@ -157,7 +157,7 @@ curated_anchors:
各フィールドタイプには任意のタイプコードが含まれており、番号が小さいコードから最初にソートされます。これらのコードは{% source-link name="SField.h" path="include/xrpl/protocol/SField.h#L60-L98" /%}で定義されています。
たとえば {% source-link name="UInt32のタイプコードが2である" path="include/xrpl/protocol/SField.h#L67" /%}ので、すべてのUInt32フィールドは、すべての{% source-link name="Amountフィールドタイプコード6" path="include/xrpl/protocol/SField.h#L71" /%}よりも前に位置します。
たとえば {% source-link name="UInt32のタイプコードが2である" path="include/xrpl/protocol/SField.h#L48" /%}ので、すべてのUInt32フィールドは、すべての{% source-link name="Amountフィールドタイプコード6" path="include/xrpl/protocol/SField.h#L52" /%}よりも前に位置します。
[定義ファイル](#定義ファイル)には、`TYPES`マップの各タイプのタイプコードがリストされています。
@@ -165,7 +165,7 @@ curated_anchors:
各フィールドにはフィールドコードが含まれています。フィールドコードは、同じタイプのフィールドをソートするときに使用され、番号が小さいコードが最初になるようにソートされます。これらのフィールドは{% source-link name="sfields/macro" path="include/xrpl/protocol/detail/sfields.macro" /%}で定義されています。
たとえば[Paymentトランザクション][]の`Account`フィールドの{% source-link name="ソートコードが1である" path="include/xrpl/protocol/detail/sfields.macro#L269" /%}場合、このフィールドは`Destination`フィールド({% source-link name="ソートコードが3である" path="include/xrpl/protocol/detail/sfields.macro#L271" /%}フィールド)よりも前に位置します。
たとえば[Paymentトランザクション][]の`Account`フィールドの{% source-link name="ソートコードが1である" path="include/xrpl/protocol/detail/sfields.macro#L304" /%}場合、このフィールドは`Destination`フィールド({% source-link name="ソートコードが3である" path="include/xrpl/protocol/detail/sfields.macro#L306" /%}フィールド)よりも前に位置します。
フィールドコードは異なるフィールドタイプのフィールドで再利用されますが、同じタイプのフィールドに同じフィールドコードが含まれることはありません。タイプコードとフィールドコードを組み合わせると、フィールドの一意の[フィールドID](#フィールドid)になります。

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: create
---
# XChainAccountCreateCommit
{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L466-L474" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L314-L345" /%}
発行チェーンにトランザクションを送信するために、Witnessサーバ用の新しいアカウントを作成します。このトランザクションはXRP-XRPブリッジにのみ使用できます。

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: create
---
# XChainAddAccountCreateAttestation
{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L447-L464" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L255-L287" /%}
`XChainAccountCreateCommit`トランザクションがもう一方のチェーンで発生したというWitnessサーバからの証明を提示します。

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: modify
---
# XChainAddClaimAttestation
{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L429-L445" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L221-L253" /%}
`XChainCommit`トランザクションを証明するWitnessサーバの署名を提供します。

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: finish
---
# XChainClaim
{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L418-L427" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L94-L126" /%}
`XChainClaim`トランザクションはクロスチェーンでの価値の移転を完了させます。`XChainClaim`トランザクションにより、ユーザは送信元チェーンでロックされた価値と同等の価値を送信先チェーンで請求することができます。ユーザは、送金元チェーンでロックされた価値に関連付けられたクロスチェーン請求ID`Account`フィールド)を所有している場合にのみ、その価値を請求することができます。ユーザは誰にでも資金を送ることができます(`Destination`フィールド)。このトランザクションが必要になるのは`XChainCommit`トランザクションで`OtherChainDestination`が指定されていない場合、または自動送金で何か問題が発生した場合のみです。

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: send
---
# XChainCommit
{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L408-L416" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L133-L167" /%}
クロスチェーン送金の2番目のステップです。`XChainCommit`は発行チェーンでラップできるようにロックチェーンで資産を保管したり、ロックチェーンで返却できるように発行チェーンでラップされた資産をバーンしたりします。

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: create
---
# XChainCreateBridge
{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L381-L388" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L12-L43" /%}
新しい`Bridge`レジャーオブジェクトを作成し、トランザクショ ンが送信されたチェーン上に新しいクロスチェーンブリッジの入り口を定義します。これにはブリッジのドアアカウントと資産に関する情報が含まれます。

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: create
---
# XChainCreateClaimID
{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L399-L406" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L179-L210" /%}
`XChainCreateClaimID`トランザクションはクロスチェーン送金に使われる新しいクロスチェーン請求IDを作成します。クロスチェーン請求IDは*1つの*クロスチェーン送金を表します。

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: modify
---
# XChainModifyBridge
{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L390-L397" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L45-L79" /%}
`XChainModifyBridge`トランザクションでは、ブリッジ管理者がブリッジの設定を変更することができます。変更できるのは`SignatureReward``MinAccountCreateAmount`だけです。

View File

@@ -9,8 +9,6 @@ labels:
The `channel_verify` method checks the validity of a signature that can be used to redeem a specific amount of XRP from a payment channel.
{% amendment-disclaimer name="PayChan" /%}
## Request Format
An example of the request format:

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: create
---
# XChainAccountCreateCommit
{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L314-L345" /%}
Create a new account for a [witness server](../../../../concepts/xrpl-sidechains/witness-servers.md) to submit transactions on an issuing chain. This transaction can only be used for XRP-XRP bridges.

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: create
---
# XChainAddAccountCreateAttestation
{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L255-L287" /%}
Provide an attestation from a [witness server](../../../../concepts/xrpl-sidechains/witness-servers.md) that an `XChainAccountCreateCommit` transaction occurred on the other chain.

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: modify
---
# XChainAddClaimAttestation
{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L221-L253" /%}
Provide proof from a [witness server](../../../../concepts/xrpl-sidechains/witness-servers.md) attesting to an `XChainCommit` transaction.

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: finish
---
# XChainClaim
{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L94-L126" /%}
Complete a [cross-chain transfer of value](../../../../concepts/xrpl-sidechains/cross-chain-bridges.md). It allows a user to claim the value on the destination chain - the equivalent of the value locked on the source chain. A user can only claim the value if they own the cross-chain claim ID associated with the value locked on the source chain (the `Account` field). The user can send the funds to anyone (the `Destination` field). This transaction is only needed if an `OtherChainDestination` isn't specified in the `XChainCommit` transaction, or if something goes wrong with the automatic transfer of funds.

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: send
---
# XChainCommit
{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L133-L167" /%}
Do the second step in a [cross-chain transfer](../../../../concepts/xrpl-sidechains/cross-chain-bridges.md). This transaction has two modes:

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: create
---
# XChainCreateBridge
{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L12-L43" /%}
Create a new [cross-chain bridge](../../../../concepts/xrpl-sidechains/cross-chain-bridges.md) on the chain that the transaction is submitted on, providing information about door accounts and assets for the bridge.

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: create
---
# XChainCreateClaimID
{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L179-L210" /%}
Create a new cross-chain claim ID that is used for a [cross-chain transfer](../../../../concepts/xrpl-sidechains/cross-chain-bridges.md). A cross-chain claim ID represents *one* cross-chain transfer of value.

View File

@@ -8,7 +8,7 @@ status: not_enabled
txIcon: modify
---
# XChainModifyBridge
{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%}
{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L45-L79" /%}
Modify the parameters of a [cross-chain bridge](../../../../concepts/xrpl-sidechains/cross-chain-bridges.md). Only managers can send this transaction, and they can only change the `SignatureReward` and the `MinAccountCreateAmount`.