Commit Graph

1666 Commits

Author SHA1 Message Date
CJ Cobb
0babf5bc44 online delete for postgres working 2021-05-20 17:02:20 +00:00
CJ Cobb
24816c021d online delete for cassandra. doesn't crash, but not sure it works 2021-05-20 16:59:50 +00:00
CJ Cobb
ca886fe2c8 add types to make it harder to mix up book index and key index 2021-05-20 16:59:46 +00:00
Nathan Nichols
1de29d3a44 Implement paychannel verify/authorize 2021-05-20 11:08:46 -04:00
Nathan Nichols
8ee213f6bc Subscribe/Unsubscribe RPC handlers (#2)
Subscribe to ledgers, transactions and accounts
2021-05-18 11:06:46 -04:00
CJ Cobb
c39a0a001d Merge pull request #1 from natenichols/accounts
Accounts RPC Handler
2021-05-17 15:16:21 -04:00
Nathan Nichols
280ed3fcfd time database fetches 2021-05-17 13:34:59 -05:00
Nathan Nichols
68a6933583 impliments account RPC handlers 2021-05-17 13:34:59 -05:00
Nathan Nichols
f540ceda35 Adds account_channels RPC 2021-05-17 13:34:59 -05:00
CJ Cobb
e7b212a05c Merge pull request #3 from natenichols/book_offers_v2
Book Offers RPC handler
2021-05-14 15:41:37 -04:00
Nathan Nichols
ed58095029 add a limit 2021-05-14 09:45:31 -05:00
Nathan Nichols
d2815ec32e make keys unique after merge 2021-05-13 11:41:29 -05:00
Nathan Nichols
a288136e69 fix segfault in repair when seq < minSequence 2021-05-13 09:56:37 -05:00
Nathan Nichols
db92f420d9 address comments 2021-05-13 09:06:20 -05:00
Nathan Nichols
cabd9e0c45 fix message 2021-05-13 08:26:42 -05:00
Nathan Nichols
9b8e0bdf99 adjust complete query 2021-05-13 07:43:40 -05:00
Nathan Nichols
f2c7d54b0d address pr feedback 2021-05-13 06:40:23 -05:00
Nathan Nichols
d57cf3a518 add warning 2021-05-12 11:42:53 -05:00
Nathan Nichols
84911f9424 save for testing 2021-05-11 18:16:43 -05:00
Nathan Nichols
d7ce14983a Impliments book_offers in postgres 2021-05-10 15:40:03 -05:00
Nathan Nichols
945598d953 merge master into branch 2021-05-10 15:10:58 -05:00
Nathan Nichols
3faf27fc4f impliment cassandra like fetch in postgres 2021-05-10 15:09:29 -05:00
CJ Cobb
f32af6bb2d various fixes. make shift info optional in config. Properly check book flag ledger is complete 2021-05-07 20:49:42 +00:00
Nathan Nichols
ce49de4fee impliment book offers for async etl 2021-05-06 23:07:52 -05:00
CJ Cobb
144ad5eb19 allow different shifts for books and keys. default to 10 and 20 respectively 2021-05-06 20:13:04 +00:00
CJ Cobb
20b8059151 fix up some issues with async indexer 2021-05-05 20:35:19 +00:00
CJ Cobb
736e0a675f small fixes in CassandraBackend 2021-05-03 21:19:06 +00:00
CJ Cobb
64d0c5d050 async populate caches 2021-05-03 21:18:38 +00:00
CJ Cobb
971437f456 async write to keys and books with recovery and warnings 2021-05-03 21:18:38 +00:00
CJ Cobb
4e58c76eac Fix crashing bug related to account_tx writes 2021-05-03 21:18:36 +00:00
Nathan Nichols
ee763ec1ea merge master 2021-05-03 12:13:50 -05:00
CJ Cobb
c0612e740e Many changes around ledger_data and book_offers
* populate caches on startup
* implement new algorithms for Postgres
* use one shift interval instead of two
* block etl at flag ledger until writes are finished
* write one flag ledger ahead
* abandon ledger_diff component of ledger_data
2021-04-29 21:30:05 +00:00
CJ Cobb
f1ff81ddc5 postgres support for new books and keys tables 2021-04-29 14:51:03 +00:00
CJ Cobb
1f2d670e2b Merge branch 'perf_test_clean' into master_new 2021-04-28 20:33:15 +00:00
CJ Cobb
b734884f20 various improvements around testing 2021-04-28 20:27:52 +00:00
CJ Cobb
8c6fe09590 compilation fix after merge 2021-04-28 20:16:47 +00:00
CJ Cobb
e747c61873 Merge branch 'ledger_data_indexer' into master_new 2021-04-28 20:12:28 +00:00
CJ Cobb
20184527af Merge branch 'postgres_partitioning' into master_new 2021-04-28 19:55:25 +00:00
CJ Cobb
4349668000 Merge branch 'parallel_etl' into master_new 2021-04-28 19:55:08 +00:00
CJ Cobb
5ebc515978 support for read replicas with postgres 2021-04-28 19:02:44 +00:00
CJ Cobb
0cfce33724 drop hash index on objects.ledger_sequence. was making initial ingestion slow 2021-04-28 18:44:21 +00:00
CJ Cobb
40d136b3fc expand primary key on account_transactions to support index only scans. fix account_tx stored procedure 2021-04-28 17:04:00 +00:00
CJ Cobb
3aed708262 make threadpool a class object 2021-04-27 16:19:45 +00:00
Nathan Nichols
3c8ecc01f1 impliment cursor for book_offers 2021-04-26 15:35:29 -05:00
CJ Cobb
3be12dd4b4 time account_tx_full 2021-04-26 14:35:34 +00:00
Nathan Nichols
0bcf3a4601 Order book offers by quality 2021-04-21 23:27:14 -05:00
CJ Cobb
1b7d672427 fix cursor issue with account_tx stored procedure 2021-04-20 17:20:35 +00:00
CJ Cobb
777dbb5826 account_tx stored procedure 2021-04-20 16:09:22 +00:00
CJ Cobb
e833bfb38c simulate async fetch batch transactions 2021-04-16 18:53:05 +00:00
CJ Cobb
5364830224 fix postgres account_tx performance issue 2021-04-16 16:02:44 +00:00