Commit Graph

22 Commits

Author SHA1 Message Date
ledhed2222
6bf8c5bc4e Add NFT-specific data stores and add nft_info API (#98) 2022-07-26 15:01:14 -04:00
CJ Cobb
f8437b9ba4 proper handling of deleted objects 2022-03-21 13:57:35 -07:00
CJ Cobb
ce01414fb3 Catch database timeout in coroutine 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
f84733cb20 refactor publish sequence logic for read only 2022-03-03 08:24:01 -08:00
CJ Cobb
be1d1a13be more aggressive postgres partitioning 2022-03-03 08:24:01 -08:00
undertome
cd407d715e Fix unused variable errors (#101) 2022-02-22 10:07:36 -06:00
undertome
c03b72ad51 Advance DOSGuard (#96)
* Add C++20 features
* Make whitelist const
2022-02-18 17:43:02 -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
bc131f666a General purpose function to retry on database timeout 2022-01-25 20:10:28 +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
CJ Cobb
49c7c9989f Forward client IP to rippled when proxying (#77) 2022-01-05 14:51:00 -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
CJ Cobb
2cb74ae706 fix recursion issue with fetchLedgerPage 2021-10-05 18:30:11 -04:00
CJ Cobb
01aed9f6e8 Add date to transactions table.
* Add date to account_tx response
* Add support for signer_lists to account_info
* Add support for converting seeds to accounts
* Add urlgravatar to account_info
2021-09-09 15:25:54 -04:00
CJ Cobb
cc76ece6f2 add date to transaction tables 2021-09-07 10:46:10 -04:00
CJ Cobb
ea5f9162b7 remove unused offers code 2021-08-06 12:32:06 -04:00
CJ Cobb
9b88f79594 handle forward for account_tx with postgres 2021-07-16 19:38:38 +00:00
CJ Cobb
7040860d8d add forward flag. not handled yet 2021-07-16 02:12:13 +00:00
CJ Cobb
68c96fdc60 fix account_tx iteration 2021-07-15 20:12:20 +00:00
Nathan Nichols
37abec1401 Achieve parity with rippled API 2021-07-06 14:00:20 +00:00
CJ Cobb
056e170a56 Cleanup, documentation, rename some things, cmake changes 2021-06-23 15:04:06 +00:00