Ed Hennis
abf5f08297
Update type of CoverRate fields
2025-05-07 12:11:48 -04:00
Ed Hennis
f8c708f20c
Finish LoanBrokerSet
...
- Update changed field name.
- Modify modifiable fields in an update. Note there are only two.
- Add a node field to dirLink, defaulting sfOwnerNode, so other
relationships can be updated.
2025-05-07 12:11:47 -04:00
Ed Hennis
24374c548b
[WIP] Define remaining transactions, start implementing LoanBrokerSet
...
- Does not build
- Transactions: LoanDelete, LoanManage, LoanDraw, LoanPay
- LoanBrokerSet creation mostly done. Need update.
- Also added a lookup table for pseudo account fields.
2025-05-07 12:11:47 -04:00
Ed Hennis
34f7bc7502
refactor: Check transaction flags in preflight0
...
- Adds a flagMask parameter to preflight1 so that it's impossible to
forget to check flags.
- Also adds a short hash prefix to all Transactor log messages.
2025-05-07 12:11:46 -04:00
Ed Hennis
319e7a6bcb
Start adding transaction layouts, flags, and fields
...
(Does not compile)
2025-05-07 12:11:46 -04:00
Ed Hennis
9d1b98a5a4
Fix some duplicated SField codes, speed up SField by name lookup
2025-05-07 12:11:46 -04:00
Ed Hennis
60a888619b
Add Loan Broker and Loan ledger objects:
...
- Also add new SFields, Keylet functions, and an Invariant to verify no
illegal field modification
2025-05-07 12:11:46 -04:00
Ed Hennis
8165f9d5b1
Add the LendingProtocol amendment
2025-05-07 12:11:46 -04:00
Bronek Kozicki
aead1bfb3d
Review feedback
2025-05-06 19:06:45 +01:00
Bronek Kozicki
7e5845f209
Merge branch 'develop' into vault
2025-04-28 14:20:54 +01:00
Vlad
fa1e25abef
chore: Small clarification to lsfDefaultRipple comment ( #5410 )
2025-04-25 15:21:27 +00:00
Bronek Kozicki
0ab792263a
Code cleanup
2025-04-23 16:13:58 +01:00
Ed Hennis
75375905a4
Merge remote-tracking branch 'upstream/develop' into vault
...
* upstream/develop:
fix: `fixPayChanV1` (4717)
2025-04-09 18:26:02 -04:00
Denis Angell
a574ec6023
fix: fixPayChanV1 ( #4717 )
...
This change introduces a new fix amendment (`fixPayChanV1`) that prevents the creation of new `PaymentChannelCreate` transaction with a `CancelAfter` time less than the current ledger time. It piggy backs off of fix1571.
Once the amendment is activated, creating a new `PaymentChannel` will require that if you specify the `CancelAfter` time/value, that value must be greater than or equal to the current ledger time.
Currently users can create a payment channel where the `CancelAfter` time is before the current ledger time. This results in the payment channel being immediately closed on the next PaymentChannel transaction.
2025-04-09 22:08:44 +00:00
Bronek Kozicki
f839049de7
Enforce max recursion depth in VaultCreate, improve VaultDeposit checks
...
Also fix off-by-one error in recursive checks isFrozen and requireAuth
2025-04-07 21:19:06 +01:00
Bronek Kozicki
db19760ee8
Both isFrozen and requireAuth are now recursive for vault shares
2025-04-07 15:37:50 +01:00
Bronek Kozicki
442795bfeb
Change vault_info to take vault_id or owner&seq
2025-04-07 11:29:55 +01:00
Bronek Kozicki
591437b914
Mark featureSingleAssetVault as Supported::no
2025-04-03 14:13:21 +01:00
Bronek Kozicki
af8ea3fb40
Rename 'share' to 'shares' in vault_info RPC
2025-04-03 11:45:47 +01:00
Bronek Kozicki
85e7d293ca
Factor out isPseudoAccount
2025-04-02 19:29:04 +01:00
Bronek Kozicki
5f53e4d1f8
Change output structure of vault_info
2025-04-02 17:09:49 +01:00
Bronek Kozicki
fa0b021fb8
Add RPC vault_info, remove RPC::supplementJson<ltVAULT>
2025-04-02 16:40:37 +01:00
Bronek Kozicki
a1c21a06bc
Rename sfMPTokenIssuanceID in Vault to sfShareMPTID
2025-03-31 16:40:46 +01:00
Bronek Kozicki
d3c1d02c72
Return terADDRESS_COLLISION from preclaim if cannot allocate AccountID
2025-03-28 19:49:37 +00:00
Bronek Kozicki
7686c3d88d
Rename ShareTotal to SharesTotal
2025-03-27 11:50:03 +00:00
Bronek Kozicki
33660eadc6
Add comment on tecNO_ENTRY vs tecOBJECT_NOT_FOUND
2025-03-26 19:43:35 +00:00
Bronek Kozicki
0636d4695d
Rename sfAsset... fields to sfAssets...
2025-03-26 19:19:30 +00:00
Bronek Kozicki
dee06df012
Remove tecINVALID_DOMAIN error code
...
Also remove superflous checks in CredentialHelpers
2025-03-26 17:24:41 +00:00
Bronek Kozicki
3883bafd52
Update transactions.macro comment for ttVAULT_CLAWBACK
2025-03-26 12:29:56 +00:00
Bronek Kozicki
372555bda8
Rename tecVAULT_ACCOUNT to tecPSEUDO_ACCOUNT
2025-03-25 15:04:30 +00:00
Bronek Kozicki
fbe28f6536
Switch sfAssetTotal sfAssetAvailable and sfLossUnrealized to required
2025-03-25 12:07:48 +00:00
Bronek Kozicki
a173dd20e2
Disallow regular Clawback on Vault accounts
2025-03-24 11:45:50 +00:00
Bronek Kozicki
cc4f87729f
Merge branch 'develop' into vault
2025-03-24 11:25:35 +00:00
Bronek Kozicki
58f15307ba
Add ShareTotal to ledger_entry output
2025-03-21 16:33:31 +00:00
Bronek Kozicki
3d2102106c
Show Share.mpt_issuance_id rather than MPTokenIssuanceID
2025-03-21 13:52:13 +00:00
Alex Kremer
75a20194c5
chore: Update link to ripple-binary-codec ( #5355 )
...
The link to ripple-binary-codec's definitions.json appears to be outdated. The updated link is also documented here: https://xrpl.org/docs/references/protocol/binary-format#definitions-file
2025-03-19 17:33:23 -04:00
Bronek Kozicki
6db2144912
Improve checks in VaultSet VaultCreate and VaultDeposit
2025-03-19 16:26:44 +00:00
Bronek Kozicki
8e68838543
Remove lsfMPTDomainCheck flag, delete expired MPToken
2025-03-19 11:51:03 +00:00
Bronek Kozicki
840a4644c2
Merge branch 'develop' into vault
2025-03-13 11:30:30 +00:00
Ed Hennis
c17676a9be
refactor: Improve ordering of headers with clang-format ( #5343 )
...
Removes all manual header groupings from source and header files by leveraging clang-format options.
2025-03-12 18:33:21 -04:00
Ed Hennis
ed8e32cc92
refactor: Calculate numFeatures automatically ( #5324 )
...
Requiring manual updates of numFeatures is an annoying manual process that is easily forgotten, and leads to frequent merge conflicts. This change takes advantage of the `XRPL_FEATURE` and `XRPL_FIX` macros, and adds a new `XRPL_RETIRE` macro to automatically set `numFeatures`.
2025-03-12 17:34:06 -04:00
Bronek Kozicki
4c586eb4b0
Merge branch 'develop' into vault
2025-03-11 23:23:02 +00:00
Bart
2406b28e64
refactor: Remove unused and add missing includes ( #5293 )
...
The codebase is filled with includes that are unused, and which thus can be removed. At the same time, the files often do not include all headers that contain the definitions used in those files. This change uses clang-format and clang-tidy to clean up the includes, with minor manual intervention to ensure the code compiles on all platforms.
2025-03-11 14:16:45 -04:00
Bronek Kozicki
4dc2025378
Rename maxVaultDataLength to maxDataPayloadLength
2025-03-07 11:17:45 +00:00
Bronek Kozicki
1756fa7d08
Switch sfAmount in VaultClawback from defaulted to optional
2025-03-06 13:55:07 +00:00
Bronek Kozicki
a0632a0cb3
Add WithdrawalPolicy
2025-02-25 19:11:04 +00:00
Bronek Kozicki
3f5df80b47
Merge branch 'develop' into vault
2025-02-24 14:10:46 +00:00
Ed Hennis
159dfb5acb
Revert "Reduce duplicate peer traffic for ledger data ( #5126 )" ( #5300 )
...
This reverts commit dd5e6559dd . It has
introduced a regression causing slow close times and syncing issues.
A fix will be attempted later.
2025-02-19 18:52:08 -05:00
Olek
43e1d4440e
fix: Switch Permissioned Domain to Supported::yes ( #5287 )
...
Switch Permissioned Domain feature's supported flag from Supported::no to Supported::yes for it to be votable.
2025-02-15 10:08:25 -05:00
Mark Travis
db0fad6826
Log proposals and validations ( #5291 )
...
Adds detailed log messages for each validation and proposal received from the network.
2025-02-14 20:48:12 -05:00