diff --git a/.env b/.env index ea0d7dabe2..69a73214ff 100644 --- a/.env +++ b/.env @@ -2,4 +2,4 @@ PUBLIC_GITHUB_FORK=https://github.com/XRPLF/xrpl-dev-portal PUBLIC_GITHUB_BRANCH=master PUBLIC_OWNER_RESERVE=0.2 XRP PUBLIC_BASE_RESERVE=1 XRP -PUBLIC_XRPLD_RELEASE=release-3.1 \ No newline at end of file +PUBLIC_XRPLD_RELEASE=release/3.2.x \ No newline at end of file diff --git a/@l10n/es-ES/docs/concepts/accounts/addresses.md b/@l10n/es-ES/docs/concepts/accounts/addresses.md index ebddc67015..fdd6dd015b 100644 --- a/@l10n/es-ES/docs/concepts/accounts/addresses.md +++ b/@l10n/es-ES/docs/concepts/accounts/addresses.md @@ -24,7 +24,7 @@ Algunas direcciones tienen un significado especial, o usos históricos, en el XR |-------------------------------|--------|-------------|--------------| | `rrrrrrrrrrrrrrrrrrrrrhoLvTp` | ACCOUNT\_ZERO | Una dirección que es la codificación en [base58][] en el XRP Ledger del valor `0`. En comunicaciones peer-to-peer, `xrpld` utiliza esta dirección como el emisor de XRP. | Sí | | `rrrrrrrrrrrrrrrrrrrrBZbvji` | ACCOUNT\_ONE | Una dirección que es la codificación en [base58][] en el XRP Ledger del valor `1`. En el ledger, las [entradas RippleState](../../references/protocol/ledger-data/ledger-entry-types/ripplestate.md) utilizan esta dirección como marcador de posición para el emisor de un balance de una trust line. | Sí | -| `rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh` | La cuenta génesis | Cuando `rippled` inicia un nuevo ledger génesis desde el principio (por ejemplo, en modo solitario), esta cuenta contiene todo el XRP. Esta cuenta es generada con el valor semilla `masterpassphrase` el cual está [hard-coded](https://github.com/XRPLF/rippled/blob/94ed5b3a53077d815ad0dd65d490c8d37a147361/src/ripple/app/ledger/Ledger.cpp#L184). | No | +| `rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh` | La cuenta génesis | Cuando `rippled` inicia un nuevo ledger génesis desde el principio (por ejemplo, en modo solitario), esta cuenta contiene todo el XRP. Esta cuenta es generada con el valor semilla `masterpassphrase` el cual está {% source-link name="hard-coded" path="src/libxrpl/ledger/Ledger.cpp#L184" /%}. | No | | `rrrrrrrrrrrrrrrrrNAMEtxvNvQ` | black hole de reserva de nombre de Ripple | En el pasado, Ripple pedía a los usuarios enviar XRP a esta cuenta para reservar nombres Ripple.| Sí | | `rrrrrrrrrrrrrrrrrrrn5RM1rHd` | Dirección NaN | Versiones previas de [ripple-lib](https://github.com/XRPLF/xrpl.js) generaban esta dirección cuando se codificaba el valor [NaN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN) utilizan el formato de codificación [base58][] del XRP Ledger. | Sí | @@ -33,7 +33,7 @@ Algunas direcciones tienen un significado especial, o usos históricos, en el XR **Consejo:** ¡Estos detalles técnicos son solo relevantse para personas que crean librerias de software de bajo nivel para la compatibilidad con el XRP Ledger! -[[Fuente]](https://github.com/XRPLF/rippled/blob/35fa20a110e3d43ffc1e9e664fc9017b6f2747ae/src/ripple/protocol/impl/AccountID.cpp#L109-L140 "Fuente") +{% source-link path="src/libxrpl/protocol/AccountID.cpp#L109-L140" /%} Las direcciones XRP Ledger están codificadas utilizando [base58][] con el _diccionario_ `rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz`. Como el XRP Ledger codifica varios tipos de claves con base58, antepone los datos codificados con un-byte de "prefijo de tipo" (también conocido como "prefijo de versión") para distinguirlos. El prefijo de tipo hace que las direcciones normalmente comiencen con diferentes letras en formato base58. diff --git a/@l10n/es-ES/docs/concepts/accounts/cryptographic-keys.md b/@l10n/es-ES/docs/concepts/accounts/cryptographic-keys.md index 39fd5349bf..9520bf1ded 100644 --- a/@l10n/es-ES/docs/concepts/accounts/cryptographic-keys.md +++ b/@l10n/es-ES/docs/concepts/accounts/cryptographic-keys.md @@ -152,14 +152,14 @@ El proceso de derivar un par de claves depende del algoritmo de firma. En todos Los procesos de derivación de claves descritos aquí están implementados en múltiples lugares y lenguajes de programación: - En C++ en el código base de `xrpld`: - - [Definición de semilla](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/Seed.h) - - [Derivación de clave general & Ed25519](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/impl/SecretKey.cpp) - - [Derivación de clave secp256k1](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/impl/SecretKey.cpp) + - {% source-link name="Definición de semilla" path="include/xrpl/protocol/Seed.h" /%} + - {% source-link name="Derivación de clave general & Ed25519" path="src/libxrpl/protocol/SecretKey.cpp" /%} + - {% source-link name="Derivación de clave secp256k1" path="src/libxrpl/protocol/SecretKey.cpp" /%} - En Python 3 en {% repo-link path="_code-samples/key-derivation/py/key_derivation.py" %}esta sección de códigos de ejemplo del repositorio{% /repo-link %}. - En JavaScript en el paquete [`ripple-keypairs`](https://github.com/XRPLF/xrpl.js/tree/main/packages/ripple-keypairs). ### Derivación de clave Ed25519 -[[Fuente]](https://github.com/XRPLF/rippled/blob/fc7ecd672a3b9748bfea52ce65996e324553c05f/src/ripple/protocol/impl/SecretKey.cpp#L203 "Fuente") +{% source-link path="src/libxrpl/protocol/SecretKey.cpp#L203" /%} [{% inline-svg file="/docs/img/key-derivation-ed25519.svg" /%}](/docs/img/key-derivation-ed25519.svg "Passphrase → Semilla → Clave secreta → Prefijo + Clave pública") @@ -180,7 +180,7 @@ Los procesos de derivación de claves descritos aquí están implementados en m Las claves efímeras de validador no pueden ser Ed25519. ### Derivación de clave secp256k1 -[[Fuente]](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/impl/SecretKey.cpp "Fuente") +{% source-link path="src/libxrpl/protocol/SecretKey.cpp" /%} [{% inline-svg file="/docs/img/key-derivation-secp256k1.svg" /%}](/docs/img/key-derivation-secp256k1.svg "Passphrase → Semilla → Par de claves inicial (Root Key Pair) → Par de claves intermedias → Par de claves maestras") @@ -199,7 +199,7 @@ Los pasos para derivar par de claves de cuenta XRP Ledger secp256k1 desde un val 2. Calcular el [SHA-512Half][] del valor concatenado ( semilla+secuencia root). - 3. Si el resultado no es una clave secreta válida secp256k1, incrementa la secuencia root en 1 y vuelve a empezar. [[Fuente]](https://github.com/XRPLF/rippled/blob/fc7ecd672a3b9748bfea52ce65996e324553c05f/src/ripple/crypto/impl/GenerateDeterministicKey.cpp#L103 "Fuente") + 3. Si el resultado no es una clave secreta válida secp256k1, incrementa la secuencia root en 1 y vuelve a empezar. {% source-link path="src/libxrpl/protocol/SecretKey.cpp" /%} Una clave válida secp256k1 debe no ser cero, y debe ser numericamente menor que _secp256k1 group order_. El orden grupo secp256k1 es un valor constante `0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141`. diff --git a/@l10n/es-ES/docs/concepts/consensus-protocol/consensus-structure.md b/@l10n/es-ES/docs/concepts/consensus-protocol/consensus-structure.md index 98c8db2327..659805d909 100644 --- a/@l10n/es-ES/docs/concepts/consensus-protocol/consensus-structure.md +++ b/@l10n/es-ES/docs/concepts/consensus-protocol/consensus-structure.md @@ -107,7 +107,7 @@ Cuando el proceso de consenso se completa, cada servidor independientemente comp 2. Colocar el conjunto de transacciones acordado en _orden canónico_ para que cada servidor la procese de la misma forma. - [Orden canónico](https://github.com/XRPLF/rippled/blob/8429dd67e60ba360da591bfa905b58a35638fda1/src/ripple/app/misc/CanonicalTXSet.cpp#L25-L36) no es el orden de cómo las transacciones fueron recibidas, porque los servidores pueden recibir las mismas transacciones en diferente orden. Para prevenir a los participantes de competir sobre el orden de las trnasacciones, el orden canónico es difícil de manipular. + {% source-link name="Orden canónico" path="src/libxrpl/ledger/CanonicalTXSet.cpp#L25-L36" /%} no es el orden de cómo las transacciones fueron recibidas, porque los servidores pueden recibir las mismas transacciones en diferente orden. Para prevenir a los participantes de competir sobre el orden de las trnasacciones, el orden canónico es difícil de manipular. 3. Procesar cada transacción según sus instrucciones, en orden. Actualizar el estado del dato del ledger en consecuencia. diff --git a/@l10n/es-ES/docs/concepts/consensus-protocol/invariant-checking.md b/@l10n/es-ES/docs/concepts/consensus-protocol/invariant-checking.md index 774991aade..527eb5b33d 100644 --- a/@l10n/es-ES/docs/concepts/consensus-protocol/invariant-checking.md +++ b/@l10n/es-ES/docs/concepts/consensus-protocol/invariant-checking.md @@ -38,39 +38,39 @@ Para incluir la transacción en el ledger con un código de clase `tec`, es nece El XRP Ledger comprueba todas las siguientes invariantes en cada transación: -[[Fuente]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L92 "Fuente") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L92" /%} - [Comprobación de coste de transacción](#comprobación-de-coste-de-transacción) -[[Fuente]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L118 "Fuente") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L118" /%} - [XRP no creado](#xrp-no-creado) -[[Fuente]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L146 "Fuente") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L146" /%} - [Account Roots no eliminadas](#account-roots-no-eliminadas) -[[Fuente]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L173 "Fuente") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L173" /%} - [Comprobaciones de balance XRP](#comprobaciones-de-balance-XRP) -[[Fuente]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L197 "Fuente") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L197" /%} - [Coincidencia de tipos de entradas ledger](#coincidencia-de-tipos-de-entradas-de-ledger) -[[Fuente]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L224 "Fuente") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L224" /%} - [No XRP Trust Lines](#no-xrp-trust-lines) -[[Fuente]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L251 "Fuente") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L251" /%} - [No malas ofertas](#no-malas-ofertas) -[[Fuente]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L275 "Fuente") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L275" /%} - [No escrow cero](#no-escrow-cero) -[[Fuente]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L300 "Fuente") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L300" /%} - [Nueva Account Root válida](#nueva-account-root-válida) @@ -158,11 +158,11 @@ El XRP Ledger comprueba todas las siguientes invariantes en cada transación: - [Protegiendo el ledger: Comprobación de invariantes](https://xrpl.org/blog/2017/invariant-checking.html) - **Repositorio:** - - [Invariant Check.h](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h) - - [Invariant Check.cpp](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.cpp) - - [Parámetros del sistema](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/SystemParameters.h#L43) - - [Cantidad XRP](https://github.com/XRPLF/rippled/blob/develop/src/ripple/basics/XRPAmount.h#L244) - - [Formatos de ledger](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/protocol/LedgerFormats.h#L36-L94) + - {% source-link name="Invariant Check.h" path="include/xrpl/tx/invariants/InvariantCheck.h" /%} + - {% source-link name="Invariant Check.cpp" path="src/libxrpl/tx/invariants/InvariantCheck.cpp" /%} + - {% source-link name="Parámetros del sistema" path="include/xrpl/protocol/SystemParameters.h#L43" /%} + - {% source-link name="Cantidad XRP" path="include/xrpl/protocol/XRPAmount.h#L244" /%} + - {% source-link name="Formatos de ledger" path="include/xrpl/protocol/LedgerFormats.h#L36-L94" /%} - **Otros:** diff --git a/@l10n/es-ES/docs/concepts/networks-and-servers/peer-protocol.md b/@l10n/es-ES/docs/concepts/networks-and-servers/peer-protocol.md index e4356acb6b..45937f46e6 100644 --- a/@l10n/es-ES/docs/concepts/networks-and-servers/peer-protocol.md +++ b/@l10n/es-ES/docs/concepts/networks-and-servers/peer-protocol.md @@ -18,11 +18,11 @@ El protocolo de pares es el modo principal de comunicación entre servidores en - Solicitar datos de ledger de ledgers históricos, o proporcionar esos datos. - Proponer una conjunto de transacciones para el consenso, o compartir el resultado calculado de aplicar el conjunto de transacciones de consenso. -Para establecer una conexión peer-to-peer, un servidor se conecta a otro usando HTTPS y solicita una [actualización HTTP](https://tools.ietf.org/html/rfc7230#section-6.7) para cambiar al protocolo `XRPL/2.0` (anteriormente `RTXP/1.2`). (Para más información, consultar el artículo [Red de superposición](https://github.com/XRPLF/rippled/blob/96bbabbd2ece106779bb544aa0e4ce174e99fdf6/src/ripple/overlay/README.md#handshake) en el [repositorio `rippled`](https://github.com/XRPLF/rippled).) +Para establecer una conexión peer-to-peer, un servidor se conecta a otro usando HTTPS y solicita una [actualización HTTP](https://tools.ietf.org/html/rfc7230#section-6.7) para cambiar al protocolo `XRPL/2.0` (anteriormente `RTXP/1.2`). (Para más información, consultar el artículo {% source-link name="Red de superposición" path="src/xrpld/overlay/README.md#handshake" /%} en el [repositorio `rippled`](https://github.com/XRPLF/rippled).) ## Descubrimiento de pares -El XRP Ledger utiliza el protocolo del "chismorreo" para ayudar a servidores a encontrar otros servidores para conectarse en la red XRP Ledger. Cuando un servidor se inicia, se reconecta a cualquier otro par al que se haya conectado anteriormente. Como alternativa, utiliza los [hubs públicos hardcodeados](https://github.com/XRPLF/rippled/blob/fa57859477441b60914e6239382c6fba286a0c26/src/ripple/overlay/impl/OverlayImpl.cpp#L518-L525). Después de que un servidor se conecte correctamente a un par, le pregunta a ese par por información de contacto (generalmente, dirección IP y puerto) de otros servidores XRP Ledger que también pueden estar buscando pares. El servidor puede conectarse entonces a esos servidores, y preguntarles por información de contacto de todavía más servidores a los que conectarse. A través de este proceso, el servior hace suficientes conexiones de pares para que pueda permanecer contectado con el resto de la red incluso si pierde la conexión con cualquier par en particular. +El XRP Ledger utiliza el protocolo del "chismorreo" para ayudar a servidores a encontrar otros servidores para conectarse en la red XRP Ledger. Cuando un servidor se inicia, se reconecta a cualquier otro par al que se haya conectado anteriormente. Como alternativa, utiliza los {% source-link name="hubs públicos hardcodeados" path="src/xrpld/overlay/detail/OverlayImpl.cpp#L518-L525" /%}. Después de que un servidor se conecte correctamente a un par, le pregunta a ese par por información de contacto (generalmente, dirección IP y puerto) de otros servidores XRP Ledger que también pueden estar buscando pares. El servidor puede conectarse entonces a esos servidores, y preguntarles por información de contacto de todavía más servidores a los que conectarse. A través de este proceso, el servior hace suficientes conexiones de pares para que pueda permanecer contectado con el resto de la red incluso si pierde la conexión con cualquier par en particular. Normalmente, un servidor necesita conectarse a un hub público solo una vez, durante un corto período de tiempo, para encontrar otros pares. Después de hacerlo, el servidor puede o no permanecer conectado al hub, dependiendo de la estabilidad de su conexión de red, de lo ocupado que esté el hub y de cuántos otros pares de alta calidad encuentre el servidor. El servidor guarda las direcciones de estos otros pares para poder intentar reconectarse directamente a esos pares más tarde, después de una interrupción en la red o un reinicio. @@ -37,7 +37,7 @@ Para participar en el XRP Ledger, los servidores `xrpld` conectan con pares arbi Idealmente, el servidor debería poder enviar _y_ recibir conexiones en el puerto de pares. Debes [redireccionar el puerto utilizado por el protocolo de pares a través de tu firewall](../../infrastructure/configuration/peering/forward-ports-for-peering.md) para el servidor `xrpld`. -IANA [ha asignado el puerto **2459**](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=2459) para el protocolo de pares del XRP Ledger, pero para la compatibilidad con sistemas antiguos, el [fichero de configuración por defecto de `rippled`](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg) escucha las conexiones entrantes de pares con el **port 51235** en todas las interfaces de la red. Si ejecutas un servidor, puedes configurar qué puerto(s) escucha tu servidor utilizando el fichero `xrpld.cfg`. +IANA [ha asignado el puerto **2459**](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=2459) para el protocolo de pares del XRP Ledger, pero para la compatibilidad con sistemas antiguos, el {% source-link name="fichero de configuración por defecto de rippled" path="cfg/xrpld-example.cfg" /%} escucha las conexiones entrantes de pares con el **port 51235** en todas las interfaces de la red. Si ejecutas un servidor, puedes configurar qué puerto(s) escucha tu servidor utilizando el fichero `xrpld.cfg`. Ejemplo: diff --git a/@l10n/es-ES/docs/concepts/tokens/decentralized-exchange/offers.md b/@l10n/es-ES/docs/concepts/tokens/decentralized-exchange/offers.md index 3b00dfb497..df8f9dd94d 100644 --- a/@l10n/es-ES/docs/concepts/tokens/decentralized-exchange/offers.md +++ b/@l10n/es-ES/docs/concepts/tokens/decentralized-exchange/offers.md @@ -85,7 +85,7 @@ Los límites de la trust line te protegen de recibir más de un token como pago Las Ofertas existentes se agrupan por tipo de cambio, que se mide como la relación entre `TakerGets` y `TakerPays`. Las Ofertas con un tipo de cambio más alto se toman preferentemente. (Es decir, la persona que acepta la oferta recibe tanto como sea posible por la cantidad de moneda que paga). Las Ofertas con el mismo tipo de cambio se toman en función de cuál se colocó primero. -Cuando las Ofertas se ejecutan en el mismo bloque del ledger, el orden en que se ejecutan se determina por el [orden canónico](https://github.com/XRPLF/rippled/blob/release/src/ripple/app/misc/CanonicalTXSet.cpp "Código fuente: Ordenación de transacciones") en el que las transacciones fueron [aplicadas en el ledger](https://github.com/XRPLF/rippled/blob/5425a90f160711e46b2c1f1c93d68e5941e4bfb6/src/ripple/app/consensus/LedgerConsensus.cpp#L1435-L1538 "Código fuente: Aplicando transacciones"). Este comportamiento está diseñado para ser determinista, eficiente y difícil de manipular. +Cuando las Ofertas se ejecutan en el mismo bloque del ledger, el orden en que se ejecutan se determina por el {% source-link name="orden canónico" path="src/libxrpl/ledger/CanonicalTXSet.cpp" /%} en el que las transacciones fueron {% source-link name="aplicadas en el ledger" path="src/libxrpl/ledger/CanonicalTXSet.cpp" /%}. Este comportamiento está diseñado para ser determinista, eficiente y difícil de manipular. ## Caducidad de la oferta diff --git a/@l10n/es-ES/docs/introduction/software-ecosystem.md b/@l10n/es-ES/docs/introduction/software-ecosystem.md index 253d79add1..38812069f6 100644 --- a/@l10n/es-ES/docs/introduction/software-ecosystem.md +++ b/@l10n/es-ES/docs/introduction/software-ecosystem.md @@ -24,7 +24,7 @@ El XRP Ledger alberga un ecosistema profundo de varias capas de proyectos de sof ### Servidores principales -La red peer-to-peer en el corazón del XRP Ledger requiere de un servidor altamente confiable y eficiente para hacer cumplir las reglas de consenso y el procesamiento de las transacciones. La Fundación XRP Ledger publica una implementación de referencia de este software de sevidor, llamada [**`rippled`**](../concepts/networks-and-servers/index.md) (pronunciado en inglés como "ripple-dee"). El servidor está disponible bajo [una licencia permisiva de código abierto](https://github.com/XRPLF/rippled/blob/develop/LICENSE.md), por lo que cualquiera puede inspeccionar y modificar su propia instancia del servidor, y volver a publicar con pocas restricciones. +La red peer-to-peer en el corazón del XRP Ledger requiere de un servidor altamente confiable y eficiente para hacer cumplir las reglas de consenso y el procesamiento de las transacciones. La Fundación XRP Ledger publica una implementación de referencia de este software de sevidor, llamada [**`rippled`**](../concepts/networks-and-servers/index.md) (pronunciado en inglés como "ripple-dee"). El servidor está disponible bajo {% source-link name="una licencia permisiva de código abierto" path="LICENSE.md" /%}, por lo que cualquiera puede inspeccionar y modificar su propia instancia del servidor, y volver a publicar con pocas restricciones. ![Servidores principales](/docs/img/ecosystem-peer-to-peer.svg) diff --git a/@l10n/ja/docs/_snippets/post-xrpld-install.md b/@l10n/ja/docs/_snippets/post-xrpld-install.md index e3770824fd..404678bc9b 100644 --- a/@l10n/ja/docs/_snippets/post-xrpld-install.md +++ b/@l10n/ja/docs/_snippets/post-xrpld-install.md @@ -20,7 +20,7 @@ xrpld APIを使用した`xrpld`サーバとの通信について詳しくは、[ {% partial file="/@l10n/ja/docs/_snippets/conf-file-location.md" /%} -すべての構成オプションの説明については、[`rippled` GitHubリポジトリー](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg)をご覧ください。 +すべての構成オプションの説明については、{% source-link name="rippled GitHubリポジトリー" path="cfg/xrpld-example.cfg" /%}をご覧ください。 構成の変更を有効にするには、`xrpld`を再起動する必要があります。 diff --git a/@l10n/ja/docs/concepts/accounts/addresses.md b/@l10n/ja/docs/concepts/accounts/addresses.md index c8844c1fbe..3625146e9a 100644 --- a/@l10n/ja/docs/concepts/accounts/addresses.md +++ b/@l10n/ja/docs/concepts/accounts/addresses.md @@ -23,7 +23,7 @@ XRP Ledgerでは、特別な意味や歴史的な役割を持つアドレスが |-------------------------------|-----|-----|----------------| | `rrrrrrrrrrrrrrrrrrrrrhoLvTp` | ACCOUNT\_ZERO | 値0を[base58][]形式にエンコードしたXRP Ledgerのアドレス。ピアツーピア通信では、このアドレスは、XRPの発行者として`xrpld`で使用されます。 | はい | | `rrrrrrrrrrrrrrrrrrrrBZbvji` | ACCOUNT\_ONE | 値1を[base58][]形式にエンコードしたXRP Ledgerのアドレス。レジャーの[RippleStateエントリ](../../references/protocol/ledger-data/ledger-entry-types/ripplestate.md)では、このアドレスは、トラストライン残高の発行者のプレースホルダーとして使用されます。 | はい | -| `rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh` | ジェネシスアカウント | `rippled`で(スタンドアロンモードなど)新しいジェネシスレジャーが一から開始される場合、このアカウントはすべてのXRPを保持します。このアドレスは、シード値`masterpassphrase`から生成されており、この値は[ハードコーディング](https://github.com/XRPLF/rippled/blob/94ed5b3a53077d815ad0dd65d490c8d37a147361/src/ripple/app/ledger/Ledger.cpp#L184)されています。 | いいえ | +| `rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh` | ジェネシスアカウント | `rippled`で(スタンドアロンモードなど)新しいジェネシスレジャーが一から開始される場合、このアカウントはすべてのXRPを保持します。このアドレスは、シード値`masterpassphrase`から生成されており、この値は{% source-link name="ハードコーディング" path="src/libxrpl/ledger/Ledger.cpp#L184" /%}されています。 | いいえ | | `rrrrrrrrrrrrrrrrrNAMEtxvNvQ` | Ripple Namesの登録用ブラックホール | 以前、Ripple社は、Ripple Namesを登録するために、このアカウントにXRPを送金するようユーザに求めていました。| はい | | `rrrrrrrrrrrrrrrrrrrn5RM1rHd` | NaNアドレス | 以前のバージョンの[ripple-lib](https://github.com/XRPLF/xrpl.js)では、XRP Ledgerの[base58][]文字列エンコード形式を使用して、値[NaN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN)をエンコードするときにこのアドレスを生成しました。 | はい | @@ -32,7 +32,7 @@ XRP Ledgerでは、特別な意味や歴史的な役割を持つアドレスが {% admonition type="success" name="ヒント" %}これらの技術的な詳細は、XRP Ledgerとの互換性を保つために低レベルのライブラリソフトウェアを構築しているユーザのみを対象としています!{% /admonition %} -[[ソース]](https://github.com/XRPLF/rippled/blob/35fa20a110e3d43ffc1e9e664fc9017b6f2747ae/src/ripple/protocol/impl/AccountID.cpp#L109-L140 "ソース") +{% source-link path="src/libxrpl/protocol/AccountID.cpp#L109-L140" /%} XRP Ledgerのアドレスは、[base58][]形式の _ディクショナリ_ `rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz`を使用してエンコードされています。XRP Ledgerはbase58でいくつかのタイプのキーをエンコードするため、それらを区別するためにエンコードされたデータの前に1バイトの「タイプ接頭辞」(「バージョン接頭辞」とも呼ばれます)を付けます。タイプ接頭辞によりアドレスは通常、base58形式の異なる文字で始まります。 diff --git a/@l10n/ja/docs/concepts/accounts/cryptographic-keys.md b/@l10n/ja/docs/concepts/accounts/cryptographic-keys.md index 3d1e0bf339..7683173b86 100644 --- a/@l10n/ja/docs/concepts/accounts/cryptographic-keys.md +++ b/@l10n/ja/docs/concepts/accounts/cryptographic-keys.md @@ -154,14 +154,14 @@ XRP Ledgerでは、サポートされているさまざまなタイプのキー ここで説明する鍵導出プロセスは、さまざまなプログラミング言語で複数の場所に実装されています。 - C++: `xrpld`コードベース: - - [シード定義](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/Seed.h) - - [汎用キー & Ed25519鍵導出](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/impl/SecretKey.cpp) - - [secp256k1鍵導出](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/impl/SecretKey.cpp) + - {% source-link name="シード定義" path="include/xrpl/protocol/Seed.h" /%} + - {% source-link name="汎用キー & Ed25519鍵導出" path="src/libxrpl/protocol/SecretKey.cpp" /%} + - {% source-link name="secp256k1鍵導出" path="src/libxrpl/protocol/SecretKey.cpp" /%} - Python 3: {% repo-link path="_code-samples/key-derivation/py/key_derivation.py" %}このリポジトリのコードサンプルセクション{% /repo-link %} - JavaScript: [`ripple-keypairs`](https://github.com/XRPLF/xrpl.js/tree/main/packages/ripple-keypairs)パッケージ ### Ed25519鍵導出 -[[ソース]](https://github.com/XRPLF/rippled/blob/fc7ecd672a3b9748bfea52ce65996e324553c05f/src/ripple/protocol/impl/SecretKey.cpp#L203 "Source") +{% source-link path="src/libxrpl/protocol/SecretKey.cpp#L203" /%} [{% inline-svg file="/docs/img/key-derivation-ed25519.ja.svg" /%}](/docs/img/key-derivation-ed25519.ja.svg "パスフレーズ → シード → 秘密鍵 → プレフィクス + 公開鍵") @@ -182,7 +182,7 @@ XRP Ledgerでは、サポートされているさまざまなタイプのキー バリデータの一時キーにEd25519を使用することはできません。 ### secp256k1鍵導出 -[[ソース]](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/impl/SecretKey.cpp "Source") +{% source-link path="src/libxrpl/protocol/SecretKey.cpp" /%} [{% inline-svg file="/docs/img/key-derivation-secp256k1.ja.svg" /%}](/docs/img/key-derivation-secp256k1.ja.svg "パスフレーズ → シード → ルートキーペア → 仲介銀行(機関)キーペア → マスターキーペア") @@ -201,7 +201,7 @@ XRP Ledgerアカウントキーでのsecp256k1鍵導出に、Ed25519鍵導出よ 2. 連結された(シード+ルートシーケンス)値の[SHA-512Half][]を計算します。 - 3. 結果が有効なsecp256k1秘密鍵でない場合は、ルートシーケンスを1増やして最初からやり直します。[[ソース]](https://github.com/XRPLF/rippled/blob/fc7ecd672a3b9748bfea52ce65996e324553c05f/src/ripple/crypto/impl/GenerateDeterministicKey.cpp#L103 "Source") + 3. 結果が有効なsecp256k1秘密鍵でない場合は、ルートシーケンスを1増やして最初からやり直します。{% source-link path="src/libxrpl/protocol/SecretKey.cpp" /%} 有効なsecp256k1鍵は0であってはならず、 _secp256k1グループ_ の数値順よりも低くなければなりません。secp256k1グループの順序は、定数`0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141`です。 diff --git a/@l10n/ja/docs/concepts/consensus-protocol/consensus-structure.md b/@l10n/ja/docs/concepts/consensus-protocol/consensus-structure.md index 7aad1cca50..8ca689b422 100644 --- a/@l10n/ja/docs/concepts/consensus-protocol/consensus-structure.md +++ b/@l10n/ja/docs/concepts/consensus-protocol/consensus-structure.md @@ -107,7 +107,7 @@ _図5: バリデータによるトランザクションセットの提案と修 2. すべてのサーバが同じ方法で処理できるように、合意済みのトランザクションセットを _正規順序_ で並べ変えます。 - [正規順序](https://github.com/XRPLF/rippled/blob/8429dd67e60ba360da591bfa905b58a35638fda1/src/ripple/app/misc/CanonicalTXSet.cpp#L25-L36)は、トランザクションを受け取った順序ではありません(サーバが同じトランザクションを異なる順序で受け取る可能性があるため)。参加者がトランザクションの順序付けで競合しないように、故意に操作するのが困難な正規順序を使います。 + {% source-link name="正規順序" path="src/libxrpl/ledger/CanonicalTXSet.cpp#L25-L36" /%}は、トランザクションを受け取った順序ではありません(サーバが同じトランザクションを異なる順序で受け取る可能性があるため)。参加者がトランザクションの順序付けで競合しないように、故意に操作するのが困難な正規順序を使います。 3. 指示に従って、各トランザクションを順番に処理します。それに応じてレジャーの状態データを更新します。 diff --git a/@l10n/ja/docs/concepts/consensus-protocol/invariant-checking.md b/@l10n/ja/docs/concepts/consensus-protocol/invariant-checking.md index 3bbe4a2fb6..2925c25d85 100644 --- a/@l10n/ja/docs/concepts/consensus-protocol/invariant-checking.md +++ b/@l10n/ja/docs/concepts/consensus-protocol/invariant-checking.md @@ -38,39 +38,39 @@ labels: XRP Ledgerは、各トランザクションについて、以下のすべての不変条件をチェックします。 -[[ソース]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L92 "ソース") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L92" /%} - [トランザクション手数料チェック](#トランザクション手数料チェック) -[[ソース]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L118 "ソース") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L118" /%} - [XRPは作成されません](#xrpは作成されません) -[[ソース]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L146 "ソース") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L146" /%} - [アカウントルートが削除されていない](#アカウントルートが削除されていない) -[[ソース]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L173 "ソース") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L173" /%} - [XRPの残高確認](#xrpの残高確認) -[[ソース]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L197 "ソース") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L197" /%} - [レジャーエントリ形式の一致](#レジャーエントリ形式の一致) -[[ソース]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L224 "ソース") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L224" /%} - [XRPのトラストラインはありません](#xrpのトラストラインはありません) -[[ソース]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L251 "ソース") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L251" /%} - [不正なオファーでない](#不正なオファーでない) -[[ソース]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L275 "ソース") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L275" /%} - [0のエスクローでない](#0のエスクローでない) -[[ソース]](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h#L300 "ソース") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h#L300" /%} - [有効な新規アカウントルート](#有効な新規アカウントルート) @@ -138,11 +138,11 @@ XRP Ledgerは、各トランザクションについて、以下のすべての - [レジャーの保護: 不変性チェック](https://xrpl.org/blog/2017/invariant-checking.html) - **リポジトリ:** - - [Invariant Check.h](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.h) - - [Invariant Check.cpp](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/app/tx/impl/InvariantCheck.cpp) - - [System Parameters](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/SystemParameters.h#L43) - - [XRP Amount](https://github.com/XRPLF/rippled/blob/develop/src/ripple/basics/XRPAmount.h#L244) - - [Ledger Formats](https://github.com/XRPLF/rippled/blob/023f5704d07d09e70091f38a0d4e5df213a3144b/src/ripple/protocol/LedgerFormats.h#L36-L94) + - {% source-link name="Invariant Check.h" path="include/xrpl/tx/invariants/InvariantCheck.h" /%} + - {% source-link name="Invariant Check.cpp" path="src/libxrpl/tx/invariants/InvariantCheck.cpp" /%} + - {% source-link name="System Parameters" path="include/xrpl/protocol/SystemParameters.h#L43" /%} + - {% source-link name="XRP Amount" path="include/xrpl/protocol/XRPAmount.h#L244" /%} + - {% source-link name="Ledger Formats" path="include/xrpl/protocol/LedgerFormats.h#L36-L94" /%} - **その他:** diff --git a/@l10n/ja/docs/concepts/networks-and-servers/peer-protocol.md b/@l10n/ja/docs/concepts/networks-and-servers/peer-protocol.md index d1d2a0a280..9dcdfd1dcf 100644 --- a/@l10n/ja/docs/concepts/networks-and-servers/peer-protocol.md +++ b/@l10n/ja/docs/concepts/networks-and-servers/peer-protocol.md @@ -18,11 +18,11 @@ XRP Ledgerのサーバは、XRP Ledgerピアプロトコル(RTXP)を使用 - 履歴レジャーへのレジャーデータのリクエスト、またはレジャーデータの提供。 - コンセンサスのための一連のトランザクションの提示、またはコンセンサストランザクションセットの適用に関する算出結果の共有。 -ピアツーピア接続を確立するには、サーバどうしをHTTPSで接続し、一方のサーバはRTXPへの切り替えのために[HTTPアップグレード](https://tools.ietf.org/html/rfc7230#section-6.7)をリクエストします。(詳細は、[`rippled`リポジトリ](https://github.com/XRPLF/rippled)の[Overlay Network](https://github.com/XRPLF/rippled/blob/906ef761bab95f80b0a7e0cab3b4c594b226cf57/src/ripple/overlay/README.md#handshake)をご覧ください。) +ピアツーピア接続を確立するには、サーバどうしをHTTPSで接続し、一方のサーバはRTXPへの切り替えのために[HTTPアップグレード](https://tools.ietf.org/html/rfc7230#section-6.7)をリクエストします。(詳細は、[`rippled`リポジトリ](https://github.com/XRPLF/rippled)の{% source-link name="Overlay Network" path="src/xrpld/overlay/README.md#handshake" /%}をご覧ください。) ## ピアの検出 -XRP Ledgerでは、「ゴシップ」プロトコルを使用して、XRP Ledgerネットワーク内でサーバが互いを識別できるようにします。サーバは、起動するたびに、以前に接続したその他のあらゆるピアに再接続します。フォールバックとして、[ハードコーディングされた公開ハブ](https://github.com/XRPLF/rippled/blob/fa57859477441b60914e6239382c6fba286a0c26/src/ripple/overlay/impl/OverlayImpl.cpp#L518-L525)を使用します。サーバがピアに正常に接続されると、ピアを探している他のXRP Ledgerサーバの接続情報(通常はIPアドレスとポート)をそのピアにリクエストします。その後、サーバはそれらのサーバに接続し、ピア接続するXRP Ledgerサーバの接続情報をさらにリクエストできます。このプロセスにより、サーバは十分なピア接続を確立し、単一のピアへの接続が失われた場合でも、ネットワークの残りの部分にその後も接続されます。 +XRP Ledgerでは、「ゴシップ」プロトコルを使用して、XRP Ledgerネットワーク内でサーバが互いを識別できるようにします。サーバは、起動するたびに、以前に接続したその他のあらゆるピアに再接続します。フォールバックとして、{% source-link name="ハードコーディングされた公開ハブ" path="src/xrpld/overlay/detail/OverlayImpl.cpp#L518-L525" /%}を使用します。サーバがピアに正常に接続されると、ピアを探している他のXRP Ledgerサーバの接続情報(通常はIPアドレスとポート)をそのピアにリクエストします。その後、サーバはそれらのサーバに接続し、ピア接続するXRP Ledgerサーバの接続情報をさらにリクエストできます。このプロセスにより、サーバは十分なピア接続を確立し、単一のピアへの接続が失われた場合でも、ネットワークの残りの部分にその後も接続されます。 通常、サーバが公開ハブに接続する必要があるのは1回のみです。他のピアを見つけるために、短時間のみ接続します。そうすることで、ネットワーク接続の安定性、ハブのビジー状態、およびサーバが検出する他の高品質ピアの数に応じて、ハブにサーバを引き続き接続するかどうかが異なります。サーバでは、これらの他のピアのアドレスを保存するため、ネットワークの停止後または再起動後、それらのピアへの直接再接続を試行できます。 @@ -37,7 +37,7 @@ XRP Ledgerに参加するため、`xrpld`サーバはピアプロトコルを使 サーバがピアポートで接続を送信 _かつ_ 受信できることが理想的です。`xrpld`サーバに、[ファイアウォール経由でピアプロトコルに使用するポートを転送する](../../infrastructure/configuration/peering/forward-ports-for-peering.md)必要があります。 -[デフォルトの`rippled`構成ファイル](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg)は、すべてのネットワークインターフェイスにおいて、ポート51235で着信ピアプロトコル接続をリッスンします。使用するポートを変更するには、`xrpld.cfg`ファイル内の該当するスタンザを編集します。 +{% source-link name="デフォルトのrippled構成ファイル" path="cfg/xrpld-example.cfg" /%}は、すべてのネットワークインターフェイスにおいて、ポート51235で着信ピアプロトコル接続をリッスンします。使用するポートを変更するには、`xrpld.cfg`ファイル内の該当するスタンザを編集します。 例: diff --git a/@l10n/ja/docs/concepts/tokens/decentralized-exchange/offers.md b/@l10n/ja/docs/concepts/tokens/decentralized-exchange/offers.md index c7feedadde..f0741c29e6 100644 --- a/@l10n/ja/docs/concepts/tokens/decentralized-exchange/offers.md +++ b/@l10n/ja/docs/concepts/tokens/decentralized-exchange/offers.md @@ -81,7 +81,7 @@ Offerオブジェクトは、他のオファーやクロスカレンシー決済 台帳内のOfferオブジェクトは取引レートによってグループにまとめられます。取引レートは、`TakerGets`と`TakerPays`の比率として計算されます。取引レートが高いOfferオブジェクトが優先的に処理されます。(つまり、オファーを約定する人は、支払われる通貨額に対して可能な限り多くの額を受領します。)同じ取引レートのオファーは、オファーの作成タイミングを基準にして処理されます。 -同じ取引レートのOfferオブジェクトが同じ台帳ブロックに記録されている場合、オファーの処理順序は[レジャーへトランザクションを適用する](https://github.com/XRPLF/rippled/blob/5425a90f160711e46b2c1f1c93d68e5941e4bfb6/src/ripple/app/consensus/LedgerConsensus.cpp#L1435-L1538 "Source Code: Applying transactions")ための[正規順序](https://github.com/XRPLF/rippled/blob/release/src/ripple/app/misc/CanonicalTXSet.cpp "Source Code: Transaction ordering")によって決定します。この動作は確定的かつ効率的であり、操作することが困難であるように設計されています。 +同じ取引レートのOfferオブジェクトが同じ台帳ブロックに記録されている場合、オファーの処理順序は{% source-link name="レジャーへトランザクションを適用する" path="src/libxrpl/ledger/CanonicalTXSet.cpp" /%}ための{% source-link name="正規順序" path="src/libxrpl/ledger/CanonicalTXSet.cpp" /%}によって決定します。この動作は確定的かつ効率的であり、操作することが困難であるように設計されています。 ## オファーの有効期限 diff --git a/@l10n/ja/docs/concepts/tokens/fungible-tokens/index.md b/@l10n/ja/docs/concepts/tokens/fungible-tokens/index.md index 1c7967eddf..e8a833e93f 100644 --- a/@l10n/ja/docs/concepts/tokens/fungible-tokens/index.md +++ b/@l10n/ja/docs/concepts/tokens/fungible-tokens/index.md @@ -72,7 +72,7 @@ labels: **Authorized** の設定は、一度オンにするとオフにできないため、トラストラインの初期状態にはカウントされません。 ## 無料のトラストライン -[[Source]](https://github.com/XRPLF/rippled/blob/72377e7bf25c4eaee5174186d2db3c6b4210946f/src/ripple/app/tx/impl/SetTrust.cpp#L148-L168) +{% source-link path="src/libxrpl/tx/transactors/token/TrustSet.cpp#L148-L168" /%} トラストラインはXRP Ledgerの強力な機能であるため、アカウントの最初の2つのトラストラインを「無料」にする特別な機能が用意されています。 diff --git a/@l10n/ja/docs/concepts/transactions/secure-signing.md b/@l10n/ja/docs/concepts/transactions/secure-signing.md index 0e02625591..6d682da4d0 100644 --- a/@l10n/ja/docs/concepts/transactions/secure-signing.md +++ b/@l10n/ja/docs/concepts/transactions/secure-signing.md @@ -46,7 +46,7 @@ labels: 2. トランザクションに署名する必要がある場合は、`localhost`または`127.0.0.1`のサーバに接続します。シングル署名の場合は[signメソッド][]、マルチシグの場合は[sign_forメソッド][]を使用します。 - [構成ファイルの例](https://github.com/XRPLF/rippled/blob/develop/cfg/xrpld-example.cfg#L1477-L1494)では、ローカルループバックネットワーク上(127.0.0.1)のポート5005でJSON-RPC(HTTP)、ポート6006でWebSocket(WS)の接続をリッスンし、接続されるすべてのクライアントを管理者として扱っています。 + {% source-link name="構成ファイルの例" path="cfg/xrpld-example.cfg#L1477-L1494" /%}では、ローカルループバックネットワーク上(127.0.0.1)のポート5005でJSON-RPC(HTTP)、ポート6006でWebSocket(WS)の接続をリッスンし、接続されるすべてのクライアントを管理者として扱っています。 {% admonition type="warning" name="注意" %}署名に[コマンドラインAPI](../../references/http-websocket-apis/api-conventions/request-formatting.md#コマンドライン形式)を使用する場合は、コマンドラインでないクライアントで[Websocket APIやJSON-RPC APIを使用](/docs/tutorials/get-started/get-started-http-websocket-apis.md)する場合よりもセキュリティが弱くなります。コマンドライン構文を使用すると、秘密鍵がシステムのプロセスリストで他のユーザに見える可能性があり、シェル履歴にプレーンテキスト形式でキーが保存される可能性があります。{% /admonition %} diff --git a/@l10n/ja/docs/concepts/transactions/transaction-cost.md b/@l10n/ja/docs/concepts/transactions/transaction-cost.md index 4ce3220db9..1640a92172 100644 --- a/@l10n/ja/docs/concepts/transactions/transaction-cost.md +++ b/@l10n/ja/docs/concepts/transactions/transaction-cost.md @@ -64,7 +64,7 @@ XRP LedgerをスパムやDoS攻撃から守るため、各トランザクショ オープンレジャーコストの水準は、絶対的なトランザクションコストではなく[標準的なトランザクションコストに比例](#手数料レベル)しています。標準よりも高い要件を持つトランザクションタイプ([マルチシグトランザクション](../accounts/multi-signing.md)など)は、オープンレジャーコストを満たすために最低限のトランザクションコスト要件を持つトランザクションよりも多く支払う必要があります。 -関連項目: [`rippled`リポジトリー内のFee Escalationの説明](https://github.com/XRPLF/rippled/blob/release/src/ripple/app/misc/FeeEscalation.md)。 +関連項目: {% source-link name="rippledリポジトリー内のFee Escalationの説明" path="src/xrpld/app/misc/FeeEscalation.md" /%}。 ### キューに入れられたトランザクション diff --git a/@l10n/ja/docs/infrastructure/configuration/data-retention/online-deletion.md b/@l10n/ja/docs/infrastructure/configuration/data-retention/online-deletion.md index d7572c6d10..4909fb95f7 100644 --- a/@l10n/ja/docs/infrastructure/configuration/data-retention/online-deletion.md +++ b/@l10n/ja/docs/infrastructure/configuration/data-retention/online-deletion.md @@ -8,7 +8,7 @@ labels: - コアサーバ --- # オンライン削除 -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/app/misc/SHAMapStoreImp.cpp "Source") +{% source-link path="src/xrpld/app/misc/SHAMapStoreImp.cpp" /%} オンライン削除機能により、`rippled`サーバはレジャーの古いバージョンのローカルコピーを削除できます。これにより、時間とともにディスク使用量が急増しないようにできます。デフォルトの構成ファイルにはオンライン削除の自動実行が設定されていますが、指示があった場合にのみオンライン削除を実行するようにも設定できます。{% badge href="https://github.com/XRPLF/rippled/releases/tag/0.27.0" %}新規: rippled 0.27.0{% /badge %} diff --git a/@l10n/ja/docs/infrastructure/configuration/peering/cluster-xrpld-servers.md b/@l10n/ja/docs/infrastructure/configuration/peering/cluster-xrpld-servers.md index 13715261f2..c2cea234d7 100644 --- a/@l10n/ja/docs/infrastructure/configuration/peering/cluster-xrpld-servers.md +++ b/@l10n/ja/docs/infrastructure/configuration/peering/cluster-xrpld-servers.md @@ -33,7 +33,7 @@ labels: 各レスポンスの`validation_seed`パラメーターと`validation_public_key`パラメーターを安全な場所に保存します。 -3. 各サーバで[構成ファイル](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg)を編集し、以下のセクションを変更します。 +3. 各サーバで{% source-link name="構成ファイル" path="cfg/xrpld-example.cfg" /%}を編集し、以下のセクションを変更します。 1. `[ips_fixed]`セクションに、クラスターの _その他の_ 各メンバーのIPアドレスとポートを記入します。各サーバのポート番号は、サーバの `xrpld.cfg`に指定されている`protocol = peer`ポート(通常は51235)と一致している必要があります。例: diff --git a/@l10n/ja/docs/infrastructure/configuration/server-modes/run-xrpld-as-a-validator.md b/@l10n/ja/docs/infrastructure/configuration/server-modes/run-xrpld-as-a-validator.md index 087c0fc28f..5ebc331c6a 100644 --- a/@l10n/ja/docs/infrastructure/configuration/server-modes/run-xrpld-as-a-validator.md +++ b/@l10n/ja/docs/infrastructure/configuration/server-modes/run-xrpld-as-a-validator.md @@ -51,7 +51,7 @@ top_nav_name: UNLに参加しよう 優れたバリデータには、身元が明確な所有者が存在します。[ドメイン検証](#6-ドメイン検証の提供)を提供することは、その第一歩になります。XRP LedgerネットワークのUNLに、多くの法的な管轄域および地域のさまざまな所有者によって運営されているバリデータが含まれていると理想的です。結果として、信頼できるバリデータの公正な運用が地域特有の事象によって損なわれるおそれが低減されます。 -運用者は[exampleファイル](https://github.com/XRPLF/rippled/blob/develop/cfg/validators-example.txt)に存在するバリデータリストを使用することを強くお勧めします。 +運用者は{% source-link name="exampleファイル" path="cfg/validators-example.txt" /%}に存在するバリデータリストを使用することを強くお勧めします。 @@ -162,7 +162,7 @@ top_nav_name: UNLに参加しよう この構成では、[検出されたピア](../../../concepts/networks-and-servers/peer-protocol.md#ピアの検出)を使用してバリデータをXRP Ledgerネットワークに接続します。これは`xrpld`サーバのデフォルトの動作です。 -_**検出されたピアを使用してバリデータをXRP Ledgerネットワークに接続するには、**_ バリデータの`xrpld.cfg`ファイルで`[peer_private]`スタンザを省略するか、それを`0`に設定します。この構成の[サンプルのxrpld.cfgファイル](https://github.com/XRPLF/rippled/blob/develop/cfg/xrpld-example.cfg)が提供されています。 +_**検出されたピアを使用してバリデータをXRP Ledgerネットワークに接続するには、**_ バリデータの`xrpld.cfg`ファイルで`[peer_private]`スタンザを省略するか、それを`0`に設定します。この構成の{% source-link name="サンプルのxrpld.cfgファイル" path="cfg/xrpld-example.cfg" /%}が提供されています。 ### プロキシを使用した接続 diff --git a/@l10n/ja/docs/infrastructure/installation/build-on-linux-mac-windows.md b/@l10n/ja/docs/infrastructure/installation/build-on-linux-mac-windows.md index aa7a38dbe3..3a27ca4532 100644 --- a/@l10n/ja/docs/infrastructure/installation/build-on-linux-mac-windows.md +++ b/@l10n/ja/docs/infrastructure/installation/build-on-linux-mac-windows.md @@ -12,6 +12,6 @@ top_nav_grouping: 人気ページ Windows、Linux、macOSなど様々なプラットフォームで`xrpld`をビルドするには、C++開発環境が必要です。Git、Python、Conan、CMake、そして適切なC++コンパイラなどのツールが必要です。 -続きを読むには、[GitHubの最新の`rippled`ビルド手順](https://github.com/XRPLF/rippled/blob/develop/BUILD.md)をご覧ください。 +続きを読むには、{% source-link name="GitHubの最新のrippledビルド手順" path="BUILD.md" /%}をご覧ください。 {% raw-partial file="/@l10n/ja/docs/_snippets/common-links.md" /%} diff --git a/@l10n/ja/docs/infrastructure/installation/capacity-planning.md b/@l10n/ja/docs/infrastructure/installation/capacity-planning.md index ea62cd7304..f9a7157878 100644 --- a/@l10n/ja/docs/infrastructure/installation/capacity-planning.md +++ b/@l10n/ja/docs/infrastructure/installation/capacity-planning.md @@ -21,7 +21,7 @@ XRP Ledgerのサーバの負荷は、複数の要因によって変化します デフォルトの設定ファイルには、一般的なユースケースを幅広くカバーする設定が含まれています。お使いのハードウェアや使用目的に合わせて設定をカスタマイズすることで、より良いパフォーマンスを得ることができます。 -本セクションでの設定は、`xrpld.cfg`ファイルのパラメータです。設定ファイルの例である `xrpld-example.cfg` は、`rippled` GitHubリポジトリ の [`cfg` ディレクトリ](https://github.com/XRPLF/rippled/blob/develop/cfg/xrpld-example.cfg)からアクセスできます。サンプル設定ファイルの設定は、サーバと一緒にインストールされたデフォルトの設定と一致しています。 +本セクションでの設定は、`xrpld.cfg`ファイルのパラメータです。設定ファイルの例である `xrpld-example.cfg` は、`rippled` GitHubリポジトリ の {% source-link name="cfg ディレクトリ" path="cfg/xrpld-example.cfg" /%}からアクセスできます。サンプル設定ファイルの設定は、サーバと一緒にインストールされたデフォルトの設定と一致しています。 ### ノードサイズ diff --git a/@l10n/ja/docs/infrastructure/testing-and-auditing/start-a-new-genesis-ledger-in-stand-alone-mode.md b/@l10n/ja/docs/infrastructure/testing-and-auditing/start-a-new-genesis-ledger-in-stand-alone-mode.md index 1c206b1371..d0e1f01183 100644 --- a/@l10n/ja/docs/infrastructure/testing-and-auditing/start-a-new-genesis-ledger-in-stand-alone-mode.md +++ b/@l10n/ja/docs/infrastructure/testing-and-auditing/start-a-new-genesis-ledger-in-stand-alone-mode.md @@ -18,7 +18,7 @@ xrpld -a --start --conf=/path/to/xrpld.cfg スタンドアロンモードで`xrpld`を起動時に使用できるオプションについての詳細は、[コマンドラインの使用リファレンスのスタンドアロンモードのオプション](../commandline-usage.md#スタンドアロンモードのオプション)をご覧ください。 -ジェネシスレジャーの[ジェネシスアドレス](../../concepts/accounts/addresses.md#特別なアドレス)は1,000億XRPすべてを保有しています。ジェネシスアドレスのキーは以下のように[ハードコーディング](https://github.com/XRPLF/rippled/blob/94ed5b3a53077d815ad0dd65d490c8d37a147361/src/ripple/app/ledger/Ledger.cpp#L184)されています。 +ジェネシスレジャーの[ジェネシスアドレス](../../concepts/accounts/addresses.md#特別なアドレス)は1,000億XRPすべてを保有しています。ジェネシスアドレスのキーは以下のように{% source-link name="ハードコーディング" path="src/libxrpl/ledger/Ledger.cpp#L184" /%}されています。 **アドレス:** `rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh` diff --git a/@l10n/ja/docs/infrastructure/troubleshooting/diagnosing-problems.md b/@l10n/ja/docs/infrastructure/troubleshooting/diagnosing-problems.md index 8211d9e382..17713c576d 100644 --- a/@l10n/ja/docs/infrastructure/troubleshooting/diagnosing-problems.md +++ b/@l10n/ja/docs/infrastructure/troubleshooting/diagnosing-problems.md @@ -90,7 +90,7 @@ xrpld server_info - ピアの数が0の場合、サーバがネットワークに接続できないか、またはシステムクロックが正しくない可能性があります。(サーバのクロックを同期するため、すべてのサーバで[NTP](http://www.ntp.org/)デーモンを実行することが推奨されます。) - - ピアの数が10の場合、`rippled`が[NAT](https://en.wikipedia.org/wiki/Network_address_translation)を使用したルーター経由での着信接続を受信できていない可能性があります。接続を改善するには、ルーターのファイアウォールがピアツーピア接続に使用するポート([デフォルトでは](https://github.com/XRPLF/rippled/blob/develop/cfg/xrpld-example.cfg#L1483-L1488)ポート51235)を転送するように設定します。 + - ピアの数が10の場合、`rippled`が[NAT](https://en.wikipedia.org/wiki/Network_address_translation)を使用したルーター経由での着信接続を受信できていない可能性があります。接続を改善するには、ルーターのファイアウォールがピアツーピア接続に使用するポート({% source-link name="デフォルトでは" path="cfg/xrpld-example.cfg#L1483-L1488" /%}ポート51235)を転送するように設定します。 ### サーバからレスポンスがない場合 @@ -113,7 +113,7 @@ xrpld server_info ## サーバログの確認 -[デフォルトでは](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg#L1139-L1142)`rippled`はサーバのデバッグログを`/var/log/xrpld/debug.log`ファイルに書き込みます。このデバッグログの位置は、サーバの構成ファイルにより異なる可能性があります。`rippled`サービスを(`systemctl`または`service`を使用して開始するのではなく)直接開始した場合、デフォルトではログメッセージはコンソールにも出力されます。 +{% source-link name="デフォルトでは" path="cfg/xrpld-example.cfg#L1139-L1142" /%}`rippled`はサーバのデバッグログを`/var/log/xrpld/debug.log`ファイルに書き込みます。このデバッグログの位置は、サーバの構成ファイルにより異なる可能性があります。`rippled`サービスを(`systemctl`または`service`を使用して開始するのではなく)直接開始した場合、デフォルトではログメッセージはコンソールにも出力されます。 デフォルトの構成ファイルでは、起動時に[log_levelメソッド][]を内部で使用して、すべてのログメッセージカテゴリでログレベルの重大度は「警告」に設定されています。デバッグログの詳細レベルを制御するには、[起動時に`--silent`コマンドラインオプションを使用し](../commandline-usage.md#詳細レベルのオプション)、サーバの稼働中に[log_levelメソッド][]を使用します。(設定については構成ファイルの`[rpc_startup]`スタンザをご覧ください。) diff --git a/@l10n/ja/docs/infrastructure/troubleshooting/fix-sqlite-tx-db-page-size-issue.md b/@l10n/ja/docs/infrastructure/troubleshooting/fix-sqlite-tx-db-page-size-issue.md index 3465cc8b94..61e4218d26 100644 --- a/@l10n/ja/docs/infrastructure/troubleshooting/fix-sqlite-tx-db-page-size-issue.md +++ b/@l10n/ja/docs/infrastructure/troubleshooting/fix-sqlite-tx-db-page-size-issue.md @@ -28,7 +28,7 @@ SQLiteデータベースの容量は、データベースの _ページサイズ いずれの場合でも、問題を検出するには`xrpld`のサーバログへのアクセスが必要です。 -{% admonition type="success" name="ヒント" %}このデバッグログの位置は、`rippled`サーバの構成ファイルの設定に応じて異なる可能性があります。[デフォルトの構成](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg#L1139-L1142)では、サーバのデバッグログは`/var/log/xrpld/debug.log`ファイルに書き込まれます。{% /admonition %} +{% admonition type="success" name="ヒント" %}このデバッグログの位置は、`rippled`サーバの構成ファイルの設定に応じて異なる可能性があります。{% source-link name="デフォルトの構成" path="cfg/xrpld-example.cfg#L1139-L1142" /%}では、サーバのデバッグログは`/var/log/xrpld/debug.log`ファイルに書き込まれます。{% /admonition %} ### 事前の検出 diff --git a/@l10n/ja/docs/infrastructure/troubleshooting/server-wont-start.md b/@l10n/ja/docs/infrastructure/troubleshooting/server-wont-start.md index ab42106abf..02cd90edb6 100644 --- a/@l10n/ja/docs/infrastructure/troubleshooting/server-wont-start.md +++ b/@l10n/ja/docs/infrastructure/troubleshooting/server-wont-start.md @@ -68,7 +68,7 @@ Aborted (core dumped) - `xrpld`ユーザが読み取ることができる構成ファイルを`$HOME/.config/xrpld/xrpld.cfg`に作成します(`$HOME`は`xrpld`ユーザのホームディレクトリを指しています)。 - {% admonition type="success" name="ヒント" %}`rippled`リポジトリには、パケージのインストール時にデフォルトの構成として提供される[`xrpld.cfg`サンプルファイル](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg)が含まれています。このファイルがない場合は、上記のリンク先からコピーできます。{% /admonition %} + {% admonition type="success" name="ヒント" %}`rippled`リポジトリには、パケージのインストール時にデフォルトの構成として提供される{% source-link name="xrpld.cfgサンプルファイル" path="cfg/xrpld-example.cfg" /%}が含まれています。このファイルがない場合は、上記のリンク先からコピーできます。{% /admonition %} - `--conf`[コマンドラインオプション](../commandline-usage.md)を使用して、使用する構成ファイルのパスを指定します。 @@ -86,7 +86,7 @@ Aborted (core dumped) - `validators.txt`ファイルが存在し、`xrpld`ユーザにこのファイルの読み取り権限があることを確認します。 - {% admonition type="success" name="ヒント" %}`rippled`リポジトリには、パケージのインストール時にデフォルトの構成として提供される[`validators.txt`サンプルファイル](https://github.com/XRPLF/rippled/blob/master/cfg/validators-example.txt)が含まれています。このファイルがない場合は、上記のリンク先からコピーできます。{% /admonition %} + {% admonition type="success" name="ヒント" %}`rippled`リポジトリには、パケージのインストール時にデフォルトの構成として提供される{% source-link name="validators.txtサンプルファイル" path="cfg/validators-example.txt" /%}が含まれています。このファイルがない場合は、上記のリンク先からコピーできます。{% /admonition %} - `xrpld.cfg`ファイルを編集し、`[validators_file]`設定を変更して、`validators.txt`ファイル(またはこれに相当するファイル)の正しいパスを指定します。ファイル名の前後に余分な空白があるかどうかを確認します。 diff --git a/@l10n/ja/docs/introduction/software-ecosystem.md b/@l10n/ja/docs/introduction/software-ecosystem.md index 300b4984ac..5b3de2dec8 100644 --- a/@l10n/ja/docs/introduction/software-ecosystem.md +++ b/@l10n/ja/docs/introduction/software-ecosystem.md @@ -24,7 +24,7 @@ XRP Ledgerは、価値のインターネットを実現するソフトウェア ### コアサーバ -XRP Ledgerの中心であるピアツーピアネットワークは、コンセンサスとトランザクションプロセスのルールを実行するために、信頼性が高く、効率のよいサーバを必要とします。XRP Ledger財団では、このサーバソフトウェアのリファレンス実装である[**`rippled`**](../concepts/networks-and-servers/index.md)(発音は「リップルディー」)を公開しています。このサーバは、[一般利用が可能なオープンソースライセンス](https://github.com/XRPLF/rippled/blob/develop/LICENSE.md)の下で使用できるため、誰でもこのサーバの自身のインスタンスを検証し、変更することができます。また、いくつかの制限の下でそれを再公開することができます。 +XRP Ledgerの中心であるピアツーピアネットワークは、コンセンサスとトランザクションプロセスのルールを実行するために、信頼性が高く、効率のよいサーバを必要とします。XRP Ledger財団では、このサーバソフトウェアのリファレンス実装である[**`rippled`**](../concepts/networks-and-servers/index.md)(発音は「リップルディー」)を公開しています。このサーバは、{% source-link name="一般利用が可能なオープンソースライセンス" path="LICENSE.md" /%}の下で使用できるため、誰でもこのサーバの自身のインスタンスを検証し、変更することができます。また、いくつかの制限の下でそれを再公開することができます。 ![コアサーバ](/docs/img/ecosystem-peer-to-peer.svg) diff --git a/@l10n/ja/docs/references/client-libraries.md b/@l10n/ja/docs/references/client-libraries.md index 1f1995b8a2..0a18fdf093 100644 --- a/@l10n/ja/docs/references/client-libraries.md +++ b/@l10n/ja/docs/references/client-libraries.md @@ -16,6 +16,6 @@ seo: | **JavaScript** / **TypeScript** | `xrpl.js` | [JavaScriptを使ってみよう](/docs/tutorials/get-started/get-started-javascript.md) | [API リファレンス](https://js.xrpl.org/) | [リポジトリ](https://github.com/XRPLF/xrpl.js) | | **JavaScript** / **TypeScript** | `xrpl-client` | [触ってみる](https://jsfiddle.net/WietseWind/35az6p1b/) | [NPM リファレンス](https://www.npmjs.com/package/xrpl-client) | [リポジトリ](https://github.com/XRPL-Labs/xrpl-client) | | **JavaScript** / **TypeScript** | `xrpl-accountlib` | [触ってみる](https://jsfiddle.net/WietseWind/gkefpnu0/) | [NPM リファレンス](https://www.npmjs.com/package/xrpl-accountlib) | [リポジトリ](https://github.com/WietseWind/xrpl-accountlib) | -| **C++** | `rippled` 署名ライブラリ | [署名ライブラリを使ってみよう](https://github.com/XRPLF/rippled/tree/develop/Builds/linux#signing-library) | | ([`rippled`](https://github.com/XRPLF/rippled/))の一部 | +| **C++** | `rippled` 署名ライブラリ | {% source-link name="署名ライブラリを使ってみよう" path="BUILD.md" /%} | | ([`rippled`](https://github.com/XRPLF/rippled/))の一部 | | **Java** | `xrpl4j` | [Javaを使ってみよう](/docs/tutorials/get-started/get-started-java.md) | [API リファレンス](https://javadoc.io/doc/org.xrpl/) | [リポジトリ](https://github.com/XRPLF/xrpl4j) | | **PHP** | `XRPL_PHP` | [PHPを使ってみよう](/docs/tutorials/get-started/get-started-php.md) | [XRPL_PHP ドキュメント](https://alexanderbuzz.github.io/xrpl-php-docs/) | [リポジトリ](https://github.com/AlexanderBuzz/xrpl-php) | diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/validation_create.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/validation_create.md index 7452f0aa43..c134c6a973 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/validation_create.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/validation_create.md @@ -8,7 +8,7 @@ labels: - コアサーバ --- # validation_create -[[ソース]](https://github.com/XRPLF/rippled/blob/315a8b6b602798a4cff4d8e1911936011e12abdb/src/ripple/rpc/handlers/ValidationCreate.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/keygen/ValidationCreate.cpp" /%} `validation_create`コマンドキーを使用して、[`xrpld`サーバがネットワークに対して自身の身元を識別させるのに使用できる暗号鍵](../../../../concepts/networks-and-servers/peer-protocol.md#ノードキーペア)を生成します。[wallet_proposeメソッド][]と同様に、このメソッドでは適切なフォーマットで一連のキーが単に生成されるだけです。XRP Ledgerのデータやサーバ構成は変更されません。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/wallet_propose.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/wallet_propose.md index 78f4ed8a21..efe9f9dfa7 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/wallet_propose.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/wallet_propose.md @@ -8,7 +8,7 @@ labels: - アカウント --- # wallet_propose -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/WalletPropose.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/keygen/WalletPropose.cpp" /%} `wallet_propose`メソッドを使用して、キーペアとXRP Ledgerアドレスを生成します。このコマンドは単にキーとアドレス値を生成し、XRP Ledger自体には何ら影響しません。レジャー上で資金供給済みのアドレスになるには、そのアドレスで、[必要準備金](../../../../concepts/accounts/reserves.md)を満たすのに十分なXRPの[Paymentトランザクションを受け取る](../../../../concepts/accounts/index.md#アカウントの作成)必要があります。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/can_delete.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/can_delete.md index 26f2b42f93..d505fa12b2 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/can_delete.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/can_delete.md @@ -7,7 +7,7 @@ labels: - データ保持 --- # can_delete -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/CanDelete.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/data/CanDelete.cpp" /%} `can_delete`メソッドは[指示による削除が有効なオンライン削除](../../../../infrastructure/configuration/data-retention/online-deletion.md#指示による削除)を使用する`xrpld`サーバに削除が可能のレジャーバージョンを通知します。指定したレジャーバージョン以前が削除可能になります。指示による削除が有効ではない場合、このメソッドは何も行いません。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_cleaner.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_cleaner.md index 52b48f1a49..493dd715df 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_cleaner.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_cleaner.md @@ -7,9 +7,9 @@ labels: - データ保持 --- # ledger_cleaner -[[ソース]](https://github.com/XRPLF/rippled/blob/df54b47cd0957a31837493cd69e4d9aade0b5055/src/ripple/rpc/handlers/LedgerCleaner.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/data/LedgerCleaner.cpp" /%} -`ledger_cleaner`コマンドは[レジャークリーナー](https://github.com/XRPLF/rippled/blob/f313caaa73b0ac89e793195dcc2a5001786f916f/src/ripple/app/ledger/README.md#the-ledger-cleaner)を制御します。レジャークリーナーは、`rippled`のレジャーデータベースの破損を検出して修復できる非同期メンテナンスプロセスです。 +`ledger_cleaner`コマンドは{% source-link name="レジャークリーナー" path="src/xrpld/app/ledger/README.md#the-ledger-cleaner" /%}を制御します。レジャークリーナーは、`rippled`のレジャーデータベースの破損を検出して修復できる非同期メンテナンスプロセスです。 _`ledger_cleaner`メソッドは、権限のないユーザは実行できない[管理メソッド](../index.md)です。_ diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_request.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_request.md index 23b910214a..f3d3722044 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_request.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_request.md @@ -7,7 +7,7 @@ labels: - データ保持 --- # ledger_request -[[ソース]](https://github.com/XRPLF/rippled/blob/e980e69eca9ea843d200773eb1f43abe3848f1a0/src/ripple/rpc/handlers/LedgerRequest.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/data/LedgerRequest.cpp" /%} `ledger_request`コマンドは、サーバに対し接続しているピアから特定のレジャーバージョンを取得するように指示します。これは、サーバが直接接続しているピアの1つにそのレジャーが存在している場合にのみ機能します。場合によっては、レジャーを完全に取得するにはこのコマンドを繰り返し実行する必要があります。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/log_level.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/log_level.md index 880312db45..daf40253dc 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/log_level.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/log_level.md @@ -7,7 +7,7 @@ labels: - データ保持 --- # log_level -[[ソース]](https://github.com/XRPLF/rippled/blob/155fcdbcd0b4927152892c8c8be01d9cf62bed68/src/ripple/rpc/handlers/LogLevel.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/log/LogLevel.cpp" /%} `log_level`コマンドは`xrpld`サーバのログ詳細レベルを変更するか、各ログメッセージカテゴリ(_パーティション_)の現在のログレベルを返します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/logrotate.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/logrotate.md index 1e5e378bfc..a690670cc2 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/logrotate.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/logrotate.md @@ -7,7 +7,7 @@ labels: - データ保持 --- # logrotate -[[ソース]](https://github.com/XRPLF/rippled/blob/743bd6c9175c472814448ea889413be79dfd1c07/src/ripple/rpc/handlers/LogRotate.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/log/LogRotate.cpp" /%} `logrotate`コマンドは、ログファイルを閉じて再度開きます。これは、Linuxファイルシステムでのログローテーションを促進することを目的としています。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/connect.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/connect.md index 80cf83b9f6..aa5d94ff7d 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/connect.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/connect.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # connect -[[ソース]](https://github.com/XRPLF/rippled/blob/a61ffab3f9010d8accfaa98aa3cacc7d38e74121/src/ripple/rpc/handlers/Connect.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/peer/Connect.cpp" /%} `connect`コマンドは、`xrpld`サーバを特定のピア`xrpld`サーバに強制的に接続します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_add.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_add.md index cf89188bec..5e4f74a7ec 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_add.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_add.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # peer_reservations_add -[[ソース]](https://github.com/XRPLF/rippled/blob/4a1148eb2849513dd1e7ae080288fd47ab57a376/src/ripple/rpc/handlers/Reservations.cpp#L36 "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/peer/PeerReservationsAdd.cpp" /%} この{% code-page-name /%}メソッドは、XRP Ledger[ピアツーピアネットワーク](../../../../concepts/networks-and-servers/peer-protocol.md)内の特定のピアサーバの予約済みスロットを追加または更新します。{% badge href="https://github.com/XRPLF/rippled/releases/tag/1.4.0" %}新規: rippled 1.4.0{% /badge %} diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_del.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_del.md index 445f416bcc..1c96a640ab 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_del.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_del.md @@ -8,7 +8,7 @@ labels: --- # peer_reservations_del -[[ソース]](https://github.com/XRPLF/rippled/blob/4a1148eb2849513dd1e7ae080288fd47ab57a376/src/ripple/rpc/handlers/Reservations.cpp#L89 "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/peer/PeerReservationsDel.cpp" /%} {% code-page-name /%}メソッドは、特定の[ピアリザベーション][]を削除します(存在する場合)。{% badge href="https://github.com/XRPLF/rippled/releases/tag/1.4.0" %}新規: rippled 1.4.0{% /badge %} diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_list.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_list.md index 761aacbf2d..67e151d195 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_list.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_list.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # peer_reservations_list -[[ソース]](https://github.com/XRPLF/rippled/blob/4a1148eb2849513dd1e7ae080288fd47ab57a376/src/ripple/rpc/handlers/Reservations.cpp#L116 "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/peer/PeerReservationsList.cpp" /%} {% code-page-name /%}メソッドは、[ピアリザベーション][]を一覧表示します。{% badge href="https://github.com/XRPLF/rippled/releases/tag/1.4.0" %}新規: rippled 1.4.0{% /badge %} diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peers.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peers.md index 0edb12f62c..e0e095dde1 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peers.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peers.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # peers -[[ソース]](https://github.com/XRPLF/rippled/blob/52f298f150fc1530d201d3140c80d3eaf781cb5f/src/ripple/rpc/handlers/Peers.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/peer/Peers.cpp" /%} `peers`コマンドは、[ピアプロトコル](../../../../concepts/networks-and-servers/peer-protocol.md)でこのサーバに現在接続されているその他のすべての`xrpld`サーバのリスト(各サーバの接続状況と同期状況を含む)を返します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/ledger_accept.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/ledger_accept.md index 421d875a8e..73019c8ad4 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/ledger_accept.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/ledger_accept.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # ledger_accept -[[ソース]](https://github.com/XRPLF/rippled/blob/a61ffab3f9010d8accfaa98aa3cacc7d38e74121/src/ripple/rpc/handlers/LedgerAccept.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/server_control/LedgerAccept.cpp" /%} `ledger_accept`メソッドは、サーバが現在処理中のレジャーを強制的に終了し、次のレジャー番号に進むようにします。このメソッドはテスト専用であり、`xrpld`サーバがスタンドアロンモードで実行されている場合にのみ使用できます。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/stop.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/stop.md index cc2a2eaba3..f1a82e8e21 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/stop.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/stop.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # stop -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/Stop.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/server_control/Stop.cpp" /%} サーバのグレースフルシャットダウンを行います。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign.md index a90f502ca4..9b5a33754b 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign.md @@ -7,7 +7,7 @@ labels: - トランザクション送信 --- # sign -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/SignHandler.cpp "ソース") +{% source-link path="src/xrpld/rpc/handlers/admin/signing/Sign.cpp" /%} `sign`メソッドは[JSONフォーマットのトランザクション](../../../protocol/transactions/index.md)と[シード値](../../../../concepts/accounts/cryptographic-keys.md)を受け取り、トランザクションの署名済みバイナリー表現を返します。[マルチシグトランザクション](../../../../concepts/accounts/multi-signing.md)に署名を付与する場合は、代わりに[sign_forメソッド][]を使用します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign_for.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign_for.md index 620fd82a88..707d03cf70 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign_for.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign_for.md @@ -7,7 +7,7 @@ labels: - トランザクション送信 --- # sign_for -[[ソース]](https://github.com/XRPLF/rippled/blob/release/src/ripple/rpc/handlers/SignFor.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/signing/SignFor.cpp" /%} `sign_for`コマンドは、[マルチシグトランザクション](../../../../concepts/accounts/multi-signing.md)の署名を1つ提供します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/consensus_info.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/consensus_info.md index fe369e0ec1..bfbd36b5f7 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/consensus_info.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/consensus_info.md @@ -8,7 +8,7 @@ labels: - コアサーバ --- # consensus_info -[[ソース]](https://github.com/XRPLF/rippled/blob/a61ffab3f9010d8accfaa98aa3cacc7d38e74121/src/ripple/rpc/handlers/ConsensusInfo.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/ConsensusInfo.cpp" /%} `consensus_info`メソッドは、デバッグのための[コンセンサスプロセス](../../../../concepts/consensus-protocol/index.md)に関する情報を返します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/feature.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/feature.md index 5a53b5f14f..40d15710db 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/feature.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/feature.md @@ -8,7 +8,7 @@ labels: - コアサーバ --- # feature -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/Feature1.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/server_info/Feature.cpp" /%} `feature`コマンドは、[Amendment](../../../../concepts/networks-and-servers/amendments.md)に関してこのサーバが認識している情報(Amendmentが有効であるかどうか、サーバが[Amendmentプロセス](../../../../concepts/networks-and-servers/amendments.md#amendmentプロセス)でこれらのAmendmentに賛成票を投じたかどうかなど)を返します。{% badge href="https://github.com/XRPLF/rippled/releases/tag/0.31.0" %}新規: rippled 0.31.0{% /badge %} diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/fetch_info.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/fetch_info.md index 40f88dc0f5..2c66768934 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/fetch_info.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/fetch_info.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # fetch_info -[[ソース]](https://github.com/XRPLF/rippled/blob/315a8b6b602798a4cff4d8e1911936011e12abdb/src/ripple/rpc/handlers/FetchInfo.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/FetchInfo.cpp" /%} `fetch_info`コマンドは、このサーバが現在ネットワークからフェッチしているオブジェクトに関する情報と、その情報を所有しているピアの数を返します。これは現在の取得操作をリセットする場合にも使用できます。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/get_counts.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/get_counts.md index 381d976d0c..1fd68e395f 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/get_counts.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/get_counts.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # get_counts -[[ソース]](https://github.com/XRPLF/rippled/blob/c7118a183a660648aa88a3546a6b2c5bce858440/src/ripple/rpc/handlers/GetCounts.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/GetCounts.cpp" /%} `get_counts`コマンドは、サーバの健全性に関するさまざまな統計情報を提供します。そのほとんどは、現在メモリーに格納されている各種オブジェクトの数です。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/print.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/print.md index 6a00dc19e5..bc60adc402 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/print.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/print.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # print -[[ソース]](https://github.com/XRPLF/rippled/blob/315a8b6b602798a4cff4d8e1911936011e12abdb/src/ripple/rpc/handlers/Print.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/Print.cpp" /%} `print`コマンドは、さまざまな内部サブシステム(ピア、レジャークリーナー、リソースマネージャーなど)の現在の状況を返します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_info.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_info.md index 543bcc6108..0b845a4fc9 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_info.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_info.md @@ -8,7 +8,7 @@ labels: - ブロックチェーン --- # validator_info -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/ValidatorInfo.cpp "ソース") +{% source-link path="src/xrpld/rpc/handlers/admin/status/ValidatorInfo.cpp" /%} {% code-page-name /%}メソッドは、サーバがバリデータとして設定されている場合に、現在のバリデータの設定を返します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_list_sites.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_list_sites.md index 791e96fd2d..639562ef1b 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_list_sites.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_list_sites.md @@ -8,7 +8,7 @@ labels: - コアサーバ --- # validator_list_sites -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/ValidatorListSites.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/ValidatorListSites.cpp" /%} `validator_list_sites`コマンドは、バリデータリストを処理するサイトのステータス情報を返します。{% badge href="https://github.com/XRPLF/rippled/releases/tag/0.80.1" %}新規: rippled 0.80.1{% /badge %} @@ -130,7 +130,7 @@ Connecting to 127.0.0.1:5005 | `Field` | 型 | 説明 | |:-----------------------|:-----------------|:--------------------------------| -| `last_refresh_status` | 文字列 | 存在する場合は、サイトの最終更新の[`ListDisposition`](https://github.com/XRPLF/rippled/blob/master/src/ripple/app/misc/ValidatorList.h)です。存在しない場合は、サイトに対するクエリーがまだ成功していません。 | +| `last_refresh_status` | 文字列 | 存在する場合は、サイトの最終更新の{% source-link name="ListDisposition" path="src/xrpld/app/misc/ValidatorList.h" /%}です。存在しない場合は、サイトに対するクエリーがまだ成功していません。 | | `last_refresh_time` | 文字列 | サイトの最終照会時刻を人間が読み取れる形式で表示します。存在しない場合は、サイトに対するクエリーがまだ成功していません。 | | `refresh_interval_min` | 符号なし整数 | 更新試行間隔の分数。 | | `uri` | 文字列 | サイトのURI。 | diff --git a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validators.md b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validators.md index 1928e997f4..ac872fed40 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validators.md +++ b/@l10n/ja/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validators.md @@ -8,7 +8,7 @@ labels: - コアサーバ --- # validators -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/Validators.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/Validators.cpp" /%} `validators`コマンドは、サーバが使用する公開済みの信頼できるバリデータの最新リストに関する情報を、人間が読み取れる形式で返します。{% badge href="https://github.com/XRPLF/rippled/releases/tag/0.80.1" %}新規: rippled 0.80.1{% /badge %} diff --git a/@l10n/ja/docs/references/http-websocket-apis/api-conventions/rate-limiting.md b/@l10n/ja/docs/references/http-websocket-apis/api-conventions/rate-limiting.md index 830497f6da..9baea8e960 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/api-conventions/rate-limiting.md +++ b/@l10n/ja/docs/references/http-websocket-apis/api-conventions/rate-limiting.md @@ -46,7 +46,7 @@ Server is overloaded ``` ## リクエストあたりのレート -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/resource/Fees.h "ソース") +{% source-link path="include/xrpl/resource/Fees.h" /%} サーバは時間の経過とともに行われるリクエストの数に基づいてクライアントの使用率を計算し、サーバがリクエストにレスポンスするためにどれだけの作業をしなければならないかに基づいて、異なるタイプのリクエストに重みをつけます。[subscribeメソッド][]と[path_findメソッド][]に対するサーバからの後続メッセージもクライアントの使用率にカウントされます。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/peer-port-methods/health-check.md b/@l10n/ja/docs/references/http-websocket-apis/peer-port-methods/health-check.md index 46673a6685..de6ea2a54a 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/peer-port-methods/health-check.md +++ b/@l10n/ja/docs/references/http-websocket-apis/peer-port-methods/health-check.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # ヘルスチェック -[[ソース]](https://github.com/XRPLF/rippled/blob/de0c52738785de8bf837f9124da65c7905e7bb5a/src/ripple/overlay/impl/OverlayImpl.cpp#L1084-L1168 "ソース") +{% source-link path="src/xrpld/overlay/detail/OverlayImpl.cpp#L1084-L1168" /%} ヘルスチェックは、個々の`rippled`サーバの状態を報告するための特別な[peer portメソッド](index.md)です。このメソッドは、自動化された監視において、機能停止を認識し、サーバの再起動のような自動または手動による介入を促すために使用することを意図しています。{% badge href="https://github.com/XRPLF/rippled/releases/tag/1.6.0" %}新規: rippled 1.6.0{% /badge %} diff --git a/@l10n/ja/docs/references/http-websocket-apis/peer-port-methods/validator-list.md b/@l10n/ja/docs/references/http-websocket-apis/peer-port-methods/validator-list.md index d14e8a72a2..6459019d0f 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/peer-port-methods/validator-list.md +++ b/@l10n/ja/docs/references/http-websocket-apis/peer-port-methods/validator-list.md @@ -45,7 +45,7 @@ JSONオブジェクトには以下のフィールドがあります。 | `public_key` | 文字列 | このバリデータリストのデータを検証するために使用する公開鍵。これは32バイトのEd25519公開鍵で、先頭に`0xED`というバイトが付きます。{% badge href="https://github.com/XRPLF/rippled/releases/tag/1.7.0" %}新規: rippled 1.7.0{% /badge %}. | ### マニフェストデータ -[[ソース]](https://github.com/XRPLF/rippled/blob/97712107b71a8e2089d2e3fcef9ebf5362951110/src/ripple/app/misc/impl/Manifest.cpp#L43-L66 "ソース") +{% source-link path="src/libxrpl/server/Manifest.cpp#L43-L66" /%} "マニフェスト"には、コンセンサスプロセスに関与する個人または組織(***バリデータ**または**リスト発行者**)を一意に識別する情報が含まれます。バリデータのマニフェストには、その[バリデータのトークン](../../../infrastructure/configuration/server-modes/run-xrpld-as-a-validator.md#3-enable-validation-on-your-xrpld-server)の _公開_ 情報が含まれます。リスト発行者のマニフェストはリスト発行者に関する情報を提供します。どちらも通常、XRP Ledgerの標準的な[バイナリフォーマット](../../protocol/binary-format.md)でバイナリにエンコードされます。(マニフェストの標準的なJSON形式はありません)。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_channels.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_channels.md index 747c171ef3..2899739a33 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_channels.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_channels.md @@ -7,7 +7,7 @@ labels: - Payment Channel --- # account_channels -[[ソース]](https://github.com/XRPLF/rippled/blob/release/src/ripple/rpc/handlers/AccountChannels.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountChannels.cpp" /%} _([PayChan Amendment][]が有効になっている必要があります。{% badge href="https://github.com/XRPLF/rippled/releases/tag/0.33.0" %}新規: rippled 0.33.0{% /badge %})_ diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_currencies.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_currencies.md index 37a58bb229..5990614213 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_currencies.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_currencies.md @@ -7,7 +7,7 @@ labels: - トークン --- # account_currencies -[[ソース]](https://github.com/XRPLF/rippled/blob/df966a9ac6dd986585ecccb206aff24452e41a30/src/ripple/rpc/handlers/AccountCurrencies.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountCurrencies.cpp" /%} `account_currencies`コマンドは、アカウントのトラストラインに基づいてそのアカウントが送金または受領できる通貨のリストを返します。(このリストは完全に確認されたリストではありませんが、ユーザインターフェイスへの入力に使用できます。) diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_info.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_info.md index 3b34d6c34c..5159578b13 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_info.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_info.md @@ -8,7 +8,7 @@ labels: - XRP --- # account_info -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/AccountInfo.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountInfo.cpp" /%} `account_info`コマンドは、アカウントとそのアクティビティおよびXRP残高についての情報を取得します。取得されたすべての情報は、特定バージョンのレジャーに関連付けられています。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_lines.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_lines.md index 0cec417744..be8f946f8d 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_lines.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_lines.md @@ -7,7 +7,7 @@ labels: - トークン --- # account_lines -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/AccountLines.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountLines.cpp" /%} `account_lines`メソッドは、アカウントのトラストラインに関する情報(XRP以外のあらゆる通貨の残高と資産など)を返します。取得された情報はすべて、特定バージョンのレジャーに関連付けられています。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_objects.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_objects.md index 38ef3499d4..4b33bee865 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_objects.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_objects.md @@ -8,7 +8,7 @@ labels: - データ保持 --- # account_objects -[[ソース]](https://github.com/XRPLF/rippled/blob/399c43cae6e90a428e9ce6a988123972b0f03c99/src/ripple/rpc/handlers/AccountObjects.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountObjects.cpp" /%} `account_objects`コマンドは、アカウントが所有するすべてのレジャーエントリの生[レジャーフォーマット][]を返します。アカウントのトラストラインと残高の概要については、[account_linesメソッド][]をご覧ください。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_offers.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_offers.md index 1c1182d9a6..5f182784d2 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_offers.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_offers.md @@ -7,7 +7,7 @@ labels: - 分散型取引所 --- # account_offers -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/AccountOffers.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountOffers.cpp" /%} `account_offers`メソッドは、特定の[アカウント](../../../../concepts/accounts/index.md)から出された[オファー](../../../../concepts/tokens/decentralized-exchange/offers.md)のうち、特定の[レジャーバージョン](../../../../concepts/ledgers/index.md)で未処理であったオファーのリストを取得します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md index 766679f0bc..ce5168e424 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md @@ -8,7 +8,7 @@ labels: - 支払い --- # account_tx -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/AccountTx.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountTx.cpp" /%} `account_tx`メソッドは、指定したアカウントに関連するトランザクションのリストを取得します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/gateway_balances.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/gateway_balances.md index ec0afa3113..778951004f 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/gateway_balances.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/gateway_balances.md @@ -8,7 +8,7 @@ labels: - アカウント --- # gateway_balances -[[ソース]](https://github.com/XRPLF/rippled/blob/9111ad1a9dc37d49d085aa317712625e635197c0/src/ripple/rpc/handlers/GatewayBalances.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/GatewayBalances.cpp" /%} `gateway_balances`コマンドは、特定のアカウントから発行された残高の合計を計算します。オプションで、[運用アドレス](../../../../concepts/accounts/account-types.md)が保有する額を除外できます。{% badge href="https://github.com/XRPLF/rippled/releases/tag/0.28.2" %}新規: rippled 0.28.2{% /badge %} diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/noripple_check.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/noripple_check.md index 1621ffdd39..d82a613a64 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/noripple_check.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/account-methods/noripple_check.md @@ -7,7 +7,7 @@ labels: - トークン --- # noripple_check -[[ソース]](https://github.com/XRPLF/rippled/blob/9111ad1a9dc37d49d085aa317712625e635197c0/src/ripple/rpc/handlers/NoRippleCheck.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/NoRippleCheck.cpp" /%} `noripple_check`コマンドを使用すると、[アカウントのDefaultRippleフィールドとそのトラストラインのNoRippleフラグ](../../../../concepts/tokens/fungible-tokens/rippling.md)の状態を、推奨される設定と比較して迅速にチェックできます。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger.md index b1f5cc43f9..8c7642b66b 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger.md @@ -7,7 +7,7 @@ label: - ブロックチェーン --- # ledger -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/LedgerHandler.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/ledger/Ledger.cpp" /%} 公開レジャーに関する情報を取得します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_closed.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_closed.md index 4358f35369..b8bf5cc73e 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_closed.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_closed.md @@ -7,7 +7,7 @@ label: - ブロックチェーン --- # ledger_closed -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/LedgerClosed.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/ledger/LedgerClosed.cpp" /%} `ledger_closed`メソッドは、最新の決済済みレジャーの一意のIDを返します。(このレジャーは必ずしも検証済みで変更不可能ではありません。) diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_current.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_current.md index ccc754d276..35a1b58cab 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_current.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_current.md @@ -7,7 +7,7 @@ label: - ブロックチェーン --- # ledger_current -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/LedgerCurrent.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/ledger/LedgerCurrent.cpp" /%} `ledger_current`メソッドは、現在進行中のレジャーの一意のIDを返します。このコマンドで返されるレジャーは確定されたものではないため、このコマンドは主にテストに有用です。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_data.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_data.md index 30dbfa2785..55394f8c8b 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_data.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_data.md @@ -8,7 +8,7 @@ label: - データ保持 --- # ledger_data -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/LedgerData.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/ledger/LedgerData.cpp" /%} `ledger_data`メソッドは指定されたレジャーの内容を取得します。1つのレジャーバージョンの内容全体を取得するため、複数のコールを繰り返し実行できます。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/amm_info.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/amm_info.md index dde560028f..3bf1a9cc88 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/amm_info.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/amm_info.md @@ -10,7 +10,7 @@ labels: - AMM --- # amm_info -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/AMMInfo.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/AMMInfo.cpp" /%} {% code-page-name /%}メソッドは、自動マーケットメーカー(AMM)インスタンスに関する情報を取得します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_changes.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_changes.md index 26592019af..346f50531d 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_changes.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_changes.md @@ -6,7 +6,7 @@ labels: - クロスカレンシー --- # book_changes -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/BookChanges.h "ソース") +{% source-link path="src/xrpld/rpc/BookChanges.h" /%} {% code-page-name /%} メソッドは、[分散型取引所(DEX)](../../../../concepts/tokens/decentralized-exchange/index.md) のオーダーブックの変更に関する情報を、以前のレジャーバージョンと比較して提供します。これは「ローソク足」チャートの作成に役立つ場合があります。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_offers.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_offers.md index c7ad4f1d01..2fa60c7fd2 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_offers.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_offers.md @@ -6,7 +6,7 @@ labels: - クロスカレンシー --- # book_offers -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/BookOffers.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/BookOffers.cpp" /%} `book_offers`メソッドは、2つの通貨間の[オファー](../../../../concepts/tokens/decentralized-exchange/offers.md)のリストを取得します。これは、_オーダーブック_ とも呼ばれます。レスポンスは、[資金供給のないオファー](../../../../concepts/tokens/decentralized-exchange/offers.md#オファーのライフサイクル)を省略し、残りの各オファーの合計に対して資金供給されている割合を報告します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/deposit_authorized.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/deposit_authorized.md index bce430e948..4c43a65720 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/deposit_authorized.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/deposit_authorized.md @@ -6,7 +6,7 @@ labels: - セキュリティ --- # deposit_authorized -[[ソース]](https://github.com/XRPLF/rippled/blob/817d2339b8632cb2f97d3edd6f7af33aa7631744/src/ripple/rpc/handlers/DepositAuthorized.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/DepositAuthorized.cpp" /%} `deposit_authorized`コマンドは、あるアカウントに別のアカウントへ支払を直接送金する権限があるかどうかを示します。アカウントへの送金に承認を義務付ける方法については、[Deposit Authorization](../../../../concepts/accounts/depositauth.md)をご覧ください。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/get_aggregate_price.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/get_aggregate_price.md index 362aab43fe..38c2910b27 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/get_aggregate_price.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/get_aggregate_price.md @@ -8,7 +8,7 @@ labels: _([PriceOracle amendment][])_ -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/GetAggregatePrice.cpp "ソース") +{% source-link path="src/xrpld/rpc/handlers/orderbook/GetAggregatePrice.cpp" /%} `get_aggregate_price`メソッドは、指定された`Oracle`オブジェクトの集計価格を取得し、平均値、中央値、整形された平均値の3つの価格情報を返します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_buy_offers.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_buy_offers.md index 1e6c08539a..38339360e1 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_buy_offers.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_buy_offers.md @@ -7,7 +7,7 @@ labels: - 非代替性トークン, NFT, NFToken --- # nft_buy_offers -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/NFTOffers.cpp "ソース") +{% source-link path="src/xrpld/rpc/handlers/orderbook/NFTOffersHelpers.h" /%} `nft_buy_offers`メソッドは、与えられた[NFToken][]オブジェクトに対する購入オファーのリストを返します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_sell_offers.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_sell_offers.md index f7747f8581..4507dc9ae2 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_sell_offers.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_sell_offers.md @@ -7,7 +7,7 @@ labels: - 非代替性トークン, NFT, NFToken --- # nft_sell_offers -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/NFTOffers.cpp "ソース") +{% source-link path="src/xrpld/rpc/handlers/orderbook/NFTOffersHelpers.h" /%} `nft_sell_offers`メソッドは、与えられた[NFToken][]オブジェクトに対する売却オファーのリストを返します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/path_find.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/path_find.md index 0aabf8b658..6bc1109c7f 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/path_find.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/path_find.md @@ -8,7 +8,7 @@ labels: - トークン --- # path_find -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/PathFind.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/PathFind.cpp" /%} *WebSocket APIのみ。*`path_find`メソッドは、トランザクションが実行される可能性のある[パス](../../../../concepts/tokens/fungible-tokens/paths.md)を探索し、時間の経過とともにパスが変化する場合に更新を定期的に送信します。JSON-RPCでサポートされているシンプルなバージョンについては、[ripple_path_findメソッド][]をご覧ください。完全にXRPで行われる支払いの場合、XRPはどのアカウントにも直接送金できるためパスを探索する必要はありません。 @@ -21,7 +21,7 @@ path_findコマンドには3種類のモード(サブコマンド)があり `xrpld`サーバは支払いを行うにあたり最も安価なパスまたはパスの組み合わせを探索しますが、このメソッドで返されるパスが最良のパスであることは保証されません。サーバの負荷が原因で、Pathfindingで最良のパスを検出できないことがあります。また、信頼できないサーバからのPathfindingの結果には注意する必要があります。オペレーターの収益となるように、最良ではないパスを返すようにサーバが改ざんされる可能性があります。Pathfindingについて信頼できる独自サーバがない場合は、1つのサーバから不適切な結果が返されるリスクを最小限に抑えるため、異なる当事者が実行する複数のサーバからのPathfindingの結果を比較してください。(**注記:** サーバから最良ではない結果が返されても、必ずしも悪意のある振る舞いの証拠とはなりません。サーバの負荷が高い場合の症状である可能性もあります。) ## path_find create -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/PathFind.cpp#L50-L56 "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/PathFind.cpp#L50-L56" /%} `path_find`の`create`サブコマンドは、指定された特定アカウントから支払トランザクションを実行できるパスを探索する継続的なリクエストを作成し、別のアカウントが何らかの通貨で希望する額を受領できるようにします。初期レスポンスには2つのアドレス間で提案されるパスが含まれています。このパスにより、希望する額を受領できます。その後サーバは、`"type": "path_find"`で有効なパスの更新を含む追加メッセージを送信します。更新の頻度はサーバにより決定されますが、新しいレジャーバージョンがある場合には通常、数秒間に1回です。 @@ -499,7 +499,7 @@ path_find createリクエストからの非同期フォローアップの例を {% /tabs %} ## path_find close -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/PathFind.cpp#L58-L67 "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/PathFind.cpp#L58-L67" /%} `path_find`の`close`サブコマンドは、サーバに対して現在実行中のPathfindingリクエストに関する情報の送信を停止するように指示します。 @@ -544,7 +544,7 @@ Pathfindingリクエストが正常にクローズされた場合、レスポン * `noPathRequest` - Pathfindingリクエストをクローズしようとしましたが、実行中のリクエストがありませんでした。 ## path_find status -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/PathFind.cpp#L69-L77 "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/PathFind.cpp#L69-L77" /%} `path_find`の`status`サブコマンドは、現在実行中のクライアントのPathfindingリクエストの即時更新をリクエストします。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/ripple_path_find.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/ripple_path_find.md index c58072901e..677a72e71c 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/ripple_path_find.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/ripple_path_find.md @@ -8,7 +8,7 @@ labels: - トークン --- # ripple_path_find -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/RipplePathFind.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/RipplePathFind.cpp" /%} `ripple_path_find`メソッドは、[path_findメソッド][]のシンプルなバージョンであり、すぐに利用できる[ペイメントパス](../../../../concepts/tokens/fungible-tokens/paths.md)を含む1つのレスポンスを返します。WebSocket APIとJSON-RPC APIの両方で使用できます。ただし、結果は時間の経過とともに古くなる傾向にあります。最新の状態を維持するために複数のコールを実行する代わりに、可能な場合には[path_findメソッド][]を使用して、継続的な更新をサブスクライブします。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md index 661e7401b5..cc27c9ca25 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md @@ -7,7 +7,7 @@ labels: - Payment Channel --- # channel_authorize -[[ソース]](https://github.com/XRPLF/rippled/blob/d4a56f223a3b80f64ff70b4e90ab6792806929ca/src/ripple/rpc/handlers/PayChanClaim.cpp#L41 "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/signing/ChannelAuthorize.cpp" /%} _([PayChan Amendment][]が有効になっている必要があります。{% badge href="https://github.com/XRPLF/rippled/releases/tag/0.33.0" %}新規: rippled 0.33.0{% /badge %})_ diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_verify.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_verify.md index 1a8fb4ae84..e820cfdf78 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_verify.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_verify.md @@ -7,7 +7,7 @@ labels: - Payment Channel --- # channel_verify -[[ソース]](https://github.com/XRPLF/rippled/blob/d4a56f223a3b80f64ff70b4e90ab6792806929ca/src/ripple/rpc/handlers/PayChanClaim.cpp#L89 "Source") +{% source-link path="src/xrpld/rpc/handlers/ChannelVerify.cpp" /%} _([PayChan Amendment][]が有効になっている必要があります。{% badge href="https://github.com/XRPLF/rippled/releases/tag/0.33.0" %}新規: rippled 0.33.0{% /badge %})_ diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/fee.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/fee.md index 66074d95c4..55fa56bbe3 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/fee.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/fee.md @@ -7,7 +7,7 @@ labels: - 手数料 --- # fee -[[ソース]](https://github.com/XRPLF/rippled/blob/release/src/ripple/rpc/handlers/Fee1.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/server_info/Fee.cpp" /%} `fee`コマンドは、[トランザクションコスト](../../../../concepts/transactions/transaction-cost.md)に関するオープンレジャーの要件の現在の状態を報告します。このコマンドを使用するには、[FeeEscalation Amendment][]が有効になっている必要があります。{% badge href="https://github.com/XRPLF/rippled/releases/tag/0.31.0" %}新規: rippled 0.31.0{% /badge %} diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/manifest.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/manifest.md index 826eb0c717..8ed5a98d18 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/manifest.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/manifest.md @@ -7,7 +7,7 @@ labels: - ブロックチェーン --- # manifest -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/Manifest.cpp "ソース") +{% source-link path="src/xrpld/rpc/handlers/server_info/Manifest.cpp" /%} {% code-page-name /%}メソッドは、指定したバリデータ公開鍵の現在の"マニフェスト"情報を報告します。"マニフェスト"は、バリデータのマスターキーペアから署名付きの公開鍵(ephemeral signing key)を認証するためのデータブロックです。{% badge href="https://github.com/XRPLF/rippled/releases/tag/1.7.0" %}更新: rippled 1.7.0{% /badge %}. diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_definitions.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_definitions.md index f652939e42..552c2fef34 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_definitions.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_definitions.md @@ -8,7 +8,7 @@ labels: --- # server_definitions -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/ServerInfo.cpp#L43 "ソース") +{% source-link path="src/xrpld/rpc/handlers/server_info/ServerInfo.cpp#L43" /%} `server_definitions`コマンドは実行中の`xrpld`インスタンスから生成されたSDK互換の`definitions.json`を返します。これを使用してネットワーク上のノードにアクセスし、そのバイナリデータをシリアライズ/デシリアライズするために必要な定義を受け取ることができます。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_info.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_info.md index 016c6a9ab2..62fb7de666 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_info.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_info.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # server_info (xrpld) -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/ServerInfo.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/server_info/ServerInfo.cpp" /%} `server_info`コマンドは、問い合わせ中の`xrpld`サーバについての各種情報を、人間が読めるフォーマットでサーバにリクエストします。[Clioサーバ](../../../../concepts/networks-and-servers/the-clio-server.md)については、[`server_info` (Clio)](../clio-methods/server_info-clio.md)をご覧ください。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_state.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_state.md index c0ef93a54f..2aed463ba1 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_state.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_state.md @@ -8,7 +8,7 @@ labels: --- # server_state -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/ServerState.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/server_info/ServerState.cpp" /%} `server_state`コマンドは、サーバに対し`xrpld`サーバの現在の状態に関するさまざまな機械可読の情報を問い合わせます。レスポンスは[server_infoメソッド][]の場合とほぼ同じですが、読み取りやすい単位ではなく処理しやすい単位を使用します。(たとえば、XRP値は科学的記数法や10進数値の代わりに整数のdrop数で示され、時刻は秒単位ではなくミリ秒単位で示されます。) diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/subscription-methods/subscribe.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/subscription-methods/subscribe.md index 59f0236960..d6d3e3e960 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/subscription-methods/subscribe.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/subscription-methods/subscribe.md @@ -10,7 +10,7 @@ labels: - スマートコントラクト --- # subscribe -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Subscribe.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/subscribe/Subscribe.cpp" /%} `subscribe`メソッドは、特定のイベントが発生した場合に、定期的に通知するようサーバにリクエストします。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/subscription-methods/unsubscribe.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/subscription-methods/unsubscribe.md index 856421099b..d6c4025460 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/subscription-methods/unsubscribe.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/subscription-methods/unsubscribe.md @@ -10,7 +10,7 @@ labels: - スマートコントラクト --- # unsubscribe -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/Unsubscribe.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/subscribe/Unsubscribe.cpp" /%} `unsubscribe`コマンドはサーバに対して、特定のサブスクリプションまたは一連のサブスクリプションへのメッセージ送信の停止を指示します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/simulate.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/simulate.md index ae0a90ccf3..3ab6422144 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/simulate.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/simulate.md @@ -5,7 +5,7 @@ labels: - トランザクション送信 --- # simulate -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Simulate.cpp "ソース") +{% source-link path="src/xrpld/rpc/handlers/transaction/Simulate.cpp" /%} `simulate` メソッドは、あらゆる トランザクションを仮実行し、XRP Ledger に反映することなく、その結果やメタデータを事前に確認できます。このコマンドはネットワークにトランザクションを送信しないため、手数料は発生しません。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit.md index b11682af02..04491ea5e2 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit.md @@ -8,7 +8,7 @@ labels: - 支払い --- # submit -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/Submit.cpp "ソース") +{% source-link path="src/xrpld/rpc/handlers/transaction/Submit.cpp" /%} `submit`メソッドは[トランザクション](../../../protocol/transactions/index.md)を適用し、トランザクションの確認と将来のレジャーへの記録が行われるように、ネットワークに送信します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit_multisigned.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit_multisigned.md index 02d28eedec..446ecd4e7b 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit_multisigned.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit_multisigned.md @@ -7,7 +7,7 @@ labels: - トランザクション送信 --- # submit_multisigned -[[ソース]](https://github.com/XRPLF/rippled/blob/release/src/ripple/rpc/handlers/SubmitMultiSigned.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/transaction/SubmitMultiSigned.cpp" /%} `submit_multisigned`コマンドは[マルチシグ](../../../../concepts/accounts/multi-signing.md)トランザクションを適用し、このトランザクションをネットワークに送信して、今後のレジャーに追加します。([`submit`コマンドを送信専用モードで](submit.md#送信専用モード)使用して、マルチシグトランザクションをバイナリー形式で送信することもできます。) diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/transaction_entry.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/transaction_entry.md index 0b48c8dc7c..e78f46c858 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/transaction_entry.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/transaction_entry.md @@ -7,7 +7,7 @@ labels: - トランザクション送信 --- # transaction_entry -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/TransactionEntry.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/transaction/TransactionEntry.cpp" /%} `transaction_entry`メソッドは、特定のレジャーバージョンから1つのトランザクションに関する情報を取得します。(これに対して、[txメソッド][]はすべてのレジャーから指定のトランザクションを検索します。txメソッドの使用をお勧めします。) diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx.md index 04162fa710..e8273fdde9 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx.md @@ -9,7 +9,7 @@ labels: --- # tx -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/Tx.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/transaction/Tx.cpp" /%} `tx`メソッドは1つのトランザクションに関する情報を取得します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx_history.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx_history.md index 3acae437e4..aa879f2090 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx_history.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx_history.md @@ -5,7 +5,7 @@ seo: description: 直近に作成されたトランザクションの一部を取得します。 --- # tx_history -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/TxHistory.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/transaction/TxHistory.cpp" /%} `tx_history`メソッドは、直近に作成されたトランザクションの一部を取得します。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/utility-methods/ping.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/utility-methods/ping.md index ca17b08455..2d1340edaa 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/utility-methods/ping.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/utility-methods/ping.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # ping -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/Ping.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/utility/Ping.cpp" /%} `ping`コマンドは確認レスポンスを返します。これにより、クライアントは接続のステータスと遅延をテストできます。 diff --git a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/utility-methods/random.md b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/utility-methods/random.md index 30d63a66e8..69ce2ffac7 100644 --- a/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/utility-methods/random.md +++ b/@l10n/ja/docs/references/http-websocket-apis/public-api-methods/utility-methods/random.md @@ -7,7 +7,7 @@ labels: - コアサーバ --- # random -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/Random.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/utility/Random.cpp" /%} `random`コマンドは、クライアントが乱数生成のエントロピー生成源として使用する乱数を提供します。 diff --git a/@l10n/ja/docs/references/protocol/binary-format.md b/@l10n/ja/docs/references/protocol/binary-format.md index 639d06ddfa..87a42b0b7b 100644 --- a/@l10n/ja/docs/references/protocol/binary-format.md +++ b/@l10n/ja/docs/references/protocol/binary-format.md @@ -15,7 +15,7 @@ curated_anchors: anchor: "#タイプリスト" --- # バイナリフォーマット -[[ソース]](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/impl/STObject.cpp#L696-L718 "Source") +{% source-link path="src/libxrpl/protocol/STObject.cpp#L696-L718" /%} このページでは、XRP Ledgerのトランザクションとその他のデータの正規バイナリフォーマットについて説明します。このバイナリフォーマットは、トランザクションの内容のデジタル署名を作成および検証するために必要であり、[サーバ間のピアツーピア通信](../../concepts/networks-and-servers/peer-protocol.md)を含む他の用途にも使用されます。通常、[`xrpld` API](../http-websocket-apis/index.md)は、JSONを使用してクライアントアプリケーションと通信します。ただしJSONは、同じデータをさまざまな同等の方法で表現できるため、デジタル署名を付与するトランザクションをシリアル化するのに適したフォーマットではありません。 @@ -55,7 +55,7 @@ curated_anchors: ここで説明するシリアル化プロセスは複数の場所にさまざまなプログラミング言語で実装されています。 -- C++: [`rippled`コードベース](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/impl/STObject.cpp) +- C++: {% source-link name="rippledコードベース" path="src/libxrpl/protocol/STObject.cpp" /%} - JavaScript: [`ripple-binary-codec`](https://github.com/ripple/ripple-binary-codec/)パッケージ - Python 3: {% repo-link path="_code-samples/tx-serialization/" %}このリポジトリのコードサンプルセクション{% /repo-link %} @@ -65,7 +65,7 @@ curated_anchors: ## 内部フォーマット -各フィールドには「内部」バイナリフォーマットがあります。このフォーマットは、`rippled`ソースコードで署名時に(およびその他のほとんどの場合に)そのフィールドを表示するのに使用されます。すべてのフィールドの内部フォーマットは、[`SField.cpp`](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/SField.cpp)のソースコードに定義されています。(このフィールドには、トランザクションフィールド以外のフィールドも含まれています。)[トランザクションフォーマットリファレンス](transactions/index.md)にも、すべてのトランザクションフィールドの内部フォーマットが記載されています。 +各フィールドには「内部」バイナリフォーマットがあります。このフォーマットは、`rippled`ソースコードで署名時に(およびその他のほとんどの場合に)そのフィールドを表示するのに使用されます。すべてのフィールドの内部フォーマットは、{% source-link name="SField.cpp" path="src/libxrpl/protocol/SField.cpp" /%}のソースコードに定義されています。(このフィールドには、トランザクションフィールド以外のフィールドも含まれています。)[トランザクションフォーマットリファレンス](transactions/index.md)にも、すべてのトランザクションフィールドの内部フォーマットが記載されています。 たとえば`Flags`[共通トランザクションフィールド](transactions/common-fields.md)はUInt32(32ビット符号なし整数)になります。 @@ -155,17 +155,17 @@ curated_anchors: ### タイプコード -各フィールドタイプには任意のタイプコードが含まれており、番号が小さいコードから最初にソートされます。これらのコードは[`SField.h`](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/SField.h#L60-L98)で定義されています。 +各フィールドタイプには任意のタイプコードが含まれており、番号が小さいコードから最初にソートされます。これらのコードは{% source-link name="SField.h" path="include/xrpl/protocol/SField.h#L60-L98" /%}で定義されています。 -たとえば [UInt32のタイプコードが2である](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/SField.h#L67)ので、すべてのUInt32フィールドは、すべての[Amountフィールド(タイプコード6)](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/SField.h#L71)よりも前に位置します。 +たとえば {% 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" /%}よりも前に位置します。 [定義ファイル](#定義ファイル)には、`TYPES`マップの各タイプのタイプコードがリストされています。 ### フィールドコード -各フィールドにはフィールドコードが含まれています。フィールドコードは、同じタイプのフィールドをソートするときに使用され、番号が小さいコードが最初になるようにソートされます。これらのフィールドは[`sfields/macro`](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/detail/sfields.macro)で定義されています。 +各フィールドにはフィールドコードが含まれています。フィールドコードは、同じタイプのフィールドをソートするときに使用され、番号が小さいコードが最初になるようにソートされます。これらのフィールドは{% source-link name="sfields/macro" path="include/xrpl/protocol/detail/sfields.macro" /%}で定義されています。 -たとえば[Paymentトランザクション][]の`Account`フィールドの[ソートコードが1である](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/detail/sfields.macro#L269)場合、このフィールドは`Destination`フィールド([ソートコードが3である](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/detail/sfields.macro#L271)フィールド)よりも前に位置します。 +たとえば[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" /%}フィールド)よりも前に位置します。 フィールドコードは異なるフィールドタイプのフィールドで再利用されますが、同じタイプのフィールドに同じフィールドコードが含まれることはありません。タイプコードとフィールドコードを組み合わせると、フィールドの一意の[フィールドID](#フィールドid)になります。 @@ -239,7 +239,7 @@ curated_anchors: [{% inline-svg file="/docs/img/serialization-amount.ja.svg" /%}](/docs/img/serialization-amount.ja.svg "「非XRP」ビット、符号ビット、および62ビットの精度で構成されるXRPの額。「非XRP」ビット、符号ビット、指数(8ビット)、仮数(54ビット)、通貨コード(160ビット)、イシュアー(160ビット)で構成されるトークンの額。") #### トークンの数量フォーマット -[[ソース]](https://github.com/XRPLF/rippled/blob/35fa20a110e3d43ffc1e9e664fc9017b6f2747ae/src/ripple/protocol/impl/STAmount.cpp "ソース") +{% source-link path="src/libxrpl/protocol/STAmount.cpp" /%} [{% inline-svg file="/docs/img/currency-number-format.ja.svg" /%}](/docs/img/currency-number-format.ja.svg "トークンの数量フォーマットの図") @@ -328,12 +328,12 @@ XRP LedgerのハッシュタイプにはHash128、Hash160、Hash256がありま クロスカレンシーの[Paymentトランザクション][]の`Paths`フィールドは、JSONで配列からなる配列として表される「PathSet」です。使用されるパスについての詳細は、[パス](../../concepts/tokens/fungible-tokens/paths.md)をご覧ください。 -PathSetは、**1~6**の個別パスとして順序どおりにシリアル化されます[[ソース]](https://github.com/XRPLF/rippled/blob/4cff94f7a4a05302bdf1a248515379da99c5bcd4/src/ripple/app/tx/impl/Payment.h#L35-L36 "Source")。それぞれの完全なパスの後には、パスの後に続く内容を示すバイトが配置されます。 +PathSetは、**1~6**の個別パスとして順序どおりにシリアル化されます{% source-link path="include/xrpl/tx/transactors/payment/Payment.h#L35-L36" /%}。それぞれの完全なパスの後には、パスの後に続く内容を示すバイトが配置されます。 - `0xff`は別のパスが続くことを示します。 - `0x00`はPathSetの終わりを示します。 -各パスには**1~8**のパスステップがこの順序で含まれています[[ソース]](https://github.com/XRPLF/rippled/blob/4cff94f7a4a05302bdf1a248515379da99c5bcd4/src/ripple/app/tx/impl/Payment.h#L38-L39 "Source")。各ステップは**タイプ**を示すバイトで始まり、その後にパスステップを記述する1つ以上のフィールドが続きます。タイプは、ビット単位のフラグを使用してそのパスステップに含まれるフィールドを示します。(たとえば値が`0x30`の場合、通貨とイシュアーの両方が変更されます。)複数のフィールドが含まれている場合、フィールドは常に特定の順序で配置されます。 +各パスには**1~8**のパスステップがこの順序で含まれています{% source-link path="include/xrpl/tx/transactors/payment/Payment.h#L38-L39" /%}。各ステップは**タイプ**を示すバイトで始まり、その後にパスステップを記述する1つ以上のフィールドが続きます。タイプは、ビット単位のフラグを使用してそのパスステップに含まれるフィールドを示します。(たとえば値が`0x30`の場合、通貨とイシュアーの両方が変更されます。)複数のフィールドが含まれている場合、フィールドは常に特定の順序で配置されます。 以下の表に、有効なフィールドと、タイプバイトでフィールドを示すために設定されるビット単位のフラグを示します。 diff --git a/@l10n/ja/docs/references/protocol/data-types/basic-data-types.md b/@l10n/ja/docs/references/protocol/data-types/basic-data-types.md index 6ea948b616..033de404b6 100644 --- a/@l10n/ja/docs/references/protocol/data-types/basic-data-types.md +++ b/@l10n/ja/docs/references/protocol/data-types/basic-data-types.md @@ -28,7 +28,7 @@ seo: ### ハッシュプレフィクス -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/HashPrefix.h "Source") +{% source-link path="include/xrpl/protocol/HashPrefix.h" /%} 多くの場合、XRP Ledgerではオブジェクトのバイナリデータに4バイトのプレフィクスを付けてからハッシュを計算するため、異なるタイプのオブジェクトが同じバイナリフォーマットである場合でも、異なるハッシュが設定されます。既存の4バイトコードは、ASCIIでエンコードされた英字3文字の後に0バイトが続く構成となっています。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/common-fields.md b/@l10n/ja/docs/references/protocol/ledger-data/common-fields.md index dc6a875c18..160197ff58 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/common-fields.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/common-fields.md @@ -4,7 +4,7 @@ seo: description: これらの共通フィールドは、すべてのレジャーエントリの一部です。 --- # Ledger Entryの共通フィールド -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/LedgerFormats.cpp) +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp" /%} [レジャー](../../../concepts/ledgers/index.md)の状態データの各エントリは、同じ共通フィールドのセットと、[レジャーエントリのタイプ](ledger-entry-types/index.md)に基づく追加フィールドを持ちます。フィールド名は大文字と小文字を区別します。すべてのレジャーエントリの共通フィールドは以下の通りです。 @@ -19,9 +19,9 @@ seo: ## Ledger Entry ID -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/Indexes.cpp) +{% source-link path="src/libxrpl/protocol/Indexes.cpp" /%} -各レジャーエントリには一意のIDがあります。IDは、エントリの重要な内容と[名前空間識別子](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/LedgerFormats.h)をハッシュすることで得られます。[レジャーエントリのタイプ](ledger-entry-types/index.md)は、使用する名前空間識別子と、ハッシュに含めるコンテンツを決定します。これにより、すべてのIDが一意になります。ハッシュ関数は[SHA-512Half][]です。 +各レジャーエントリには一意のIDがあります。IDは、エントリの重要な内容と{% source-link name="名前空間識別子" path="include/xrpl/protocol/LedgerFormats.h" /%}をハッシュすることで得られます。[レジャーエントリのタイプ](ledger-entry-types/index.md)は、使用する名前空間識別子と、ハッシュに含めるコンテンツを決定します。これにより、すべてのIDが一意になります。ハッシュ関数は[SHA-512Half][]です。 一般的に、レジャーエントリのIDはJSONの`index`フィールドとして、オブジェクトの内容と同じレベルで返されます。[トランザクションのメタデータ](../transactions/metadata.md)では、JSONにおけるレジャーオブジェクトのIDは`LedgerIndex`です。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/amendments.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/amendments.md index bfa8d810c1..53948337db 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/amendments.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/amendments.md @@ -5,7 +5,7 @@ labels: - ブロックチェーン --- # Amendments -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/LedgerFormats.cpp#L110-L113 "Source") +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L110-L113" /%} `Amendments`オブジェクトタイプには、現在アクティブな[Amendment](../../../../concepts/networks-and-servers/amendments.md)のリストが含まれています。各レジャーバージョンには**最大で1つの**`Amendments`オブジェクトが含まれています。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/bridge.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/bridge.md index 548cd6ee44..232310efbb 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/bridge.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/bridge.md @@ -10,7 +10,7 @@ status: not_enabled # Bridge _([XChainBridge Amendment][] {% not-enabled /%} が必要です)_ -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/LedgerFormats.cpp#L286-L300 "ソース") +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L286-L300" /%} `Bridge`レジャーエントリは、XRP Ledgerをサイドチェーンなどの別のブロックチェーンと接続し、XRPやその他のトークン(IOU)の形で2つのブロックチェーン間を効率的に移動することを可能にする、1つのクロスチェーンブリッジを表します。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/check.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/check.md index 5c8fa4a1e8..61fbe95f50 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/check.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/check.md @@ -7,7 +7,7 @@ labels: - Checks --- # Check -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/LedgerFormats.cpp#L157-L170 "Source") +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L157-L170" /%} _([Checks Amendment][]が必要です)_ @@ -65,7 +65,7 @@ _([Checks Amendment][]が必要です)_ ## Check IDのフォーマット -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/Indexes.cpp#L193-L200 "Source") +{% source-link path="src/libxrpl/protocol/Indexes.cpp#L193-L200" /%} `Check`オブジェクトのIDは、以下の値がこの順序で連結されている[SHA-512Half][]です。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/depositpreauth.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/depositpreauth.md index 316675959b..0da529bafb 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/depositpreauth.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/depositpreauth.md @@ -7,7 +7,7 @@ labels: - セキュリティ --- # DepositPreauth -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/LedgerFormats.cpp#L172-L178 "Source") +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L172-L178" /%} `DepositPreauth`エントリは、1つのアカウントからの事前承認を追跡します。常に[DepositPreauthトランザクション][]を送信することで事前承認を作成できますが、[Deposit Authorization](../../../../concepts/accounts/depositauth.md)を使用していない限り、効果はありません。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/did.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/did.md index cf8108e270..96fc11e8f3 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/did.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/did.md @@ -7,7 +7,7 @@ labels: - DID --- # DID -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/LedgerFormats.cpp#L330-L341 "ソース) +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L330-L341" /%} _([DID Amendment][])_ diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/directorynode.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/directorynode.md index 7f88794093..a9970699ff 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/directorynode.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/directorynode.md @@ -6,7 +6,7 @@ labels: - 分散型取引所 --- # DirectoryNode -[[ソース]](https://github.com/XRPLF/rippled/blob/7e24adbdd0b61fb50967c4c6d4b27cc6d81b33f3/include/xrpl/protocol/detail/ledger_entries.macro#L177-L192 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L177-L192" /%} `DirectoryNode`オブジェクトタイプは、レジャーの状態ツリー内の他オブジェクトへのリンクのリストを提供します。概念上の1つの _ディレクトリ_ は、1つ以上の各DirectoryNodeオブジェクトが含まれる二重リンクリストの形式になっています。各DirectoryNodeオブジェクトには、他オブジェクトの[ID](../common-fields.md)が最大32個まで含まれています。1番目のオブジェクトはディレクトリのルートと呼ばれ、ルートオブジェクト以外のオブジェクトはすべて必要に応じて自由に追加または削除できます。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/escrow.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/escrow.md index 3b0e47ab4a..980e3980ff 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/escrow.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/escrow.md @@ -5,7 +5,7 @@ labels: - Escrow --- # Escrow -[[ソース]](https://github.com/XRPLF/rippled/blob/c6b6d82a754fe449cc533e18659df483c10a5c98/src/ripple/protocol/impl/LedgerFormats.cpp#L90-L101 "Source") +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L90-L101" /%} `Escrow`レジャーエントリは特定の条件が満たされるまでXRPを保持する1つの[エスクロー](../../../../concepts/payment-types/escrow.md)を表します。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/feesettings.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/feesettings.md index 570e697c29..34f4969025 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/feesettings.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/feesettings.md @@ -5,7 +5,7 @@ labels: - 手数料 --- # FeeSettings -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/LedgerFormats.cpp#L115-L120 "Source") +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L115-L120" /%} `FeeSettings`オブジェク トタイプには、現在の基本[トランザクションコスト](../../../../concepts/transactions/transaction-cost.md)と、[手数料投票](../../../../concepts/consensus-protocol/fee-voting.md)により決定する[準備金の額](../../../../concepts/accounts/reserves.md)が含まれています。各レジャーバージョンには**最大で1つの** `FeeSettings`オブジェクトが含まれています。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/ledgerhashes.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/ledgerhashes.md index 9eac5c8f6e..c9bff39d8a 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/ledgerhashes.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/ledgerhashes.md @@ -7,7 +7,7 @@ labels: - ブロックチェーン --- # LedgerHashes -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/LedgerFormats.cpp#L104-L108 "Source") +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L104-L108" /%} (レジャーバージョンを一意に示す[「ledger hash」文字列データ型][ハッシュ]と混同しないでください。このセクションでは、`LedgerHashes`レジャーオブジェクトタイプについて説明します。) @@ -65,7 +65,7 @@ labels: 「過去の履歴」`LedgerHashes`オブジェクトは[スキップリスト](https://en.wikipedia.org/wiki/Skip_list)として機能するので、任意の履歴フラッグレジャーのハッシュをそのインデックスから取得できます。さらに、フラッグレジャーの「最近の履歴」オブジェクトを使用してその他のレジャーのハッシュを取得できます。 ## LedgerHashes IDのフォーマット -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/Indexes.cpp#L26-L42) +{% source-link path="src/libxrpl/protocol/Indexes.cpp#L26-L42" /%} `LedgerHashes`オブジェクトIDには2種類のフォーマットがあります。これは、オブジェクトのサブタイプが「最近の履歴」と「過去の履歴」のいずれであるかに応じて決まります。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/offer.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/offer.md index f92a46423b..1806ec7570 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/offer.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/offer.md @@ -7,7 +7,7 @@ labels: - 分散型取引所 --- # Offer -[[ソース]](https://github.com/XRPLF/rippled/blob/7e24adbdd0b61fb50967c4c6d4b27cc6d81b33f3/include/xrpl/protocol/detail/ledger_entries.macro#L242-L255 "ソース") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L242-L255" /%} `Offer`レジャーエントリは、XRP Ledgerの[分散型取引所](../../../../concepts/tokens/decentralized-exchange/index.md)で通貨を交換する[オファー](../../../../concepts/tokens/decentralized-exchange/offers.md)を表しています。(金融ではより伝統的に _オーダー_ として知られています)。[OfferCreateトランザクション][]は他のOfferを全額約定できない場合、Offerエントリを作成します。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/oracle.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/oracle.md index 4240fa23de..21d743436d 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/oracle.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/oracle.md @@ -2,7 +2,7 @@ _([PriceOracle Amendment][])_ -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/LedgerFormats.cpp#L353-L366 "ソース") +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L353-L366" /%} Oracleのレジャーエントリには、単一資産の価格オラクルオブジェクトに関連するデータが格納されています。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/paychannel.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/paychannel.md index 8d5287c6c7..2ccf2dbbd3 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/paychannel.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/paychannel.md @@ -5,7 +5,7 @@ labels: - Payment Channel --- # PayChannel -[[ソース]](https://github.com/XRPLF/rippled/blob/c0a0b79d2d483b318ce1d82e526bd53df83a4a2c/src/ripple/protocol/impl/LedgerFormats.cpp#L180-L198 "Source") +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L180-L198" /%} `PayChannel`エントリは1つの[支払いチャネル](../../../../concepts/payment-types/payment-channels.md)を表します。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/permissioneddomain.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/permissioneddomain.md index a3929fa08c..b73041c76b 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/permissioneddomain.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/permissioneddomain.md @@ -6,7 +6,7 @@ labels: - 許可型ドメイン --- # PermissionedDomain -[[ソース]](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/detail/ledger_entries.macro#L451-L461 "ソース") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L451-L461" /%} `PermissionedDomain`レジャーエントリは、単一の[許可型ドメイン][]インスタンスを記述します。[PermissionedDomainSetトランザクション][]を送信することで、許可型ドメインを作成できます。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/ripplestate.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/ripplestate.md index c1dc2638b9..58954e3bf2 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/ripplestate.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/ripplestate.md @@ -7,7 +7,7 @@ labels: - トークン --- # RippleState -[[ソース]](https://github.com/XRPLF/rippled/blob/5d2d88209f1732a0f8d592012094e345cbe3e675/src/ripple/protocol/impl/LedgerFormats.cpp#L70 "Source") +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L70" /%} `RippleState`のレジャーエントリは、2つのアカウント間の[トラストライン](../../../../concepts/tokens/fungible-tokens/index.md)を表します。各アカウントは限度額やその他の設定を変更できますが、残高は共通の値です。完全にデフォルトのトラストラインは、存在しないトラストラインと同じとみなされ、自動的に削除されます。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/signerlist.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/signerlist.md index bdfb01aeea..e7b6e5adf9 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/signerlist.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/signerlist.md @@ -5,7 +5,7 @@ labels: - セキュリティ --- # SignerList -[[ソース]](https://github.com/XRPLF/rippled/blob/6d2e3da30696bd10e3bb11a5ff6d45d2c4dae90f/src/ripple/protocol/impl/LedgerFormats.cpp#L127 "Source") +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L127" /%} `SignerList`オブジェクトタイプは、個別アカウントの代わりにグループとしてトランザクション署名をすることが承認されている署名者のリストです。[SignerListSetトランザクション][]を使用して、SignerListを作成、置き換え、または削除できます。 diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/ticket.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/ticket.md index 214c29524d..6f578863ff 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/ticket.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-entry-types/ticket.md @@ -8,7 +8,7 @@ labels: --- # Ticket -[[ソース]](https://github.com/XRPLF/rippled/blob/76a6956138c4ecd156c5c408f136ed3d6ab7d0c1/src/ripple/protocol/impl/LedgerFormats.cpp#L155-L164) +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp#L155-L164" /%} _([TicketBatch amendment][]が必要です)_ diff --git a/@l10n/ja/docs/references/protocol/ledger-data/ledger-header.md b/@l10n/ja/docs/references/protocol/ledger-data/ledger-header.md index b0d1e6feb7..fd1469f82c 100644 --- a/@l10n/ja/docs/references/protocol/ledger-data/ledger-header.md +++ b/@l10n/ja/docs/references/protocol/ledger-data/ledger-header.md @@ -8,7 +8,7 @@ labels: - ブロックチェーン --- # レジャーヘッダー -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/ledger/ReadView.h#L71 "Source") +{% source-link path="include/xrpl/ledger/ReadView.h#L71" /%} すべてのレジャーバージョンには、その内容を記述する一意のヘッダーが含まれています。[ledgerメソッド][]を使用してレジャーのヘッダー情報を検索できます。レジャーヘッダーの内容を以下に示します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/transaction-results/index.md b/@l10n/ja/docs/references/protocol/transactions/transaction-results/index.md index 97ec597794..7984d0fc8b 100644 --- a/@l10n/ja/docs/references/protocol/transactions/transaction-results/index.md +++ b/@l10n/ja/docs/references/protocol/transactions/transaction-results/index.md @@ -8,7 +8,7 @@ labels: --- # トランザクションの結果 -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/TER.h "Source") +{% source-link path="include/xrpl/protocol/TER.h" /%} `xrpld`サーバは、トランザクション結果の要約を結果コードで示し、結果コードは`engine_result`や`meta.TransactionResult`などのフィールドに記述されます。これらのコードは、それぞれ異なるプレフィクスを付加した複数のカテゴリに分類されます。 diff --git a/@l10n/ja/docs/references/protocol/transactions/transaction-results/tec-codes.md b/@l10n/ja/docs/references/protocol/transactions/transaction-results/tec-codes.md index 638e39c0e2..3716cad818 100644 --- a/@l10n/ja/docs/references/protocol/transactions/transaction-results/tec-codes.md +++ b/@l10n/ja/docs/references/protocol/transactions/transaction-results/tec-codes.md @@ -5,7 +5,7 @@ labels: - トランザクション送信 --- # tecコード -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TER.cpp "ソース") +{% source-link path="src/libxrpl/protocol/TER.cpp" /%} これらのコードは、トランザクションは失敗したものの、[トランザクションコスト](../../../../concepts/transactions/transaction-cost.md)を適用するために、このトランザクションがレジャーに適用されたことを示します。100から199までの数値が含まれています。数値ではなくテキストコードの使用が推奨されます。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/accountdelete.md b/@l10n/ja/docs/references/protocol/transactions/types/accountdelete.md index 94747abf88..8afe0e4368 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/accountdelete.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/accountdelete.md @@ -8,7 +8,7 @@ txIcon: cancel --- # AccountDelete -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/DeleteAccount.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/account/AccountDelete.cpp" /%} AccountDeleteトランザクションは、XRP Ledgerで[アカウント](../../ledger-data/ledger-entry-types/accountroot.md)と、アカウントが所有するオブジェクトを削除し、可能であれば、アカウントの残りのXRPを指定された送金先アカウントに送信します。アカウントを削除する要件については、[アカウントの削除](../../../../concepts/accounts/deleting-accounts.md)をご覧ください。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/accountset.md b/@l10n/ja/docs/references/protocol/transactions/types/accountset.md index 462d5e2fd1..d11249e7bb 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/accountset.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/accountset.md @@ -7,7 +7,7 @@ txIcon: modify --- # AccountSet -[[ソース]](https://github.com/XRPLF/rippled/blob/f65cea66ef99b1de149c02c15f06de6c61abf360/src/ripple/app/transactors/SetAccount.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/account/AccountSet.cpp" /%} AccountSetトランザクションは、[XRP Ledgerのアカウント](../../ledger-data/ledger-entry-types/accountroot.md)のプロパティーを修正します。 @@ -32,7 +32,7 @@ AccountSetトランザクションは、[XRP Ledgerのアカウント](../../led | フィールド | JSONの型 | [内部の型][] | 説明 | |:-----------------|:-----------------|:------------------|:-------------------| | [`ClearFlag`](#accountsetのフラグ) | 数値 | UInt32 | _(省略可)_ このアカウントについてオプションを無効にするためのフラグの一意識別子。 | -| [`Domain`](#domain) | 文字列 | Blob | _(省略可)_ このアカウントを保有するドメインのASCII小文字を表現する16進文字列。[256バイトを超える長さは使用できません。](https://github.com/XRPLF/rippled/blob/55dc7a252e08a0b02cd5aa39e9b4777af3eafe77/src/ripple/app/tx/impl/SetAccount.h#L34) | +| [`Domain`](#domain) | 文字列 | Blob | _(省略可)_ このアカウントを保有するドメインのASCII小文字を表現する16進文字列。{% source-link name="256バイトを超える長さは使用できません。" path="include/xrpl/tx/transactors/account/AccountSet.h#L34" /%} | | `EmailHash` | 文字列 | Hash128 | _(省略可)_ アバターイメージの生成に使用されるメールアドレスのハッシュ。一般的に、クライアントは[Gravatar](http://en.gravatar.com/site/implement/hash/)を使用してこのイメージを表示しています。 | | `MessageKey` | 文字列 | Blob | _(省略可)_ 暗号化されたメッセージをこのアカウントに送信するための公開鍵です。キーを設定するには、正確に33バイトである必要があり、最初のバイトはキーの種類を示します。secp256k1鍵の場合は`0x02`または`0x03`、Ed25519鍵の場合は`0xED`です。キーを削除するには、空の値を使用します。 | | `NFTokenMinter` | 文字列 | Blob | _(省略可)_ あなたのために[NFTokensをミントする](../../../../tutorials/tokens/nfts/assign-an-authorized-minter-js.md)ことができる別のアカウント。 {% amendment-disclaimer name="NonFungibleTokensV1_1" /%} | diff --git a/@l10n/ja/docs/references/protocol/transactions/types/ammbid.md b/@l10n/ja/docs/references/protocol/transactions/types/ammbid.md index 9fa6ce8efd..f08d953412 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/ammbid.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/ammbid.md @@ -8,7 +8,7 @@ requiredAmendment: AMM txIcon: modify --- # AMMBid -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMBid.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMBid.cpp" /%} {% amendment-disclaimer name="AMM" /%} diff --git a/@l10n/ja/docs/references/protocol/transactions/types/ammclawback.md b/@l10n/ja/docs/references/protocol/transactions/types/ammclawback.md index 2a5c121756..40d5a40fe1 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/ammclawback.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/ammclawback.md @@ -9,7 +9,7 @@ txIcon: cancel --- # AMMClawback -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMClawback.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMClawback.cpp" /%} 発行したトークンをAMMプールに預け入れた保有者からトークンを回収します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/ammcreate.md b/@l10n/ja/docs/references/protocol/transactions/types/ammcreate.md index e44b59a676..3a91e4a793 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/ammcreate.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/ammcreate.md @@ -10,7 +10,7 @@ requiredAmendment: AMM txIcon: create --- # AMMCreate -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMCreate.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMCreate.cpp" /%} {% amendment-disclaimer name="AMM" /%} diff --git a/@l10n/ja/docs/references/protocol/transactions/types/ammdelete.md b/@l10n/ja/docs/references/protocol/transactions/types/ammdelete.md index 7dbce848a4..33e3a1c3ac 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/ammdelete.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/ammdelete.md @@ -8,7 +8,7 @@ requiredAmendment: AMM txIcon: cancel --- # AMMDelete -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMDelete.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMDelete.cpp" /%} {% amendment-disclaimer name="AMM" /%} diff --git a/@l10n/ja/docs/references/protocol/transactions/types/ammdeposit.md b/@l10n/ja/docs/references/protocol/transactions/types/ammdeposit.md index c937aa197b..7b7b791a05 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/ammdeposit.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/ammdeposit.md @@ -10,7 +10,7 @@ requiredAmendment: AMM txIcon: send --- # AMMDeposit -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMDeposit.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMDeposit.cpp" /%} [自動マーケットメーカー](../../../../concepts/tokens/decentralized-exchange/automated-market-makers.md)(AMM)インスタンスに資金を預け、AMMの流動性プロバイダートークン( _LPトークン_ )を受け取ります。AMMのプールにある資産の一方または両方を預けることができます。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/ammvote.md b/@l10n/ja/docs/references/protocol/transactions/types/ammvote.md index 3b14171263..7da72b1245 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/ammvote.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/ammvote.md @@ -10,7 +10,7 @@ requiredAmendment: AMM txIcon: modify --- # AMMVote -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMVote.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMVote.cpp" /%} [自動マーケットメーカー](../../../../concepts/tokens/decentralized-exchange/automated-market-makers.md)インスタンスの取引手数料を投票します。最大8つのアカウントが、保有するAMMのLPトークンの量に比例して投票することができます。投票を行うごとには、投票の加重平均に基づいてAMMの取引手数料が再計算されます。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/ammwithdraw.md b/@l10n/ja/docs/references/protocol/transactions/types/ammwithdraw.md index 98f7f40119..fcf5f3d8a2 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/ammwithdraw.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/ammwithdraw.md @@ -10,7 +10,7 @@ requiredAmendment: AMM txIcon: send --- # AMMWithdraw -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMWithdraw.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMWithdraw.cpp" /%} AMMの流動性プロバイダトークン(LPトークン)を返却することで、[自動マーケットメーカー](../../../../concepts/tokens/decentralized-exchange/automated-market-makers.md)(AMM)インスタンスから資産を引き出します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/batch.md b/@l10n/ja/docs/references/protocol/transactions/types/batch.md index ab65a4b272..4d415ba918 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/batch.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/batch.md @@ -9,7 +9,7 @@ status: not_enabled txIcon: other --- # Batch -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Batch.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/system/Batch.cpp" /%} `Batch`トランザクションは、最大8つのトランザクションを単一のバッチで送信します。各トランザクションは、4つのモード(全て成功または全て失敗(All or Nothing)、一つのみ成功(Only One)、失敗まで継続(Until Failure)、および独立実行(Independent))のいずれかでアトミックに実行されます。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/checkcancel.md b/@l10n/ja/docs/references/protocol/transactions/types/checkcancel.md index f2c3218a72..d5a58bb014 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/checkcancel.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/checkcancel.md @@ -8,7 +8,7 @@ requiredAmendment: Checks txIcon: cancel --- # CheckCancel -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CancelCheck.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/check/CheckCancel.cpp" /%} 未清算のCheckを取り消し、送金を行わずにレジャーから削除します。Checkの送金元または送金先は、いつでもこのトランザクションタイプを使用してCheckを取り消すことができます。有効期限切れのCheckはすべてのアドレスが取り消すことができます。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/checkcash.md b/@l10n/ja/docs/references/protocol/transactions/types/checkcash.md index 328b9b3e74..18fb2ab8dd 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/checkcash.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/checkcash.md @@ -8,7 +8,7 @@ requiredAmendment: Checks txIcon: finish --- # CheckCash -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CashCheck.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/check/CheckCash.cpp" /%} 対応する[CheckCreateトランザクション][]で承認された額まで受領するため、レジャーでCheckオブジェクトの清算を試みます。CheckCashトランザクションでCheckを換金できるのは、Checkの`Destination`アドレスだけです。このCheckの換金方法は、送金先により開始される[Payment][]の実行に似ています。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/checkcreate.md b/@l10n/ja/docs/references/protocol/transactions/types/checkcreate.md index aef3edc97c..ab74d070f0 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/checkcreate.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/checkcreate.md @@ -8,7 +8,7 @@ requiredAmendment: Checks txIcon: create --- # CheckCreate -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CreateCheck.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/check/CheckCreate.cpp" /%} レジャーにCheckオブジェクトを作成します。これにより指定の送金先は後日換金することができます。このトランザクションの送信者はCheckの送金元です。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/clawback.md b/@l10n/ja/docs/references/protocol/transactions/types/clawback.md index cdd7e552a8..950029573a 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/clawback.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/clawback.md @@ -8,7 +8,7 @@ txIcon: cancel --- # Clawback -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Clawback.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/token/Clawback.cpp" /%} あなたのアカウントが発行したトークンを回収します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/depositpreauth.md b/@l10n/ja/docs/references/protocol/transactions/types/depositpreauth.md index 13365f19cf..bdcaf5c2ac 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/depositpreauth.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/depositpreauth.md @@ -8,7 +8,7 @@ requiredAmendment: DepositPreauth txIcon: modify --- # DepositPreauth -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/DepositPreauth.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/payment/DepositPreauth.cpp" /%} DepositPreauthトランザクションは、あなたのアカウントへの支払いを送金するための事前承認を付与します。これは、あなたが[Deposit Authorization](../../../../concepts/accounts/depositauth.md)を使用している(または使用する予定がある)場合にのみ有用です。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/diddelete.md b/@l10n/ja/docs/references/protocol/transactions/types/diddelete.md index 13ded75cfe..155a01f014 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/diddelete.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/diddelete.md @@ -8,7 +8,7 @@ requiredAmendment: DID txIcon: cancel --- # DIDDelete -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/DID.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/did/DIDDelete.cpp" /%} 指定した`Account`フィールドに関連付けられている[DIDレジャーエントリ](../../ledger-data/ledger-entry-types/did.md)を削除します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/didset.md b/@l10n/ja/docs/references/protocol/transactions/types/didset.md index 22a7d45ffa..82910b8e92 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/didset.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/didset.md @@ -8,7 +8,7 @@ requiredAmendment: DID txIcon: create --- # DIDSet -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/DID.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/did/DIDSet.cpp" /%} 新しい[DIDレジャーエントリ](../../ledger-data/ledger-entry-types/did.md)を作成したり、既存の項目を更新したりします。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/escrowcancel.md b/@l10n/ja/docs/references/protocol/transactions/types/escrowcancel.md index 2ae2251680..50855fb2e4 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/escrowcancel.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/escrowcancel.md @@ -8,7 +8,7 @@ requiredAmendment: Escrow txIcon: cancel --- # EscrowCancel -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Escrow.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/escrow/Escrow.cpp" /%} Escrowに留保されているXRPを送金元に返金します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/escrowcreate.md b/@l10n/ja/docs/references/protocol/transactions/types/escrowcreate.md index c185afb671..ad316d8a70 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/escrowcreate.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/escrowcreate.md @@ -8,7 +8,7 @@ requiredAmendment: Escrow txIcon: create --- # EscrowCreate -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Escrow.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/escrow/Escrow.cpp" /%} Escrowプロセスが終了または取り消されるまでXRPを隔離します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/escrowfinish.md b/@l10n/ja/docs/references/protocol/transactions/types/escrowfinish.md index 9e62ceeee8..1a3f1bcf32 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/escrowfinish.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/escrowfinish.md @@ -8,7 +8,7 @@ requiredAmendment: Escrow txIcon: finish --- # EscrowFinish -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Escrow.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/escrow/Escrow.cpp" /%} エスクロー(保留中の支払い)から受取人へXRPを送金します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/mptokenauthorize.md b/@l10n/ja/docs/references/protocol/transactions/types/mptokenauthorize.md index 6e9c36271c..22f87c5379 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/mptokenauthorize.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/mptokenauthorize.md @@ -8,7 +8,7 @@ requiredAmendment: MPTokensV1 txIcon: modify --- # MPTokenAuthorize -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/MPTokenAuthorize.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/token/MPTokenAuthorize.cpp" /%} {% partial file="/@l10n/ja/docs/_snippets/mpts-disclaimer.md" /%} diff --git a/@l10n/ja/docs/references/protocol/transactions/types/mptokenissuancecreate.md b/@l10n/ja/docs/references/protocol/transactions/types/mptokenissuancecreate.md index 62e0403574..1e1119e6a8 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/mptokenissuancecreate.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/mptokenissuancecreate.md @@ -9,7 +9,7 @@ txIcon: create --- # MPTokenIssuanceCreate -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/MPTokenIssuanceCreate.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/token/MPTokenIssuanceCreate.cpp" /%} {% partial file="/@l10n/ja/docs/_snippets/mpts-disclaimer.md" /%} diff --git a/@l10n/ja/docs/references/protocol/transactions/types/mptokenissuancedestroy.md b/@l10n/ja/docs/references/protocol/transactions/types/mptokenissuancedestroy.md index 3bd0494a43..b391b5322d 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/mptokenissuancedestroy.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/mptokenissuancedestroy.md @@ -8,7 +8,7 @@ requiredAmendment: MPTokensV1 txIcon: cancel --- # MPTokenIssuanceDestroy -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/MPTokenIssuanceDestroy.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/token/MPTokenIssuanceDestroy.cpp" /%} {% partial file="/@l10n/ja/docs/_snippets/mpts-disclaimer.md" /%} diff --git a/@l10n/ja/docs/references/protocol/transactions/types/mptokenissuanceset.md b/@l10n/ja/docs/references/protocol/transactions/types/mptokenissuanceset.md index fbd886fbd6..afedf6f7cd 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/mptokenissuanceset.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/mptokenissuanceset.md @@ -8,7 +8,7 @@ requiredAmendment: MPTokensV1 txIcon: modify --- # MPTokenIssuanceSet -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/MPTokenIssuanceSet.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/token/MPTokenIssuanceSet.cpp" /%} {% partial file="/@l10n/ja/docs/_snippets/mpts-disclaimer.md" /%} diff --git a/@l10n/ja/docs/references/protocol/transactions/types/nftokenacceptoffer.md b/@l10n/ja/docs/references/protocol/transactions/types/nftokenacceptoffer.md index 4f9039ca18..b38981c885 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/nftokenacceptoffer.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/nftokenacceptoffer.md @@ -9,7 +9,7 @@ requiredAmendment: NonFungibleTokensV1_1 txIcon: finish --- # NFTokenAcceptOffer -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/NFTokenAcceptOffer.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/nft/NFTokenAcceptOffer.cpp" /%} `NFTokenAcceptOffer`トランザクションは`NFToken`の購入または売却のオファーを受け入れるために使用されます。トランザクションは次のいずれかになります。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/nftokencanceloffer.md b/@l10n/ja/docs/references/protocol/transactions/types/nftokencanceloffer.md index f8d91535c3..42c72640b2 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/nftokencanceloffer.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/nftokencanceloffer.md @@ -9,7 +9,7 @@ requiredAmendment: NonFungibleTokensV1_1 txIcon: cancel --- # NFTokenCancelOffer -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/NFTokenCancelOffer.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/nft/NFTokenCancelOffer.cpp" /%} `NFTokenCancelOffer`トランザクションは、`NFTokenCreateOffer`を使用して作成した既存のトークンへのオファーをキャンセルするために使用できます。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/nftokencreateoffer.md b/@l10n/ja/docs/references/protocol/transactions/types/nftokencreateoffer.md index 7725ee8832..38f3c85770 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/nftokencreateoffer.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/nftokencreateoffer.md @@ -9,7 +9,7 @@ requiredAmendment: NonFungibleTokensV1_1 txIcon: create --- # NFTokenCreateOffer -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/NFTokenCreateOffer.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/nft/NFTokenCreateOffer.cpp" /%} トランザクションを送信するアカウントが所有する`NFToken`に対する新しい _売却_ オファー、または別のアカウントが所有する`NFToken`に対する新しい _購入_ オファーを作成します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/nftokenmint.md b/@l10n/ja/docs/references/protocol/transactions/types/nftokenmint.md index 439626cf70..2061d650e1 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/nftokenmint.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/nftokenmint.md @@ -8,7 +8,7 @@ requiredAmendment: NonFungibleTokensV1_1 txIcon: create --- # NFTokenMint -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/NFTokenMint.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/nft/NFTokenMint.cpp" /%} `NFTokenMint`トランザクションは非代替性トークンを作成し、`NFTokenMinter`に紐付く[NFTokenPageオブジェクト][]に[NFToken][]オブジェクトとして追加します。このトランザクションは`NFTokenMinter`にとって、不変と定義されているトークンフィールド(例えば`Flags`)を設定することができる唯一の方法です。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/nftokenmodify.md b/@l10n/ja/docs/references/protocol/transactions/types/nftokenmodify.md index 0c26a9409d..ca44f24a1f 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/nftokenmodify.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/nftokenmodify.md @@ -8,7 +8,7 @@ requiredAmendment: DynamicNFT txIcon: modify --- # NFTokenModify -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/NFTokenModify.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/nft/NFTokenModify.cpp" /%} `NFTokenModify`は、NFTの`URI`フィールドを別のURIに変更し、NFTのサポートデータを更新するために使用されます。NFTは、`tfMutable`フラグが設定された状態でミントされている必要があります。[ダイナミックNFT](../../../../concepts/tokens/nfts/dynamic-nfts.md)をご覧ください。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/offercancel.md b/@l10n/ja/docs/references/protocol/transactions/types/offercancel.md index 14341adf9f..f2645bbf24 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/offercancel.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/offercancel.md @@ -7,7 +7,7 @@ txIcon: cancel --- # OfferCancel -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CancelOffer.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/OfferCancel.cpp" /%} [分散型取引所](../../../../concepts/tokens/decentralized-exchange/index.md)からオファーを削除します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/offercreate.md b/@l10n/ja/docs/references/protocol/transactions/types/offercreate.md index d029f798c8..cbdf65c08d 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/offercreate.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/offercreate.md @@ -6,7 +6,7 @@ labels: txIcon: create --- # OfferCreate -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CreateOffer.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/dex/OfferCreate.cpp" /%} OfferCreateトランザクションは[分散型取引所](../../../../concepts/tokens/decentralized-exchange/index.md)で[注文](../../../../concepts/tokens/decentralized-exchange/offers.md)を作成します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/oracledelete.md b/@l10n/ja/docs/references/protocol/transactions/types/oracledelete.md index a0626692a5..9fa527c9e2 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/oracledelete.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/oracledelete.md @@ -8,7 +8,7 @@ requiredAmendment: PriceOracle txIcon: cancel --- # OracleDelete -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/DeleteOracle.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/oracle/OracleDelete.cpp" /%} 既存の`Oracle`レジャーエントリを削除します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/oracleset.md b/@l10n/ja/docs/references/protocol/transactions/types/oracleset.md index b84da6bfd2..98ba48ba9d 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/oracleset.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/oracleset.md @@ -8,7 +8,7 @@ requiredAmendment: PriceOracle txIcon: create --- # OracleSet -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/SetOracle.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/oracle/OracleSet.cpp" /%} Oracle Document ID を使用して、新しい`Oracle`レジャーエントリを作成するか、既存のフィールドを更新します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/payment.md b/@l10n/ja/docs/references/protocol/transactions/types/payment.md index ebd4aa1b6d..341dbe4b98 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/payment.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/payment.md @@ -9,7 +9,7 @@ labels: txIcon: send --- # Payment -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Payment.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/payment/Payment.cpp" /%} Paymentトランザクションは、アカウント間での価値の移動を表現するものです(通過するパスによっては、非可分的に発生する追加的な価値交換を伴うことがあります)。このトランザクションタイプはいくつかの[支払いの種類](#paymentの種類)に使用することがでできます。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/paymentchannelclaim.md b/@l10n/ja/docs/references/protocol/transactions/types/paymentchannelclaim.md index a3d4693612..383a617f6b 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/paymentchannelclaim.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/paymentchannelclaim.md @@ -8,7 +8,7 @@ requiredAmendment: PayChan txIcon: finish --- # PaymentChannelClaim -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/PayChan.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/payment_channel/PaymentChannelClaim.cpp" /%} Payment Channelに対しXRPを請求するか、Payment Channelの有効期限を調整するか、またはこの両方の操作を行います。このトランザクションは、指定されたChannelでのトランザクション送信者の役割に応じてさまざまに利用できます。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/paymentchannelcreate.md b/@l10n/ja/docs/references/protocol/transactions/types/paymentchannelcreate.md index a6c2d1c406..982d71cffc 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/paymentchannelcreate.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/paymentchannelcreate.md @@ -8,7 +8,7 @@ requiredAmendment: PayChan txIcon: create --- # PaymentChannelCreate -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/PayChan.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/payment_channel/PaymentChannelCreate.cpp" /%} [ペイメントチャンネル](../../../../concepts/payment-types/payment-channels.md)を作成し、XRPで資金を供給します。このトランザクションを送信するアドレスが、ペイメントチャネルの「送信元アドレス」となります。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/paymentchannelfund.md b/@l10n/ja/docs/references/protocol/transactions/types/paymentchannelfund.md index 1f9aa6c276..8edd558438 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/paymentchannelfund.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/paymentchannelfund.md @@ -8,7 +8,7 @@ requiredAmendment: PayChan txIcon: modify --- # PaymentChannelFund -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/PayChan.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/payment_channel/PaymentChannelFund.cpp" /%} Payment ChannelにXRPを追加する、有効期限の更新も可能。このトランザクションは、Channelの支払元アドレスだけが使用できます。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/permissioneddomaindelete.md b/@l10n/ja/docs/references/protocol/transactions/types/permissioneddomaindelete.md index c4950ce8f7..7a347b61ce 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/permissioneddomaindelete.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/permissioneddomaindelete.md @@ -9,7 +9,7 @@ requiredAmendment: PermissionedDomains txIcon: cancel --- # PermissionedDomainDelete -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/PermissionedDomainDelete.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/permissioned_domain/PermissionedDomainDelete.cpp" /%} 所有する[許可型ドメイン][]を削除します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/permissioneddomainset.md b/@l10n/ja/docs/references/protocol/transactions/types/permissioneddomainset.md index 829c48fa2a..36996de433 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/permissioneddomainset.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/permissioneddomainset.md @@ -9,7 +9,7 @@ requiredAmendment: PermissionedDomains txIcon: create --- # PermissionedDomainSet -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/PermissionedDomainSet.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/permissioned_domain/PermissionedDomainSet.cpp" /%} [許可型ドメイン][]を作成するか、所有するドメインを変更します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/setregularkey.md b/@l10n/ja/docs/references/protocol/transactions/types/setregularkey.md index d88b4a9235..234ed3970f 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/setregularkey.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/setregularkey.md @@ -8,7 +8,7 @@ txIcon: modify --- # SetRegularKey -[[ソース]](https://github.com/XRPLF/rippled/blob/4239880acb5e559446d2067f00dabb31cf102a23/src/ripple/app/transactors/SetRegularKey.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/account/SetRegularKey.cpp" /%} `SetRegularKey`トランザクションは、アカウントに関連付けられているレギュラーキーペアの割り当て、変更、削除を行います。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/signerlistset.md b/@l10n/ja/docs/references/protocol/transactions/types/signerlistset.md index 715eab00c5..f597ae7d12 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/signerlistset.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/signerlistset.md @@ -8,7 +8,7 @@ requiredAmendment: MultiSign txIcon: modify --- # SignerListSet -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/SetSignerList.cpp "ソース") +{% source-link path="src/libxrpl/tx/transactors/account/SignerListSet.cpp" /%} SignerListSetトランザクションは、トランザクションの[マルチシグ](../../../../concepts/accounts/multi-signing.md)に使用できる署名者のリストを作成、置換、削除します。このトランザクションタイプは[MultiSign Amendment][]により導入されました。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/ticketcreate.md b/@l10n/ja/docs/references/protocol/transactions/types/ticketcreate.md index edccef7c8c..3aacbf12ee 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/ticketcreate.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/ticketcreate.md @@ -8,7 +8,7 @@ requiredAmendment: TicketBatch txIcon: create --- # TicketCreate -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CreateTicket.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/system/TicketCreate.cpp" /%} TicketCreateトランザクションは、1つまたは複数の[シーケンス番号](../../data-types/basic-data-types.md#アカウントシーケンス)を[Tickets](../../ledger-data/ledger-entry-types/ticket.md)として確保します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/trustset.md b/@l10n/ja/docs/references/protocol/transactions/types/trustset.md index b2a7cfa63f..d06fa42ba2 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/trustset.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/trustset.md @@ -6,7 +6,7 @@ labels: txIcon: modify --- # TrustSet -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/SetTrust.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/token/TrustSet.cpp" /%} 2つのアカウントをリンクする[トラストライン](../../../../concepts/tokens/fungible-tokens/index.md)を作成または変更します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/xchainaccountcreatecommit.md b/@l10n/ja/docs/references/protocol/transactions/types/xchainaccountcreatecommit.md index 2d01bb31e1..b3dc639975 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/xchainaccountcreatecommit.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/xchainaccountcreatecommit.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: create --- # XChainAccountCreateCommit -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L466-L474 "ソース") +{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L466-L474" /%} 発行チェーンにトランザクションを送信するために、Witnessサーバ用の新しいアカウントを作成します。このトランザクションはXRP-XRPブリッジにのみ使用できます。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/xchainaddaccountcreateattestation.md b/@l10n/ja/docs/references/protocol/transactions/types/xchainaddaccountcreateattestation.md index 7dbd71e6bb..a87953e060 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/xchainaddaccountcreateattestation.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/xchainaddaccountcreateattestation.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: create --- # XChainAddAccountCreateAttestation -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L447-L464 "ソース") +{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L447-L464" /%} `XChainAccountCreateCommit`トランザクションがもう一方のチェーンで発生したというWitnessサーバからの証明を提示します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/xchainaddclaimattestation.md b/@l10n/ja/docs/references/protocol/transactions/types/xchainaddclaimattestation.md index 2f62197c45..6fb9812e19 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/xchainaddclaimattestation.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/xchainaddclaimattestation.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: modify --- # XChainAddClaimAttestation -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L429-L445 "ソース") +{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L429-L445" /%} `XChainCommit`トランザクションを証明するWitnessサーバの署名を提供します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/xchainclaim.md b/@l10n/ja/docs/references/protocol/transactions/types/xchainclaim.md index afbe27eacb..bfa14324c7 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/xchainclaim.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/xchainclaim.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: finish --- # XChainClaim -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L418-L427 "ソース") +{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L418-L427" /%} `XChainClaim`トランザクションはクロスチェーンでの価値の移転を完了させます。`XChainClaim`トランザクションにより、ユーザは送信元チェーンでロックされた価値と同等の価値を送信先チェーンで請求することができます。ユーザは、送金元チェーンでロックされた価値に関連付けられたクロスチェーン請求ID(`Account`フィールド)を所有している場合にのみ、その価値を請求することができます。ユーザは誰にでも資金を送ることができます(`Destination`フィールド)。このトランザクションが必要になるのは`XChainCommit`トランザクションで`OtherChainDestination`が指定されていない場合、または自動送金で何か問題が発生した場合のみです。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/xchaincommit.md b/@l10n/ja/docs/references/protocol/transactions/types/xchaincommit.md index e02c057f62..2143a98b34 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/xchaincommit.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/xchaincommit.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: send --- # XChainCommit -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L408-L416 "ソース") +{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L408-L416" /%} クロスチェーン送金の2番目のステップです。`XChainCommit`は発行チェーンでラップできるようにロックチェーンで資産を保管したり、ロックチェーンで返却できるように発行チェーンでラップされた資産をバーンしたりします。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/xchaincreatebridge.md b/@l10n/ja/docs/references/protocol/transactions/types/xchaincreatebridge.md index f2470ee153..4df1d82939 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/xchaincreatebridge.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/xchaincreatebridge.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: create --- # XChainCreateBridge -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L381-L388 "ソース") +{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L381-L388" /%} 新しい`Bridge`レジャーオブジェクトを作成し、トランザクショ ンが送信されたチェーン上に新しいクロスチェーンブリッジの入り口を定義します。これにはブリッジのドアアカウントと資産に関する情報が含まれます。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/xchaincreateclaimid.md b/@l10n/ja/docs/references/protocol/transactions/types/xchaincreateclaimid.md index 1c8444cdb9..8686e1c2b5 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/xchaincreateclaimid.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/xchaincreateclaimid.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: create --- # XChainCreateClaimID -[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L399-L406 "ソース") +{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L399-L406" /%} `XChainCreateClaimID`トランザクションはクロスチェーン送金に使われる新しいクロスチェーン請求IDを作成します。クロスチェーン請求IDは*1つの*クロスチェーン送金を表します。 diff --git a/@l10n/ja/docs/references/protocol/transactions/types/xchainmodifybridge.md b/@l10n/ja/docs/references/protocol/transactions/types/xchainmodifybridge.md index 91227fa869..c328d08460 100644 --- a/@l10n/ja/docs/references/protocol/transactions/types/xchainmodifybridge.md +++ b/@l10n/ja/docs/references/protocol/transactions/types/xchainmodifybridge.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: modify --- # XChainModifyBridge -[[ソース]](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/impl/TxFormats.cpp#L390-L397 "ソース") +{% source-link path="src/libxrpl/protocol/TxFormats.cpp#L390-L397" /%} `XChainModifyBridge`トランザクションでは、ブリッジ管理者がブリッジの設定を変更することができます。変更できるのは`SignatureReward`と`MinAccountCreateAmount`だけです。 diff --git a/@l10n/ja/resources/contribute-code/create-custom-transactors.md b/@l10n/ja/resources/contribute-code/create-custom-transactors.md index e49b89257c..895a1cd824 100644 --- a/@l10n/ja/resources/contribute-code/create-custom-transactors.md +++ b/@l10n/ja/resources/contribute-code/create-custom-transactors.md @@ -21,8 +21,8 @@ _トランザクタ_ はトランザクションを処理し、XRP Ledgerを変 このチュートリアルでは、既存の`CreateCheck`トランザクションを例として使用します。ソースファイルはここで確認できます。 -- [ヘッダファイル](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CreateCheck.h) -- [CPPファイル](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CreateCheck.cpp) +- {% source-link name="ヘッダファイル" path="include/xrpl/tx/transactors/check/CheckCreate.h" /%} +- {% source-link name="CPPファイル" path="src/libxrpl/tx/transactors/check/CheckCreate.cpp" /%} ## ヘッダファイル @@ -78,8 +78,8 @@ public: {% admonition type="info" name="注記" %}`~`記号は optional型を返します。{% /admonition %} - レジャーとトランザクションのスキーマはこちらから確認できます。 - - [`LedgerFormats.cpp`](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/LedgerFormats.cpp) - - [`TxFormats.cpp`](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp) + - {% source-link name="LedgerFormats.cpp" path="src/libxrpl/protocol/LedgerFormats.cpp" /%} + - {% source-link name="TxFormats.cpp" path="src/libxrpl/protocol/TxFormats.cpp" /%} -` xrpld` はトランザクションの結果を結果コードで表します。[トランザクションの結果](../../docs/references/protocol/transactions/transaction-results/index.md)をご覧ください。 @@ -344,7 +344,7 @@ EscrowFinish::calculateBaseFee(ReadView const& view, STTx const& tx) ### `makeTxConsequences` -`rippled`は[`TxConsequences`](https://github.com/XRPLF/rippled/blob/master/src/ripple/app/tx/applySteps.h#L41-L44)クラスを使用して、トランザクション適用時のアカウントへの結果を記述します。このクラスは手数料、使用可能な最大XRP、トランザクションによって消費されたシーケンス番号の数を追跡します。結果には次の3つのタイプがあります。 +`rippled`は{% source-link name="TxConsequences" path="include/xrpl/tx/applySteps.h#L41-L44" /%}クラスを使用して、トランザクション適用時のアカウントへの結果を記述します。このクラスは手数料、使用可能な最大XRP、トランザクションによって消費されたシーケンス番号の数を追跡します。結果には次の3つのタイプがあります。 - **ノーマル:**トランザクションは署名に影響を与えず、XRP手数料を消費するのみです。手数料を超えてXRPを消費するトランザクションは正常とはみなされません。 - **ブロッカー:**トランザクションの署名に影響を与え、有効なトランザクションがその後ろにキューイングされるのを防ぎます。 diff --git a/@l10n/ja/resources/contribute-code/index.md b/@l10n/ja/resources/contribute-code/index.md index d78503d4e2..88a2d7aced 100644 --- a/@l10n/ja/resources/contribute-code/index.md +++ b/@l10n/ja/resources/contribute-code/index.md @@ -17,7 +17,7 @@ XRP Ledgerを動かすソフトウェアはオープンソースです。コミ | XRP Ledger ソースコード | | |:-----------------------|:----------------------------------------------------| | リポジトリ | | -| ライセンス | [Multiple; ISC (permissive)](https://github.com/XRPLF/rippled/blob/develop/LICENSE.md) | +| ライセンス | {% source-link name="Multiple; ISC (permissive)" path="LICENSE.md" /%} | | プログラム言語 | C++ | 何から始めたらいいか分からないという方のために、Dev Null Productionsは、XRP Ledgerサーバ(`xrpld`)のコア実装の仕組みや機能を説明した、詳細かつ充実した[**ソースコード・ガイド**](https://xrpintel.com/source)を提供しています。 diff --git a/@l10n/ja/resources/known-amendments.md b/@l10n/ja/resources/known-amendments.md index e31bfce25e..3156dd9f59 100644 --- a/@l10n/ja/resources/known-amendments.md +++ b/@l10n/ja/resources/known-amendments.md @@ -5,7 +5,7 @@ labels: - ブロックチェーン --- # 既知のAmendment -[[ソース]](https://github.com/XRPLF/rippled/blob/develop/include/xrpl/protocol/detail/features.macro "Source") +{% source-link path="include/xrpl/protocol/detail/features.macro" /%} 以下に示すのは、XRP Ledgerに関する既知のAmendmentのすべてとそのステータスをまとめた総合リストです。 diff --git a/docs/_snippets/conf-file-location.md b/docs/_snippets/conf-file-location.md index 2669137a53..1a7ff16608 100644 --- a/docs/_snippets/conf-file-location.md +++ b/docs/_snippets/conf-file-location.md @@ -1,3 +1,3 @@ The [recommended installation](../infrastructure/installation/index.md) uses the config file `/etc/xrpld/xrpld.cfg` by default. Other places you can put a config file include `$HOME/.config/xrpld/xrpld.cfg` (where `$HOME` is the home directory of the user running `rippled`), `$HOME/.local/xrpld/xrpld.cfg`, or the current working directory from where you start `rippled`. -The config file was renamed from `rippled.cfg` to `xrpld.cfg`. During the transition, if `xrpld.cfg` is not present the server still reads `rippled.cfg` from the same locations, so existing config files keep working without being renamed. {% badge href="https://xrpl.org/blog/2026/rippled-3.2.0" %}Updated in: rippled 3.2.0{% /badge %} +The config file was renamed from `rippled.cfg` to `xrpld.cfg`. During the transition, if `xrpld.cfg` is not present the server still reads `rippled.cfg` from the same locations, so existing config files keep working without being renamed. {% badge href="https://xrpl.org/blog/2026/xrpld-3.2.0" %}Updated in: rippled 3.2.0{% /badge %} diff --git a/docs/_snippets/post-xrpld-install.md b/docs/_snippets/post-xrpld-install.md index e3b4552a73..dcb7da204d 100644 --- a/docs/_snippets/post-xrpld-install.md +++ b/docs/_snippets/post-xrpld-install.md @@ -20,7 +20,7 @@ Having trouble getting your server started? See [xrpld Server Won't Start](../in {% partial file="/docs/_snippets/conf-file-location.md" /%} -See [the `rippled` GitHub repository](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg) for a description of all configuration options. +See {% source-link name="the rippled GitHub repository" path="cfg/xrpld-example.cfg" /%} for a description of all configuration options. You must restart `xrpld` for any configuration changes to take effect. diff --git a/docs/concepts/accounts/addresses.md b/docs/concepts/accounts/addresses.md index 0a06aab862..f71a6eb7ab 100644 --- a/docs/concepts/accounts/addresses.md +++ b/docs/concepts/accounts/addresses.md @@ -22,7 +22,7 @@ Some addresses have special meaning, or historical uses, in the XRP Ledger. In m |-------------------------------|------|---------|-------------| | `rrrrrrrrrrrrrrrrrrrrrhoLvTp` | ACCOUNT\_ZERO | An address that is the XRP Ledger's [base58][] encoding of the value `0`. In peer-to-peer communications, `xrpld` uses this address as the issuer for XRP. | Yes | | `rrrrrrrrrrrrrrrrrrrrBZbvji` | ACCOUNT\_ONE | An address that is the XRP Ledger's [base58][] encoding of the value `1`. In the ledger, [RippleState entries](../../references/protocol/ledger-data/ledger-entry-types/ripplestate.md) use this address as a placeholder for the issuer of a trust line balance. | Yes | -| `rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh` | The genesis account | When `rippled` starts a new genesis ledger from scratch (for example, in stand-alone mode), this account holds all the XRP. This address is generated from the seed value `masterpassphrase` which is [hard-coded](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/xrpld/app/ledger/Ledger.cpp#L184). | No | +| `rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh` | The genesis account | When `rippled` starts a new genesis ledger from scratch (for example, in stand-alone mode), this account holds all the XRP. This address is generated from the seed value `masterpassphrase` which is {% source-link name="hard-coded" path="src/libxrpl/ledger/Ledger.cpp#L184" /%}. | No | | `rrrrrrrrrrrrrrrrrNAMEtxvNvQ` | Ripple Name reservation blackhole | In the past, Ripple asked users to send XRP to this account to reserve Ripple Names.| Yes | | `rrrrrrrrrrrrrrrrrrrn5RM1rHd` | NaN Address | Old JavaScript client libraries generated this address when encoding the value [NaN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN) using the XRP Ledger's [base58][] string encoding format. | Yes | @@ -31,7 +31,7 @@ Some addresses have special meaning, or historical uses, in the XRP Ledger. In m {% admonition type="success" name="Tip" %}These technical details are only relevant for people building low-level library software for XRP Ledger compatibility!{% /admonition %} -[[Source]](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/libxrpl/protocol/AccountID.cpp#L133-L175 "Source") +{% source-link path="src/libxrpl/protocol/AccountID.cpp#L133-L175" /%} XRP Ledger addresses are encoded using [base58][] with the _dictionary_ `rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz`. Since the XRP Ledger encodes several types of keys with base58, it prefixes the encoded data with a one-byte "type prefix" (also called a "version prefix") to distinguish them. The type prefix causes addresses to usually start with different letters in base58 format. diff --git a/docs/concepts/accounts/cryptographic-keys.md b/docs/concepts/accounts/cryptographic-keys.md index 36a61f280d..a9f442c1b6 100644 --- a/docs/concepts/accounts/cryptographic-keys.md +++ b/docs/concepts/accounts/cryptographic-keys.md @@ -154,14 +154,14 @@ The process of deriving a key pair depends on the signing algorithm. In all case The key derivation processes described here are implemented in multiple places and programming languages: - In C++ in the `xrpld` code base: - - [Seed definition](https://github.com/XRPLF/rippled/blob/master/src/libxrpl/protocol/Seed.cpp) - - [General & Ed25519 key derivation](https://github.com/XRPLF/rippled/blob/master/src/libxrpl/protocol/SecretKey.cpp) - - [secp256k1 key derivation](https://github.com/XRPLF/rippled/blob/master/src/libxrpl/protocol/SecretKey.cpp) + - {% source-link name="Seed definition" path="src/libxrpl/protocol/Seed.cpp" /%} + - {% source-link name="General & Ed25519 key derivation" path="src/libxrpl/protocol/SecretKey.cpp" /%} + - {% source-link name="secp256k1 key derivation" path="src/libxrpl/protocol/SecretKey.cpp" /%} - In Python 3 in {% repo-link path="_code-samples/key-derivation/py/key_derivation.py" %}this repository's code samples section{% /repo-link %}. - In JavaScript in the [`ripple-keypairs`](https://github.com/XRPLF/xrpl.js/tree/main/packages/ripple-keypairs) package. ### Ed25519 Key Derivation -[[Source]](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/libxrpl/protocol/SecretKey.cpp#L311-L317 "Source") +{% source-link path="src/libxrpl/protocol/SecretKey.cpp#L311-L317" /%} [{% inline-svg file="/docs/img/key-derivation-ed25519.svg" /%}](/docs/img/key-derivation-ed25519.svg "Passphrase → Seed → Secret Key → Prefix + Public Key") @@ -182,7 +182,7 @@ The key derivation processes described here are implemented in multiple places a Validator ephemeral keys cannot be Ed25519. ### secp256k1 Key Derivation -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/libxrpl/protocol/SecretKey.cpp "Source") +{% source-link path="src/libxrpl/protocol/SecretKey.cpp" /%} [{% inline-svg file="/docs/img/key-derivation-secp256k1.svg" /%}](/docs/img/key-derivation-secp256k1.svg "Passphrase → Seed → Root Key Pair → Intermediate Key Pair → Master Key Pair") @@ -201,7 +201,7 @@ The steps to derive the XRP Ledger's secp256k1 account key pair from a seed valu 2. Calculate the [SHA-512Half][] of the concatenated (seed+root sequence) value. - 3. If the result is not a valid secp256k1 secret key, increment the root sequence by 1 and start over. [[Source]](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/libxrpl/protocol/SecretKey.cpp#L103-L114 "Source") + 3. If the result is not a valid secp256k1 secret key, increment the root sequence by 1 and start over. {% source-link path="src/libxrpl/protocol/SecretKey.cpp#L103-L114" /%} A valid secp256k1 key must not be zero, and it must be numerically less than the _secp256k1 group order_. The secp256k1 group order is the constant value `0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141`. diff --git a/docs/concepts/consensus-protocol/consensus-structure.md b/docs/concepts/consensus-protocol/consensus-structure.md index 2f64d2cb62..124348696e 100644 --- a/docs/concepts/consensus-protocol/consensus-structure.md +++ b/docs/concepts/consensus-protocol/consensus-structure.md @@ -107,7 +107,7 @@ When the consensus process completes, each server independently computes a new l 2. Place the agreed-upon transaction set in _canonical order_ so that every server processes them the same way. - [Canonical order](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/misc/CanonicalTXSet.cpp) is not the order the transactions were received, because servers may receive the same transactions in different order. To prevent participants from competing over transaction ordering, canonical order is hard to manipulate. + {% source-link name="Canonical order" path="src/libxrpl/ledger/CanonicalTXSet.cpp" /%} is not the order the transactions were received, because servers may receive the same transactions in different order. To prevent participants from competing over transaction ordering, canonical order is hard to manipulate. 3. Process each transaction according to its instructions, in order. Update the ledger's state data accordingly. diff --git a/docs/concepts/consensus-protocol/invariant-checking.md b/docs/concepts/consensus-protocol/invariant-checking.md index 740263c611..b697372c6c 100644 --- a/docs/concepts/consensus-protocol/invariant-checking.md +++ b/docs/concepts/consensus-protocol/invariant-checking.md @@ -34,7 +34,7 @@ To include the transaction in the ledger with a `tec`-class code, some minimal p ## Active Invariants -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/InvariantCheck.h "Source") +{% source-link path="include/xrpl/tx/invariants/InvariantCheck.h" /%} The XRP Ledger checks all the following invariants on each transaction: @@ -71,7 +71,7 @@ The XRP Ledger checks all the following invariants on each transaction: ### XRP Balance Checks - **Invariant Condition(s):** - - An account's XRP balance must be of type XRP, and it cannot be less than 0 or more than [100 billion XRP exactly](https://github.com/XRPLF/rippled/blob/a7792ebcae63db64e9ae3d7704576252837c2512/include/xrpl/protocol/SystemParameters.h#L44-L51). + - An account's XRP balance must be of type XRP, and it cannot be less than 0 or more than {% source-link name="100 billion XRP exactly" path="include/xrpl/protocol/SystemParameters.h#L44-L51" /%}. ### Ledger Entry Types Match @@ -132,9 +132,9 @@ The XRP Ledger checks all the following invariants on each transaction: - [Protecting the Ledger: Invariant Checking](/blog/2017/invariant-checking.md) - **Repository:** - - [`InvariantCheck.h`](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/InvariantCheck.h) - - [`InvariantCheck.cpp`](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/InvariantCheck.cpp) - - [`XRPAmount.h`](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/XRPAmount.h) + - {% source-link name="InvariantCheck.h" path="include/xrpl/tx/invariants/InvariantCheck.h" /%} + - {% source-link name="InvariantCheck.cpp" path="src/libxrpl/tx/invariants/InvariantCheck.cpp" /%} + - {% source-link name="XRPAmount.h" path="include/xrpl/protocol/XRPAmount.h" /%} {% raw-partial file="/docs/_snippets/common-links.md" /%} diff --git a/docs/concepts/networks-and-servers/peer-protocol.md b/docs/concepts/networks-and-servers/peer-protocol.md index 82e5eb76ba..9668eeede8 100644 --- a/docs/concepts/networks-and-servers/peer-protocol.md +++ b/docs/concepts/networks-and-servers/peer-protocol.md @@ -16,11 +16,11 @@ The peer protocol is the main mode of communication between servers in the XRP L - Requesting ledger data from historical ledgers, or providing that data. - Proposing a set of transactions for consensus, or sharing the calculated outcome of applying a consensus transaction set. -To set up a peer-to-peer connection, one server connects to another using HTTPS and requests an [HTTP upgrade](https://tools.ietf.org/html/rfc7230#section-6.7) to switch to the `XRPL/2.0` protocol (formerly `RTXP/1.2`). For more information, see the source code's [Overlay Network](https://github.com/XRPLF/rippled/blob/master/src/xrpld/overlay/README.md#handshake) article. +To set up a peer-to-peer connection, one server connects to another using HTTPS and requests an [HTTP upgrade](https://tools.ietf.org/html/rfc7230#section-6.7) to switch to the `XRPL/2.0` protocol (formerly `RTXP/1.2`). For more information, see the source code's {% source-link name="Overlay Network" path="src/xrpld/overlay/README.md#handshake" /%} article. ## Peer Discovery -The XRP Ledger uses a "gossip" protocol to help find servers find others to connect to in the XRP Ledger network. Whenever a server starts up, it reconnects to any other peers it previously connected to. As a fallback, it uses the [hardcoded public hubs](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/xrpld/overlay/detail/OverlayImpl.cpp#L495-L508). After a server successfully connects to a peer, it asks that peer for the contact information (generally, IP address and port) of other XRP Ledger servers that may also be seeking peers. The server can then connect to those servers, and ask them for the contact information of yet more XRP Ledger servers to peer with. Through this process, the server makes enough peer connections that it can remain reliably connected to the rest of the network even if it loses a connection to any single peer. +The XRP Ledger uses a "gossip" protocol to help find servers find others to connect to in the XRP Ledger network. Whenever a server starts up, it reconnects to any other peers it previously connected to. As a fallback, it uses the {% source-link name="hardcoded public hubs" path="src/xrpld/overlay/detail/OverlayImpl.cpp#L495-L508" /%}. After a server successfully connects to a peer, it asks that peer for the contact information (generally, IP address and port) of other XRP Ledger servers that may also be seeking peers. The server can then connect to those servers, and ask them for the contact information of yet more XRP Ledger servers to peer with. Through this process, the server makes enough peer connections that it can remain reliably connected to the rest of the network even if it loses a connection to any single peer. Typically, a server needs to connect to a public hub only once, for a short amount of time, to find other peers. After doing so, the server may or may not remain connected to the hub, depending on how stable its network connection is, how busy the hub is, and how many other high-quality peers the server finds. The server saves the addresses of these other peers so it can try reconnecting directly to those peers later, after a network outage or a restart. @@ -35,7 +35,7 @@ To participate in the XRP Ledger, `xrpld` servers connect to arbitrary peers usi Ideally, the server should be able to send _and_ receive connections on the peer port. You should [forward the port used for the peer protocol through your firewall](../../infrastructure/configuration/peering/forward-ports-for-peering.md) to the `xrpld` server. -IANA [has assigned port **2459**](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=2459) for the XRP Ledger peer protocol, and you can configure which port(s) your server uses in the `xrpld.cfg` file. The [example config file](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg) now listens for incoming peer protocol connections on **port 2459** on all network interfaces. {% badge href="https://xrpl.org/blog/2026/xrpld-3.2.0" %}Updated in: xrpld 3.2.0{% /badge %} +IANA [has assigned port **2459**](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=2459) for the XRP Ledger peer protocol, and you can configure which port(s) your server uses in the `xrpld.cfg` file. The {% source-link name="example config file" path="cfg/xrpld-example.cfg" /%} now listens for incoming peer protocol connections on **port 2459** on all network interfaces. {% badge href="https://xrpl.org/blog/2026/xrpld-3.2.0" %}Updated in: xrpld 3.2.0{% /badge %} Older servers may use the previous **port 51235**, so you might see peers on either port. diff --git a/docs/concepts/tokens/decentralized-exchange/offers.md b/docs/concepts/tokens/decentralized-exchange/offers.md index 79b1789000..3e576edc84 100644 --- a/docs/concepts/tokens/decentralized-exchange/offers.md +++ b/docs/concepts/tokens/decentralized-exchange/offers.md @@ -85,7 +85,7 @@ Trust line limits protect you from receiving more of a token as payment than you Existing Offers are grouped by exchange rate, which is measured as the ratio between `TakerGets` and `TakerPays`. Offers with a higher exchange rate are taken preferentially. (That is, the person accepting the offer receives as much as possible for the amount of currency they pay out.) Offers with the same exchange rate are taken on the basis of which offer was placed first. -When Offers execute in the same ledger block, the order in which they execute is determined by the [canonical order](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/misc/CanonicalTXSet.cpp "Source code: Transaction ordering") in which transactions were applied to the ledger. Transactions that fail initially can be pushed back and retried at the end of the ledger. This behavior is designed to be deterministic, efficient, and hard to game. +When Offers execute in the same ledger block, the order in which they execute is determined by the {% source-link name="canonical order" path="src/libxrpl/ledger/CanonicalTXSet.cpp" /%} in which transactions were applied to the ledger. Transactions that fail initially can be pushed back and retried at the end of the ledger. This behavior is designed to be deterministic, efficient, and hard to game. ## Offer Expiration diff --git a/docs/concepts/tokens/fungible-tokens/trust-line-tokens.md b/docs/concepts/tokens/fungible-tokens/trust-line-tokens.md index 9362129170..ba5a3d16a8 100644 --- a/docs/concepts/tokens/fungible-tokens/trust-line-tokens.md +++ b/docs/concepts/tokens/fungible-tokens/trust-line-tokens.md @@ -80,7 +80,7 @@ If your balance is negative (you are the issuer) or the other side's settings ar Since the **Authorized** setting cannot be turned off after it has been turned on, it does not count toward the trust line's default state. ### Free Trust Lines -[[Source]](https://github.com/XRPLF/rippled/blob/2df7dcfdebcb0cdbd030c1f4b09ac748af95659c/src/xrpld/app/tx/detail/SetTrust.cpp#L387-L407 "Source") +{% source-link path="src/libxrpl/tx/transactors/token/TrustSet.cpp#L387-L407" /%} Since trust lines are a powerful feature of the XRP Ledger, there is a special feature to make an account's first two trust lines "free". diff --git a/docs/concepts/transactions/secure-signing.md b/docs/concepts/transactions/secure-signing.md index f2e3bfb211..fd9f420893 100644 --- a/docs/concepts/transactions/secure-signing.md +++ b/docs/concepts/transactions/secure-signing.md @@ -45,7 +45,7 @@ In this configuration, you run `xrpld` on the machine that generates the transac 2. When you need to sign transactions, connect to your server on `localhost` or `127.0.0.1`. Use the [sign method][] (for single signatures) or [sign_for method][] (for multi-signatures). - The [example config file](https://github.com/XRPLF/rippled/blob/develop/cfg/xrpld-example.cfg#L1477-L1494) listens for connections on the local loopback network (127.0.0.1), with JSON-RPC (HTTP) on port 5005 and WebSocket (WS) on port 6006, and treats all connected clients as admin. + The {% source-link name="example config file" path="cfg/xrpld-example.cfg#L1477-L1494" /%} listens for connections on the local loopback network (127.0.0.1), with JSON-RPC (HTTP) on port 5005 and WebSocket (WS) on port 6006, and treats all connected clients as admin. {% admonition type="warning" name="Caution" %}Using the [commandline API](../../references/http-websocket-apis/api-conventions/request-formatting.md#commandline-format) for signatures is less secure than [using the Websocket or JSON-RPC APIs](../../tutorials/get-started/get-started-http-websocket-apis.md) through non-commandline clients. When using the commandline syntax, your secret key may be visible to other users in the system's process listing, and your shell history may save the key in plain text.{% /admonition %} diff --git a/docs/concepts/transactions/transaction-cost.md b/docs/concepts/transactions/transaction-cost.md index ef523edc56..c5d46126cd 100644 --- a/docs/concepts/transactions/transaction-cost.md +++ b/docs/concepts/transactions/transaction-cost.md @@ -65,7 +65,7 @@ For each new ledger version, the server picks a soft limit on the number of tran The open ledger cost requirement is [proportional to the normal cost of the transaction](#fee-levels), not the absolute transaction cost. Transaction types that have a higher-than-normal requirement, such as [multi-signed transactions](../accounts/multi-signing.md) must pay more to meet the open ledger cost than transactions which have minimum transaction cost requirements. -See also: [Fee Escalation explanation in `rippled` repository](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/misc/FeeEscalation.md). +See also: {% source-link name="Fee Escalation explanation in rippled repository" path="src/xrpld/app/misc/FeeEscalation.md" /%}. ### Queued Transactions diff --git a/docs/infrastructure/configuration/data-retention/online-deletion.md b/docs/infrastructure/configuration/data-retention/online-deletion.md index 97e6bd127b..92f69346a5 100644 --- a/docs/infrastructure/configuration/data-retention/online-deletion.md +++ b/docs/infrastructure/configuration/data-retention/online-deletion.md @@ -8,7 +8,7 @@ labels: - Core Server --- # Online Deletion -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/misc/SHAMapStoreImp.cpp "Source") +{% source-link path="src/xrpld/app/misc/SHAMapStoreImp.cpp" /%} The online deletion feature lets the `xrpld` server delete the server's local copy of old ledger versions to keep disk usage from rapidly growing over time. The default config file sets online deletion to run automatically, but online deletion can also be configured to run only when prompted. diff --git a/docs/infrastructure/configuration/peering/cluster-xrpld-servers.md b/docs/infrastructure/configuration/peering/cluster-xrpld-servers.md index 1949190e48..08c139a879 100644 --- a/docs/infrastructure/configuration/peering/cluster-xrpld-servers.md +++ b/docs/infrastructure/configuration/peering/cluster-xrpld-servers.md @@ -33,7 +33,7 @@ If you run multiple [`xrpld` servers](../../../concepts/networks-and-servers/ind Save the `validation_seed` and `validation_public_key` parameters from each response somewhere secure. -3. On each server, edit the [config file](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg), modifying the following sections: +3. On each server, edit the {% source-link name="config file" path="cfg/xrpld-example.cfg" /%}, modifying the following sections: 1. In the `[ips_fixed]` section, list the IP address and port of each _other_ member of the cluster. For each of those servers, the port number should match the `protocol = peer` port (usually 51235) from that server's `xrpld.cfg`. For example: diff --git a/docs/infrastructure/configuration/server-modes/run-xrpld-as-a-validator.md b/docs/infrastructure/configuration/server-modes/run-xrpld-as-a-validator.md index 9eb46dd6c7..4dd903f7b9 100644 --- a/docs/infrastructure/configuration/server-modes/run-xrpld-as-a-validator.md +++ b/docs/infrastructure/configuration/server-modes/run-xrpld-as-a-validator.md @@ -51,7 +51,7 @@ Strive to have your validator embody the following properties. Being a good vali A good validator has a clearly identified owner. Providing [domain verification](#6-provide-domain-verification) is a good start. Ideally, XRP Ledger network UNLs include validators run by different owners in multiple legal jurisdictions and geographic areas. This reduces the chance that any localized events could interfere with the impartial operations of trusted validators. -It is strongly recommended that operators use the list providers that are present in this [example file](https://github.com/XRPLF/rippled/blob/release-3.1/cfg/validators-example.txt). +It is strongly recommended that operators use the list providers that are present in this {% source-link name="example file" path="cfg/validators-example.txt" /%}. @@ -163,7 +163,7 @@ For a comparison of these approaches, see [Pros and Cons of Peering Configuratio This configuration connects your validator to the XRP Ledger network using [discovered peers](../../../concepts/networks-and-servers/peer-protocol.md#peer-discovery). This is the default behavior for `xrpld` servers. -_**To connect your validator to the XRP Ledger network using discovered peers,**_ omit the `[peer_private]` stanza or set it to `0` in your validator's `xrpld.cfg` file. The [example `xrpld.cfg` file](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg) is delivered with this configuration. +_**To connect your validator to the XRP Ledger network using discovered peers,**_ omit the `[peer_private]` stanza or set it to `0` in your validator's `xrpld.cfg` file. The {% source-link name="example xrpld.cfg file" path="cfg/xrpld-example.cfg" /%} is delivered with this configuration. ### Connect using proxies @@ -218,7 +218,7 @@ _**To connect your validator to the network using public hubs:**_ ``` {% admonition type="info" name="Note" %} -The above list may evolve over time. To ensure you're using the most current set of public hubs, refer to the official [`xrpld-example.cfg`](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg) maintained by XRPLF. +The above list may evolve over time. To ensure you're using the most current set of public hubs, refer to the official {% source-link name="xrpld-example.cfg" path="cfg/xrpld-example.cfg" /%} maintained by XRPLF. {% /admonition %} diff --git a/docs/infrastructure/installation/build-on-linux-mac-windows.md b/docs/infrastructure/installation/build-on-linux-mac-windows.md index d5e3164d05..4704c935f8 100644 --- a/docs/infrastructure/installation/build-on-linux-mac-windows.md +++ b/docs/infrastructure/installation/build-on-linux-mac-windows.md @@ -12,6 +12,6 @@ top_nav_grouping: Popular Pages Building `xrpld` across various platforms such as Windows, Linux, or macOS requires a C++ development environment. You will need tools like Git, Python, Conan, CMake, and a suitable C++ compiler. -To continue, proceed to [the latest `rippled` build instructions on GitHub](https://github.com/XRPLF/rippled/blob/develop/BUILD.md). +To continue, proceed to {% source-link name="the latest rippled build instructions on GitHub" path="BUILD.md" /%}. {% raw-partial file="/docs/_snippets/common-links.md" /%} diff --git a/docs/infrastructure/installation/capacity-planning.md b/docs/infrastructure/installation/capacity-planning.md index 0e1480448e..925c67d6fa 100644 --- a/docs/infrastructure/installation/capacity-planning.md +++ b/docs/infrastructure/installation/capacity-planning.md @@ -19,7 +19,7 @@ You should consider these factors to ensure that your server has the capacity to The default configuration file contains settings for a broad range of common use cases. You can get better performance by customizing the settings for your specific hardware and intended usage pattern. -The settings in this section are parameters in the `xrpld.cfg` file. You can access an example config file, `xrpld-example.cfg`, in the [`cfg` directory](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg) in the `rippled` GitHub repo. The settings in the example config file match the default config installed alongside the server. +The settings in this section are parameters in the `xrpld.cfg` file. You can access an example config file, `xrpld-example.cfg`, in the {% source-link name="cfg directory" path="cfg/xrpld-example.cfg" /%} in the `rippled` GitHub repo. The settings in the example config file match the default config installed alongside the server. ### Node Size diff --git a/docs/infrastructure/installation/system-requirements.md b/docs/infrastructure/installation/system-requirements.md index 71cc86b16f..fa97b2135f 100644 --- a/docs/infrastructure/installation/system-requirements.md +++ b/docs/infrastructure/installation/system-requirements.md @@ -28,7 +28,7 @@ For testing purposes, you can run an XRP Ledger server on commodity hardware wit - Operating System: macOS, Windows (64-bit), or most Linux distributions (Red Hat, Ubuntu, and Debian supported). - CPU: 64-bit x86_64, 4+ cores. - - For development purposes, it is also possible to compile `rippled` for some Apple Silicon or ARM processors. See the [Build instructions](https://github.com/XRPLF/rippled/blob/develop/BUILD.md) for guidance. However, architectures other than x86_64 are not officially supported and are not recommended for production. + - For development purposes, it is also possible to compile `rippled` for some Apple Silicon or ARM processors. See the {% source-link name="Build instructions" path="BUILD.md" /%} for guidance. However, architectures other than x86_64 are not officially supported and are not recommended for production. - Disk: SSD / NVMe (10,000 IOPS sustained - not burst or peak - or better). Minimum 50 GB for the database partition. Do not use Amazon Elastic Block Store (AWS EBS) because its latency is too high to sync reliably. - RAM: 16 GB+. diff --git a/docs/infrastructure/testing-and-auditing/start-a-new-genesis-ledger-in-stand-alone-mode.md b/docs/infrastructure/testing-and-auditing/start-a-new-genesis-ledger-in-stand-alone-mode.md index 0cf7af5b87..bffc10d96c 100644 --- a/docs/infrastructure/testing-and-auditing/start-a-new-genesis-ledger-in-stand-alone-mode.md +++ b/docs/infrastructure/testing-and-auditing/start-a-new-genesis-ledger-in-stand-alone-mode.md @@ -18,7 +18,7 @@ xrpld -a --start --conf=/path/to/xrpld.cfg For more information on the options you can use when starting `xrpld` in stand-alone mode, see [Commandline Usage: Stand-Alone Mode Options](../commandline-usage.md#stand-alone-mode-options). -In a genesis ledger, the [genesis address](../../concepts/accounts/addresses.md#special-addresses) holds all 100 billion XRP. The keys of the genesis address are [hardcoded](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/xrpld/app/ledger/Ledger.cpp#L184) as follows: +In a genesis ledger, the [genesis address](../../concepts/accounts/addresses.md#special-addresses) holds all 100 billion XRP. The keys of the genesis address are {% source-link name="hardcoded" path="src/libxrpl/ledger/Ledger.cpp#L184" /%} as follows: **Address:** `rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh` diff --git a/docs/infrastructure/troubleshooting/diagnosing-problems.md b/docs/infrastructure/troubleshooting/diagnosing-problems.md index 2a4b029f77..c8c9651ad7 100644 --- a/docs/infrastructure/troubleshooting/diagnosing-problems.md +++ b/docs/infrastructure/troubleshooting/diagnosing-problems.md @@ -116,7 +116,7 @@ This generally indicates one of several problems: ## Check the server log -[By default,](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg#L1139-L1142) `rippled` writes the server's debug log to the file `/var/log/xrpld/debug.log`. The location of the debug log can differ based on your server's config file. If you start the `xrpld` service directly (instead of using `systemctl` or `service` to start it), it also prints log messages to the console by default. +{% source-link name="By default," path="cfg/xrpld-example.cfg#L1139-L1142" /%} `rippled` writes the server's debug log to the file `/var/log/xrpld/debug.log`. The location of the debug log can differ based on your server's config file. If you start the `xrpld` service directly (instead of using `systemctl` or `service` to start it), it also prints log messages to the console by default. The default config file sets the log level to severity "warning" for all categories of log messages by internally using the [log_level method][] during startup. You can control the verbosity of the debug log [using the `--silent` commandline option during startup](../commandline-usage.md#verbosity-options) and with the [log_level method][] while the server is running. (See the `[rpc_startup]` stanza of the config file for settings.) diff --git a/docs/infrastructure/troubleshooting/fix-sqlite-tx-db-page-size-issue.md b/docs/infrastructure/troubleshooting/fix-sqlite-tx-db-page-size-issue.md index 29229ab814..50d1c22822 100644 --- a/docs/infrastructure/troubleshooting/fix-sqlite-tx-db-page-size-issue.md +++ b/docs/infrastructure/troubleshooting/fix-sqlite-tx-db-page-size-issue.md @@ -31,7 +31,7 @@ If your server is vulnerable to this problem, you can detect it two ways: In both cases, detection of the problem requires access to `xrpld`'s server logs. -{% admonition type="success" name="Tip" %}The location of the debug log depends on your `xrpld` server's config file. The [default configuration](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg#L1139-L1142) writes the server's debug log to the file `/var/log/xrpld/debug.log`.{% /admonition %} +{% admonition type="success" name="Tip" %}The location of the debug log depends on your `xrpld` server's config file. The {% source-link name="default configuration" path="cfg/xrpld-example.cfg#L1139-L1142" /%} writes the server's debug log to the file `/var/log/xrpld/debug.log`.{% /admonition %} ### Proactive Detection diff --git a/docs/infrastructure/troubleshooting/server-wont-start.md b/docs/infrastructure/troubleshooting/server-wont-start.md index b2e2f526ce..67e2c724d7 100644 --- a/docs/infrastructure/troubleshooting/server-wont-start.md +++ b/docs/infrastructure/troubleshooting/server-wont-start.md @@ -69,7 +69,7 @@ Possible solutions: - Create a config file that can be read by the `xrpld` user at `$HOME/.config/xrpld/xrpld.cfg` (where `$HOME` points to the `xrpld` user's home directory). - {% admonition type="success" name="Tip" %}The `rippled` repository contains [an example `xrpld.cfg` file](https://github.com/XRPLF/rippled/blob/master/cfg/xrpld-example.cfg) which is provided as the default config when you do an installation from a binary package. If you do not have the file, you can copy it from there.{% /admonition %} + {% admonition type="success" name="Tip" %}The `rippled` repository contains {% source-link name="an example xrpld.cfg file" path="cfg/xrpld-example.cfg" /%} which is provided as the default config when you do an installation from a binary package. If you do not have the file, you can copy it from there.{% /admonition %} - Specify the path to your preferred config file using the `--conf` [commandline option](../commandline-usage.md). @@ -87,7 +87,7 @@ Possible solutions: - Check that the `validators.txt` file exists and the `xrpld` user has permissions to read it. - {% admonition type="success" name="Tip" %}The `rippled` repository contains [an example `validators.txt` file](https://github.com/XRPLF/rippled/blob/master/cfg/validators-example.txt) which is provided as the default config when you do an installation from a binary package. If you do not have the file, you can copy it from there.{% /admonition %} + {% admonition type="success" name="Tip" %}The `rippled` repository contains {% source-link name="an example validators.txt file" path="cfg/validators-example.txt" /%} which is provided as the default config when you do an installation from a binary package. If you do not have the file, you can copy it from there.{% /admonition %} - Edit your `xrpld.cfg` file and modify the `[validators_file]` setting to have the correct path to your `validators.txt` (or equivalent) file. Check for extra whitespace before or after the filename. diff --git a/docs/infrastructure/troubleshooting/understanding-log-messages.md b/docs/infrastructure/troubleshooting/understanding-log-messages.md index 0b0c6a7005..d343a2e7de 100644 --- a/docs/infrastructure/troubleshooting/understanding-log-messages.md +++ b/docs/infrastructure/troubleshooting/understanding-log-messages.md @@ -131,7 +131,7 @@ The following log message indicates that a client to the server's public API has Resource:WRN Consumer entry 169.55.164.21 dropped with balance 25970 at or above drop threshold 25000 ``` -The entry contains the IP address of the client that exceeded its rate limit, and the client's "balance", which is a score estimating the rate at which the client has been using the API. The threshold for dropping a client is [hardcoded to a score of 25000](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/include/xrpl/resource/detail/Tuning.h#L35). {% badge href="https://xrpl.org/blog/2025/rippled-2.3.1" %}Updated in: rippled 2.3.1{% /badge %} +The entry contains the IP address of the client that exceeded its rate limit, and the client's "balance", which is a score estimating the rate at which the client has been using the API. The threshold for dropping a client is {% source-link name="hardcoded to a score of 25000" path="include/xrpl/resource/detail/Tuning.h#L35" /%}. {% badge href="https://xrpl.org/blog/2025/rippled-2.3.1" %}Updated in: rippled 2.3.1{% /badge %} If you see frequent messages from the same IP address, you may want to block those IP addresses from your network to reduce the load on your server's public API. (For example, you may be able to configure your firewall to block those IP addresses.) diff --git a/docs/introduction/software-ecosystem.md b/docs/introduction/software-ecosystem.md index f51281b9d9..ce831a7eea 100644 --- a/docs/introduction/software-ecosystem.md +++ b/docs/introduction/software-ecosystem.md @@ -24,7 +24,7 @@ The XRP Ledger is home to a deep, layered ecosystem of software projects powerin ### Core Servers -The peer-to-peer network at the heart of the XRP Ledger requires a highly-reliable, efficient server to enforce the rules of consensus and transaction processing. The XRP Ledger Foundation publishes a reference implementation of this server software, called [**`rippled`**](../concepts/networks-and-servers/index.md) (pronounced "ripple-dee"). The server is available under [a permissive open-source license](https://github.com/XRPLF/rippled/blob/develop/LICENSE.md), so anyone can inspect and modify their own instance of the server, and re-publish with few restrictions. +The peer-to-peer network at the heart of the XRP Ledger requires a highly-reliable, efficient server to enforce the rules of consensus and transaction processing. The XRP Ledger Foundation publishes a reference implementation of this server software, called [**`rippled`**](../concepts/networks-and-servers/index.md) (pronounced "ripple-dee"). The server is available under {% source-link name="a permissive open-source license" path="LICENSE.md" /%}, so anyone can inspect and modify their own instance of the server, and re-publish with few restrictions. ![Core Servers](/docs/img/ecosystem-peer-to-peer.svg) diff --git a/docs/references/client-libraries.md b/docs/references/client-libraries.md index 76ebbc6d6e..0cf4396f7b 100644 --- a/docs/references/client-libraries.md +++ b/docs/references/client-libraries.md @@ -18,7 +18,7 @@ These client libraries simplify some of the common work of accessing and process | **JavaScript** / **TypeScript** | `xrpl.js` | [Get Started](../tutorials/get-started/get-started-javascript.md) | [API Reference](https://js.xrpl.org/) | [Repo](https://github.com/XRPLF/xrpl.js) | | **JavaScript** / **TypeScript** | `xrpl-client` | [Get Started](https://jsfiddle.net/WietseWind/35az6p1b/) | [NPM Reference](https://www.npmjs.com/package/xrpl-client) | [Repo](https://github.com/XRPL-Labs/xrpl-client) | | **JavaScript** / **TypeScript** | `xrpl-accountlib` | [Get Started](https://jsfiddle.net/WietseWind/gkefpnu0/) | [NPM Reference](https://www.npmjs.com/package/xrpl-accountlib) | [Repo](https://github.com/WietseWind/xrpl-accountlib) | -| **C++** | `libxrpl` | [Get Started](https://github.com/XRPLF/rippled/blob/develop/BUILD.md) | | (Part of [`rippled`](https://github.com/XRPLF/rippled/)) | +| **C++** | `libxrpl` | {% source-link name="Get Started" path="BUILD.md" /%} | | (Part of [`rippled`](https://github.com/XRPLF/rippled/)) | | **Java** | `xrpl4j` | [Get Started Using Java](../tutorials/get-started/get-started-java.md) | [API Reference](https://javadoc.io/doc/org.xrpl/) | [Repo](https://github.com/XRPLF/xrpl4j) | | **PHP** | `XRPL_PHP` | [Get Started Using PHP](../tutorials/get-started/get-started-php.md) | [XRPL_PHP Docs](https://alexanderbuzz.github.io/xrpl-php-docs/) | [Repo](https://github.com/AlexanderBuzz/xrpl-php) | | **Ruby** | `XRPB` | | [XRPB Docs](https://www.rubydoc.info/gems/xrbp) | [Repo](https://github.com/DevNullProd/XRBP) | diff --git a/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/validation_create.md b/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/validation_create.md index a7767e0ed1..8bbcc1b8a1 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/validation_create.md +++ b/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/validation_create.md @@ -6,7 +6,7 @@ labels: - Core Server --- # validation_create -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/ValidationCreate.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/keygen/ValidationCreate.cpp" /%} Use the `validation_create` command to generate [cryptographic keys an `xrpld` server can use to identify itself to the network](../../../../concepts/networks-and-servers/peer-protocol.md#node-key-pair). Similar to the [wallet_propose method][], this method only generates a set of keys in the proper format. It does not any makes changes to the XRP Ledger data or server configuration. diff --git a/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/wallet_propose.md b/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/wallet_propose.md index 41e20c7d8c..c2e5edd0cf 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/wallet_propose.md +++ b/docs/references/http-websocket-apis/admin-api-methods/key-generation-methods/wallet_propose.md @@ -6,7 +6,7 @@ labels: - Accounts --- # wallet_propose -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/WalletPropose.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/keygen/WalletPropose.cpp" /%} Use the `wallet_propose` method to generate a key pair and XRP Ledger address. This command only generates key and address values, and does not affect the XRP Ledger itself in any way. To become a funded account in the ledger, the address must [receive a Payment transaction](../../../../concepts/accounts/index.md#creating-accounts) that provides enough XRP to meet the [reserve requirement](../../../../concepts/accounts/reserves.md). diff --git a/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/can_delete.md b/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/can_delete.md index 2a6ec747c3..a5bb3fa540 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/can_delete.md +++ b/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/can_delete.md @@ -5,7 +5,7 @@ labels: - Data Retention --- # can_delete -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/CanDelete.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/data/CanDelete.cpp" /%} The `can_delete` method informs the `xrpld` server of the latest ledger version which may be deleted when using [online deletion with advisory deletion enabled](../../../../infrastructure/configuration/data-retention/online-deletion.md#advisory-deletion). If advisory deletion is not enabled, this method does nothing. diff --git a/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_cleaner.md b/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_cleaner.md index 00bb10cfb9..bc25fe9587 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_cleaner.md +++ b/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_cleaner.md @@ -5,9 +5,9 @@ labels: - Data Retention --- # ledger_cleaner -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/LedgerCleanerHandler.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/data/LedgerCleaner.cpp" /%} -The `ledger_cleaner` command controls the [Ledger Cleaner](https://github.com/XRPLF/rippled/tree/master/src/xrpld/app/ledger#the-ledger-cleaner), an asynchronous maintenance process that can find and repair corruption in `rippled`'s database of ledgers. +The `ledger_cleaner` command controls the {% source-link name="Ledger Cleaner" path="src/xrpld/app/ledger#the-ledger-cleaner" /%}, an asynchronous maintenance process that can find and repair corruption in `rippled`'s database of ledgers. _The `ledger_cleaner` method is an [admin method](../index.md) that cannot be run by unprivileged users._ diff --git a/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_request.md b/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_request.md index 210af20534..30aec689b7 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_request.md +++ b/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/ledger_request.md @@ -5,7 +5,7 @@ labels: - Data Retention --- # ledger_request -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/LedgerRequest.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/data/LedgerRequest.cpp" /%} The `ledger_request` command tells server to fetch a specific ledger version from its connected peers. This only works if one of the server's immediately-connected peers has that ledger. You may need to run the command several times to completely fetch a ledger. diff --git a/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/log_level.md b/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/log_level.md index 4420515e42..108bbc499f 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/log_level.md +++ b/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/log_level.md @@ -5,7 +5,7 @@ labels: - Data Retention --- # log_level -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/LogLevel.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/log/LogLevel.cpp" /%} The `log_level` command changes the `xrpld` server's logging verbosity, or returns the current logging level for each category (called a _partition_) of log messages. diff --git a/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/logrotate.md b/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/logrotate.md index 1509bda753..3ebcd92a75 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/logrotate.md +++ b/docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/logrotate.md @@ -5,7 +5,7 @@ labels: - Data Retention --- # logrotate -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/LogRotate.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/log/LogRotate.cpp" /%} The `logrotate` command closes and reopens the log file. This is intended to help with log rotation on Linux file systems. diff --git a/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/connect.md b/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/connect.md index 11e10af06b..ccd322c9fc 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/connect.md +++ b/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/connect.md @@ -5,7 +5,7 @@ labels: - Core Server --- # connect -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Connect.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/peer/Connect.cpp" /%} The `connect` command forces the `xrpld` server to connect to a specific peer server. diff --git a/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_add.md b/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_add.md index 8d0674dccd..83ed74771e 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_add.md +++ b/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_add.md @@ -5,7 +5,7 @@ labels: - Core Server --- # peer_reservations_add -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Reservations.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/peer/PeerReservationsAdd.cpp" /%} The {% code-page-name /%} method adds or updates a reserved slot for a specific peer server in the XRP Ledger [peer-to-peer network](../../../../concepts/networks-and-servers/peer-protocol.md). diff --git a/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_del.md b/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_del.md index 6d52c14835..204903875f 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_del.md +++ b/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_del.md @@ -5,7 +5,7 @@ labels: - Core Server --- # peer_reservations_del -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Reservations.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/peer/PeerReservationsDel.cpp" /%} The {% code-page-name /%} method removes a specific [peer reservation][], if one exists. diff --git a/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_list.md b/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_list.md index 98fec21fd6..f560eebfac 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_list.md +++ b/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peer_reservations_list.md @@ -5,7 +5,7 @@ labels: - Core Server --- # peer_reservations_list -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Reservations.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/peer/PeerReservationsList.cpp" /%} The {% code-page-name /%} method lists [peer reservations][]. diff --git a/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peers.md b/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peers.md index 0baf08be8e..88cf2c9a64 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peers.md +++ b/docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/peers.md @@ -5,7 +5,7 @@ labels: - Core Server --- # peers -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Peers.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/peer/Peers.cpp" /%} The `peers` command returns a list of all other `xrpld` servers currently connected to this one over the [Peer Protocol](../../../../concepts/networks-and-servers/peer-protocol.md), including information on their connection and sync status. diff --git a/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/ledger_accept.md b/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/ledger_accept.md index 85936c2efd..4abb46599e 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/ledger_accept.md +++ b/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/ledger_accept.md @@ -5,7 +5,7 @@ labels: - Core Server --- # ledger_accept -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/LedgerAccept.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/server_control/LedgerAccept.cpp" /%} The `ledger_accept` method forces the server to close the current-working ledger and move to the next ledger number. This method is intended for testing purposes only, and is only available when the `xrpld` server is running stand-alone mode. diff --git a/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/stop.md b/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/stop.md index 9206b0d4a4..485ba0a5f0 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/stop.md +++ b/docs/references/http-websocket-apis/admin-api-methods/server-control-methods/stop.md @@ -5,7 +5,7 @@ labels: - Core Server --- # stop -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Stop.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/server_control/Stop.cpp" /%} Gracefully shuts down the server. diff --git a/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign.md b/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign.md index 5030b2c57f..131034b5f7 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign.md +++ b/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign.md @@ -5,7 +5,7 @@ labels: - Transaction Sending --- # sign -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/SignHandler.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/signing/Sign.cpp" /%} The `sign` method takes a [transaction in JSON format](../../../protocol/transactions/index.md) and a [seed value](../../../../concepts/accounts/cryptographic-keys.md), and returns a signed binary representation of the transaction. To contribute one signature to a [multi-signed transaction](../../../../concepts/accounts/multi-signing.md), use the [sign_for method][] instead. diff --git a/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign_for.md b/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign_for.md index d4797ee89e..c779ab9dbb 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign_for.md +++ b/docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign_for.md @@ -5,7 +5,7 @@ labels: - Transaction Sending --- # sign_for -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/SignFor.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/signing/SignFor.cpp" /%} The `sign_for` command provides one signature for a [multi-signed transaction](../../../../concepts/accounts/multi-signing.md). diff --git a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/consensus_info.md b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/consensus_info.md index 33f5d61945..cd10420e40 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/consensus_info.md +++ b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/consensus_info.md @@ -6,7 +6,7 @@ labels: - Core Server --- # consensus_info -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/ConsensusInfo.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/ConsensusInfo.cpp" /%} The `consensus_info` command provides information about the [consensus process](../../../../concepts/consensus-protocol/index.md) for debugging purposes. diff --git a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/feature.md b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/feature.md index 59cb5e0c2e..e170c7ff9f 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/feature.md +++ b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/feature.md @@ -6,7 +6,7 @@ labels: - Core Server --- # feature -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Feature1.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/server_info/Feature.cpp" /%} The `feature` command returns information about [amendments](../../../../concepts/networks-and-servers/amendments.md) this server knows about, including whether they are enabled and whether the server is voting in favor of those amendments in the [amendment process](../../../../concepts/networks-and-servers/amendments.md#amendment-process). diff --git a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/fetch_info.md b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/fetch_info.md index f64376c385..b8fc88942f 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/fetch_info.md +++ b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/fetch_info.md @@ -5,7 +5,7 @@ labels: - Core Server --- # fetch_info -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/FetchInfo.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/FetchInfo.cpp" /%} The `fetch_info` command returns information about objects that this server is currently fetching from the network, and how many peers have that information. It can also be used to reset current fetches. diff --git a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/get_counts.md b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/get_counts.md index 350a29f787..630b7f8fc1 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/get_counts.md +++ b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/get_counts.md @@ -5,7 +5,7 @@ labels: - Core Server --- # get_counts -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/GetCounts.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/GetCounts.cpp" /%} The `get_counts` command provides various stats about the health of the server, mostly the number of objects of different types that it currently holds in memory. diff --git a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/print.md b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/print.md index f42d6db890..1739f8a5ef 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/print.md +++ b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/print.md @@ -5,7 +5,7 @@ labels: - Core Server --- # print -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Print.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/Print.cpp" /%} The `print` command returns the current status of various internal subsystems, including peers, the ledger cleaner, and the resource manager. diff --git a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_info.md b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_info.md index 9c8077f63b..7ac6bb4125 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_info.md +++ b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_info.md @@ -6,7 +6,7 @@ labels: - Blockchain --- # validator_info -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/ValidatorInfo.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/ValidatorInfo.cpp" /%} The {% code-page-name /%} method returns the current validator settings of the server, if it is configured as a validator. diff --git a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_list_sites.md b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_list_sites.md index c2453b309a..4471d82b1a 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_list_sites.md +++ b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validator_list_sites.md @@ -6,7 +6,7 @@ labels: - Blockchain --- # validator_list_sites -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/ValidatorListSites.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/ValidatorListSites.cpp" /%} The `validator_list_sites` command returns status information of sites serving validator lists. diff --git a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validators.md b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validators.md index cadaa0d6ae..693d2b2e0f 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validators.md +++ b/docs/references/http-websocket-apis/admin-api-methods/status-and-debugging-methods/validators.md @@ -6,7 +6,7 @@ labels: - Blockchain --- # validators -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Validators.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/status/Validators.cpp" /%} The `validators` command returns human readable information about the current list of published and [trusted validators](../../../../concepts/consensus-protocol/index.md#trust-based-validation) used by the server. diff --git a/docs/references/http-websocket-apis/api-conventions/rate-limiting.md b/docs/references/http-websocket-apis/api-conventions/rate-limiting.md index b53eba4b19..1bf8f56f6a 100644 --- a/docs/references/http-websocket-apis/api-conventions/rate-limiting.md +++ b/docs/references/http-websocket-apis/api-conventions/rate-limiting.md @@ -46,7 +46,7 @@ Server is overloaded ``` ## Rate Per Request -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/libxrpl/resource/Fees.cpp "Source") +{% source-link path="src/libxrpl/resource/Fees.cpp" /%} The server calculates a client's usage rate based on the number of requests made over time, and weighs different types of requests based on approximately how much work the server must do to serve them. Follow-up messages from the server for the [subscribe method][] and [path_find method][] also count towards a client's usage rate. diff --git a/docs/references/http-websocket-apis/index.md b/docs/references/http-websocket-apis/index.md index 7a44df9c73..147d1c45f8 100644 --- a/docs/references/http-websocket-apis/index.md +++ b/docs/references/http-websocket-apis/index.md @@ -14,7 +14,7 @@ You can communicate directly with the XRP Ledger through HTTP-based APIs provide Currently, there are two API versions: `1` and `2` {% badge href="https://github.com/XRPLF/rippled/releases/tag/2.0.0" %}New in: rippled 2.0.0{% /badge %}. The server reports the range of supported API versions in the [`version` API method](public-api-methods/server-info-methods/version.md); you can specify which version to use in your API requests. -- For a full list of the differences between API versions, see [API-CHANGELOG on GitHub](https://github.com/XRPLF/rippled/blob/develop/API-CHANGELOG.md). +- For a full list of the differences between API versions, see {% source-link name="API-CHANGELOG on GitHub" path="API-CHANGELOG.md" /%}. - To stay up-to-date with API changes, join the [ripple server mailing list](https://groups.google.com/g/ripple-server). ### Specifying a Version diff --git a/docs/references/http-websocket-apis/peer-port-methods/health-check.md b/docs/references/http-websocket-apis/peer-port-methods/health-check.md index 230836130c..6c96c5400c 100644 --- a/docs/references/http-websocket-apis/peer-port-methods/health-check.md +++ b/docs/references/http-websocket-apis/peer-port-methods/health-check.md @@ -5,7 +5,7 @@ labels: - Core Server --- # Health Check -[[Source]](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/xrpld/overlay/detail/OverlayImpl.cpp#L943-L1038 "Source") +{% source-link path="src/xrpld/overlay/detail/OverlayImpl.cpp#L943-L1038" /%} The Health Check is a special [peer port method](index.md) for reporting on the health of an individual `xrpld` server. This method is intended for use in automated monitoring to recognize outages and prompt automated or manual interventions such as restarting the server. {% badge href="https://github.com/XRPLF/rippled/releases/tag/1.6.0" %}New in: rippled 1.6.0{% /badge %} diff --git a/docs/references/http-websocket-apis/peer-port-methods/validator-list.md b/docs/references/http-websocket-apis/peer-port-methods/validator-list.md index 19e8431e2b..6f98e57dd8 100644 --- a/docs/references/http-websocket-apis/peer-port-methods/validator-list.md +++ b/docs/references/http-websocket-apis/peer-port-methods/validator-list.md @@ -6,7 +6,7 @@ labels: - Blockchain --- # Validator List Method -[[Source]](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/xrpld/overlay/detail/OverlayImpl.cpp#L875-L940 "Source") +{% source-link path="src/xrpld/overlay/detail/OverlayImpl.cpp#L875-L940" /%} The validator list method is a special API endpoint that fetches a current, trusted validator list an `xrpld` server is using. This often represents the exact list of validators a server trusts. @@ -44,7 +44,7 @@ The JSON object has the following fields: | `public_key` | String | The public key used to verify this validator list data, in hexadecimal. This is a 32-byte Ed25519 public key prefixed with the byte `0xED`. | ### Manifest Data -[[Source]](https://github.com/XRPLF/rippled/blob/8d1b3b39940eca2735a0e9279bdd92b0748fd84c/src/xrpld/app/misc/detail/Manifest.cpp#L54-L82 "Source") +{% source-link path="src/libxrpl/server/Manifest.cpp#L54-L82" /%} A "manifest" contains information uniquely identifying a person or organization involved in the consensus process, either a **validator** or a **list publisher**. A validator's manifest contains the _public_ information from that [validator's token](../../../infrastructure/configuration/server-modes/run-xrpld-as-a-validator.md#3-enable-validation-on-your-xrpld-server). A list publisher's manifest provides information about the list publisher. Both are typically encoded to binary in the XRP Ledger's standard [binary serialization format](../../protocol/binary-format.md). (There is no standard JSON representation of a manifest.) diff --git a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_channels.md b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_channels.md index c9a840ee4d..3c3069d3b1 100644 --- a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_channels.md +++ b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_channels.md @@ -5,7 +5,7 @@ labels: - Payment Channels --- # account_channels -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/AccountChannels.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountChannels.cpp" /%} The `account_channels` method returns information about an account's Payment Channels. This includes only channels where the specified account is the channel's source, not the destination. (A channel's "source" and "owner" are the same.) All information retrieved is relative to a particular version of the ledger. diff --git a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_currencies.md b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_currencies.md index c288fcd034..e53a0008f9 100644 --- a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_currencies.md +++ b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_currencies.md @@ -7,7 +7,7 @@ labels: - Tokens --- # account_currencies -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/AccountCurrenciesHandler.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountCurrencies.cpp" /%} The `account_currencies` command retrieves a list of currencies that an account can send or receive, based on its trust lines. (This is not a thoroughly confirmed list, but it can be used to populate user interfaces.) diff --git a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_info.md b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_info.md index 64ca366bbf..1252c0409b 100644 --- a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_info.md +++ b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_info.md @@ -6,7 +6,7 @@ labels: - XRP --- # account_info -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/AccountInfo.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountInfo.cpp" /%} The `account_info` command retrieves information about an account, its activity, and its XRP balance. All information retrieved is relative to a particular version of the ledger. diff --git a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_lines.md b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_lines.md index b09090416a..846bf64b49 100644 --- a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_lines.md +++ b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_lines.md @@ -8,7 +8,7 @@ labels: --- # account_lines -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/AccountLines.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountLines.cpp" /%} The `account_lines` method returns information about an account's trust lines, which contain balances in all non-XRP currencies and assets. All information retrieved is relative to a particular version of the ledger. diff --git a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_nfts.md b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_nfts.md index cdfa9bfde0..20854e311d 100644 --- a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_nfts.md +++ b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_nfts.md @@ -5,7 +5,7 @@ labels: - Non-fungible Tokens, NFTs --- # account_nfts -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/AccountObjects.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountObjects.cpp" /%} The `account_nfts` method returns a list of `NFToken` objects for the specified account. diff --git a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_objects.md b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_objects.md index e89f0f715f..0060e8a708 100644 --- a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_objects.md +++ b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_objects.md @@ -6,7 +6,7 @@ labels: - Data Retention --- # account_objects -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/AccountObjects.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountObjects.cpp" /%} The `account_objects` command returns _all_ ledger entries owned by an account, in their raw [ledger format][]. diff --git a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_offers.md b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_offers.md index 6973b6a2dd..d3ecd6a260 100644 --- a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_offers.md +++ b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_offers.md @@ -7,7 +7,7 @@ labels: - Decentralized Exchange --- # account_offers -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/AccountOffers.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountOffers.cpp" /%} The `account_offers` method retrieves a list of [offers](../../../../concepts/tokens/decentralized-exchange/offers.md) made by a given [account](../../../../concepts/accounts/index.md) that are outstanding as of a particular [ledger version](../../../../concepts/ledgers/index.md). diff --git a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md index 87c36aba1b..d6b7485015 100644 --- a/docs/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md +++ b/docs/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md @@ -6,7 +6,7 @@ labels: - Accounts --- # account_tx -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/AccountTx.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/AccountTx.cpp" /%} The `account_tx` method retrieves a list of validated transactions that involve a given account. diff --git a/docs/references/http-websocket-apis/public-api-methods/account-methods/gateway_balances.md b/docs/references/http-websocket-apis/public-api-methods/account-methods/gateway_balances.md index b15b0ff94b..7e208ddf40 100644 --- a/docs/references/http-websocket-apis/public-api-methods/account-methods/gateway_balances.md +++ b/docs/references/http-websocket-apis/public-api-methods/account-methods/gateway_balances.md @@ -6,7 +6,7 @@ labels: - Accounts --- # gateway_balances -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/GatewayBalances.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/GatewayBalances.cpp" /%} The `gateway_balances` command calculates the total balances issued by a given account, optionally excluding amounts held by [operational addresses](../../../../concepts/accounts/account-types.md). diff --git a/docs/references/http-websocket-apis/public-api-methods/account-methods/noripple_check.md b/docs/references/http-websocket-apis/public-api-methods/account-methods/noripple_check.md index e275b0029b..cef50ccdb7 100644 --- a/docs/references/http-websocket-apis/public-api-methods/account-methods/noripple_check.md +++ b/docs/references/http-websocket-apis/public-api-methods/account-methods/noripple_check.md @@ -5,7 +5,7 @@ labels: - Tokens --- # noripple_check -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/NoRippleCheck.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/account/NoRippleCheck.cpp" /%} The `noripple_check` command provides a quick way to check the status of [the Default Ripple field for an account and the No Ripple flag of its trust lines](../../../../concepts/tokens/fungible-tokens/rippling.md), compared with the recommended settings. diff --git a/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger.md b/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger.md index def24f30eb..3c6cbd8219 100644 --- a/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger.md +++ b/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger.md @@ -5,7 +5,7 @@ labels: - Blockchain --- # ledger -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/LedgerHandler.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/ledger/Ledger.cpp" /%} Retrieve information about the public [ledger](../../../../concepts/ledgers/index.md). diff --git a/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_closed.md b/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_closed.md index 436ccffd3c..b5d3c971e5 100644 --- a/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_closed.md +++ b/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_closed.md @@ -5,7 +5,7 @@ labels: - Blockchain --- # ledger_closed -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/LedgerClosed.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/ledger/LedgerClosed.cpp" /%} The `ledger_closed` method returns the unique identifiers of the most recently closed ledger. (This ledger is not necessarily validated and immutable yet.) diff --git a/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_current.md b/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_current.md index efeacdcf79..5b8af7631b 100644 --- a/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_current.md +++ b/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_current.md @@ -5,7 +5,7 @@ labels: - Blockchain --- # ledger_current -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/LedgerCurrent.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/ledger/LedgerCurrent.cpp" /%} The `ledger_current` method returns the unique identifiers of the current in-progress [ledger](../../../../concepts/ledgers/index.md). This command is mostly useful for testing, because the ledger returned is still in flux. diff --git a/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_data.md b/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_data.md index 7619ba3514..5a6c9bb5a6 100644 --- a/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_data.md +++ b/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_data.md @@ -6,7 +6,7 @@ labels: - Data Retention --- # ledger_data -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/LedgerData.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/ledger/LedgerData.cpp" /%} The `ledger_data` method retrieves contents of the specified ledger. You can iterate through several calls to retrieve the entire contents of a single ledger version. diff --git a/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_entry.md b/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_entry.md index b0e33a0ae9..39197e456a 100644 --- a/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_entry.md +++ b/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_entry.md @@ -6,7 +6,7 @@ labels: - Data Retention --- # ledger_entry -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/LedgerEntry.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/ledger/LedgerEntry.cpp" /%} The `ledger_entry` method returns a single ledger entry from the XRP Ledger in its raw format. See [ledger format][] for information on the different types of entries you can retrieve. diff --git a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/amm_info.md b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/amm_info.md index 11a48e6dc2..b6b1b3eba5 100644 --- a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/amm_info.md +++ b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/amm_info.md @@ -7,7 +7,7 @@ labels: - AMM --- # amm_info -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/AMMInfo.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/AMMInfo.cpp" /%} The {% code-page-name /%} method gets information about an [Automated Market Maker (AMM)](/docs/concepts/tokens/decentralized-exchange/automated-market-makers) instance. diff --git a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_changes.md b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_changes.md index aa13cd0962..33c0660a69 100644 --- a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_changes.md +++ b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_changes.md @@ -6,7 +6,7 @@ labels: - Cross-Currency --- # book_changes -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/BookChanges.h "Source") +{% source-link path="src/xrpld/rpc/BookChanges.h" /%} The {% code-page-name /%} method reports information about changes to the order books in the [decentralized exchange (DEX)](../../../../concepts/tokens/decentralized-exchange/index.md) compared with the previous ledger version. This may be useful for building "candlestick" charts. diff --git a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_offers.md b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_offers.md index 0e7b9ac18b..df16abd118 100644 --- a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_offers.md +++ b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_offers.md @@ -6,7 +6,7 @@ labels: - Cross-Currency --- # book_offers -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/BookOffers.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/BookOffers.cpp" /%} The `book_offers` method retrieves a list of [offers](../../../../concepts/tokens/decentralized-exchange/offers.md) between two currencies, also known as an _order book_. The response omits [unfunded offers](../../../../concepts/tokens/decentralized-exchange/offers.md#lifecycle-of-an-offer) and reports how much of each remaining offer's total is currently funded. diff --git a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/deposit_authorized.md b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/deposit_authorized.md index f286388450..8b1dc3bc35 100644 --- a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/deposit_authorized.md +++ b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/deposit_authorized.md @@ -6,7 +6,7 @@ labels: - Security --- # deposit_authorized -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/DepositAuthorized.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/DepositAuthorized.cpp" /%} The `deposit_authorized` command indicates whether one account is authorized to send payments directly to another. See [Deposit Authorization](../../../../concepts/accounts/depositauth.md) for information on how to require authorization to deliver money to your account. diff --git a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/get_aggregate_price.md b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/get_aggregate_price.md index 2b9fc23fc8..96676d6a36 100644 --- a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/get_aggregate_price.md +++ b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/get_aggregate_price.md @@ -5,7 +5,7 @@ labels: - Oracle --- # get_aggregate_price -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/GetAggregatePrice.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/GetAggregatePrice.cpp" /%} The `get_aggregate_price` method retrieves the aggregate price of specified `Oracle` objects, returning three price statistics: mean, median, and trimmed mean. diff --git a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_buy_offers.md b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_buy_offers.md index ba241611a9..204d2dcbd0 100644 --- a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_buy_offers.md +++ b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_buy_offers.md @@ -5,7 +5,7 @@ labels: - NFTs --- # nft_buy_offers -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/NFTOffers.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/NFTOffersHelpers.h" /%} The `nft_buy_offers` method returns a list of buy offers for a given [NFToken][] object. diff --git a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_sell_offers.md b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_sell_offers.md index bae010520b..5dacc02dda 100644 --- a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_sell_offers.md +++ b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/nft_sell_offers.md @@ -5,7 +5,7 @@ labels: - NFTs --- # nft_sell_offers -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/NFTOffers.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/NFTOffersHelpers.h" /%} The `nft_sell_offers` method returns a list of sell offers for a given [NFToken][] object. diff --git a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/path_find.md b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/path_find.md index 1aad1ce74f..b86ec6319a 100644 --- a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/path_find.md +++ b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/path_find.md @@ -6,7 +6,7 @@ labels: - Tokens --- # path_find -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/PathFind.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/PathFind.cpp" /%} {% admonition type="warning" name="Caution" %} WebSocket API only! diff --git a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/ripple_path_find.md b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/ripple_path_find.md index 4e7bf0b678..292c5cd66e 100644 --- a/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/ripple_path_find.md +++ b/docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/ripple_path_find.md @@ -6,7 +6,7 @@ labels: - Tokens --- # ripple_path_find -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/RipplePathFind.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/orderbook/RipplePathFind.cpp" /%} The `ripple_path_find` method is a simplified version of the [path_find method][] that provides a single response with a [payment path](../../../../concepts/tokens/fungible-tokens/paths.md) you can use right away. It is available in both the WebSocket and JSON-RPC APIs. However, the results tend to become outdated as time passes. Instead of making multiple calls to stay updated, you should instead use the [path_find method][] to subscribe to continued updates where possible. diff --git a/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md b/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md index 86141fcd2c..a17c2d15a1 100644 --- a/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md +++ b/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md @@ -5,7 +5,7 @@ labels: - Payment Channels --- # channel_authorize -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/PayChanClaim.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/admin/signing/ChannelAuthorize.cpp" /%} The `channel_authorize` method creates a signature that can be used to redeem a specific amount of XRP from a payment channel. diff --git a/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_verify.md b/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_verify.md index 6a396aa1de..29731de742 100644 --- a/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_verify.md +++ b/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_verify.md @@ -5,7 +5,7 @@ labels: - Payment Channels --- # channel_verify -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/PayChanClaim.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/ChannelVerify.cpp" /%} 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. diff --git a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/feature.md b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/feature.md index eb667685de..c2a6a984a4 100644 --- a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/feature.md +++ b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/feature.md @@ -8,7 +8,7 @@ labels: # feature -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Feature1.cpp "Source")
+{% source-link path="src/xrpld/rpc/handlers/server_info/Feature.cpp" /%}
The `feature` command returns information about [amendments](../../../../concepts/networks-and-servers/amendments.md) this server knows about, including whether they are enabled and if the server knows how to apply the amendments. diff --git a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/fee.md b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/fee.md index 1d09e4dcc2..94e0e8bb38 100644 --- a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/fee.md +++ b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/fee.md @@ -5,7 +5,7 @@ labels: - Fees --- # fee -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Fee1.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/server_info/Fee.cpp" /%} The `fee` command reports the current state of the open-ledger requirements for the [transaction cost](../../../../concepts/transactions/transaction-cost.md). This requires the [FeeEscalation amendment][] to be enabled. diff --git a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/manifest.md b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/manifest.md index ca58f13b4a..2499328ca6 100644 --- a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/manifest.md +++ b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/manifest.md @@ -5,7 +5,7 @@ labels: - Blockchain --- # manifest -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/DoManifest.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/server_info/Manifest.cpp" /%} The {% code-page-name /%} method reports the current "manifest" information for a given validator public key. The "manifest" is a block of data that authorizes an ephemeral signing key with a signature from the validator's master key pair. {% badge href="https://github.com/XRPLF/rippled/releases/tag/1.7.0" %}Updated in: rippled 1.7.0{% /badge %} diff --git a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_definitions.md b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_definitions.md index 5b8997fb8f..8243316900 100644 --- a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_definitions.md +++ b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_definitions.md @@ -8,7 +8,7 @@ labels: --- # server_definitions -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/server_info/ServerDefinitions.cpp#L385 "Source") +{% source-link path="src/xrpld/rpc/handlers/server_info/ServerDefinitions.cpp#L385" /%} The `server_definitions` command returns an SDK-compatible `definitions.json`, generated from the `xrpld` instance currently running. You can use this to query a node in a network, quickly receiving the definitions necessary to serialize/deserialize its binary data. diff --git a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_info.md b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_info.md index b6f944255d..465fb06506 100644 --- a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_info.md +++ b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_info.md @@ -5,7 +5,7 @@ labels: - Core Server --- # server_info (xrpld) -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/ServerInfo.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/server_info/ServerInfo.cpp" /%} The `server_info` command asks the server for a human-readable version of various information about [the `xrpld` server](../../../../concepts/networks-and-servers/index.md) being queried. For [Clio servers](../../../../concepts/networks-and-servers/the-clio-server.md), see [`server_info` (Clio)](../clio-methods/server_info-clio.md) instead. diff --git a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_state.md b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_state.md index 9f30db08bb..f7899496a0 100644 --- a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_state.md +++ b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/server_state.md @@ -6,7 +6,7 @@ labels: --- # server_state -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/ServerState.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/server_info/ServerState.cpp" /%} The `server_state` command asks the server for various machine-readable information about the `xrpld` server's current state. The response is almost the same as the [server_info method][], but uses units that are easier to process instead of easier to read. (For example, XRP values are given in integer drops instead of scientific notation or decimal values, and time is given in milliseconds instead of seconds.) diff --git a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/version.md b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/version.md index c0ecd5b6eb..eb5045debc 100644 --- a/docs/references/http-websocket-apis/public-api-methods/server-info-methods/version.md +++ b/docs/references/http-websocket-apis/public-api-methods/server-info-methods/version.md @@ -6,7 +6,7 @@ labels: --- # version -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Version.h "Source") +{% source-link path="src/xrpld/rpc/handlers/server_info/Version.h" /%} The `version` command retrieves the API version information for the xrpld server. For `Clio` servers, see [`version` (`clio`)](../clio-methods/version.md) instead. diff --git a/docs/references/http-websocket-apis/public-api-methods/subscription-methods/subscribe.md b/docs/references/http-websocket-apis/public-api-methods/subscription-methods/subscribe.md index 1cac337ccb..9d7b855062 100644 --- a/docs/references/http-websocket-apis/public-api-methods/subscription-methods/subscribe.md +++ b/docs/references/http-websocket-apis/public-api-methods/subscription-methods/subscribe.md @@ -10,7 +10,7 @@ labels: - Smart Contracts --- # subscribe -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Subscribe.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/subscribe/Subscribe.cpp" /%} The `subscribe` method requests periodic notifications from the server when certain events happen. diff --git a/docs/references/http-websocket-apis/public-api-methods/subscription-methods/unsubscribe.md b/docs/references/http-websocket-apis/public-api-methods/subscription-methods/unsubscribe.md index 2e63c44f4e..8e4b10ede6 100644 --- a/docs/references/http-websocket-apis/public-api-methods/subscription-methods/unsubscribe.md +++ b/docs/references/http-websocket-apis/public-api-methods/subscription-methods/unsubscribe.md @@ -9,7 +9,7 @@ labels: --- # unsubscribe -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Unsubscribe.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/subscribe/Unsubscribe.cpp" /%} The `unsubscribe` command tells the server to stop sending messages for a particular subscription or set of subscriptions. diff --git a/docs/references/http-websocket-apis/public-api-methods/transaction-methods/simulate.md b/docs/references/http-websocket-apis/public-api-methods/transaction-methods/simulate.md index 4f6c20b64e..d311a60f9b 100644 --- a/docs/references/http-websocket-apis/public-api-methods/transaction-methods/simulate.md +++ b/docs/references/http-websocket-apis/public-api-methods/transaction-methods/simulate.md @@ -5,7 +5,7 @@ labels: - Transaction Sending --- # simulate -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Simulate.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/transaction/Simulate.cpp" /%} The `simulate` method executes a dry run of _any_ transaction type, enabling you to preview the results and metadata of a transaction without committing them to the XRP Ledger. Since this command never submits a transaction to the network, it doesn't incur any fees. diff --git a/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit.md b/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit.md index a9998c2dd0..933c4fb22b 100644 --- a/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit.md +++ b/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit.md @@ -6,7 +6,7 @@ labels: - Payments --- # submit -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Submit.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/transaction/Submit.cpp" /%} The `submit` method applies a [transaction](../../../protocol/transactions/index.md) and sends it to the network to be confirmed and included in future ledgers. diff --git a/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit_multisigned.md b/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit_multisigned.md index 41f446d0be..65e83a3588 100644 --- a/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit_multisigned.md +++ b/docs/references/http-websocket-apis/public-api-methods/transaction-methods/submit_multisigned.md @@ -5,7 +5,7 @@ labels: - Transaction Sending --- # submit_multisigned -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/SubmitMultiSigned.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/transaction/SubmitMultiSigned.cpp" /%} The `submit_multisigned` command applies a [multi-signed](../../../../concepts/accounts/multi-signing.md) transaction and sends it to the network to be included in future ledgers. (You can also submit multi-signed transactions in binary form using the [`submit` command in submit-only mode](submit.md#submit-only-mode).) diff --git a/docs/references/http-websocket-apis/public-api-methods/transaction-methods/transaction_entry.md b/docs/references/http-websocket-apis/public-api-methods/transaction-methods/transaction_entry.md index b016e1b575..ff2314072d 100644 --- a/docs/references/http-websocket-apis/public-api-methods/transaction-methods/transaction_entry.md +++ b/docs/references/http-websocket-apis/public-api-methods/transaction-methods/transaction_entry.md @@ -5,7 +5,7 @@ labels: - Transaction Sending --- # transaction_entry -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/TransactionEntry.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/transaction/TransactionEntry.cpp" /%} The `transaction_entry` method retrieves information on a single transaction from a specific ledger version. (The [tx method][], by contrast, searches all ledgers for the specified transaction. We recommend using that method instead.) diff --git a/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx.md b/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx.md index 5063d26331..c1f4cbf438 100644 --- a/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx.md +++ b/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx.md @@ -7,7 +7,7 @@ labels: --- # tx -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Tx.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/transaction/Tx.cpp" /%} The `tx` method retrieves information on a single [transaction](../../../protocol/transactions/index.md), by its [identifying hash][] or its [CTID](../../api-conventions/ctid.md). diff --git a/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx_history.md b/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx_history.md index e62a754ad7..53c3fd7af7 100644 --- a/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx_history.md +++ b/docs/references/http-websocket-apis/public-api-methods/transaction-methods/tx_history.md @@ -3,7 +3,7 @@ seo: description: Retrieve info about all recent transactions. --- # tx_history -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/TxHistory.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/transaction/TxHistory.cpp" /%} The `tx_history` method retrieves some of the most recent transactions made. diff --git a/docs/references/http-websocket-apis/public-api-methods/utility-methods/ping.md b/docs/references/http-websocket-apis/public-api-methods/utility-methods/ping.md index edc9eeda51..f4936d7e38 100644 --- a/docs/references/http-websocket-apis/public-api-methods/utility-methods/ping.md +++ b/docs/references/http-websocket-apis/public-api-methods/utility-methods/ping.md @@ -5,7 +5,7 @@ labels: - Core Server --- # ping -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Ping.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/utility/Ping.cpp" /%} The `ping` command returns an acknowledgement, so that clients can test the connection status and latency. diff --git a/docs/references/http-websocket-apis/public-api-methods/utility-methods/random.md b/docs/references/http-websocket-apis/public-api-methods/utility-methods/random.md index 3523b1fc64..2020491e79 100644 --- a/docs/references/http-websocket-apis/public-api-methods/utility-methods/random.md +++ b/docs/references/http-websocket-apis/public-api-methods/utility-methods/random.md @@ -6,7 +6,7 @@ labels: --- # random -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Random.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/utility/Random.cpp" /%} The `random` command provides a random number to be used as a source of entropy for random number generation by clients. diff --git a/docs/references/http-websocket-apis/public-api-methods/vault-methods/vault_info.md b/docs/references/http-websocket-apis/public-api-methods/vault-methods/vault_info.md index 0cf02d558f..173f239821 100644 --- a/docs/references/http-websocket-apis/public-api-methods/vault-methods/vault_info.md +++ b/docs/references/http-websocket-apis/public-api-methods/vault-methods/vault_info.md @@ -7,7 +7,7 @@ labels: # vault_info -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/VaultInfo.cpp "Source") +{% source-link path="src/xrpld/rpc/handlers/VaultInfo.cpp" /%} The `vault_info` command retrieves information about a vault, its owner, available assets, and details on issued shares. All information retrieved is relative to a particular version of the ledger. {% badge href="https://github.com/XRPLF/rippled/releases/tag/3.1.0" %}New in: rippled 3.1.0{% /badge %} diff --git a/docs/references/protocol/binary-format.md b/docs/references/protocol/binary-format.md index 1d577336ee..89fecc3912 100644 --- a/docs/references/protocol/binary-format.md +++ b/docs/references/protocol/binary-format.md @@ -6,7 +6,7 @@ labels: - Transaction Sending --- # Binary Format -[[Source]](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/SField.h "Source") +{% source-link path="include/xrpl/protocol/SField.h" /%} This page describes the XRP Ledger's canonical binary format for transactions and other data. This binary format is necessary to create and verify digital signatures of those transactions' contents, and is also used in other places including in the [peer-to-peer communications between servers](../../concepts/networks-and-servers/peer-protocol.md). The [`xrpld` APIs](../http-websocket-apis/index.md) typically use JSON to communicate with client applications. However, JSON is unsuitable as a format for serializing transactions for being digitally signed, because JSON can represent the same data in many different but equivalent ways. @@ -46,7 +46,7 @@ Both signed and unsigned transactions can be represented in both JSON and binary The serialization processes described here are implemented in multiple places and programming languages: -- In C++ [in the `rippled` code base](https://github.com/XRPLF/rippled/blob/master/src/libxrpl/protocol/STObject.cpp). +- In C++ {% source-link name="in the rippled code base" path="src/libxrpl/protocol/STObject.cpp" /%}. - In JavaScript in {% repo-link path="_code-samples/tx-serialization/" %}this repository's code samples section{% /repo-link %}. - In Python 3 in {% repo-link path="_code-samples/tx-serialization/" %}this repository's code samples section{% /repo-link %}. @@ -56,7 +56,7 @@ Additionally, many [client libraries](../client-libraries.md) provide serializat ## Internal Format -Each field has an canonical binary format, or _internal format_ used in the XRP Ledger protocol to represent that field in transactions and ledger data. The binary format is needed for signing, but it is also used in peer-to-peer communications, in ledger storage, and in other places. The binary formats for all fields are defined in the source code of [`SField.h`](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/SField.h). The JSON format for transactions and ledger data is standardized for convenience, but JSON is only used in APIs and client libraries: strictly speaking, only the binary format exists at the level of the XRP Ledger protocol. +Each field has an canonical binary format, or _internal format_ used in the XRP Ledger protocol to represent that field in transactions and ledger data. The binary format is needed for signing, but it is also used in peer-to-peer communications, in ledger storage, and in other places. The binary formats for all fields are defined in the source code of {% source-link name="SField.h" path="include/xrpl/protocol/SField.h" /%}. The JSON format for transactions and ledger data is standardized for convenience, but JSON is only used in APIs and client libraries: strictly speaking, only the binary format exists at the level of the XRP Ledger protocol. The [Transaction Format Reference](transactions/index.md) and [Ledger Data Reference](ledger-data/index.md) list both the JSON and the internal (binary) formats for all fields. For example, the `Flags` [common transaction field](transactions/common-fields.md) is a Number in JSON and a UInt32 in binary. Even though the JSON representation uses a data type that can contain decimal places or very large values, the field is limited to values that can be represented as a 32-bit unsigned integer. @@ -118,8 +118,8 @@ The `optionality` field uses the following values: ### Field IDs -[[Source - Encoding]](https://github.com/XRPLF/rippled/blob/edb4f0342c65bd739fee60b74566f3e771134c6c/src/libxrpl/protocol/Serializer.cpp#L120-L153 "Source") -[[Source - Decoding]](https://github.com/XRPLF/rippled/blob/edb4f0342c65bd739fee60b74566f3e771134c6c/src/libxrpl/protocol/Serializer.cpp#L429-L452 "Source") +{% source-link name="[Source - Encoding]" path="src/libxrpl/protocol/Serializer.cpp#L120-L153" /%} +{% source-link name="[Source - Decoding]" path="src/libxrpl/protocol/Serializer.cpp#L429-L452" /%} When you combine a field's type code and field code, you get the field's unique identifier, which is prefixed before the field in the final serialized blob. The size of the Field ID is one to three bytes depending on the type code and field codes it combines. See the following table: @@ -174,17 +174,17 @@ All fields in a transaction are sorted in a specific order based first on the fi ### Type Codes -Each field type has an arbitrary type code, with lower codes sorting first. These codes are defined in [`SField.h`](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/SField.h#L60-L98). +Each field type has an arbitrary type code, with lower codes sorting first. These codes are defined in {% source-link name="SField.h" path="include/xrpl/protocol/SField.h#L60-L98" /%}. -For example, [UInt32 has type code 2](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/SField.h#L67), so all UInt32 fields come before all [Amount fields, which have type code 6](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/SField.h#L71). +For example, {% source-link name="UInt32 has type code 2" path="include/xrpl/protocol/SField.h#L67" /%}, so all UInt32 fields come before all {% source-link name="Amount fields, which have type code 6" path="include/xrpl/protocol/SField.h#L71" /%}. The [definitions file](#definitions-file) lists the type codes for each type in the `TYPES` map. ### Field Codes -Each field has a field code, which is used to sort fields that have the same type as one another, with lower codes sorting first. These fields are defined in [`sfields.macro`](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/detail/sfields.macro). +Each field has a field code, which is used to sort fields that have the same type as one another, with lower codes sorting first. These fields are defined in {% source-link name="sfields.macro" path="include/xrpl/protocol/detail/sfields.macro" /%}. -For example, the `Account` field of a [Payment transaction][] [has sort code 1](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/detail/sfields.macro#L269), so it comes before the `Destination` field which [has sort code 3](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/detail/sfields.macro#L271). +For example, the `Account` field of a [Payment transaction][] {% source-link name="has sort code 1" path="include/xrpl/protocol/detail/sfields.macro#L269" /%}, so it comes before the `Destination` field which {% source-link name="has sort code 3" path="include/xrpl/protocol/detail/sfields.macro#L271" /%}. Field codes are reused for fields of different field types, but fields of the same type never have the same field code. When you combine the type code with the field code, you get the field's unique [Field ID](#field-ids). @@ -284,7 +284,7 @@ The following diagram shows the serialization formats for all three amount forma [{% inline-svg file="/docs/img/serialization-amount.svg" /%}](/docs/img/serialization-amount.svg 'The first bit is an amount type bit (0 = XRP or MPT, 1 = fungible token). XRP has a sign bit (always 1 for positive), an MPT indicator bit (0=XRP) and 61 bits of precision. MPTs have a sign bit (always 1 for positive), an MPT indicator bit (1=MPT), 5 reserved bits, 64 bit integer quantity, and a 192 bit MPT Issuance ID which consists of the 32-bit Sequence number followed by 160-bit issuer AccountID. Fungible Token amounts consist start with an amount type bit of 1, a sign bit which can be 1 or 0, an exponent (8 bits), significant digits (54 bits), currency code (160 bits), and issuer (160 bits).') #### Token Amount Format -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/libxrpl/protocol/STAmount.cpp "Source") +{% source-link path="src/libxrpl/protocol/STAmount.cpp" /%} [{% inline-svg file="/docs/img/currency-number-format.svg" /%}](/docs/img/currency-number-format.svg "Token Amount Format diagram") @@ -373,12 +373,12 @@ The following example shows the serialization format for an object (a single `Me The `Paths` field of a cross-currency [Payment transaction][] is a "PathSet", represented in JSON as an array of arrays. For more information on what paths are used for, see [Paths](../../concepts/tokens/fungible-tokens/paths.md). -A PathSet is serialized as **1 to 6** individual paths in sequence[[Source]](https://github.com/XRPLF/rippled/blob/5e33ca56fd51b02a5490e8e156e2de65937cf88e/src/xrpld/app/tx/detail/Payment.h#L30 "Source"). Each complete path is followed by a byte that indicates what comes next: +A PathSet is serialized as **1 to 6** individual paths in sequence{% source-link path="include/xrpl/tx/transactors/payment/Payment.h#L30" /%}. Each complete path is followed by a byte that indicates what comes next: - `0xff` indicates another path follows - `0x00` indicates the end of the PathSet -Each path consists of **1 to 8** path steps in order[[Source]](https://github.com/XRPLF/rippled/blob/5e33ca56fd51b02a5490e8e156e2de65937cf88e/src/xrpld/app/tx/detail/Payment.h#L33 "Source"). Each step starts with a **type** byte, followed by one or more fields describing the path step. The type indicates which fields are present in that path step through bitwise flags. (For example, the value `0x30` indicates changing both currency and issuer.) If more than one field is present, the fields are always placed in a specific order. +Each path consists of **1 to 8** path steps in order{% source-link path="include/xrpl/tx/transactors/payment/Payment.h#L33" /%}. Each step starts with a **type** byte, followed by one or more fields describing the path step. The type indicates which fields are present in that path step through bitwise flags. (For example, the value `0x30` indicates changing both currency and issuer.) If more than one field is present, the fields are always placed in a specific order. The following table describes the possible fields and the bitwise flags to set in the type byte to indicate them: diff --git a/docs/references/protocol/data-types/basic-data-types.md b/docs/references/protocol/data-types/basic-data-types.md index 3af63623f5..6bf9cf59da 100644 --- a/docs/references/protocol/data-types/basic-data-types.md +++ b/docs/references/protocol/data-types/basic-data-types.md @@ -28,7 +28,7 @@ Each closed [Ledger](../ledger-data/index.md) has a [Ledger Index][] and a [Hash ### Hash Prefixes -[[Source]](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/HashPrefix.h "Source") +{% source-link path="include/xrpl/protocol/HashPrefix.h" /%} In many cases, the XRP Ledger prefixes an object's binary data with a 4-byte code before calculating its hash, so that objects of different types have different hashes even if their binary formats are the same. The existing 4-byte codes are structured as three alphabetic characters, encoded as ASCII, followed by a zero byte. diff --git a/docs/references/protocol/data-types/permission-values.md b/docs/references/protocol/data-types/permission-values.md index 95ffaed6b1..ffa5539edf 100644 --- a/docs/references/protocol/data-types/permission-values.md +++ b/docs/references/protocol/data-types/permission-values.md @@ -73,7 +73,7 @@ With only the PermissionDelegation amendment, it's possible to assign permission {% /admonition %} ## Granular Permissions -[[Source]](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/detail/permissions.macro "Source") +{% source-link path="include/xrpl/protocol/detail/permissions.macro" /%} Granular Permissions have numeric types of 65537 and up, corresponding to specific names of permissions. Values that are not defined are not allowed. Each granular permission is a subset of a single transaction type's functionality. diff --git a/docs/references/protocol/ledger-data/common-fields.md b/docs/references/protocol/ledger-data/common-fields.md index 974949a54b..39ac3b0a43 100644 --- a/docs/references/protocol/ledger-data/common-fields.md +++ b/docs/references/protocol/ledger-data/common-fields.md @@ -3,7 +3,7 @@ seo: description: These common fields are part of every ledger entry. --- # Ledger Entry Common Fields -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/libxrpl/protocol/LedgerFormats.cpp) +{% source-link path="src/libxrpl/protocol/LedgerFormats.cpp" /%} Every entry in a [ledger](../../../concepts/ledgers/index.md)'s state data has the same set of common fields, plus additional fields based on the [ledger entry type](ledger-entry-types/index.md). Field names are case-sensitive. The common fields for all ledger entries are: @@ -18,7 +18,7 @@ Every entry in a [ledger](../../../concepts/ledgers/index.md)'s state data has t ## Ledger Entry ID -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/libxrpl/protocol/Indexes.cpp) +{% source-link path="src/libxrpl/protocol/Indexes.cpp" /%} Each ledger entry has a unique ID. The ID is derived by hashing important contents of the entry, along with a _namespace identifier_ which is a 16 bit value. The [ledger entry type](ledger-entry-types/index.md) determines the namespace identifier to use and which contents to include in the hash. This ensures every ID is unique. The hash function is [SHA-512Half][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/accountroot.md b/docs/references/protocol/ledger-data/ledger-entry-types/accountroot.md index 1879aebb8d..c6c16dd616 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/accountroot.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/accountroot.md @@ -6,7 +6,7 @@ labels: - XRP --- # AccountRoot -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L136-L158 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L136-L158" /%} An `AccountRoot` ledger entry type describes a single [account](../../../../concepts/accounts/index.md), its settings, and XRP balance. You can create a new account by sending a [Payment transaction][] with enough XRP to a mathematically-valid address. @@ -42,7 +42,7 @@ In addition to the [common fields](../common-fields.md), {% code-page-name /%} e | `AMMID` | String | UInt256 | No | {% amendment-disclaimer name="AMM" /%} The ledger entry ID of the corresponding AMM ledger entry. Set during account creation; cannot be modified. If present, indicates that this is a special AMM [pseudo-account](../../../../concepts/accounts/pseudo-accounts.md) AccountRoot; always omitted on non-AMM accounts. | | `Balance` | String | Amount | No | The account's current [XRP balance in drops][XRP, in drops], represented as a string. | | `BurnedNFTokens` | Number | UInt32 | No | How many total of this account's issued [non-fungible tokens](../../../../concepts/tokens/nfts/index.md) have been burned. This number is always equal or less than `MintedNFTokens`. | -| `Domain` | String | Blob | No | A domain associated with this account. In JSON, this is the hexadecimal for the ASCII representation of the domain. [Cannot be more than 256 bytes in length.](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/include/xrpl/protocol/Protocol.h#L98) | +| `Domain` | String | Blob | No | A domain associated with this account. In JSON, this is the hexadecimal for the ASCII representation of the domain. {% source-link name="Cannot be more than 256 bytes in length." path="include/xrpl/protocol/Protocol.h#L98" /%} | | `EmailHash` | String | UInt128 | No | The md5 hash of an email address. Clients can use this to look up an avatar through services such as [Gravatar](https://en.gravatar.com/). | | `FirstNFTokenSequence` | Number | UInt32 | No | The account's [Sequence Number][] at the time it minted its first [non-fungible-token](../../../../concepts/tokens/nfts/index.md). {% amendment-disclaimer name="fixNFTokenRemint" /%} | | `MessageKey` | String | Blob | No | A public key that may be used to send encrypted messages to this account. In JSON, uses hexadecimal. Must be exactly 33 bytes, with the first byte indicating the key type: `0x02` or `0x03` for secp256k1 keys, `0xED` for Ed25519 keys. | diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/amendments.md b/docs/references/protocol/ledger-data/ledger-entry-types/amendments.md index f8afcc1ea0..541ea5878d 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/amendments.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/amendments.md @@ -5,7 +5,7 @@ labels: - Blockchain --- # Amendments -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L187-L192 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L187-L192" /%} The `Amendments` ledger entry type contains a list of [Amendments](../../../../concepts/networks-and-servers/amendments.md) that are currently active. Each ledger version contains **at most one** `Amendments` entry. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/amm.md b/docs/references/protocol/ledger-data/ledger-entry-types/amm.md index 393e1e1a53..a9a6c3a60d 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/amm.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/amm.md @@ -5,7 +5,7 @@ labels: - AMM --- # AMM -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L369-L380 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L369-L380" /%} An `AMM` ledger entry describes a single [Automated Market Maker](../../../../concepts/tokens/decentralized-exchange/automated-market-makers.md) (AMM) instance. This is always paired with a [special AccountRoot entry](accountroot.md#special-amm-accountroot-pseudo-account). You can create an AMM by sending an [AMMCreate transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/bridge.md b/docs/references/protocol/ledger-data/ledger-entry-types/bridge.md index 0d2457df1a..dbc79c3898 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/bridge.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/bridge.md @@ -6,7 +6,7 @@ labels: status: not_enabled --- # Bridge -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L212-L223 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L212-L223" /%} The `Bridge` ledger entry represents a single cross-chain bridge that connects the XRP Ledger with another blockchain, such as its sidechain, and enables value in the form of XRP and other tokens (IOUs) to move efficiently between the two blockchains. You can create a bridge by sending an [XChainCreateBridge transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/check.md b/docs/references/protocol/ledger-data/ledger-entry-types/check.md index 509746d718..51c5b9b70a 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/check.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/check.md @@ -5,7 +5,7 @@ labels: - Checks --- # Check -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L50-L63 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L50-L63" /%} A `Check` entry describes a [check](../../../../concepts/payment-types/checks.md), similar to a paper personal check, which can be cashed by its destination to get money from its sender. You can create a check by sending a [CheckCreate transaction][]. @@ -63,7 +63,7 @@ There are no flags defined for {% code-page-name /%} entries. ## Check ID Format -[[Source]](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/libxrpl/protocol/Indexes.cpp#L335-L339 "Source") +{% source-link path="src/libxrpl/protocol/Indexes.cpp#L335-L339" /%} The ID of a `Check` entry is the [SHA-512Half][] of the following values, concatenated in order: diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/delegate.md b/docs/references/protocol/ledger-data/ledger-entry-types/delegate.md index 7e54a7ec7c..de6c5d4b65 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/delegate.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/delegate.md @@ -7,7 +7,7 @@ labels: status: not_enabled --- # Delegate -[[Source]](https://github.com/XRPLF/rippled/blob/1e01cd34f7a216092ed779f291b43324c167167a/include/xrpl/protocol/detail/ledger_entries.macro#L475-L482 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L475-L482" /%} A `Delegate` ledger entry stores a set of permissions that an account has delegated to another account. You create a `Delegate` entry by sending a [DelegateSet transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/depositpreauth.md b/docs/references/protocol/ledger-data/ledger-entry-types/depositpreauth.md index 8a3a39f9ad..4948fbe7b3 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/depositpreauth.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/depositpreauth.md @@ -5,7 +5,7 @@ labels: - Security --- # DepositPreauth -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L246-L253 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L246-L253" /%} A `DepositPreauth` entry tracks a preauthorization from one account. You can create a preauthorization by sending a [DepositPreauth transaction][], but it has no effect unless you are using [Deposit Authorization](../../../../concepts/accounts/depositauth.md). diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/did.md b/docs/references/protocol/ledger-data/ledger-entry-types/did.md index 2f8522d445..735e94f109 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/did.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/did.md @@ -5,7 +5,7 @@ labels: - DID --- # DID -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L69-L77 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L69-L77" /%} A `DID` ledger entry holds references to, or data associated with, a single [Decentralized Identifier (DID)](../../../../concepts/decentralized-storage/decentralized-identifiers.md). You can create or modify a DID by sending a [DIDSet transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/directorynode.md b/docs/references/protocol/ledger-data/ledger-entry-types/directorynode.md index 3e571d183a..74c46b4bbc 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/directorynode.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/directorynode.md @@ -6,7 +6,7 @@ labels: - Decentralized Exchange --- # DirectoryNode -[[Source]](https://github.com/XRPLF/rippled/blob/7e24adbdd0b61fb50967c4c6d4b27cc6d81b33f3/include/xrpl/protocol/detail/ledger_entries.macro#L177-L192 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L177-L192" /%} The `DirectoryNode` ledger entry type provides a list of links to other entries in the ledger's state data. A single conceptual _Directory_ takes the form of a doubly linked list, with one or more DirectoryNode entries each containing up to 32 [IDs of other entries](../common-fields.md). The first DirectoryNode entry is called the root of the directory, and all entries other than the root can be added or deleted as necessary. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/escrow.md b/docs/references/protocol/ledger-data/ledger-entry-types/escrow.md index 5a72fa57ea..a4e8b88382 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/escrow.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/escrow.md @@ -5,7 +5,7 @@ labels: - Escrow --- # Escrow -[[Source]](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/detail/ledger_entries.macro#L344-L359 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L344-L359" /%} An `Escrow` ledger entry represents an [escrow](../../../../concepts/payment-types/escrow.md), which holds funds until specific conditions are met. You can create an escrow by sending an [EscrowCreate transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/feesettings.md b/docs/references/protocol/ledger-data/ledger-entry-types/feesettings.md index ec08f202d6..1a36cc8f59 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/feesettings.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/feesettings.md @@ -5,7 +5,7 @@ labels: - Fees --- # FeeSettings -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L297-L309 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L297-L309" /%} The `FeeSettings` entry contains the current base [transaction cost](../../../../concepts/transactions/transaction-cost.md) and [reserve amounts](../../../../concepts/accounts/reserves.md) as determined by [fee voting](../../../../concepts/consensus-protocol/fee-voting.md). Each ledger version contains **at most one** `FeeSettings` entry. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/ledgerhashes.md b/docs/references/protocol/ledger-data/ledger-entry-types/ledgerhashes.md index 5f1f6bbd24..7e0b785f72 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/ledgerhashes.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/ledgerhashes.md @@ -5,7 +5,7 @@ labels: - Blockchain --- # LedgerHashes -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L202-L206 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L202-L206" /%} (Not to be confused with the ["ledger hash" string data type][Hash], which uniquely identifies a ledger version. This page describes the `LedgerHashes` ledger entry type.) @@ -71,7 +71,7 @@ There are no flags defined for {% code-page-name /%} entries. ## LedgerHashes ID Formats -[[Source]](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/libxrpl/protocol/Indexes.cpp#L195-L211) +{% source-link path="src/libxrpl/protocol/Indexes.cpp#L195-L211" /%} There are two formats for `LedgerHashes` ledger entry IDs, depending on whether the entry is a "recent history" sub-type or a "previous history" sub-type. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/loan.md b/docs/references/protocol/ledger-data/ledger-entry-types/loan.md index ad835c75aa..4b1898cd6f 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/loan.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/loan.md @@ -8,7 +8,7 @@ status: not_enabled --- # Loan -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/include/xrpl/protocol/detail/ledger_entries.macro#L543-L623 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L543-L623" /%} A `Loan` ledger entry defines the state of an on-chain loan agreement between a _Loan Broker_ and a _Borrower_. It contains all the details of the loan, such as fees and interest rates. You can create a `Loan` ledger entry with the [LoanSet transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/loanbroker.md b/docs/references/protocol/ledger-data/ledger-entry-types/loanbroker.md index 140e41811b..56757a717a 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/loanbroker.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/loanbroker.md @@ -7,7 +7,7 @@ labels: status: not_enabled --- # LoanBroker -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/include/xrpl/protocol/detail/ledger_entries.macro#L519-L537 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L519-L537" /%} A `LoanBroker` ledger entry defines the configuration and state of a lending protocol instance. It tracks details such as fees and first-loss capital cover. You can create a `LoanBroker` object with the [LoanBrokerSet transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/negativeunl.md b/docs/references/protocol/ledger-data/ledger-entry-types/negativeunl.md index f25f64ab86..669c72272f 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/negativeunl.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/negativeunl.md @@ -5,7 +5,7 @@ labels: - Blockchain --- # NegativeUNL -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L85-L91 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L85-L91" /%} The `NegativeUNL` ledger entry type contains the current status of the [Negative UNL](../../../../concepts/consensus-protocol/negative-unl.md), a list of trusted validators currently believed to be offline. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/nftokenoffer.md b/docs/references/protocol/ledger-data/ledger-entry-types/nftokenoffer.md index 802fd5cc27..9a9df19a96 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/nftokenoffer.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/nftokenoffer.md @@ -5,7 +5,7 @@ labels: - Non-fungible Tokens, NFTs --- # NFTokenOffer -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L34-L44 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L34-L44" /%} An `NFTokenOffer` entry represents an offer to buy, sell or transfer an [NFT](../../../../concepts/tokens/nfts/index.md). You can create an NFT buy or sell offer by sending an [NFTokenCreateOffer transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/nftokenpage.md b/docs/references/protocol/ledger-data/ledger-entry-types/nftokenpage.md index e6c9df00a9..14b9d4b9f0 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/nftokenpage.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/nftokenpage.md @@ -5,7 +5,7 @@ labels: - Non-fungible Tokens, NFTs --- # NFTokenPage -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L97-L103 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L97-L103" /%} An `NFTokenPage` entry represents a collection of [NFTs](../../../../concepts/tokens/nfts/index.md) owned by the same account. An account can have multiple `NFTokenPage` entries, which form a doubly linked list. NFT directories are automatically updated when an account mints, burns, buys, or sells NFTs. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/offer.md b/docs/references/protocol/ledger-data/ledger-entry-types/offer.md index fd8859b0a2..9e75b02be2 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/offer.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/offer.md @@ -5,7 +5,7 @@ labels: - Decentralized Exchange --- # Offer -[[Source]](https://github.com/XRPLF/rippled/blob/7e24adbdd0b61fb50967c4c6d4b27cc6d81b33f3/include/xrpl/protocol/detail/ledger_entries.macro#L242-L255 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L242-L255" /%} An `Offer` ledger entry describes an [offer](../../../../concepts/tokens/decentralized-exchange/offers.md) to exchange currencies in the XRP Ledger's [decentralized exchange](../../../../concepts/tokens/decentralized-exchange/index.md). (In finance, this is more traditionally known as an _order_.) You an create a new offer entry by sending an [OfferCreate transaction][] that is not fully executed immediately. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/oracle.md b/docs/references/protocol/ledger-data/ledger-entry-types/oracle.md index 63e28202f4..5d0c172383 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/oracle.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/oracle.md @@ -5,7 +5,7 @@ labels: - Decentralized Exchange --- # Oracle -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L385-L395 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L385-L395" /%} An `Oracle` ledger entry holds data associated with a single [price oracle](../../../../concepts/decentralized-storage/price-oracles.md), which can store information on up to 10 asset pairs. You can create or modify a price oracle with an [OracleSet transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/paychannel.md b/docs/references/protocol/ledger-data/ledger-entry-types/paychannel.md index 573e54436e..26db5d5f00 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/paychannel.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/paychannel.md @@ -5,7 +5,7 @@ labels: - Payment Channels --- # PayChannel -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L348-L363 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L348-L363" /%} A `PayChannel` entry represents a [payment channel](../../../../concepts/payment-types/payment-channels.md). You can create a payment channel with a [PaymentChannelCreate transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/permissioneddomain.md b/docs/references/protocol/ledger-data/ledger-entry-types/permissioneddomain.md index 9a9d482ead..9cc8637870 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/permissioneddomain.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/permissioneddomain.md @@ -7,7 +7,7 @@ labels: status: not_enabled --- # PermissionedDomain -[[Source]](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/detail/ledger_entries.macro#L451-L461 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L451-L461" /%} A `PermissionedDomain` ledger entry describes a single [permissioned domain][] instance. You can create a permissioned domain by sending a [PermissionedDomainSet transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/ripplestate.md b/docs/references/protocol/ledger-data/ledger-entry-types/ripplestate.md index d9ec5f8eed..83c3b9791a 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/ripplestate.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/ripplestate.md @@ -5,7 +5,7 @@ labels: - Tokens --- # RippleState -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L277-L289 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L277-L289" /%} A `RippleState` ledger entry represents a [trust line](../../../../concepts/tokens/fungible-tokens/index.md) between two accounts. Each account can change its own limit and other settings, but the balance is a single shared value. A trust line that is entirely in its default state is considered the same as a trust line that does not exist and is automatically deleted. You can create or modify a trust line with a [TrustSet transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/signerlist.md b/docs/references/protocol/ledger-data/ledger-entry-types/signerlist.md index 9c1ee48371..8dada8a824 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/signerlist.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/signerlist.md @@ -5,7 +5,7 @@ labels: - Security --- # SignerList -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L111-L118 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L111-L118" /%} A `SignerList` entry represents a list of parties that, as a group, are authorized to sign a transaction in place of an individual account by [multi-signing](../../../../concepts/accounts/multi-signing.md). You can create, replace, or remove a signer list using a [SignerListSet transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/ticket.md b/docs/references/protocol/ledger-data/ledger-entry-types/ticket.md index 83e4959fe9..58945bac95 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/ticket.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/ticket.md @@ -5,7 +5,7 @@ labels: - Transaction Sending --- # Ticket -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L124-L130 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L124-L130" /%} A `Ticket` entry type represents a [Ticket](../../../../concepts/accounts/tickets.md), which tracks an account [sequence number][Sequence Number] that has been set aside for future use. You can create new tickets with a [TicketCreate transaction][]. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/vault.md b/docs/references/protocol/ledger-data/ledger-entry-types/vault.md index e1289140c4..f00fb678cb 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/vault.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/vault.md @@ -9,7 +9,7 @@ status: not_enabled # Vault -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/include/xrpl/protocol/detail/ledger_entries.macro#L493-L511 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L493-L511" /%} A {% code-page-name /%} object defines the state of a tokenized vault. It contains key details such as available assets, shares, total value, and other relevant information. You can create a {% code-page-name /%} object with the [VaultCreate](../../transactions/types/vaultcreate.md) transaction. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/xchainownedclaimid.md b/docs/references/protocol/ledger-data/ledger-entry-types/xchainownedclaimid.md index 8b06681afb..faf212f66b 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/xchainownedclaimid.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/xchainownedclaimid.md @@ -6,7 +6,7 @@ labels: status: not_enabled --- # XChainOwnedClaimID -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L259-L269 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L259-L269" /%} An `XChainOwnedClaimID` entry represents *one* cross-chain transfer of value and includes information of the account on the source chain that locks or burns the funds on the source chain. diff --git a/docs/references/protocol/ledger-data/ledger-entry-types/xchainownedcreateaccountclaimid.md b/docs/references/protocol/ledger-data/ledger-entry-types/xchainownedcreateaccountclaimid.md index 8c6a565a2c..394ce7b1d4 100644 --- a/docs/references/protocol/ledger-data/ledger-entry-types/xchainownedcreateaccountclaimid.md +++ b/docs/references/protocol/ledger-data/ledger-entry-types/xchainownedcreateaccountclaimid.md @@ -6,7 +6,7 @@ labels: status: not_enabled --- # XChainOwnedCreateAccountClaimID -[[Source]](https://github.com/XRPLF/rippled/blob/f64cf9187affd69650907d0d92e097eb29693945/include/xrpl/protocol/detail/ledger_entries.macro#L315-L323 "Source") +{% source-link path="include/xrpl/protocol/detail/ledger_entries.macro#L315-L323" /%} An `XChainOwnedCreateAccountClaimID` ledger entry collects attestations for creating an account via a cross-chain transfer. diff --git a/docs/references/protocol/ledger-data/ledger-header.md b/docs/references/protocol/ledger-data/ledger-header.md index 104a4a1da9..7aefe5919a 100644 --- a/docs/references/protocol/ledger-data/ledger-header.md +++ b/docs/references/protocol/ledger-data/ledger-header.md @@ -8,7 +8,7 @@ labels: - Blockchain --- # Ledger Header -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/consensus/RCLCxLedger.h "Source") +{% source-link path="src/xrpld/app/consensus/RCLCxLedger.h" /%} Every [ledger version](../../../concepts/ledgers/index.md) has a unique header that describes the contents. You can look up a ledger's header information with the [ledger method][]. The contents of the ledger header are as follows: diff --git a/docs/references/protocol/transactions/pseudo-transaction-types/enableamendment.md b/docs/references/protocol/transactions/pseudo-transaction-types/enableamendment.md index 325578e5dc..25bae47336 100644 --- a/docs/references/protocol/transactions/pseudo-transaction-types/enableamendment.md +++ b/docs/references/protocol/transactions/pseudo-transaction-types/enableamendment.md @@ -5,7 +5,7 @@ labels: - Blockchain --- # EnableAmendment -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Change.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/system/Change.cpp" /%} An `EnableAmendment` [pseudo-transaction](./index.md) marks a change in the status of a proposed [amendment to the protocol](../../../../concepts/networks-and-servers/amendments.md). The possible status changes are: diff --git a/docs/references/protocol/transactions/pseudo-transaction-types/setfee.md b/docs/references/protocol/transactions/pseudo-transaction-types/setfee.md index 1c68c4c25d..286fe25a6c 100644 --- a/docs/references/protocol/transactions/pseudo-transaction-types/setfee.md +++ b/docs/references/protocol/transactions/pseudo-transaction-types/setfee.md @@ -5,7 +5,7 @@ labels: - Fees --- # SetFee -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Change.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/system/Change.cpp" /%} A `SetFee` [pseudo-transaction](./index.md) marks a change in [transaction cost](../../../../concepts/transactions/transaction-cost.md) or [reserve requirements](../../../../concepts/accounts/reserves.md) as a result of [fee voting](../../../../concepts/consensus-protocol/fee-voting.md). diff --git a/docs/references/protocol/transactions/pseudo-transaction-types/unlmodify.md b/docs/references/protocol/transactions/pseudo-transaction-types/unlmodify.md index fb463c8a81..b11bb8629c 100644 --- a/docs/references/protocol/transactions/pseudo-transaction-types/unlmodify.md +++ b/docs/references/protocol/transactions/pseudo-transaction-types/unlmodify.md @@ -5,7 +5,7 @@ labels: - Blockchain --- # UNLModify -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Change.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/system/Change.cpp" /%} A `UNLModify` [pseudo-transaction](./index.md) marks a change to the [Negative UNL](../../../../concepts/consensus-protocol/negative-unl.md), indicating that a trusted validator has gone offline or come back online. diff --git a/docs/references/protocol/transactions/transaction-results/index.md b/docs/references/protocol/transactions/transaction-results/index.md index 1cfd249a76..5d19b4fc70 100644 --- a/docs/references/protocol/transactions/transaction-results/index.md +++ b/docs/references/protocol/transactions/transaction-results/index.md @@ -8,7 +8,7 @@ labels: --- # Transaction Results -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/libxrpl/protocol/TER.cpp "Source") +{% source-link path="src/libxrpl/protocol/TER.cpp" /%} The `xrpld` server summarizes transaction results with result codes, which appear in fields such as `engine_result` and `meta.TransactionResult`. These codes are grouped into several categories of with different prefixes: diff --git a/docs/references/protocol/transactions/transaction-results/tec-codes.md b/docs/references/protocol/transactions/transaction-results/tec-codes.md index 97df85fb92..65455c903d 100644 --- a/docs/references/protocol/transactions/transaction-results/tec-codes.md +++ b/docs/references/protocol/transactions/transaction-results/tec-codes.md @@ -7,7 +7,7 @@ labels: - Transaction Sending --- # tec Codes -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/libxrpl/protocol/TER.cpp "Source") +{% source-link path="src/libxrpl/protocol/TER.cpp" /%} These codes indicate that the transaction did not succeed, but it was applied to a ledger to apply the [transaction cost](../../../../concepts/transactions/transaction-cost.md) and may have had other side effects to the ledger. The `tec` codes have numerical values in the range 100 to 199. It is recommended to use the text code, not the numeric value. diff --git a/docs/references/protocol/transactions/types/accountdelete.md b/docs/references/protocol/transactions/types/accountdelete.md index 22a7f94ee9..b3240734fe 100644 --- a/docs/references/protocol/transactions/types/accountdelete.md +++ b/docs/references/protocol/transactions/types/accountdelete.md @@ -7,7 +7,7 @@ requiredAmendment: DeletableAccounts txIcon: cancel --- # AccountDelete -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/DeleteAccount.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/account/AccountDelete.cpp" /%} An AccountDelete transaction deletes an [account](../../ledger-data/ledger-entry-types/accountroot.md) and any objects it owns in the XRP Ledger, if possible, sending the account's remaining XRP to a specified destination account. See [Deleting Accounts](../../../../concepts/accounts/deleting-accounts.md) for the requirements to delete an account. @@ -58,7 +58,7 @@ Besides errors that can occur for all transactions, {% $frontmatter.seo.title %} | `tecNO_DST` | Occurs if the `Destination` account is not a funded account in the ledger. | | `tecNO_PERMISSION` | Occurs if the `Destination` account requires [deposit authorization](../../../../concepts/accounts/depositauth.md) and the sender is not preauthorized. | | `tecTOO_SOON` | Occurs if the sender's `Sequence` number is too high. The transaction's `Sequence` number plus 256 must be less than the current [Ledger Index][]. This prevents replay of old transactions if this account is resurrected after it is deleted. | -| `tecHAS_OBLIGATIONS` | Occurs if the account to be deleted is connected to objects that cannot be deleted in the ledger. (This includes objects created by other accounts, such as [escrows](../../../../concepts/payment-types/escrow.md) and for example [NFT's minted](nftokenmint.md), [even if owned by another account](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/DeleteAccount.cpp#L197).) | +| `tecHAS_OBLIGATIONS` | Occurs if the account to be deleted is connected to objects that cannot be deleted in the ledger. (This includes objects created by other accounts, such as [escrows](../../../../concepts/payment-types/escrow.md) and for example [NFT's minted](nftokenmint.md), {% source-link name="even if owned by another account" path="src/libxrpl/tx/transactors/account/AccountDelete.cpp#L197" /%}.) | | `tefTOO_BIG` | Occurs if the sending account is linked to more than 1000 objects in the ledger. The transaction could succeed on retry if some of those objects were deleted separately first. | ## See Also diff --git a/docs/references/protocol/transactions/types/accountset.md b/docs/references/protocol/transactions/types/accountset.md index bf939a25b9..47a09015c0 100644 --- a/docs/references/protocol/transactions/types/accountset.md +++ b/docs/references/protocol/transactions/types/accountset.md @@ -6,7 +6,7 @@ labels: txIcon: modify --- # AccountSet -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/SetAccount.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/account/AccountSet.cpp" /%} Modify the settings or properties of an [account in the XRP Ledger](../../../../concepts/accounts/index.md). @@ -31,7 +31,7 @@ Modify the settings or properties of an [account in the XRP Ledger](../../../../ | Field | JSON Type | [Internal Type][] | Description | |:-----------------|:-----------------|:------------------|:-------------------| | [`ClearFlag`](#accountset-flags) | Number | UInt32 | Unique identifier of a flag to disable for this account. | -| [`Domain`](#domain) | String | Blob | The domain that owns this account, as a string of hex representing the ASCII for the domain in lowercase. [Cannot be more than 256 bytes in length.](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/include/xrpl/protocol/Protocol.h#L98) | +| [`Domain`](#domain) | String | Blob | The domain that owns this account, as a string of hex representing the ASCII for the domain in lowercase. {% source-link name="Cannot be more than 256 bytes in length." path="include/xrpl/protocol/Protocol.h#L98" /%} | | `EmailHash` | String | UInt128 | An arbitrary 128-bit value. Conventionally, clients treat this as the md5 hash of an email address to use for displaying a [Gravatar](http://en.gravatar.com/site/implement/hash/) image. | | `MessageKey` | String | Blob | Public key for sending encrypted messages to this account. To set the key, it must be exactly 33 bytes, with the first byte indicating the key type: `0x02` or `0x03` for secp256k1 keys, `0xED` for Ed25519 keys. To remove the key, use an empty value. | | `NFTokenMinter` | String - [Address][] | AccountID | Another account that can [mint NFTokens for you](../../../../tutorials/tokens/nfts/assign-an-authorized-minter-js.md). {% amendment-disclaimer name="NonFungibleTokensV1_1" /%} | diff --git a/docs/references/protocol/transactions/types/ammbid.md b/docs/references/protocol/transactions/types/ammbid.md index d7761ed3b7..03d573c6a1 100644 --- a/docs/references/protocol/transactions/types/ammbid.md +++ b/docs/references/protocol/transactions/types/ammbid.md @@ -8,7 +8,7 @@ requiredAmendment: AMM txIcon: modify --- # AMMBid -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMBid.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMBid.cpp" /%} Bid on an [Automated Market Maker](../../../../concepts/tokens/decentralized-exchange/automated-market-makers.md)'s (AMM's) auction slot. If you win, you can trade against the AMM at a discounted fee until you are outbid or 24 hours have passed. If you are outbid before 24 hours have passed, you are refunded part of the cost of your bid based on how much time remains. If the AMM's trading fee is zero, you can still bid, but the auction slot provides no benefit unless the trading fee changes. diff --git a/docs/references/protocol/transactions/types/ammclawback.md b/docs/references/protocol/transactions/types/ammclawback.md index 5e436f0e36..83e3838dfb 100644 --- a/docs/references/protocol/transactions/types/ammclawback.md +++ b/docs/references/protocol/transactions/types/ammclawback.md @@ -9,7 +9,7 @@ txIcon: cancel --- # AMMClawback -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMClawback.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMClawback.cpp" /%} Claw back tokens from a holder who has deposited your issued tokens into an AMM pool. diff --git a/docs/references/protocol/transactions/types/ammcreate.md b/docs/references/protocol/transactions/types/ammcreate.md index e4b96de553..345f828943 100644 --- a/docs/references/protocol/transactions/types/ammcreate.md +++ b/docs/references/protocol/transactions/types/ammcreate.md @@ -8,7 +8,7 @@ requiredAmendment: AMM txIcon: create --- # AMMCreate -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMCreate.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMCreate.cpp" /%} Create a new [Automated Market Maker](../../../../concepts/tokens/decentralized-exchange/automated-market-makers.md) (AMM) instance for trading a pair of assets ([fungible tokens](../../../../concepts/tokens/index.md) or [XRP](../../../../introduction/what-is-xrp.md)). diff --git a/docs/references/protocol/transactions/types/ammdelete.md b/docs/references/protocol/transactions/types/ammdelete.md index f9143f2d94..f8294f9ccb 100644 --- a/docs/references/protocol/transactions/types/ammdelete.md +++ b/docs/references/protocol/transactions/types/ammdelete.md @@ -8,7 +8,7 @@ requiredAmendment: AMM txIcon: cancel --- # AMMDelete -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMDelete.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMDelete.cpp" /%} Delete an empty [Automated Market Maker](../../../../concepts/tokens/decentralized-exchange/automated-market-makers.md) (AMM) instance that could not be fully deleted automatically. diff --git a/docs/references/protocol/transactions/types/ammdeposit.md b/docs/references/protocol/transactions/types/ammdeposit.md index 69b706781b..419a1ad33f 100644 --- a/docs/references/protocol/transactions/types/ammdeposit.md +++ b/docs/references/protocol/transactions/types/ammdeposit.md @@ -8,7 +8,7 @@ requiredAmendment: AMM txIcon: send --- # AMMDeposit -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMDeposit.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMDeposit.cpp" /%} Deposit funds into an [Automated Market Maker](../../../../concepts/tokens/decentralized-exchange/automated-market-makers.md) (AMM) instance and receive the AMM's liquidity provider tokens (_LP Tokens_) in exchange. You can deposit one or both of the assets in the AMM's pool. diff --git a/docs/references/protocol/transactions/types/ammvote.md b/docs/references/protocol/transactions/types/ammvote.md index cd3b9d1728..8e319f4a44 100644 --- a/docs/references/protocol/transactions/types/ammvote.md +++ b/docs/references/protocol/transactions/types/ammvote.md @@ -8,7 +8,7 @@ requiredAmendment: AMM txIcon: modify --- # AMMVote -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMVote.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMVote.cpp" /%} Vote on the trading fee for an [Automated Market Maker](../../../../concepts/tokens/decentralized-exchange/automated-market-makers.md) instance. Up to 8 accounts can vote in proportion to the amount of the AMM's LP Tokens they hold. Each new vote re-calculates the AMM's trading fee based on a weighted average of the votes. diff --git a/docs/references/protocol/transactions/types/ammwithdraw.md b/docs/references/protocol/transactions/types/ammwithdraw.md index 4a78b31742..c43bd62521 100644 --- a/docs/references/protocol/transactions/types/ammwithdraw.md +++ b/docs/references/protocol/transactions/types/ammwithdraw.md @@ -8,7 +8,7 @@ requiredAmendment: AMM txIcon: send --- # AMMWithdraw -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/AMMWithdraw.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/AMMWithdraw.cpp" /%} Withdraw assets from an [Automated Market Maker](../../../../concepts/tokens/decentralized-exchange/automated-market-makers.md) (AMM) instance by returning the AMM's liquidity provider tokens (LP Tokens). diff --git a/docs/references/protocol/transactions/types/batch.md b/docs/references/protocol/transactions/types/batch.md index 62b5f258c8..dd0c03fece 100644 --- a/docs/references/protocol/transactions/types/batch.md +++ b/docs/references/protocol/transactions/types/batch.md @@ -9,7 +9,7 @@ status: not_enabled txIcon: other --- # Batch -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Batch.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/system/Batch.cpp" /%} Submit up to eight transactions as a single [batch](../../../../concepts/transactions/batch-transactions.md). The transactions in the batch are executed atomically in one of four modes: All or Nothing, Only One, Until Failure, or Independent. diff --git a/docs/references/protocol/transactions/types/checkcancel.md b/docs/references/protocol/transactions/types/checkcancel.md index 3c89368e8c..39a2365775 100644 --- a/docs/references/protocol/transactions/types/checkcancel.md +++ b/docs/references/protocol/transactions/types/checkcancel.md @@ -8,7 +8,7 @@ txIcon: cancel requiredAmendment: Checks --- # CheckCancel -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CancelCheck.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/check/CheckCancel.cpp" /%} Cancels an unredeemed [check](../../../../concepts/payment-types/checks.md), removing it from the ledger without sending any money. The source or the destination of the check can cancel a check at any time. If the check has expired, any address can cancel it. diff --git a/docs/references/protocol/transactions/types/checkcash.md b/docs/references/protocol/transactions/types/checkcash.md index 95e057e523..0bce044432 100644 --- a/docs/references/protocol/transactions/types/checkcash.md +++ b/docs/references/protocol/transactions/types/checkcash.md @@ -8,7 +8,7 @@ txIcon: finish requiredAmendment: Checks --- # CheckCash -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CashCheck.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/check/CheckCash.cpp" /%} Attempts to redeem a [check](../../../../concepts/payment-types/checks.md) to receive up to the amount authorized by the corresponding [CheckCreate transaction][]. Only the `Destination` address of a check can cash it with a CheckCash transaction. Cashing a check this way is similar to executing a [Payment][] initiated by the destination. diff --git a/docs/references/protocol/transactions/types/checkcreate.md b/docs/references/protocol/transactions/types/checkcreate.md index 899142d07f..556b3ab321 100644 --- a/docs/references/protocol/transactions/types/checkcreate.md +++ b/docs/references/protocol/transactions/types/checkcreate.md @@ -8,7 +8,7 @@ txIcon: create requiredAmendment: Checks --- # CheckCreate -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CreateCheck.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/check/CheckCreate.cpp" /%} Create an on-ledger [check](../../../../concepts/payment-types/checks.md), which is a deferred payment that can be cashed by its intended destination. The sender of this transaction is the sender of the check. diff --git a/docs/references/protocol/transactions/types/clawback.md b/docs/references/protocol/transactions/types/clawback.md index 184af533fb..b2b66ea9bf 100644 --- a/docs/references/protocol/transactions/types/clawback.md +++ b/docs/references/protocol/transactions/types/clawback.md @@ -7,7 +7,7 @@ requiredAmendment: Clawback txIcon: cancel --- # Clawback -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Clawback.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/token/Clawback.cpp" /%} [Claw back tokens](../../../../concepts/tokens/fungible-tokens/clawing-back-tokens.md) issued by your account. Issuers can only claw back [trust line tokens](../../../../concepts/tokens/fungible-tokens/trust-line-tokens.md) if they enabled the **Allow Trust Line Clawback** setting before issuing any tokens. Issuers can claw back [MPTs](../../../../concepts/tokens/fungible-tokens/multi-purpose-tokens.md) if the corresponding MPT Issuance has clawback enabled. diff --git a/docs/references/protocol/transactions/types/credentialaccept.md b/docs/references/protocol/transactions/types/credentialaccept.md index 0a8e4d0951..5b5266437f 100644 --- a/docs/references/protocol/transactions/types/credentialaccept.md +++ b/docs/references/protocol/transactions/types/credentialaccept.md @@ -7,7 +7,7 @@ requiredAmendment: Credentials txIcon: finish --- # CredentialAccept -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Credentials.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/credentials/CredentialAccept.cpp" /%} Accept a [credential](../../../../concepts/decentralized-storage/credentials.md), which makes the credential valid. Only the subject of the credential can do this. diff --git a/docs/references/protocol/transactions/types/credentialcreate.md b/docs/references/protocol/transactions/types/credentialcreate.md index 6bea4ab7b1..bb7f3044a6 100644 --- a/docs/references/protocol/transactions/types/credentialcreate.md +++ b/docs/references/protocol/transactions/types/credentialcreate.md @@ -7,7 +7,7 @@ requiredAmendment: Credentials txIcon: create --- # CredentialCreate -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Credentials.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/credentials/CredentialCreate.cpp" /%} Provisionally issue a [credential](../../../../concepts/decentralized-storage/credentials.md) in the ledger. The credential is not valid until the subject of the credential accepts it with a [CredentialAccept transaction][]. diff --git a/docs/references/protocol/transactions/types/credentialdelete.md b/docs/references/protocol/transactions/types/credentialdelete.md index d0ec0ba4b4..f5cbdcf1f1 100644 --- a/docs/references/protocol/transactions/types/credentialdelete.md +++ b/docs/references/protocol/transactions/types/credentialdelete.md @@ -7,7 +7,7 @@ requiredAmendment: Credentials txIcon: cancel --- # CredentialDelete -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Credentials.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/credentials/CredentialDelete.cpp" /%} Remove a [credential](../../../../concepts/decentralized-storage/credentials.md) from the ledger, effectively revoking it. Users may also want to delete an unwanted credential to reduce their [reserve requirement](../../../../concepts/accounts/reserves.md). diff --git a/docs/references/protocol/transactions/types/delegateset.md b/docs/references/protocol/transactions/types/delegateset.md index 767f782e99..31669f9fc1 100644 --- a/docs/references/protocol/transactions/types/delegateset.md +++ b/docs/references/protocol/transactions/types/delegateset.md @@ -10,7 +10,7 @@ requiredAmendment: PermissionDelegation txIcon: modify --- # DelegateSet -[[Source]](https://github.com/XRPLF/rippled/blob/1e01cd34f7a216092ed779f291b43324c167167a/src/xrpld/app/tx/detail/DelegateSet.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/delegate/DelegateSet.cpp" /%} [Delegate permissions](/docs/concepts/accounts/permission-delegation) to another account to send transactions on your behalf. This transaction type can grant, change, or revoke permissions; it creates, modifies, or deletes a [Delegate ledger entry][] accordingly. diff --git a/docs/references/protocol/transactions/types/depositpreauth.md b/docs/references/protocol/transactions/types/depositpreauth.md index d4b839d7f7..58958574a0 100644 --- a/docs/references/protocol/transactions/types/depositpreauth.md +++ b/docs/references/protocol/transactions/types/depositpreauth.md @@ -8,7 +8,7 @@ requiredAmendment: DepositPreauth txIcon: modify --- # DepositPreauth -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/DepositPreauth.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/payment/DepositPreauth.cpp" /%} Grant preauthorization to send payments to your account. This is only useful if you are using (or plan to use) [Deposit Authorization](../../../../concepts/accounts/depositauth.md). diff --git a/docs/references/protocol/transactions/types/diddelete.md b/docs/references/protocol/transactions/types/diddelete.md index 91fd4f6320..f33e7a7c48 100644 --- a/docs/references/protocol/transactions/types/diddelete.md +++ b/docs/references/protocol/transactions/types/diddelete.md @@ -8,7 +8,7 @@ requiredAmendment: DID txIcon: cancel --- # DIDDelete -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/DID.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/did/DIDDelete.cpp" /%} Delete the sender's [decentralized identifier (DID)](../../../../concepts/decentralized-storage/decentralized-identifiers.md). diff --git a/docs/references/protocol/transactions/types/didset.md b/docs/references/protocol/transactions/types/didset.md index ef9e1b2148..ccb97929d6 100644 --- a/docs/references/protocol/transactions/types/didset.md +++ b/docs/references/protocol/transactions/types/didset.md @@ -8,7 +8,7 @@ requiredAmendment: DID txIcon: create --- # DIDSet -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/DID.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/did/DIDSet.cpp" /%} Create or update a [decentralized identifier (DID)](../../../../concepts/decentralized-storage/decentralized-identifiers.md). diff --git a/docs/references/protocol/transactions/types/escrowcancel.md b/docs/references/protocol/transactions/types/escrowcancel.md index 3906f6f1e8..c24503d2c7 100644 --- a/docs/references/protocol/transactions/types/escrowcancel.md +++ b/docs/references/protocol/transactions/types/escrowcancel.md @@ -8,7 +8,7 @@ txIcon: cancel requiredAmendment: Escrow --- # EscrowCancel -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Escrow.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/escrow/Escrow.cpp" /%} Return funds from an expired [escrow](../../../../concepts/payment-types/escrow.md) to its sender. diff --git a/docs/references/protocol/transactions/types/escrowcreate.md b/docs/references/protocol/transactions/types/escrowcreate.md index cd1ed287eb..4d4b3978d2 100644 --- a/docs/references/protocol/transactions/types/escrowcreate.md +++ b/docs/references/protocol/transactions/types/escrowcreate.md @@ -8,7 +8,7 @@ txIcon: create requiredAmendment: Escrow --- # EscrowCreate -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Escrow.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/escrow/Escrow.cpp" /%} Set aside funds in an [escrow](../../../../concepts/payment-types/escrow.md) that delivers them to a predetermined recipient when certain conditions are met. If the escrow has an expiration, the funds can also be returned to the sender after it expires. diff --git a/docs/references/protocol/transactions/types/escrowfinish.md b/docs/references/protocol/transactions/types/escrowfinish.md index b0c2375fb3..78af64667d 100644 --- a/docs/references/protocol/transactions/types/escrowfinish.md +++ b/docs/references/protocol/transactions/types/escrowfinish.md @@ -8,7 +8,7 @@ txIcon: finish requiredAmendment: Escrow --- # EscrowFinish -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Escrow.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/escrow/Escrow.cpp" /%} Deliver funds from an [escrow](../../../../concepts/payment-types/escrow.md) to the recipient. diff --git a/docs/references/protocol/transactions/types/ledgerstatefix.md b/docs/references/protocol/transactions/types/ledgerstatefix.md index b242d07d36..89125f61bc 100644 --- a/docs/references/protocol/transactions/types/ledgerstatefix.md +++ b/docs/references/protocol/transactions/types/ledgerstatefix.md @@ -9,7 +9,7 @@ requiredAmendment: fixNFTokenPageLinks txIcon: other --- # LedgerStateFix -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/LedgerStateFix.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/system/LedgerStateFix.cpp" /%} Repair a specific corruption affecting on-ledger data. This transaction type has a different mode for each type of error state or corruption it can fix. diff --git a/docs/references/protocol/transactions/types/loanbrokercoverclawback.md b/docs/references/protocol/transactions/types/loanbrokercoverclawback.md index 2ccdd5ab81..7a8bd4f7d2 100644 --- a/docs/references/protocol/transactions/types/loanbrokercoverclawback.md +++ b/docs/references/protocol/transactions/types/loanbrokercoverclawback.md @@ -9,7 +9,7 @@ txIcon: cancel status: not_enabled --- # LoanBrokerCoverClawback -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/LoanBrokerCoverClawback.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/lending/LoanBrokerCoverClawback.cpp" /%} The `LoanBrokerCoverClawback` transaction claws back first-loss capital from a `LoanBroker` ledger entry. The transaction can only be submitted by the issuer of the asset used in the lending protocol, and can't clawback an amount that would cause the available first-loss capital to drop below the minimum amount defined by the `LoanBroker.CoverRateMinimum` value. diff --git a/docs/references/protocol/transactions/types/loanbrokercoverdeposit.md b/docs/references/protocol/transactions/types/loanbrokercoverdeposit.md index 5988051e3e..00ef9e851b 100644 --- a/docs/references/protocol/transactions/types/loanbrokercoverdeposit.md +++ b/docs/references/protocol/transactions/types/loanbrokercoverdeposit.md @@ -9,7 +9,7 @@ txIcon: send status: not_enabled --- # LoanBrokerCoverDeposit -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/LoanBrokerCoverDeposit.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/lending/LoanBrokerCoverDeposit.cpp" /%} Deposits first-loss capital into a `LoanBroker` ledger entry to provide protection for vault depositors. diff --git a/docs/references/protocol/transactions/types/loanbrokercoverwithdraw.md b/docs/references/protocol/transactions/types/loanbrokercoverwithdraw.md index 477216e8fc..5d799ae9c4 100644 --- a/docs/references/protocol/transactions/types/loanbrokercoverwithdraw.md +++ b/docs/references/protocol/transactions/types/loanbrokercoverwithdraw.md @@ -9,7 +9,7 @@ txIcon: send status: not_enabled --- # LoanBrokerCoverWithdraw -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/LoanBrokerCoverWithdraw.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/lending/LoanBrokerCoverWithdraw.cpp" /%} Withdraws first-loss capital from a `LoanBroker` ledger entry. diff --git a/docs/references/protocol/transactions/types/loanbrokerdelete.md b/docs/references/protocol/transactions/types/loanbrokerdelete.md index 91c1dd17af..00cc491ebf 100644 --- a/docs/references/protocol/transactions/types/loanbrokerdelete.md +++ b/docs/references/protocol/transactions/types/loanbrokerdelete.md @@ -9,7 +9,7 @@ txIcon: cancel status: not_enabled --- # LoanBrokerDelete -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/LoanBrokerDelete.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/lending/LoanBrokerDelete.cpp" /%} Deletes a `LoanBroker` ledger entry. Only the owner of the `LoanBroker` entry can delete it. diff --git a/docs/references/protocol/transactions/types/loanbrokerset.md b/docs/references/protocol/transactions/types/loanbrokerset.md index a068657435..738c522993 100644 --- a/docs/references/protocol/transactions/types/loanbrokerset.md +++ b/docs/references/protocol/transactions/types/loanbrokerset.md @@ -9,7 +9,7 @@ txIcon: modify status: not_enabled --- # LoanBrokerSet -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/LoanBrokerSet.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/lending/LoanBrokerSet.cpp" /%} Creates or updates a `LoanBroker` ledger entry, configuring protocol parameters and associating it with a `Vault`. diff --git a/docs/references/protocol/transactions/types/loandelete.md b/docs/references/protocol/transactions/types/loandelete.md index 1e66a83d80..dcd34da459 100644 --- a/docs/references/protocol/transactions/types/loandelete.md +++ b/docs/references/protocol/transactions/types/loandelete.md @@ -9,7 +9,7 @@ txIcon: cancel status: not_enabled --- # LoanDelete -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/LoanDelete.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/lending/LoanDelete.cpp" /%} Deletes a `Loan` ledger entry. Only the loan broker or borrower can submit this transaction. diff --git a/docs/references/protocol/transactions/types/loanmanage.md b/docs/references/protocol/transactions/types/loanmanage.md index 4c871e976f..6d14b08357 100644 --- a/docs/references/protocol/transactions/types/loanmanage.md +++ b/docs/references/protocol/transactions/types/loanmanage.md @@ -9,7 +9,7 @@ txIcon: modify status: not_enabled --- # LoanManage -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/LoanManage.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/lending/LoanManage.cpp" /%} Manages the state of a `Loan` ledger entry, including defaulting, impairing, or unimpairing a loan. diff --git a/docs/references/protocol/transactions/types/loanpay.md b/docs/references/protocol/transactions/types/loanpay.md index c0b4a2f446..74871e4144 100644 --- a/docs/references/protocol/transactions/types/loanpay.md +++ b/docs/references/protocol/transactions/types/loanpay.md @@ -9,7 +9,7 @@ txIcon: send status: not_enabled --- # LoanPay -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/LoanPay.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/lending/LoanPay.cpp" /%} Makes a payment on an active loan. Only the borrower on the loan can make payments, and payments must meet the minimum amount required for that period. diff --git a/docs/references/protocol/transactions/types/loanset.md b/docs/references/protocol/transactions/types/loanset.md index 88326940cf..2c93adb475 100644 --- a/docs/references/protocol/transactions/types/loanset.md +++ b/docs/references/protocol/transactions/types/loanset.md @@ -9,7 +9,7 @@ txIcon: modify status: not_enabled --- # LoanSet -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/LoanSet.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/lending/LoanSet.cpp" /%} Creates a new `Loan` ledger entry, representing a loan agreement between a _Loan Broker_ and _Borrower_. diff --git a/docs/references/protocol/transactions/types/mptokenauthorize.md b/docs/references/protocol/transactions/types/mptokenauthorize.md index 0b4132f217..ccfd225f9d 100644 --- a/docs/references/protocol/transactions/types/mptokenauthorize.md +++ b/docs/references/protocol/transactions/types/mptokenauthorize.md @@ -8,7 +8,7 @@ requiredAmendment: MPTokensV1 txIcon: modify --- # MPTokenAuthorize -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/MPTokenAuthorize.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/token/MPTokenAuthorize.cpp" /%} Control whether an account can hold a given [Multi-purpose Token (MPT)](../../../../concepts/tokens/fungible-tokens/multi-purpose-tokens.md). This transaction has several uses: diff --git a/docs/references/protocol/transactions/types/mptokenissuancecreate.md b/docs/references/protocol/transactions/types/mptokenissuancecreate.md index 70e062663c..a3181e5b00 100644 --- a/docs/references/protocol/transactions/types/mptokenissuancecreate.md +++ b/docs/references/protocol/transactions/types/mptokenissuancecreate.md @@ -8,7 +8,7 @@ requiredAmendment: MPTokensV1 txIcon: create --- # MPTokenIssuanceCreate -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/MPTokenIssuanceCreate.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/token/MPTokenIssuanceCreate.cpp" /%} Creates a new [Multi-purpose Token (MPT)](../../../../concepts/tokens/fungible-tokens/multi-purpose-tokens.md) issuance, which defines the properties of those MPTs. This is a prerequisite to actually issuing the tokens. diff --git a/docs/references/protocol/transactions/types/mptokenissuancedestroy.md b/docs/references/protocol/transactions/types/mptokenissuancedestroy.md index bbe0516668..50e24bbe1b 100644 --- a/docs/references/protocol/transactions/types/mptokenissuancedestroy.md +++ b/docs/references/protocol/transactions/types/mptokenissuancedestroy.md @@ -8,7 +8,7 @@ requiredAmendment: MPTokensV1 txIcon: cancel --- # MPTokenIssuanceDestroy -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/MPTokenIssuanceDestroy.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/token/MPTokenIssuanceDestroy.cpp" /%} Delete a [Multi-purpose Token (MPT)](../../../../concepts/tokens/fungible-tokens/multi-purpose-tokens.md) issuance. Only the issuer can delete an MPT issuance, and only if there are no holders of the MPT. diff --git a/docs/references/protocol/transactions/types/mptokenissuanceset.md b/docs/references/protocol/transactions/types/mptokenissuanceset.md index af5e0fcc0e..3287564526 100644 --- a/docs/references/protocol/transactions/types/mptokenissuanceset.md +++ b/docs/references/protocol/transactions/types/mptokenissuanceset.md @@ -8,7 +8,7 @@ requiredAmendment: MPTokensV1 txIcon: modify --- # MPTokenIssuanceSet -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/MPTokenIssuanceSet.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/token/MPTokenIssuanceSet.cpp" /%} Update a mutable property of a [Multi-purpose Token (MPT)](../../../../concepts/tokens/fungible-tokens/multi-purpose-tokens.md) issuance, including locking (freezing) or unlocking the tokens globally or for an individual holder. diff --git a/docs/references/protocol/transactions/types/nftokenacceptoffer.md b/docs/references/protocol/transactions/types/nftokenacceptoffer.md index ee2348e2e4..6711fcd115 100644 --- a/docs/references/protocol/transactions/types/nftokenacceptoffer.md +++ b/docs/references/protocol/transactions/types/nftokenacceptoffer.md @@ -9,7 +9,7 @@ requiredAmendment: NonFungibleTokensV1_1 txIcon: finish --- # NFTokenAcceptOffer -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/NFTokenAcceptOffer.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/nft/NFTokenAcceptOffer.cpp" /%} Accept an offer to buy or sell a [non-fungible token (NFT)](../../../../concepts/tokens/nfts/index.md). This transaction has two modes: diff --git a/docs/references/protocol/transactions/types/nftokenburn.md b/docs/references/protocol/transactions/types/nftokenburn.md index 89d5775a45..1c18ccad8d 100644 --- a/docs/references/protocol/transactions/types/nftokenburn.md +++ b/docs/references/protocol/transactions/types/nftokenburn.md @@ -8,7 +8,7 @@ requiredAmendment: NonFungibleTokensV1_1 txIcon: cancel --- # NFTokenBurn -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/NFTokenBurn.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/nft/NFTokenBurn.cpp" /%} Burn (destroy) a [non-fungible token (NFT)](../../../../concepts/tokens/nfts/index.md). The NFT's current holder can always burn it, and if the token's **Burnable** flag is enabled, the issuer and their authorized minter (if they have one) can also burn the NFT. diff --git a/docs/references/protocol/transactions/types/nftokencanceloffer.md b/docs/references/protocol/transactions/types/nftokencanceloffer.md index 51e60cb6a9..3f42a12fde 100644 --- a/docs/references/protocol/transactions/types/nftokencanceloffer.md +++ b/docs/references/protocol/transactions/types/nftokencanceloffer.md @@ -9,7 +9,7 @@ requiredAmendment: NonFungibleTokensV1_1 txIcon: cancel --- # NFTokenCancelOffer -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/NFTokenCancelOffer.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/nft/NFTokenCancelOffer.cpp" /%} Cancel an offer to buy or sell a [non-fungible token (NFT)](../../../../concepts/tokens/nfts/index.md). diff --git a/docs/references/protocol/transactions/types/nftokencreateoffer.md b/docs/references/protocol/transactions/types/nftokencreateoffer.md index bbadaf279b..3a7da8ee51 100644 --- a/docs/references/protocol/transactions/types/nftokencreateoffer.md +++ b/docs/references/protocol/transactions/types/nftokencreateoffer.md @@ -9,7 +9,7 @@ requiredAmendment: NonFungibleTokensV1_1 txIcon: create --- # NFTokenCreateOffer -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/NFTokenCreateOffer.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/nft/NFTokenCreateOffer.cpp" /%} Create a new offer to either buy or sell a [non-fungible token (NFT)](../../../../concepts/tokens/nfts/index.md). You can only offer to sell NFTs you own or buy NFTs you don't own. diff --git a/docs/references/protocol/transactions/types/nftokenmint.md b/docs/references/protocol/transactions/types/nftokenmint.md index c90cf5d61c..e39c03c8db 100644 --- a/docs/references/protocol/transactions/types/nftokenmint.md +++ b/docs/references/protocol/transactions/types/nftokenmint.md @@ -8,7 +8,7 @@ requiredAmendment: NonFungibleTokensV1_1 txIcon: create --- # NFTokenMint -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/NFTokenMint.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/nft/NFTokenMint.cpp" /%} Create a [non-fungible token (NFT)](../../../../concepts/tokens/nfts/index.md). This is the only opportunity the minter has to specify any token fields and flags that are immutable. This transaction can be sent by the NFT's issuer or by an [authorized minter](../../../../concepts/tokens/nfts/authorizing-another-minter.md). diff --git a/docs/references/protocol/transactions/types/nftokenmodify.md b/docs/references/protocol/transactions/types/nftokenmodify.md index 0f10f150b9..cf3742af4b 100644 --- a/docs/references/protocol/transactions/types/nftokenmodify.md +++ b/docs/references/protocol/transactions/types/nftokenmodify.md @@ -8,7 +8,7 @@ requiredAmendment: DynamicNFT txIcon: modify --- # NFTokenModify -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/NFTokenModify.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/nft/NFTokenModify.cpp" /%} Change the `URI` field of a [dynamic NFT](../../../../concepts/tokens/nfts/dynamic-nfts.md) to update the supporting data for the NFT. Only the issuer, or their authorized minter, can modify an NFT, and only if it was minted with the **Mutable** flag enabled. diff --git a/docs/references/protocol/transactions/types/offercancel.md b/docs/references/protocol/transactions/types/offercancel.md index ddfbe8d7ee..4d7e07d774 100644 --- a/docs/references/protocol/transactions/types/offercancel.md +++ b/docs/references/protocol/transactions/types/offercancel.md @@ -7,7 +7,7 @@ txIcon: cancel --- # OfferCancel -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CancelOffer.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/OfferCancel.cpp" /%} Cancel an [offer](../../../../concepts/tokens/decentralized-exchange/offers.md) to trade in the decentralized exchange. diff --git a/docs/references/protocol/transactions/types/offercreate.md b/docs/references/protocol/transactions/types/offercreate.md index 0cdc4355c7..2068c34aca 100644 --- a/docs/references/protocol/transactions/types/offercreate.md +++ b/docs/references/protocol/transactions/types/offercreate.md @@ -6,7 +6,7 @@ labels: txIcon: create --- # OfferCreate -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CreateOffer.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/dex/OfferCreate.cpp" /%} Place an [offer](../../../../concepts/tokens/decentralized-exchange/offers.md) to trade in the [decentralized exchange](../../../../concepts/tokens/decentralized-exchange/index.md). diff --git a/docs/references/protocol/transactions/types/oracledelete.md b/docs/references/protocol/transactions/types/oracledelete.md index 897bee7d67..be2ee1832c 100644 --- a/docs/references/protocol/transactions/types/oracledelete.md +++ b/docs/references/protocol/transactions/types/oracledelete.md @@ -8,7 +8,7 @@ requiredAmendment: PriceOracle txIcon: cancel --- # OracleDelete -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/DeleteOracle.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/oracle/OracleDelete.cpp" /%} Delete a [price oracle](../../../../concepts/decentralized-storage/price-oracles.md). Only the owner of the price oracle can send this transaction. diff --git a/docs/references/protocol/transactions/types/oracleset.md b/docs/references/protocol/transactions/types/oracleset.md index 1f2d6a2052..6f43445ab4 100644 --- a/docs/references/protocol/transactions/types/oracleset.md +++ b/docs/references/protocol/transactions/types/oracleset.md @@ -8,7 +8,7 @@ requiredAmendment: PriceOracle txIcon: create --- # OracleSet -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/SetOracle.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/oracle/OracleSet.cpp" /%} Create or update a [price oracle](../../../../concepts/decentralized-storage/price-oracles.md). Only the owner of an existing price oracle can update it. diff --git a/docs/references/protocol/transactions/types/payment.md b/docs/references/protocol/transactions/types/payment.md index e5d8e71928..8876a6e3a0 100644 --- a/docs/references/protocol/transactions/types/payment.md +++ b/docs/references/protocol/transactions/types/payment.md @@ -9,7 +9,7 @@ labels: txIcon: send --- # Payment -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/Payment.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/payment/Payment.cpp" /%} Send value to an account. (Depending on the path taken, this can involve exchanges of several types of funds, all of which occur atomically.) This transaction type can be used for several [types of payments](#types-of-payments). diff --git a/docs/references/protocol/transactions/types/paymentchannelclaim.md b/docs/references/protocol/transactions/types/paymentchannelclaim.md index 0f5a328beb..dc1a10006f 100644 --- a/docs/references/protocol/transactions/types/paymentchannelclaim.md +++ b/docs/references/protocol/transactions/types/paymentchannelclaim.md @@ -8,7 +8,7 @@ requiredAmendment: PayChan txIcon: finish --- # PaymentChannelClaim -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/PayChan.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/payment_channel/PaymentChannelClaim.cpp" /%} Claim funds from a [payment channel](../../../../concepts/payment-types/payment-channels.md), adjust the payment channel's expiration, or both. This transaction can be used differently depending on the transaction sender's role in the specified channel: diff --git a/docs/references/protocol/transactions/types/paymentchannelcreate.md b/docs/references/protocol/transactions/types/paymentchannelcreate.md index c4e954281f..6803885d81 100644 --- a/docs/references/protocol/transactions/types/paymentchannelcreate.md +++ b/docs/references/protocol/transactions/types/paymentchannelcreate.md @@ -8,7 +8,7 @@ requiredAmendment: PayChan txIcon: create --- # PaymentChannelCreate -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/PayChan.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/payment_channel/PaymentChannelCreate.cpp" /%} Create a [payment channel](../../../../concepts/payment-types/payment-channels.md) and fund it. The address sending this transaction becomes the "source address" of the payment channel. diff --git a/docs/references/protocol/transactions/types/paymentchannelfund.md b/docs/references/protocol/transactions/types/paymentchannelfund.md index 735cb4dfcf..08f1c3f729 100644 --- a/docs/references/protocol/transactions/types/paymentchannelfund.md +++ b/docs/references/protocol/transactions/types/paymentchannelfund.md @@ -8,7 +8,7 @@ requiredAmendment: PayChan txIcon: modify --- # PaymentChannelFund -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/PayChan.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/payment_channel/PaymentChannelFund.cpp" /%} Add an additional amount to an open [payment channel](../../../../concepts/payment-types/payment-channels.md), and optionally update the expiration time of the channel. Only the source account of the channel can use this transaction. diff --git a/docs/references/protocol/transactions/types/permissioneddomaindelete.md b/docs/references/protocol/transactions/types/permissioneddomaindelete.md index c618cb5662..055cb3b09a 100644 --- a/docs/references/protocol/transactions/types/permissioneddomaindelete.md +++ b/docs/references/protocol/transactions/types/permissioneddomaindelete.md @@ -9,7 +9,7 @@ requiredAmendment: PermissionedDomains txIcon: cancel --- # PermissionedDomainDelete -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/PermissionedDomainDelete.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/permissioned_domain/PermissionedDomainDelete.cpp" /%} Delete a [permissioned domain][] that you own. diff --git a/docs/references/protocol/transactions/types/permissioneddomainset.md b/docs/references/protocol/transactions/types/permissioneddomainset.md index afce299315..1729019e44 100644 --- a/docs/references/protocol/transactions/types/permissioneddomainset.md +++ b/docs/references/protocol/transactions/types/permissioneddomainset.md @@ -10,7 +10,7 @@ txIcon: create status: not_enabled --- # PermissionedDomainSet -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/PermissionedDomainSet.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/permissioned_domain/PermissionedDomainSet.cpp" /%} Create a [permissioned domain][], or modify one that you own. diff --git a/docs/references/protocol/transactions/types/setregularkey.md b/docs/references/protocol/transactions/types/setregularkey.md index 0449fc2d57..4b0d9ab9fe 100644 --- a/docs/references/protocol/transactions/types/setregularkey.md +++ b/docs/references/protocol/transactions/types/setregularkey.md @@ -8,7 +8,7 @@ txIcon: modify --- # SetRegularKey -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/SetRegularKey.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/account/SetRegularKey.cpp" /%} Assign, change, or remove the [regular key pair](../../../../concepts/accounts/cryptographic-keys.md) associated with your account. diff --git a/docs/references/protocol/transactions/types/signerlistset.md b/docs/references/protocol/transactions/types/signerlistset.md index f0c349787e..9eebc3a8bd 100644 --- a/docs/references/protocol/transactions/types/signerlistset.md +++ b/docs/references/protocol/transactions/types/signerlistset.md @@ -8,7 +8,7 @@ requiredAmendment: MultiSign txIcon: modify --- # SignerListSet -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/SetSignerList.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/account/SignerListSet.cpp" /%} Create, replace, or remove a list of signers that can be used to [multi-sign](../../../../concepts/accounts/multi-signing.md) a transaction. diff --git a/docs/references/protocol/transactions/types/ticketcreate.md b/docs/references/protocol/transactions/types/ticketcreate.md index 32a624ffb7..ec897506b7 100644 --- a/docs/references/protocol/transactions/types/ticketcreate.md +++ b/docs/references/protocol/transactions/types/ticketcreate.md @@ -8,7 +8,7 @@ requiredAmendment: TicketBatch txIcon: create --- # TicketCreate -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CreateTicket.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/system/TicketCreate.cpp" /%} Set aside one or more [sequence numbers][Sequence Number] as [tickets](../../../../concepts/accounts/tickets.md). diff --git a/docs/references/protocol/transactions/types/trustset.md b/docs/references/protocol/transactions/types/trustset.md index 6722d44118..894b92c903 100644 --- a/docs/references/protocol/transactions/types/trustset.md +++ b/docs/references/protocol/transactions/types/trustset.md @@ -6,7 +6,7 @@ labels: txIcon: modify --- # TrustSet -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/SetTrust.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/token/TrustSet.cpp" /%} Create or modify a [trust line](../../../../concepts/tokens/fungible-tokens/index.md) linking two accounts. diff --git a/docs/references/protocol/transactions/types/vaultclawback.md b/docs/references/protocol/transactions/types/vaultclawback.md index 26b31c1d52..b822aa5094 100644 --- a/docs/references/protocol/transactions/types/vaultclawback.md +++ b/docs/references/protocol/transactions/types/vaultclawback.md @@ -12,7 +12,7 @@ txIcon: cancel # VaultClawback -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/VaultClawback.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/vault/VaultClawback.cpp" /%} Performs a [Clawback](../../../../use-cases/tokenization/stablecoin-issuer#clawback) from the vault, exchanging the shares of an account for assets. diff --git a/docs/references/protocol/transactions/types/vaultcreate.md b/docs/references/protocol/transactions/types/vaultcreate.md index 8a34ebf3fc..41fb0c0279 100644 --- a/docs/references/protocol/transactions/types/vaultcreate.md +++ b/docs/references/protocol/transactions/types/vaultcreate.md @@ -11,7 +11,7 @@ txIcon: create # VaultCreate -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/VaultCreate.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/vault/VaultCreate.cpp" /%} Creates a new `Vault` ledger entry, an `MPTokenIssuance` ledger entry for the vault’s shares, and an `AccountRoot` for the vault’s [pseudo-account](../../../../concepts/accounts/pseudo-accounts.md). diff --git a/docs/references/protocol/transactions/types/vaultdelete.md b/docs/references/protocol/transactions/types/vaultdelete.md index cba91b0e80..4cbe809002 100644 --- a/docs/references/protocol/transactions/types/vaultdelete.md +++ b/docs/references/protocol/transactions/types/vaultdelete.md @@ -12,7 +12,7 @@ txIcon: cancel # VaultDelete -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/VaultDelete.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/vault/VaultDelete.cpp" /%} Permanently deletes an existing `Vault` object from the ledger, removes all associated ledger entries, and frees up the reserve requirement for the Vault Owner. diff --git a/docs/references/protocol/transactions/types/vaultdeposit.md b/docs/references/protocol/transactions/types/vaultdeposit.md index 1cd68be525..94f68858e2 100644 --- a/docs/references/protocol/transactions/types/vaultdeposit.md +++ b/docs/references/protocol/transactions/types/vaultdeposit.md @@ -12,7 +12,7 @@ txIcon: send # VaultDeposit -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/VaultDeposit.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/vault/VaultDeposit.cpp" /%} Deposits a specified number of assets into a vault in exchange for shares. diff --git a/docs/references/protocol/transactions/types/vaultset.md b/docs/references/protocol/transactions/types/vaultset.md index 4908588ec6..413f027902 100644 --- a/docs/references/protocol/transactions/types/vaultset.md +++ b/docs/references/protocol/transactions/types/vaultset.md @@ -12,7 +12,7 @@ txIcon: modify # VaultSet -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/VaultSet.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/vault/VaultSet.cpp" /%} Modifies a single asset vault that you own. This transaction allows the Vault Owner to update certain mutable fields, including vault metadata and the maximum asset amount. diff --git a/docs/references/protocol/transactions/types/vaultwithdraw.md b/docs/references/protocol/transactions/types/vaultwithdraw.md index a462751885..49d75ef627 100644 --- a/docs/references/protocol/transactions/types/vaultwithdraw.md +++ b/docs/references/protocol/transactions/types/vaultwithdraw.md @@ -12,7 +12,7 @@ txIcon: send # VaultWithdraw -[[Source]](https://github.com/XRPLF/rippled/blob/release-3.1/src/xrpld/app/tx/detail/VaultWithdraw.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/vault/VaultWithdraw.cpp" /%} Redeem vault shares for assets. The amount of assets received depends on the [exchange rate](../../../../concepts/tokens/single-asset-vaults.md#exchange-algorithm), which adjusts based on the vault’s total assets and any [unrealized losses](../../../../concepts/tokens/single-asset-vaults.md#unrealized-loss). diff --git a/docs/references/protocol/transactions/types/xchainaccountcreatecommit.md b/docs/references/protocol/transactions/types/xchainaccountcreatecommit.md index ddec7451e0..5e22637daa 100644 --- a/docs/references/protocol/transactions/types/xchainaccountcreatecommit.md +++ b/docs/references/protocol/transactions/types/xchainaccountcreatecommit.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: create --- # XChainAccountCreateCommit -[[Source]](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/xrpld/app/tx/detail/XChainBridge.h#L235 "Source") +{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L235" /%} 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. diff --git a/docs/references/protocol/transactions/types/xchainaddaccountcreateattestation.md b/docs/references/protocol/transactions/types/xchainaddaccountcreateattestation.md index 9392e6a884..aa099eacd9 100644 --- a/docs/references/protocol/transactions/types/xchainaddaccountcreateattestation.md +++ b/docs/references/protocol/transactions/types/xchainaddaccountcreateattestation.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: create --- # XChainAddAccountCreateAttestation -[[Source]](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/xrpld/app/tx/detail/XChainBridge.h#L189 "Source") +{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L189" /%} Provide an attestation from a [witness server](../../../../concepts/xrpl-sidechains/witness-servers.md) that an `XChainAccountCreateCommit` transaction occurred on the other chain. diff --git a/docs/references/protocol/transactions/types/xchainaddclaimattestation.md b/docs/references/protocol/transactions/types/xchainaddclaimattestation.md index 3f7c9c638b..e0be046b16 100644 --- a/docs/references/protocol/transactions/types/xchainaddclaimattestation.md +++ b/docs/references/protocol/transactions/types/xchainaddclaimattestation.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: modify --- # XChainAddClaimAttestation -[[Source]](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/xrpld/app/tx/detail/XChainBridge.h#L169 "Source") +{% source-link path="include/xrpl/tx/transactors/bridge/XChainBridge.h#L169" /%} Provide proof from a [witness server](../../../../concepts/xrpl-sidechains/witness-servers.md) attesting to an `XChainCommit` transaction. diff --git a/docs/references/protocol/transactions/types/xchainclaim.md b/docs/references/protocol/transactions/types/xchainclaim.md index 76cd171e0c..2395ffdb27 100644 --- a/docs/references/protocol/transactions/types/xchainclaim.md +++ b/docs/references/protocol/transactions/types/xchainclaim.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: finish --- # XChainClaim -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/XChainBridge.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%} 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. diff --git a/docs/references/protocol/transactions/types/xchaincommit.md b/docs/references/protocol/transactions/types/xchaincommit.md index a5b7a13f19..9a78db440b 100644 --- a/docs/references/protocol/transactions/types/xchaincommit.md +++ b/docs/references/protocol/transactions/types/xchaincommit.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: send --- # XChainCommit -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/XChainBridge.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%} Do the second step in a [cross-chain transfer](../../../../concepts/xrpl-sidechains/cross-chain-bridges.md). This transaction has two modes: diff --git a/docs/references/protocol/transactions/types/xchaincreatebridge.md b/docs/references/protocol/transactions/types/xchaincreatebridge.md index c3d7c3fffc..81cef8266b 100644 --- a/docs/references/protocol/transactions/types/xchaincreatebridge.md +++ b/docs/references/protocol/transactions/types/xchaincreatebridge.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: create --- # XChainCreateBridge -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/XChainBridge.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%} 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. diff --git a/docs/references/protocol/transactions/types/xchaincreateclaimid.md b/docs/references/protocol/transactions/types/xchaincreateclaimid.md index 043a4cc7c1..7b32c884f8 100644 --- a/docs/references/protocol/transactions/types/xchaincreateclaimid.md +++ b/docs/references/protocol/transactions/types/xchaincreateclaimid.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: create --- # XChainCreateClaimID -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/XChainBridge.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%} 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. diff --git a/docs/references/protocol/transactions/types/xchainmodifybridge.md b/docs/references/protocol/transactions/types/xchainmodifybridge.md index f1904bff92..f8a8a5621e 100644 --- a/docs/references/protocol/transactions/types/xchainmodifybridge.md +++ b/docs/references/protocol/transactions/types/xchainmodifybridge.md @@ -8,7 +8,7 @@ status: not_enabled txIcon: modify --- # XChainModifyBridge -[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/XChainBridge.cpp "Source") +{% source-link path="src/libxrpl/tx/transactors/bridge/XChainBridge.cpp" /%} 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`. diff --git a/docs/tutorials/get-started/get-started-go.md b/docs/tutorials/get-started/get-started-go.md index 38e60a4c83..06bcf71773 100644 --- a/docs/tutorials/get-started/get-started-go.md +++ b/docs/tutorials/get-started/get-started-go.md @@ -79,7 +79,7 @@ The sample code in the previous section shows you how to connect to the Testnet, } ``` - See the example [core server config file](https://github.com/XRPLF/rippled/blob/develop/cfg/xrpld-example.cfg#L1469) for more information about default values. + See the example {% source-link name="core server config file" path="cfg/xrpld-example.cfg#L1469" /%} for more information about default values. - By using one of the available [public servers][]: diff --git a/docs/tutorials/get-started/get-started-http-websocket-apis.md b/docs/tutorials/get-started/get-started-http-websocket-apis.md index fb8a08805a..bf42936b61 100644 --- a/docs/tutorials/get-started/get-started-http-websocket-apis.md +++ b/docs/tutorials/get-started/get-started-http-websocket-apis.md @@ -30,7 +30,7 @@ Both APIs can be served unencrypted (`http://` and `ws://`) or encrypted using T The API methods are divided into [Public Methods](../../references/http-websocket-apis/public-api-methods/index.md) and [Admin Methods](../../references/http-websocket-apis/admin-api-methods/index.md) so that organizations can offer public servers for the benefit of the community. To access admin methods, or admin functionality of public methods, you must connect to the API on a **port and IP address marked as admin** in the server's config file. -The [example config file](https://github.com/XRPLF/rippled/blob/develop/cfg/xrpld-example.cfg#L1477-L1494) listens for connections on the local loopback network (127.0.0.1), with JSON-RPC (HTTP) on port 5005 and WebSocket (WS) on port 6006, and treats all connected clients as admin. +The {% source-link name="example config file" path="cfg/xrpld-example.cfg#L1477-L1494" /%} listens for connections on the local loopback network (127.0.0.1), with JSON-RPC (HTTP) on port 5005 and WebSocket (WS) on port 6006, and treats all connected clients as admin. ## WebSocket API diff --git a/docs/tutorials/get-started/get-started-java.md b/docs/tutorials/get-started/get-started-java.md index 7bf5fb9315..4eb9e28c44 100644 --- a/docs/tutorials/get-started/get-started-java.md +++ b/docs/tutorials/get-started/get-started-java.md @@ -104,7 +104,7 @@ The sample code in the previous section shows you how to connect to the Testnet, XrplClient xrplClient = new XrplClient(rippledUrl); ``` - See the example [core server config file](https://github.com/XRPLF/rippled/blob/develop/cfg/xrpld-example.cfg#L1469) for more information about default values. + See the example {% source-link name="core server config file" path="cfg/xrpld-example.cfg#L1469" /%} for more information about default values. * By using one of the available [public servers][]: diff --git a/docs/tutorials/get-started/get-started-javascript.md b/docs/tutorials/get-started/get-started-javascript.md index c2593e28e7..e6bf15f61d 100644 --- a/docs/tutorials/get-started/get-started-javascript.md +++ b/docs/tutorials/get-started/get-started-javascript.md @@ -115,7 +115,7 @@ The sample code shows you how to connect to the Testnet, which is one of the ava await client.connect() ``` - See the example [core server config file](https://github.com/XRPLF/rippled/blob/develop/cfg/xrpld-example.cfg#L1469) for more information about default values. + See the example {% source-link name="core server config file" path="cfg/xrpld-example.cfg#L1469" /%} for more information about default values. - By using one of the available [public servers][]: diff --git a/docs/tutorials/get-started/get-started-php.md b/docs/tutorials/get-started/get-started-php.md index 3235ecc315..5b454bb180 100644 --- a/docs/tutorials/get-started/get-started-php.md +++ b/docs/tutorials/get-started/get-started-php.md @@ -86,7 +86,7 @@ The sample code in the previous section shows you how to connect to the Testnet, $client = new JsonRpcClient("LOCAL_JSON_RPC_URL"); ``` - See the example [core server config file](https://github.com/XRPLF/rippled/blob/develop/cfg/xrpld-example.cfg#L1469) for more information about default values. + See the example {% source-link name="core server config file" path="cfg/xrpld-example.cfg#L1469" /%} for more information about default values. * By using one of the available [public servers][]: diff --git a/docs/tutorials/get-started/get-started-python.md b/docs/tutorials/get-started/get-started-python.md index 7efdd24841..a1453ff55d 100644 --- a/docs/tutorials/get-started/get-started-python.md +++ b/docs/tutorials/get-started/get-started-python.md @@ -97,7 +97,7 @@ The sample code in the previous section shows you how to connect to the Testnet, client = JsonRpcClient(JSON_RPC_URL) ``` - See the example [core server config file](https://github.com/XRPLF/rippled/blob/develop/cfg/xrpld-example.cfg#L1469) for more information about default values. + See the example {% source-link name="core server config file" path="cfg/xrpld-example.cfg#L1469" /%} for more information about default values. - By using one of the available [public servers][]: diff --git a/resources/contribute-code/create-custom-transactors.md b/resources/contribute-code/create-custom-transactors.md index 2ebf90b929..96c2d00de3 100644 --- a/resources/contribute-code/create-custom-transactors.md +++ b/resources/contribute-code/create-custom-transactors.md @@ -19,8 +19,8 @@ Transactors follow a basic order of operations: This tutorial uses the existing `CreateCheck` transactor as an example. You can view the source files here: -- [Header File](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CreateCheck.h) -- [CPP File](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/CreateCheck.cpp) +- {% source-link name="Header File" path="include/xrpl/tx/transactors/check/CheckCreate.h" /%} +- {% source-link name="CPP File" path="src/libxrpl/tx/transactors/check/CheckCreate.cpp" /%} ## Header File @@ -76,8 +76,8 @@ The `preflight` function checks for errors in the transaction itself before acce {% admonition type="info" name="Note" %}The `~` symbol returns an optional type.{% /admonition %} - You can view ledger and transaction schemas here: - - [`ledger_entries.macro`](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/detail/ledger_entries.macro) - - [`transactions.macro`](https://github.com/XRPLF/rippled/blob/master/include/xrpl/protocol/detail/transactions.macro) + - {% source-link name="ledger_entries.macro" path="include/xrpl/protocol/detail/ledger_entries.macro" /%} + - {% source-link name="transactions.macro" path="include/xrpl/protocol/detail/transactions.macro" /%} - `rippled` summarizes transaction results with result codes. See: [Transaction Results](../../docs/references/protocol/transactions/transaction-results/index.md) @@ -342,7 +342,7 @@ EscrowFinish::calculateBaseFee(ReadView const& view, STTx const& tx) ### `makeTxConsequences` -`rippled` uses a [`TxConsequences`](https://github.com/XRPLF/rippled/blob/70d5c624e8cf732a362335642b2f5125ce4b43c1/src/xrpld/app/tx/applySteps.h#L58) class to describe the outcome to an account when applying a transaction. It tracks the fee, maximum possible XRP spent, and how many sequence numbers are consumed by the transaction. There are three types of consequences: +`rippled` uses a {% source-link name="TxConsequences" path="include/xrpl/tx/applySteps.h#L58" /%} class to describe the outcome to an account when applying a transaction. It tracks the fee, maximum possible XRP spent, and how many sequence numbers are consumed by the transaction. There are three types of consequences: - **Normal:** The transactor doesn't affect transaction signing and _only_ consumes an XRP fee. Transactions that spend XRP beyond the fee aren't considered normal. - **Blocker:** The transactor affects transaction signing, preventing valid transactions from queueing behind it. diff --git a/resources/contribute-code/index.md b/resources/contribute-code/index.md index 01e8afa011..5c8ff22987 100644 --- a/resources/contribute-code/index.md +++ b/resources/contribute-code/index.md @@ -17,7 +17,7 @@ The software that powers the XRP Ledger is open-source, so anyone can download, | XRP Ledger Source Code | | |:-----------------------|:----------------------------------------------------| | Repository | | -| License | [Multiple; ISC (permissive)](https://github.com/XRPLF/rippled/blob/develop/LICENSE.md) | +| License | {% source-link name="Multiple; ISC (permissive)" path="LICENSE.md" /%} | | Programming Language | C++ | If you're not sure where to start, Dev Null Productions provides a detailed and thorough [**Source Code Guide**](https://xrpintel.com/source) that describes the structure and functions of the core XRP Ledger server (`rippled`) implementation. diff --git a/resources/contribute-documentation/markdoc-tags.md b/resources/contribute-documentation/markdoc-tags.md index 97006d8501..5403a30905 100644 --- a/resources/contribute-documentation/markdoc-tags.md +++ b/resources/contribute-documentation/markdoc-tags.md @@ -217,22 +217,22 @@ Link to an `xrpld` source code file. The link is built using a `path` parameter Example usage _without_ `name`:

-{% source-link path="src/xrpld/app/tx/detail/DeleteAccount.cpp" /%}
+{% source-link path="src/libxrpl/tx/transactors/account/AccountDelete.cpp" /%}
 
Demonstration: -{% source-link path="src/xrpld/app/tx/detail/DeleteAccount.cpp" /%} +{% source-link path="src/libxrpl/tx/transactors/account/AccountDelete.cpp" /%} Example usage _with_ `name`:

-{% source-link name="AccountDelete" path="src/xrpld/app/tx/detail/DeleteAccount.cpp" /%}
+{% source-link name="AccountDelete" path="src/libxrpl/tx/transactors/account/AccountDelete.cpp" /%}
 
Demonstration: -This is a plain link to the {% source-link name="AccountDelete" path="src/xrpld/app/tx/detail/DeleteAccount.cpp" /%} source code. +This is a plain link to the {% source-link name="AccountDelete" path="src/libxrpl/tx/transactors/account/AccountDelete.cpp" /%} source code. ### Try It diff --git a/resources/known-amendments.md b/resources/known-amendments.md index 13c8b20ce9..6d2360b225 100644 --- a/resources/known-amendments.md +++ b/resources/known-amendments.md @@ -5,7 +5,7 @@ labels: - Blockchain --- # Known Amendments -[[Source]](https://github.com/XRPLF/rippled/blob/develop/include/xrpl/protocol/detail/features.macro "Source") +{% source-link path="include/xrpl/protocol/detail/features.macro" /%} This page lists all known [amendments](../docs/concepts/networks-and-servers/amendments.md) and their statuses.