Commit Graph

1666 Commits

Author SHA1 Message Date
CJ Cobb
b340f24e2c checkpoint 2021-03-10 17:47:31 -05:00
CJ Cobb
c3b7983618 refactor CassandraBackend async bookkeeping 2021-03-10 16:03:56 -05:00
CJ Cobb
f781bd6c00 ledger rpc accepts more flags. binary options for all rpcs. tests to verify ledger and account_info 2021-03-09 16:33:24 -05:00
CJ Cobb
e3a121e571 bug fixes in both backends. add ledger_range rpc. improve test scripts 2021-03-05 16:46:55 -05:00
CJ Cobb
7a6dfe5967 postgres fixes 2021-03-05 11:25:12 -05:00
CJ Cobb
6bbb5579ca Ledger handler 2021-03-04 14:34:55 -05:00
CJ Cobb
694ec7bfe5 bug fixes. insert objects in batch 2021-03-04 12:50:36 -05:00
CJ Cobb
5606d4a7dd add type field to config. clean up cassandra code more 2021-03-04 10:36:42 -05:00
CJ Cobb
5771b31076 Merge branch 'backend_interface' 2021-03-03 16:58:53 -05:00
CJ Cobb
db09ec23a8 don't write to keys table 2021-03-03 16:50:46 -05:00
CJ Cobb
6d39a5494f implement second version of fetchLedgerPage 2021-03-03 16:48:00 -05:00
CJ Cobb
997e3ac2e7 refactor of CassandraBackend. compiles, not tested 2021-03-03 16:26:34 -05:00
CJ Cobb
308c585801 partial refactor of CassandraBackend 2021-03-02 16:19:14 -05:00
CJ Cobb
8691cff8df rename CassandraFlatMapBackend to CassandraBackend and rename file 2021-03-02 10:23:58 -05:00
CJ Cobb
805bc14994 add cursor and limit to book offers 2021-03-02 10:15:14 -05:00
CJ Cobb
f992140646 implemented postgres queries (need to update schema) 2021-03-01 16:25:47 -05:00
CJ Cobb
6839538b3c postgres writes 2021-03-01 11:53:53 -05:00
CJ Cobb
009688175e cleanup and postgres stubs 2021-02-24 14:28:15 -05:00
CJ Cobb
78c6bde902 clean up ledger page interface. wire up account_tx 2021-02-23 16:13:48 -05:00
CJ Cobb
5534d9c75e created backend interface. Cassandra derives from it 2021-02-23 14:28:38 -05:00
CJ Cobb
3ce651ef52 two ledger data implementations 2021-02-16 13:09:38 -05:00
CJ Cobb
6bda1af3e6 bug fixes 2021-02-16 17:35:57 +00:00
CJ Cobb
5fe031d613 fix num requests outstanding issue 2021-02-12 09:32:38 -05:00
CJ Cobb
2d481c3555 fix accountTx ref counting 2021-02-11 17:23:41 -05:00
CJ Cobb
069fd1a259 fix initial ledger load 2021-02-11 17:09:37 -05:00
CJ Cobb
bb1205fd36 everything in cassandra 2021-02-11 16:46:47 -05:00
CJ Cobb
5205620c49 checkpoint, working on account_tx and ledger 2021-02-10 16:56:21 -05:00
CJ Cobb
1ce82412db add marker to book offers 2021-02-08 10:42:35 -05:00
CJ Cobb
da54bfff73 add data 2021-02-02 11:19:48 -05:00
CJ Cobb
b759e5e90f print key when offer is empty 2021-02-02 11:14:57 -05:00
CJ Cobb
c6556ed67e try catch around creating offer 2021-02-02 10:43:57 -05:00
CJ Cobb
b3731f54e0 fix books table 2021-01-27 15:39:31 -05:00
CJ Cobb
f8185d8b8a change from uint64 to int64 2021-01-27 10:48:15 -05:00
CJ Cobb
689f548fb7 actually handle book_offers 2021-01-27 10:19:48 -05:00
CJ Cobb
ae494e8ee1 book_offers handler 2021-01-27 09:47:13 -05:00
CJ Cobb
d22f3f2dba more logging 2021-01-26 16:19:20 -05:00
CJ Cobb
a684d0d225 add more logging 2021-01-26 16:14:16 -05:00
CJ Cobb
f754ff9f5a book_offers in Cassandra 2021-01-26 12:51:49 -05:00
CJ Cobb
5d233fce1b add more logging 2021-01-21 11:23:21 -05:00
CJ Cobb
eca85b3538 add ref counting for cassandra callbacks 2021-01-21 10:28:46 -05:00
CJ Cobb
176f91e15c keys table, new ledger_data algorithm 2021-01-20 14:39:32 -05:00
CJ Cobb
5dd5c06a70 try to filter out empty objects from ledger_data call 2021-01-15 10:46:59 -05:00
CJ Cobb
e8332b17dc fix bug where binary data is missing from ledger_data 2021-01-13 16:38:07 -05:00
CJ Cobb
091aea9098 add binary option for ledger_data 2021-01-13 11:07:48 -05:00
CJ Cobb
26c5fe9207 build improvements 2021-01-13 11:06:26 -05:00
CJ Cobb
4360d4b219 ledger_data 2021-01-11 15:20:49 -05:00
CJ Cobb
850d7a4a45 account_info doesn't need ledger_index. fix bug where multiple
ledger objects are fetched
2021-01-11 10:16:52 -05:00
CJ Cobb
72add230f6 add basic account_tx handler 2020-12-23 14:48:34 -05:00
CJ Cobb
943cac57ea tx handler 2020-12-23 13:18:39 -05:00
CJ Cobb
251c6f6c49 convert from ripple::Json to boost::json 2020-12-23 10:20:45 -05:00