Commit Graph

415 Commits

Author SHA1 Message Date
CJ Cobb
7272af91f2 change port in example config to 51233 (#131) 0.1.0 2022-03-22 18:53:37 -04:00
CJ Cobb
b7ff84ad21 Remove postgres from example config (#129) 2022-03-22 18:47:06 -04:00
CJ Cobb
0b2d192f9c change cjcobb23 to XRPLF (#127) 2022-03-22 16:52:16 -04:00
CJ Cobb
524859304c Update status in README 2022-03-22 16:15:42 -04:00
natenichols
02f53ef7fd add RELEASENOTES.md 2022-03-22 13:10:40 -07:00
CJ Cobb
65c58c5411 Add license and copyright 2022-03-22 15:54:41 -04:00
CJ Cobb
ee1b08b99c remove mentions of postgres from README 2022-03-22 15:19:35 -04:00
CJ Cobb
55668d7daa add experimental flag to config in unit tests 2022-03-22 10:17:55 -07:00
CJ Cobb
3ed332c0a0 Require special flag to use Postgres 2022-03-22 09:30:43 -07:00
CJ Cobb
f3acfc8770 Build using rippled develop branch 2022-03-21 21:57:26 -04:00
Nathan Nichols
1d5c482d9c Make Clio RPCs more consistent with rippled (#110)
* parse ledger_index as number

* allow websocket to use "command" or "method"

* mark all non-forwarded responses as validated

* dont mark forwarded errors as successful

* reduce forwarding Websocket expiration 30->3 seconds

* fix merge conflict in test.py

* adds ledger_current and ledger_closed

* deserialize `taker_gets_funded` into amount json

* limit account RPCs by number of objects traversed

* assign result correctly
2022-03-21 18:28:03 -05:00
CJ Cobb
945222840b change etl failover timeout to 10 seconds 2022-03-21 13:57:35 -07:00
CJ Cobb
39459ef6da refactor publish logic 2022-03-21 13:57:35 -07:00
CJ Cobb
cdc882d33e refactor logic for timeout on update 2022-03-21 13:57:35 -07:00
CJ Cobb
2d5eb04dd1 clean up sync interval logic in CassandraBackend 2022-03-21 13:57:35 -07:00
CJ Cobb
d3681df253 publish ledgers closed in the last ten minutes 2022-03-21 13:57:35 -07:00
CJ Cobb
b1add848f4 add etl info to server_info response 2022-03-21 13:57:35 -07:00
CJ Cobb
bcd59ddf73 generate cursors for cache download with configurable number of diffs 2022-03-21 13:57:35 -07:00
CJ Cobb
f8437b9ba4 proper handling of deleted objects 2022-03-21 13:57:35 -07:00
CJ Cobb
f41bfa3715 only return non-deleted object 2022-03-21 13:57:35 -07:00
CJ Cobb
7c6979ae57 optimized ledger_data 2022-03-21 13:57:35 -07:00
CJ Cobb
16e3c87dcc don't create strands for cache download. output cache info in server_info 2022-03-21 13:57:35 -07:00
CJ Cobb
15505905cb populate cache using coroutines. optionally disable cache 2022-03-21 13:57:35 -07:00
CJ Cobb
6fe957ef8f cache fixes. remove defer reads flag. check latest sequence in etl 2022-03-11 20:01:39 -05:00
CJ Cobb
59a0b47df4 fix wrong loop index in for loop 2022-03-10 16:55:25 -05:00
CJ Cobb
8f1895c099 better logging on corrupt successor table 2022-03-10 16:47:42 -05:00
CJ Cobb
48de81a4de log missing object in fetchLedgerPage 2022-03-10 16:09:28 -05:00
CJ Cobb
16f0159122 fix off by one error in read only monitor 2022-03-10 10:10:32 -05:00
CJ Cobb
1c3e7db8a0 init latestSequence 2022-03-09 13:54:10 -05:00
CJ Cobb
a8a87c2cff parallel cache population 2022-03-09 09:34:16 -08:00
CJ Cobb
8b044245d5 Update README.md 2022-03-08 00:46:14 -05:00
CJ Cobb
572fed44c2 Delete redundant paragraph in README 2022-03-08 00:37:09 -05:00
CJ Cobb
1510f24f4b ETL fixes
* Don't use cache if cache is more recent than extracted ledger
* Use hardFetchLedgerRangeNoThrow exclusively in ETL, to prevent race
  condition
2022-03-08 00:26:21 -05:00
CJ Cobb
ce01414fb3 Catch database timeout in coroutine 2022-03-07 15:55:48 -05:00
CJ Cobb
9dda99f70a adjust log level of cache miss/hit messages 2022-03-07 15:55:48 -05:00
CJ Cobb
b332c388d2 Load cache from our own database 2022-03-07 15:55:42 -05:00
CJ Cobb
a6afbd0945 only print response when using call argument with test.py 2022-03-07 15:42:40 -05:00
CJ Cobb
799bf58c95 Check optional before dereferencing 2022-03-04 16:02:20 -05:00
CJ Cobb
b3948590f8 fix sync interval failover bug 2022-03-04 10:00:45 -05:00
CJ Cobb
15004d80ee Log AsyncCallData error at error level 2022-03-03 21:50:13 -05:00
CJ Cobb
a1fe4858b5 Only launch thread to download cache once. Fix parent ledger check 2022-03-03 15:17:38 -05:00
CJ Cobb
60b4dc5313 Update README.md 2022-03-03 11:24:31 -05:00
CJ Cobb
838dda6b2c change coro-client to clio-client 2022-03-03 08:24:01 -08:00
CJ Cobb
f84733cb20 refactor publish sequence logic for read only 2022-03-03 08:24:01 -08:00
natenichols
d9741c7c80 Set X-User header where clio is a websocket client 2022-03-03 08:24:01 -08:00
CJ Cobb
be1d1a13be more aggressive postgres partitioning 2022-03-03 08:24:01 -08:00
CJ Cobb
b170ecc990 make sync interval for Cassandra configurable 2022-03-03 08:24:01 -08:00
Nathan Nichols
3db9db9354 Fix memory errors (#108)
* frees getUint64Tuple tuple iterator

* explicitly create strand in synchronous()
2022-03-01 17:13:28 -06:00
CJ Cobb
4839e0d58b Update clang-format to version 11 2022-03-01 17:31:28 -05:00
Michael Legleux
06e8c87033 Quiet postgres (#107)
* set cxx_std_20 only for libclio

* Be explicit with requiring ExternalProject

* Specify Ubuntu 20.04's cmake version exactly

* quiet postgres install step
2022-03-01 15:03:21 -05:00