Commit Graph

9690 Commits

Author SHA1 Message Date
Denis Angell
0133a4136e add transfer rate 2023-02-06 08:55:46 +00:00
Richard Holland
c2f99e80af uritoken bugfix, TSH for uritoken, make all txns take optional hook parameters 2023-02-03 12:53:06 +00:00
Ed Hennis
e4b17d1cf2 XRPFees: Fee setting and handling improvements (#4247)
* Introduces amendment `XRPFees`
* Convert fee voting and protocol messages to use XRPAmounts
* Includes Validations, Change transactions, the "Fees" ledger object,
  and subscription messages

* Improve handling of 0 drop reference fee with TxQ. For use with networks that do not want to require fees
* Note that fee escalation logic is still in place, which may cause the
  open ledger fee to rise if the network is busy. 0 drop transactions
  will still queue, and fee escalation can be effectively disabled by
  modifying the configuration on all nodes

* Change default network reserves to match Mainnet

* Name the new SFields *Drops (not *XRP)
* Reserve SField IDs for Hooks

* Clarify comments explaining the ttFEE transaction field validation
2023-02-02 16:20:35 -08:00
Richard Holland
fc8695f044 change debug to + to ensure version string is sane when compiled locally 2023-02-02 23:09:13 +00:00
Richard Holland
25e65f739f bug fix server_definitions 2023-02-02 23:08:33 +00:00
Richard Holland
30ce0e3937 Add rpc call server_definitions to rippled. 2023-02-02 21:44:38 +00:00
Richard Holland
c6e4d79a7b fix for https://github.com/Xahau/xahaud/issues/3 2023-02-02 13:16:10 +00:00
Richard Holland
c4b3e69cec remove most versioning logic except .DEBUG 2023-01-31 12:44:54 +00:00
Richard Holland
516c4e9fed Change version string to 0.0.0 ahead of build numbers from GHActions 2023-01-31 10:44:19 +00:00
Richard Holland
d9fba022a6 bug fix 2023-01-30 21:41:20 +00:00
Richard Holland
72fb172649 Add rpc call server_definitions to rippled. 2023-01-30 17:56:43 +00:00
Richard Holland
c164acd3d6 add URIToken deleter for account delete, change blank uri to tfBurn flag for burning 2023-01-30 13:22:06 +00:00
Denis Angell
676480cc44 clang-format 2023-01-30 00:00:11 -05:00
Denis Angell
8ca7a2e2b3 finish tests 2023-01-29 23:52:47 -05:00
Denis Angell
bb1a6d2c35 fix final dest amount 2023-01-29 23:52:38 -05:00
Denis Angell
2c583ffb43 fix finalAmount + guard dest Issuer 2023-01-29 05:49:54 -05:00
Denis Angell
0795d79d9a bad currency guard 2023-01-29 05:47:23 -05:00
Richard Holland
f4f51d0643 add optional integrity hash to the URIToken 2023-01-28 09:31:51 +00:00
Richard Holland
fbafb72262 first version of URIToken amendment 2023-01-27 11:17:43 +00:00
Denis Angell
8eb4589e09 clang-format 2023-01-24 17:36:15 -05:00
Denis Angell
8b6efee476 clang-format 2023-01-24 17:33:05 -05:00
Denis Angell
a0ce24d4e3 precision paychan test 2023-01-24 17:13:10 -05:00
Denis Angell
10c94831e9 update insuficient funds error 2023-01-24 17:12:45 -05:00
Denis Angell
250ed22922 nit 2023-01-24 16:56:13 -05:00
Denis Angell
8a8c980be7 nit 2023-01-24 16:29:55 -05:00
Denis Angell
139d57921a nit 2023-01-24 05:50:17 -05:00
Denis Angell
a145dd7379 todo: fix this failing test 2023-01-24 05:44:51 -05:00
Denis Angell
3b5e4b7e33 add transfer rate 2023-01-24 05:43:35 -05:00
Denis Angell
5f091922c6 clang-format 2023-01-24 09:15:09 +00:00
Denis Angell
d42d965908 clang-format 2023-01-24 09:14:52 +00:00
Denis Angell
776d1fb797 Merge branch 'develop-nonconan' into icv2-super 2023-01-23 22:10:45 -05:00
Scott Schurr
b19287c6d0 Add a unit test for invalid memos (#4287) 2023-01-23 22:04:35 -05:00
Scott Schurr
c50eb7773f RPC tooBusy response has 503 HTTP status if "ripplerpc": "3.0": (#4143)
Fixes #4005

Makes it possible for internal RPC Error Codes to associate
themselves with a non-OK (200) HTTP status code.  There are
quite a number of RPC responses in addition to tooBusy that
now have non-OK HTTP status codes.

The new return HTTP return codes are only enabled by including
"ripplerpc": "3.0" or higher in the original request.
Otherwise the historical value, 200, continues to be returned.
This ensures that this is not a breaking change.
2023-01-23 22:04:22 -05:00
RichardAH
5f12c22fbe featureDisallowIncoming: Opt-out of incoming Checks, PayChans, NFTokenOffers and Trustlines (#4336)
featureDisallowIncoming is a new amendment that would allow users to opt-out of incoming Checks, Payment Channels, NFTokenOffers, and trust lines. This commit includes tests.

Adds four new AccountSet Flags:
1. asfDisallowIncomingNFTOffer
2. asfDisallowIncomingCheck
3. asfDisallowIncomingPayChan
4. asfDisallowIncomingTrustline
2023-01-23 22:03:58 -05:00
Denis Angell
c49406d8c9 clang-format 2023-01-23 21:45:20 -05:00
Denis Angell
15a07d14f8 clang-format 2023-01-23 21:32:47 -05:00
Richard Holland
0aaf98c46e fix up some pre-existing sequence testcases 2023-01-23 13:19:47 +00:00
Richard Holland
039ce53c00 limit state modifications to 256 2023-01-23 12:36:07 +00:00
dangell7
f79b6c7193 fix test name 2023-01-23 12:23:15 +00:00
dangell7
3dd7fd4754 add pre test 2023-01-23 12:23:05 +00:00
dangell7
76779d379c fix no-line bug 2023-01-23 12:22:55 +00:00
dangell7
8a344a39e1 clang-format 2023-01-23 12:21:20 +00:00
dangell7
6569421524 add gateway feature 2023-01-23 12:21:10 +00:00
Richard Holland
beb0710d46 add max state object modification test to state_set unit test 2023-01-23 12:18:00 +00:00
Richard Holland
cbad4e53d2 add a hard cap to the number of modified state entries there can be in a set of hook executions 2023-01-23 10:29:55 +00:00
dangell7
63fa10412e fix test name 2023-01-23 03:35:13 -05:00
dangell7
cd748dec95 add pre test 2023-01-23 03:14:48 -05:00
dangell7
3cf5a3d3d1 fix no-line bug 2023-01-23 03:14:26 -05:00
dangell7
14c68f88ea clang-format 2023-01-23 02:43:52 -05:00
dangell7
8740108f99 add gateway feature 2023-01-23 02:27:17 -05:00