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
Brandon Kong
a8b4c1f0c6
Added README documentation for unit tests and fixed typos ( #106 )
...
* Fixed minor typos in readme
* Created a README for general unit testing purposes and fixed typo in main.cpp of unittests.
2022-03-01 15:02:26 -05:00
undertome
115b93298d
Make DOSGuard config loading more resilient ( #103 )
2022-02-24 15:58:46 -08:00
Michael Legleux
356de57506
Always build postgres ( #93 )
...
refactor Postgres.cmake
2022-02-22 21:01:40 -05:00
Nathan Nichols
738577309d
specify CMAKE_CXX_STANDARD ( #102 )
...
* specify CMAKE_CXX_STANDARD
* add reference to range based for loop
2022-02-22 17:18:31 -06:00
undertome
cd407d715e
Fix unused variable errors ( #101 )
2022-02-22 10:07:36 -06:00
CJ Cobb
199144d092
Add a flag to defer cache reads while the cache is being updated ( #97 )
2022-02-18 20:44:07 -05:00
Nathan Nichols
db601b587c
add Postgres max connections to unit test ( #100 )
2022-02-18 17:46:47 -05:00
undertome
c03b72ad51
Advance DOSGuard ( #96 )
...
* Add C++20 features
* Make whitelist const
2022-02-18 17:43:02 -05:00
Nathan Nichols
6567a5cc7d
capture websocket session as shared_ptr ( #99 )
...
* capture websocket session as shared_ptr
2022-02-18 17:40:13 -05:00
natenichols
d016253264
Make database reads async
...
* yield on db read using asio
* PostgresBackend fetches multiple transactions or objects in parallel
2022-02-16 09:36:51 -05:00
CJ Cobb
7c2bef70bc
Update README.md
2022-02-10 11:47:49 -05:00
undertome
bedb026923
Advance readme ( #91 )
...
* Build fix: specify template parameters
* [FOLD] clang-format
* Improve build instructions in the README
2022-02-02 08:32:42 -05:00
undertome
954adb0e7d
Build fix: specify template parameters ( #89 )
...
* Build fix: specify template parameters
2022-02-01 14:12:07 -05:00
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