Commit Graph

883 Commits

Author SHA1 Message Date
Nathan Nichols
41e412302b Report RPC counts in server_info (#72) 2022-01-05 12:58:17 -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
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
694fb6b1fd fix gcc 9.3 compilation issue 2021-10-14 16:31:18 -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
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
5f17e59d6b allow publishLedger to run forever 2021-09-24 14:01:55 -04:00
CJ Cobb
9e1d3cdf72 change ETL failover timeout to 2 seconds 2021-09-24 13:29:45 -04:00
CJ Cobb
c47fd1449d remove usused file 2021-09-24 12:14:21 -04:00
CJ Cobb
96c72eec49 remove rippled license 2021-09-24 12:13:11 -04:00
CJ Cobb
a731fef562 add log to file support 2021-09-21 15:19:30 -04:00
CJ Cobb
6b3091a456 Add server_info. Make forwardToRippled return optional 2021-09-21 12:15:10 -04:00
CJ Cobb
3d580784d1 add random and ping 2021-09-17 15:30:36 -04:00
CJ Cobb
5f23a5803b Add missing call to dosGuard_.add 2021-09-14 14:26:54 -04:00
CJ Cobb
9ef54da0ef Implement transaction_entry 2021-09-14 12:10:36 -04:00
CJ Cobb
7d13090d0b add support for transaction_entry 2021-09-14 12:10:36 -04:00
CJ Cobb
8e877ac87c implement noripple_check 2021-09-14 12:10:36 -04:00
CJ Cobb
f18c8f67e2 add gateway_balances. fix bug with account_currencies 2021-09-14 12:10:31 -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
553be19882 add date field to tx response 2021-09-07 10:25:11 -04:00
CJ Cobb
fcb6355c67 don't zero frozen funds when publishing txns 2021-09-01 16:48:16 -04:00
CJ Cobb
f625385f38 don't send transaction more than once on books stream 2021-08-31 16:00:15 -04:00
CJ Cobb
b591c71053 add delivered_amount and owner_funds to streams 2021-08-30 17:10:58 -04:00
CJ Cobb
ce9a2af33c refactor to make WsSession thread safe 2021-08-30 14:21:16 -04:00
CJ Cobb
5427467ce2 fix assert 2021-08-26 19:39:38 -04:00
CJ Cobb
2da0f53709 fix book_offers limit issue and fetchLedgerPage short circuit 2021-08-26 17:40:48 -04:00
CJ Cobb
a81ad20049 Order book refactor
* Add support for snapshot to books stream
* Add helper function for processing order book after db fetch
* Fix bug in isFrozen
2021-08-26 11:10:58 -04:00
CJ Cobb
f4b7a88d95 clean up subscriptions code
* change the way sessions are removed from SubscriptionManager
* make the locking more fine grained
* add a mutex to WsSession to protect concurrent access to the websocket
2021-08-24 17:48:04 -04:00
CJ Cobb
a268b4d0c9 publish modified books. Fix move nullptr from move bug 2021-08-23 17:29:49 -04:00
CJ Cobb
d65bbfc841 first half of support for books stream 2021-08-23 14:44:46 -04:00