-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[JA] Add Batch #3166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[JA] Add Batch #3166
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- スワップ(マルチアカウント):複数のアカウント間でのトラストレスなトークン/NFTスワップ。 | ||
- アカウント引き出し(マルチアカウント):当座預金からの引き出しを試行し、失敗した場合は代わりに普通預金から引き出します。 | ||
|
||
`Batch`トランザクションは、ラッパーである`Batch`トランザクション自体の_外部トランザクション_と、それぞれがアトミックに実行される_内部トランザクション_で構成されます。内部トランザクションの正確な処理方法は、バッチ_モード_によって決まります。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`Batch`トランザクションは、ラッパーである`Batch`トランザクション自体の_外部トランザクション_と、それぞれがアトミックに実行される_内部トランザクション_で構成されます。内部トランザクションの正確な処理方法は、バッチ_モード_によって決まります。 | |
`Batch`トランザクションは、ラッパーである`Batch`トランザクション自体の _外部トランザクション_ と、それぞれがアトミックに実行される _内部トランザクション_ で構成されます。内部トランザクションの正確な処理方法は、バッチ _モード_ によって決まります。 |
|
||
## バッチのモード | ||
|
||
`Batch`には4つのモードがあります:`ALLORNOTHING`、`ONLYONE`、`UNTILFAILURE`、`INDEPENDENT`。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`Batch`には4つのモードがあります:`ALLORNOTHING`、`ONLYONE`、`UNTILFAILURE`、`INDEPENDENT`。 | |
`Batch`には`ALLORNOTHING`、`ONLYONE`、`UNTILFAILURE`、`INDEPENDENT`の4つのモードがあります。 |
|
||
### All or Nothing(全て成功か全て失敗) | ||
|
||
`ALLORNOTHING`モードでは、いずれかのトランザクションが成功するには、全ての内部トランザクションが成功する必要があります。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`ALLORNOTHING`モードでは、いずれかのトランザクションが成功するには、全ての内部トランザクションが成功する必要があります。 | |
`ALLORNOTHING`モードでは、いずれかの内部トランザクションが成功するには、全ての内部トランザクションが成功する必要があります。 |
|
||
### Until Failure(失敗まで) | ||
|
||
`UNTILFAILURE`は失敗するまで全てのトランザクションを適用します。最初の失敗後の全てのトランザクションは適用されません。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`UNTILFAILURE`は失敗するまで全てのトランザクションを適用します。最初の失敗後の全てのトランザクションは適用されません。 | |
`UNTILFAILURE`では、全ての内部トランザクションをいずれかが失敗するまで適用します。最初の失敗後の全てのトランザクションは適用されません。 |
|
||
### Independent(独立) | ||
|
||
1つ以上の内部トランザクションが失敗しても、全てのトランザクションが適用されます。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1つ以上の内部トランザクションが失敗しても、全てのトランザクションが適用されます。 | |
`INDEPENDENT`では、1つ以上の内部トランザクションが失敗しても、全てのトランザクションが適用されます。 |
内部の各トランザクションは以下の要件を満たす必要があります。 | ||
|
||
- BatchTxnフィールドを含む必要があります。 | ||
- シーケンス番号を持ってはいけません。シーケンス番号値0を使用する必要があります。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
InnerTxn must contain TicketSequence
or Sequence
as >0
- BatchTxnフィールドを含む必要があります。 | ||
- シーケンス番号を持ってはいけません。シーケンス番号値0を使用する必要があります。 | ||
- 手数料を持ってはいけません。手数料値"0"を使用する必要があります。 | ||
- 署名されてはいけません(グローバルトランザクションはすでにすべての関連当事者によって署名されています)。代わりに`SigningPubKey`および`TxnSignature`フィールドに空文字列("")を持つ必要があります。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as batch-transaction.md
| Signature | string | STBlob | アカウントが単一署名で署名している場合に含まれます。 | | ||
| Signers | array | STArray | アカウントがマルチサイン(単一署名の代わりに)で署名している場合にこのフィールドが含まれます。標準トランザクションマルチサインで使用されるSignersフィールドと同等に動作します。このフィールドはFlagsおよびTxnIDsフィールドの署名を保持します。 | | ||
|
||
## BatchTxn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The BatchTxn field doesn't used and doesn't exist.
{ | ||
"TransactionType": "Batch", | ||
"Account": "rUser1fcu9RJa5W1ncAuEgLJF2oJC6", | ||
"Flags": "0x00010000", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
{ | ||
"TransactionType": "Batch", | ||
"Account": "rUser1fcu9RJa5W1ncAuEgLJF2oJC6", | ||
"Flags": "0x00010000", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
This pull request adds Japanese documentation for the following XRPL Batch transaction topics:
tfInnerBatchTxn
-,tfInnerBatchTxn,-0x40000000)