rocksdb #29

Merged
jeffreypicard merged 93 commits from feature/27/jeffreypicard/rocksdb into master 2022-04-29 17:04:01 +02:00

93 commits

Author SHA1 Message Date
Jeffrey Picard
0dd3c2483e fix test 2022-04-29 15:00:48 +00:00
Jeffrey Picard
312582a3dc rename sort.go search.go 2022-04-29 14:51:03 +00:00
Jeffrey Picard
820182b4a3 remove lbry.go v2 2022-04-29 14:46:33 +00:00
Jeffrey Picard
ef5f42b199 changes per code review 2022-04-20 18:29:37 +00:00
Jeffrey Picard
ca840aea7f fix memory leak (iterator never finished so cleanup didn't run) 2022-04-14 02:18:08 +00:00
Jeffrey Picard
f9011c7d52 trying to fix memory leak 2022-04-14 00:25:37 +00:00
Jeffrey Picard
8cb0d1fdb8
Merge branch 'master' into feature/27/jeffreypicard/rocksdb 2022-04-11 13:10:06 -04:00
Jeffrey Picard
8be516402b cleanup 2022-04-11 17:04:28 +00:00
Jeffrey Picard
d1328fd19a trying to fix these builds 2022-04-11 15:09:08 +00:00
Jeffrey Picard
1e71100c70 update go version needed 2022-04-11 14:50:32 +00:00
Jeffrey Picard
211b8349b2 update github action to go-1.17.8 2022-04-11 14:41:35 +00:00
Jeffrey Picard
e2f869f51f use chainhash.Hash types from lbcd where appropriate 2022-04-11 03:19:59 +00:00
Jeffrey Picard
167f62c845 More cleanup 2022-04-11 01:40:29 +00:00
Jeffrey Picard
e2d1fa8558 more cleanup / refactor. almost ready for another review 2022-04-06 19:53:43 +00:00
Jeffrey Picard
65d98dfaa4 some cleanup 2022-03-24 18:47:58 -04:00
Jeffrey Picard
7410f6a714 remove gitattributes, unused 2022-03-23 16:02:00 -04:00
Jeffrey Picard
080f00399a Add height endpoint and move string functions internal 2022-03-23 15:46:22 -04:00
Jeffrey Picard
39bc858e65 use newer version of lbry.go when possible 2022-03-22 11:50:01 -04:00
Jeffrey Picard
05d7c5656c updates and fixes for integration tests 2022-03-17 10:48:11 -04:00
Jeffrey Picard
d68a67133b add params for blocking and filtering channels and streams 2022-03-10 13:49:01 -05:00
Jeffrey Picard
2234921d1e blocking and filtering implemented 2022-03-10 13:31:54 -05:00
Jeffrey Picard
f5520656e5 cleanup 2022-03-10 16:12:08 +00:00
Jeffrey Picard
994f0180bc add some metrics 2022-03-10 15:58:33 +00:00
Jeffrey Picard
b080ed3476 cleanup some logic around iterators and fix a bug where I was running two detect changes threads 2022-03-09 21:41:38 +00:00
Jeffrey Picard
c66d07e8cc fix txcounts loading 2022-03-09 18:09:03 +00:00
Jeffrey Picard
7d492948ce reorganize bisect function so we lock it properly 2022-03-08 18:29:24 +00:00
Jeffrey Picard
ac77edcace Unit tests for db stack 2022-03-08 17:21:07 +00:00
Jeffrey Picard
b0e270377a signal handling code files 2022-03-07 20:26:25 +00:00
Jeffrey Picard
5402853976 signal handling and cleanup functions 2022-03-07 20:25:56 +00:00
Jeffrey Picard
2a998ce850 don't run integration test with unit tests 2022-03-07 19:32:27 +00:00
Jeffrey Picard
f5382715bf logrus, protobuf updates, resolve grpc endpoint 2022-03-07 19:28:36 +00:00
Jeffrey Picard
16e6b0a021 fix some bugs, start using logrus for leveled logging, upgrade to go 1.17, run go mod tidy 2022-03-05 00:51:36 +00:00
Jeffrey Picard
44fb309a7b some cleanup and adding arguments and db load / refresh to server command 2022-03-02 10:39:06 -05:00
Jeffrey Picard
cff780bc74 fix some issues with test suite 2022-02-28 16:09:54 -05:00
Jeffrey Picard
3c99296f8b added slice backed stack, need to fix tests 2022-02-28 15:23:06 -05:00
Jeffrey Picard
2658bf50ff Refactor db functions into three files 2022-02-28 12:56:22 -05:00
Jeffrey Picard
0ee35bbeee More tests 2022-02-23 19:43:52 -05:00
Jeffrey Picard
d96cfc6638 more tests 2022-02-23 17:26:43 -05:00
Jeffrey Picard
f282294e07 more tests 2022-02-22 13:12:34 -05:00
Jeffrey Picard
20a426a6cd TestGetTxHash 2022-02-22 12:34:23 -05:00
Jeffrey Picard
c73c078c26 another test 2022-02-22 12:12:19 -05:00
Jeffrey Picard
8d1135189d Export constant, add test 2022-02-22 12:02:10 -05:00
Jeffrey Picard
78715bc128 start building pieces of the test data set for full resolve. 2022-02-22 07:22:00 -05:00
Jeffrey Picard
b335c14b7b small code refactoring 2022-02-22 06:52:17 -05:00
Jeffrey Picard
35ddd230c2 code cleanup, function tests 2022-02-21 19:21:18 -05:00
Jeffrey Picard
0fc4beccc6 more work on implementing resolve 2022-02-20 08:03:27 -05:00
Jeffrey Picard
8063cc1c56 changes 2022-02-18 05:15:00 -05:00
Jeffrey Picard
cee1aab843 Refactor tests and add column families 2022-02-08 12:50:37 -05:00
Jeffrey Picard
70939ecfda asdf 2022-02-03 14:18:00 -05:00
Jeffrey Picard
9c4a3aa690 Refactor and starting to add resolve 2022-01-19 12:30:05 -05:00
Jeffrey Picard
6d126e82df rest the the keys 2022-01-15 16:07:19 -05:00
Jeffrey Picard
78931448e6 Tx and big refactor 2022-01-15 07:30:38 -05:00
Jeffrey Picard
46cbf2280d HashXHistory 2022-01-15 01:14:30 -05:00
Jeffrey Picard
9311f859c8 Undo 2022-01-14 20:45:11 -05:00
Jeffrey Picard
5ec2eba2c1 BlockHash 2022-01-14 20:18:51 -05:00
Jeffrey Picard
6283d9672e BlockHeader 2022-01-14 18:41:50 -05:00
Jeffrey Picard
ee4369c3bc ClaimToTXO 2022-01-14 17:40:08 -05:00
Jeffrey Picard
4db595141a TXOToClaim 2022-01-14 16:19:34 -05:00
Jeffrey Picard
c3871df113 ClaimShortID 2022-01-14 14:31:07 -05:00
Jeffrey Picard
96457abd10 ClaimToChannel 2022-01-14 10:27:22 -05:00
Jeffrey Picard
f48337e4b9 ChannelToClaim 2022-01-14 10:03:27 -05:00
Jeffrey Picard
204c0f78d9 Fix bug with variable length keys 2022-01-14 10:02:45 -05:00
Jeffrey Picard
9262facd17 ClaimToSupport 2022-01-14 07:58:51 -05:00
Jeffrey Picard
246a0445f7 SupportToClaim 2022-01-14 07:03:52 -05:00
Jeffrey Picard
207ebd5608 ClaimExpiration 2022-01-13 19:08:51 -05:00
Jeffrey Picard
dbbf1205e7 ClaimTakeover 2022-01-13 18:24:09 -05:00
Jeffrey Picard
6d4615ce31 PendingActivation 2022-01-13 17:38:15 -05:00
Jeffrey Picard
3402eceb8e ActivatedClaimAndSupport 2022-01-12 14:19:07 -05:00
Jeffrey Picard
6f7b48aa44 ActiveAmount 2022-01-10 03:11:55 -05:00
Jeffrey Picard
1839def7e6 EffectiveAmount 2022-01-10 02:26:04 -05:00
Jeffrey Picard
235f37f6dd Another prefix 2022-01-10 01:05:41 -05:00
Jeffrey Picard
ef5a1ce38f more tests, prefixes and small refactor 2022-01-09 23:46:52 -05:00
Jeffrey Picard
4d6f22e09a Implementation, testing, and cleanup.
Implemented more prefixes. Figured out a good test that should work for
all prefixes. Removed binary databases so we can just store human
readable csv files.
2022-01-09 22:09:18 -05:00
Jeffrey Picard
39f2fa6f5f asdf 2021-12-24 07:17:53 -05:00
Jeffrey Picard
f248bd3fab asdf 2021-12-16 11:42:36 -05:00
Jeffrey Picard
9a0a44e688 asdf 2021-12-14 18:40:04 -05:00
Jeffrey Picard
76f56c163a Better iterator. Need to implement a lot of keys next, and tests, maybe
tests needed.
2021-12-14 17:57:02 -05:00
Jeffrey Picard
9565c94d84 asdf 2021-12-14 08:14:42 -05:00
Jeffrey Picard
946826c25c update script 2021-12-12 18:42:55 -05:00
Jeffrey Picard
8e4e193a30 Fix rocksdb iterator and tests 2021-12-12 18:35:16 -05:00
Jeffrey Picard
abbc86b1ac asdf 2021-12-12 12:40:51 -05:00
Jeffrey Picard
a20951ca7f fixes and arg test 2021-12-11 19:24:37 -05:00
Jeffrey Picard
a3712f0c02 Progress of reading rocksdb 2021-12-11 17:22:45 -05:00
Jeffrey Picard
01a938487a Don't hardcode stop on read 2021-12-07 07:26:00 -05:00
Jeffrey Picard
beae3d4cb2 cleanup 2021-12-07 07:05:01 -05:00
Jeffrey Picard
0355563fd8 update action 2021-12-07 06:59:58 -05:00
Jeffrey Picard
a2c35c8ace Try adding test db with git-lfs 2021-12-07 06:45:18 -05:00
Jeffrey Picard
2ee8c62d13 asdf 2021-12-06 22:59:05 -05:00
Jeffrey Picard
4a4fce77cb qwer 2021-12-06 22:39:30 -05:00
Jeffrey Picard
6d0887e1c7 asdf 2021-12-06 22:35:56 -05:00
Jeffrey Picard
619f72ccda try local dockerfile 2021-12-06 22:34:54 -05:00
Jeffrey Picard
2e93b895c0 Try github action thing 2021-12-06 22:31:03 -05:00
Jeffrey Picard
1cccbba7b5 Initial rocksdb commit
Basic reading from rocksdb works
2021-12-06 20:36:12 -05:00