Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rocksdb #29

Merged
merged 93 commits into from
Apr 29, 2022
Merged
Show file tree
Hide file tree
Changes from 89 commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
1cccbba
Initial rocksdb commit
jeffreypicard Dec 7, 2021
2e93b89
Try github action thing
jeffreypicard Dec 7, 2021
619f72c
try local dockerfile
jeffreypicard Dec 7, 2021
6d0887e
asdf
jeffreypicard Dec 7, 2021
4a4fce7
qwer
jeffreypicard Dec 7, 2021
2ee8c62
asdf
jeffreypicard Dec 7, 2021
a2c35c8
Try adding test db with git-lfs
jeffreypicard Dec 7, 2021
0355563
update action
jeffreypicard Dec 7, 2021
beae3d4
cleanup
jeffreypicard Dec 7, 2021
01a9384
Don't hardcode stop on read
jeffreypicard Dec 7, 2021
a3712f0
Progress of reading rocksdb
jeffreypicard Dec 11, 2021
a20951c
fixes and arg test
jeffreypicard Dec 12, 2021
abbc86b
asdf
jeffreypicard Dec 12, 2021
8e4e193
Fix rocksdb iterator and tests
jeffreypicard Dec 12, 2021
946826c
update script
jeffreypicard Dec 12, 2021
9565c94
asdf
jeffreypicard Dec 14, 2021
76f56c1
Better iterator. Need to implement a lot of keys next, and tests, maybe
jeffreypicard Dec 14, 2021
9a0a44e
asdf
jeffreypicard Dec 14, 2021
f248bd3
asdf
jeffreypicard Dec 16, 2021
39f2fa6
asdf
jeffreypicard Dec 24, 2021
4d6f22e
Implementation, testing, and cleanup.
jeffreypicard Jan 10, 2022
ef5a1ce
more tests, prefixes and small refactor
jeffreypicard Jan 10, 2022
235f37f
Another prefix
jeffreypicard Jan 10, 2022
1839def
EffectiveAmount
jeffreypicard Jan 10, 2022
6f7b48a
ActiveAmount
jeffreypicard Jan 10, 2022
3402ece
ActivatedClaimAndSupport
jeffreypicard Jan 12, 2022
6d4615c
PendingActivation
jeffreypicard Jan 13, 2022
dbbf120
ClaimTakeover
jeffreypicard Jan 13, 2022
207ebd5
ClaimExpiration
jeffreypicard Jan 14, 2022
246a044
SupportToClaim
jeffreypicard Jan 14, 2022
9262fac
ClaimToSupport
jeffreypicard Jan 14, 2022
204c0f7
Fix bug with variable length keys
jeffreypicard Jan 14, 2022
f48337e
ChannelToClaim
jeffreypicard Jan 14, 2022
96457ab
ClaimToChannel
jeffreypicard Jan 14, 2022
c3871df
ClaimShortID
jeffreypicard Jan 14, 2022
4db5951
TXOToClaim
jeffreypicard Jan 14, 2022
ee4369c
ClaimToTXO
jeffreypicard Jan 14, 2022
6283d96
BlockHeader
jeffreypicard Jan 14, 2022
5ec2eba
BlockHash
jeffreypicard Jan 15, 2022
9311f85
Undo
jeffreypicard Jan 15, 2022
46cbf22
HashXHistory
jeffreypicard Jan 15, 2022
7893144
Tx and big refactor
jeffreypicard Jan 15, 2022
6d126e8
rest the the keys
jeffreypicard Jan 15, 2022
9c4a3aa
Refactor and starting to add resolve
jeffreypicard Jan 19, 2022
70939ec
asdf
jeffreypicard Feb 3, 2022
cee1aab
Refactor tests and add column families
jeffreypicard Feb 8, 2022
8063cc1
changes
jeffreypicard Feb 18, 2022
0fc4bec
more work on implementing resolve
jeffreypicard Feb 20, 2022
35ddd23
code cleanup, function tests
jeffreypicard Feb 22, 2022
b335c14
small code refactoring
jeffreypicard Feb 22, 2022
78715bc
start building pieces of the test data set for full resolve.
jeffreypicard Feb 22, 2022
8d11351
Export constant, add test
jeffreypicard Feb 22, 2022
c73c078
another test
jeffreypicard Feb 22, 2022
20a426a
TestGetTxHash
jeffreypicard Feb 22, 2022
f282294
more tests
jeffreypicard Feb 22, 2022
d96cfc6
more tests
jeffreypicard Feb 23, 2022
0ee35bb
More tests
jeffreypicard Feb 24, 2022
2658bf5
Refactor db functions into three files
jeffreypicard Feb 28, 2022
3c99296
added slice backed stack, need to fix tests
jeffreypicard Feb 28, 2022
cff780b
fix some issues with test suite
jeffreypicard Feb 28, 2022
44fb309
some cleanup and adding arguments and db load / refresh to server com…
jeffreypicard Mar 2, 2022
16e6b0a
fix some bugs, start using logrus for leveled logging, upgrade to go …
jeffreypicard Mar 5, 2022
f538271
logrus, protobuf updates, resolve grpc endpoint
jeffreypicard Mar 7, 2022
2a998ce
don't run integration test with unit tests
jeffreypicard Mar 7, 2022
5402853
signal handling and cleanup functions
jeffreypicard Mar 7, 2022
b0e2703
signal handling code files
jeffreypicard Mar 7, 2022
ac77edc
Unit tests for db stack
jeffreypicard Mar 8, 2022
7d49294
reorganize bisect function so we lock it properly
jeffreypicard Mar 8, 2022
c66d07e
fix txcounts loading
jeffreypicard Mar 9, 2022
b080ed3
cleanup some logic around iterators and fix a bug where I was running…
jeffreypicard Mar 9, 2022
994f018
add some metrics
jeffreypicard Mar 10, 2022
f552065
cleanup
jeffreypicard Mar 10, 2022
2234921
blocking and filtering implemented
jeffreypicard Mar 10, 2022
d68a671
add params for blocking and filtering channels and streams
jeffreypicard Mar 10, 2022
05d7c56
updates and fixes for integration tests
jeffreypicard Mar 17, 2022
39bc858
use newer version of lbry.go when possible
jeffreypicard Mar 22, 2022
080f003
Add height endpoint and move string functions internal
jeffreypicard Mar 23, 2022
7410f6a
remove gitattributes, unused
jeffreypicard Mar 23, 2022
65d98df
some cleanup
jeffreypicard Mar 24, 2022
e2d1fa8
more cleanup / refactor. almost ready for another review
jeffreypicard Apr 6, 2022
167f62c
More cleanup
jeffreypicard Apr 11, 2022
e2f869f
use chainhash.Hash types from lbcd where appropriate
jeffreypicard Apr 11, 2022
211b834
update github action to go-1.17.8
jeffreypicard Apr 11, 2022
1e71100
update go version needed
jeffreypicard Apr 11, 2022
d1328fd
trying to fix these builds
jeffreypicard Apr 11, 2022
8be5164
cleanup
jeffreypicard Apr 11, 2022
8cb0d1f
Merge branch 'master' into feature/27/jeffreypicard/rocksdb
jeffreypicard Apr 11, 2022
f9011c7
trying to fix memory leak
jeffreypicard Apr 14, 2022
ca840ae
fix memory leak (iterator never finished so cleanup didn't run)
jeffreypicard Apr 14, 2022
ef5f42b
changes per code review
jeffreypicard Apr 20, 2022
820182b
remove lbry.go v2
jeffreypicard Apr 29, 2022
312582a
rename sort.go search.go
jeffreypicard Apr 29, 2022
0dd3c24
fix test
jeffreypicard Apr 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/build-short.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.16.5
- run: go build .
- run: go test -v -race ./...
- name: Checkout
uses: actions/checkout@v2
- name: Build and Test
uses: ./
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: 'Build and Test'
description: 'Build and test hub'
runs:
using: 'docker'
image: 'jeffreypicard/hub-github-action'
Loading