1052 Commits

Author SHA1 Message Date
CJ Cobb
95a35caf49 don't publish stale data 2022-01-26 20:49:27 +00:00
CJ Cobb
bc131f666a General purpose function to retry on database timeout 2022-01-25 20:10:28 +00:00
CJ Cobb
da96608feb add diff flag to ledger command 2022-01-25 12:11:05 -05:00
Michael Legleux
bdfd07f154 clang-format (#86)
* clang-format

* ignore clang-format commit; run clang-format in github actions
2022-01-24 15:26:53 -05:00
Michael Legleux
54a21481d8 build tests optionally (#87) 2022-01-20 11:13:16 -05:00
CJ Cobb
23f1699e3b partition successor table in Postgres 2022-01-13 18:39:23 +00:00
CJ Cobb
d6e8e0bcde Bug fixes
* Handle empty ranges in initial download
* Don't skip records in last marker
* Add identifier for timed out Cassandra writes
2022-01-13 18:38:23 +00:00
CJ Cobb
6e6f47421d Postgres fixes (#84)
* Postgres fixes

* Create partial index for ledger_diffs, to avoid indexing the first
  ledger's objects

* Don't write duplicate keys to successor table

* default to 4 markers when syncing cache

* remove isFirst from writeLedger interface
2022-01-07 14:48:48 -05:00
Michael Legleux
628ede5bdb externalProject for cmake < 20; move more stuff out root cmakelists.txt (#81) 2022-01-06 11:11:12 -05:00
Nathan Nichols
c3c248734f Unwrap result when forwarding (#78)
* fix error formatting for forwarded responses

* unwrap result when forwarding successful responses
2022-01-05 15:06:47 -05:00
CJ Cobb
49c7c9989f Forward client IP to rippled when proxying (#77) 2022-01-05 14:51:00 -05:00
Nathan Nichols
41e412302b Report RPC counts in server_info (#72) 2022-01-05 12:58:17 -05:00
Michael Legleux
2f0b3235ee CMake Refactor and Github Actions Hook 2022-01-05 10:36:56 -05:00
Michael Legleux
aa65d1669d Stop rebuilding everything everytime (#73) 2022-01-04 16:40:23 -05:00
CJ Cobb
5544783903 Update README.md 2022-01-04 11:59:32 -05:00
Nathan Nichols
9c93e948f5 refactor account_tx (#70)
Revert compound partition key to avoid large rows.
2022-01-03 15:47:56 -05:00
CJ Cobb
c7e31aff56 Add state data cache and successor table. Remove keys table
* Adds a cache for the most recently validated ledger state
* Replaces the keys table with successor table
* Adds support for ledger diffs in the database
* Removes BackendIndexer
2021-12-20 14:40:23 -05:00
Nathan Nichols
e930ff04df Refactors subscription manager (#52)
* Replaces mutexes with asio strands
2021-12-14 11:24:10 -05:00
Nathan Nichols
a449b7de54 Handle case where params is null (#65)
* if request does not have parameters, set params to empty [{}]
2021-12-08 15:51:00 -08:00
Nathan Nichols
d88bf480a1 changes config option to num_markers 2021-12-08 15:49:57 -08:00
natenichols
942754f4f0 writes without threadsafequeue 2021-12-08 15:49:57 -08:00
natenichols
cd9a321da6 make download_ranges configurable, defaults to 16 2021-12-08 15:49:57 -08:00
natenichols
b070d44ab9 reset flushInterval 2021-12-08 15:49:57 -08:00
natenichols
5e365642ad parallelizes download 2021-12-08 15:49:57 -08:00
Scott Branson
e2da960cda protobuf v2 is required. 2021-12-07 18:30:42 -05:00
Wietse Wind
a9edd2e2c1 Remove ledger range spaces (server_info, complete_ledgers)
For native rippled compatibility
2021-12-07 17:01:55 -05:00
CJ Cobb
8e52134a21 point at rippled fork 2021-12-06 17:41:18 -05:00
Wietse Wind
8b2cbec247 Install cmake, mkdir 2021-12-06 12:27:59 -05:00
CJ Cobb
4876d06105 Add comment about project status 2021-12-05 20:26:42 -05:00
CJ Cobb
0db821c0e1 remove cmake step command 2021-12-05 13:57:28 -05:00
manoj
93ae1887cf Update README.md
Adding steps to build Clio from scratch on Ubuntu 20
2021-12-05 13:56:49 -05:00
Nathan Nichols
366577b3f0 fetch content from ripple/rippled develop 2021-10-21 11:15:35 -04:00
CJ Cobb
694fb6b1fd fix gcc 9.3 compilation issue 2021-10-14 16:31:18 -04:00
CJ Cobb
4d17b66966 add example config for cloud cassandra 2021-10-14 15:57:09 -04:00
CJ Cobb
652af9d2a8 Remove mention of rippled as submodule 2021-10-14 15:31:31 -04:00
Nathan Nichols
1059f99823 rebases ssl source 2021-10-06 16:29:03 -04:00
Nathan Nichols
c8681cc0fa Destroy websocket on reconnect when using SslETLSource 2021-10-06 16:29:03 -04:00
Nathan Nichols
ec7608680e remove unneeded logs 2021-10-06 16:29:03 -04:00
Nathan Nichols
261271fa67 Add onSslHandshake for SSL ETLSource 2021-10-06 16:29:03 -04:00
Nathan Nichols
0795ff1d6a rebases ETLSource 2021-10-06 16:29:03 -04:00
Nathan Nichols
7bd4e5e3ce rebases Listener 2021-10-06 16:29:03 -04:00
CJ Cobb
728eb05cd2 handle case where fetchLedgerPage times out and ledger is incomplete 2021-10-05 19:13:59 -04:00
CJ Cobb
8966178702 add upper bound to time spent in fetchLedgerPage 2021-10-05 18:53:53 -04:00
CJ Cobb
8e15adcd74 fix issue with account_tx stored procedure 2021-10-05 18:50:46 -04:00
CJ Cobb
2cb74ae706 fix recursion issue with fetchLedgerPage 2021-10-05 18:30:11 -04:00
Edward Hennis
e67ea1afb6 Fix missing override 2021-10-04 18:38:43 -04:00
Edward Hennis
edcb52dcf6 Test changes 2021-10-04 18:24:54 -04:00
CJ Cobb
5121efe1d6 change peekNodes() to getNodes() 2021-10-02 08:47:36 -04:00
CJ Cobb
bc9a0227a6 fix warning about accountTxSchema 2021-10-01 14:42:10 -04:00
CJ Cobb
a6d90cac60 Use FetchContent instead of git submodule to include xrpl_core 2021-10-01 11:13:45 -04:00