Alex Kremer
bedca85c78
Add checks for empty array in accounts/accounts_proposed subscriptions ( #387 )
...
Fixes #347
2022-11-08 14:10:07 +00:00
Alex Kremer
39157f8be4
Return account malformed error for invalid accounts ( #388 )
...
Fixes #349
2022-11-08 14:09:29 +00:00
Alex Kremer
3affda8b13
Add offers to the response regardless of it being empty ( #389 )
...
Fixes #351
2022-11-08 14:08:52 +00:00
Alex Kremer
8cc2de5643
Fix nft_sell_offers/nft_buy_offers limit and marker correctness ( #342 )
...
Fixes #335
2022-11-02 19:20:48 +00:00
Shawn
9b74b3f898
Rename NFT offer index to "nft_offer_index" ( #377 )
...
Fixes #380
2022-11-01 17:27:58 +00:00
Alex Kremer
ea2837749a
Implement an abstraction for the config ( #358 )
...
Fixes #321
2022-11-01 16:59:23 +00:00
CJ Cobb
8bd8ab9b8a
Fix bug on cache download from peer when ledger not found ( #370 )
2022-10-26 22:30:39 -04:00
Francis Mendoza
dc89d23e5a
Return badMarket for same currency in taker_gets and taker_pays in book_offers ( #357 )
...
Fixes #269
2022-10-26 19:15:38 +01:00
Francis Mendoza
734c7a5c36
Return malformedOwner for deposit_preauth.owner in ledger_entry ( #345 )
...
Fixes #273
2022-10-26 19:14:40 +01:00
Francis Mendoza
b17ef28f55
Return malformedOwner in ticket.owner for ledger_entry ( #344 )
...
Fixes #274
2022-10-26 19:14:02 +01:00
Francis Mendoza
e56bd7b29e
Add malformedAddress in conditionals ( #343 )
...
Fixes #272
2022-10-26 19:13:00 +01:00
Alex Kremer
5bf334e5f7
Remove postgres support from clio ( #327 )
...
Fixes #310
2022-10-04 18:00:37 +01:00
CJ Cobb
97ef66d130
Allow server to download cache from another clio server ( #246 )
...
* Allow server to download cache from another clio server
* Config takes an array of clio peers. If any of these peers have a
full cache, clio picks a peer at random to download the cache from.
Otherwise, fall back to downloading cache from the database.
2022-10-04 12:29:29 -04:00
Francis Mendoza
4c9c606202
Don't return marker in account_tx when past user specified window ( #282 )
2022-10-04 10:35:38 -04:00
Francis Mendoza
a885551006
Add rpcDST_ISR_MALFORMED to taker_gets conditionals ( #341 )
2022-10-04 10:30:49 -04:00
Francis Mendoza
fae1ec0c8d
Add LimitRange to noripple_check ( #324 )
2022-10-04 10:04:06 -04:00
Michael Legleux
de23f015d6
Mark package release's version string ( #317 )
2022-10-04 10:02:32 -04:00
Francis Mendoza
37f9493d15
Add rpcSRC_CUR_MALFORMED to badTakerPaysCurrency and rpcDST_AMT_MALFORMED to badTakerGetsCurrency ( #268 ) ( #333 )
2022-10-03 15:29:28 -04:00
Francis Mendoza
49387059ef
Add rpcLGR_IDX_MALFORMED error messages to ledger sequence min and max out of range conditionals ( #336 )
2022-10-03 15:28:21 -04:00
Alex Kremer
744af4b639
Implement unique taging of incoming requests ( #311 )
...
Fixes #212
2022-09-29 21:56:29 +01:00
CJ Cobb
db2b9dac3b
Throw error if server bind or listen fails ( #309 )
...
* Throw error if server bind or listen fails
2022-09-29 16:07:33 -04:00
Alex Kremer
ccf73dc68c
Fix ProbingETL toJson to serialize underlying source states ( #325 )
...
Fixes #323
2022-09-28 00:30:56 +01:00
Alex Kremer
3de421c390
Remove useless mutex from BackendInterface and its usage from CassandraBackend ( #326 )
...
Fixes #304
2022-09-28 00:28:18 +01:00
Alex Kremer
d4a9560c3f
Implement subscription for book_changes ( #315 )
...
Fixes #315
2022-09-27 00:20:53 +01:00
CJ Cobb
0ebe92de68
add work queue output to server_info ( #322 )
2022-09-26 14:51:39 -05:00
CJ Cobb
eb1ea28e27
Database read throttle ( #242 )
...
Track current outstanding read requests to the database. When the configured limit is exceeded, reject new RPCs and return rpcTOO_BUSY
2022-09-23 15:43:03 -05:00
ledhed2222
1764f3524e
add nft_history and mark certain APIs as clio-only to improve error ( #255 )
2022-09-15 21:11:29 -04:00
ledhed2222
777ae24f62
Fix issue with assigning values to NFT offers API responses ( #301 )
2022-09-13 15:54:55 -04:00
Alex Kremer
1ada879072
Probing ETL Source ( #292 )
...
* Implement a probing ETL source and do not require SSL certs for SslETLSource (#251 )
Fixes #251
2022-09-12 23:32:13 +01:00
Alex Kremer
e2792f5a0c
Fix compiler warnings ( #306 )
2022-09-12 21:35:30 +01:00
Alex Kremer
97c431680a
Add 20 second timeout for ETLSource websocket ( #297 )
...
Fixes #289
2022-09-12 16:09:46 +01:00
Alex Kremer
0b454a2316
Implement book_changes RPC ( #300 )
...
* Port book_changes RPC call from rippled
* Refactor for readability and modern cpp
2022-09-09 18:08:11 +01:00
CJ Cobb
ac45cce5bd
insert delivered_amount based on close time ( #252 )
2022-09-07 18:28:07 -04:00
CJ Cobb
83a099a547
Fix bug where some ledgers are not being published ( #281 )
...
* The ledger close time can occasionally be a few seconds in the future,
which causes ETL to not publish the ledger, because the age
calculation wraps around and the age is computed as a very large
unsigned integer. This fix rounds to zero when the age would be
negative
2022-09-07 16:17:42 -04:00
CJ Cobb
816625c44e
set grpc max message size to unlimited ( #249 )
2022-08-23 09:30:18 -04:00
ethanlabelle
48e87d7c07
added cache hit rate to server info ( #220 )
2022-08-15 10:20:45 -05:00
CJ Cobb
dfe18ed682
Update version to 1.0.2 ( #245 )
2022-08-11 14:35:49 -04:00
CJ Cobb
709a8463b8
server_info improvements ( #240 )
...
* only return counters and etl info if client is localhost
* move cache and etl info inside info
2022-08-10 15:02:31 -04:00
CJ Cobb
84d31986d1
config file improvements ( #241 )
...
* remove log_to_file param
* change the place of workers
2022-08-10 11:30:43 -04:00
Brandon Kong
d50f229631
Fixed warning message to be XRPL standard compliant ( #229 )
...
All warnings now contain Warning Objects, which have ID, Message, and Details as fields
2022-08-04 13:21:55 -04:00
CJ Cobb
81f7171368
wrap atomics in shared_ptr for cache download ( #230 )
2022-07-29 10:56:08 -04:00
Brandon Kong
6fc4cee195
Updated backend README.md with the latest Cassandra schemas ( #170 )
...
* Updated backend README.md with the latest Cassandra schemas
2022-07-27 12:31:51 -04:00
CJ Cobb
b01813ac3d
change id to object_id in diff response to ledger command ( #218 )
2022-07-26 14:08:54 -05:00
ledhed2222
6bf8c5bc4e
Add NFT-specific data stores and add nft_info API ( #98 )
2022-07-26 15:01:14 -04:00
CJ Cobb
2ffd98f895
Fine tune cache download ( #215 )
...
* Fine tune cache download
* Allow operators to specify the max number of concurrent markers. The
software generates possible markers from ledger diffs, as before, but
only processes a specified number at one time, which caps database
reads and distributes the load more evenly over the entire download.
* Allow operators to specify the page fetch size during the cache
download, which is the number of ledger objects to fetch per marker at
one time.
* Refactor full ledger dump in test.py
2022-07-26 15:00:27 -04:00
CJ Cobb
3edead32ba
remove assert in fetchLedgerPage ( #227 )
2022-07-26 14:35:59 -04:00
Nathan Nichols
28980734ae
ensure lgrInfo is in context.range ( #226 )
2022-07-26 14:35:48 -04:00
ethanlabelle
ce60c8f64d
moved warnings array out of result JSON ( #208 )
2022-07-26 13:39:27 -04:00
Brandon Kong
39ef2ae33c
Fixed 503 response code ( #214 )
...
The rate limiting warning response of Clio now follows the XRPL standard.
2022-07-26 13:39:09 -04:00
Nathan Nichols
d83975e750
report ledger when no marker exists in ledger_data ( #203 )
2022-07-15 13:25:46 -05:00