-
Notifications
You must be signed in to change notification settings - Fork 61
Scale the DAG #908
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
Open
bitcoin-coder-bob
wants to merge
66
commits into
master
Choose a base branch
from
bob/dag-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Scale the DAG #908
Changes from 22 commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
2b42b93
dag depth, markers, tests
bitcoin-coder-bob bed30a7
recursive CTE query for descendant markers, sweep test, prefetchVtxos…
bitcoin-coder-bob e8fbb86
testGetVtxoChainWithMarkerOptimization, linting
bitcoin-coder-bob e39e4d2
badger impl, migration file renames, marker_test.go
bitcoin-coder-bob 94adccb
change vtxo table marker column to be JSONB to hold >=1 marker
bitcoin-coder-bob 5c4ebc6
remove serivce.go markerStore nil checks, rearrange sql statements, lint
bitcoin-coder-bob 7f613f1
swept column from vtxo table removed
bitcoin-coder-bob 395e128
bulksweepmarkers, sweep all of a vtxo's markers
bitcoin-coder-bob cc93afb
bulk add new markers and vtxos
bitcoin-coder-bob 9588705
new vtxos get markers set in AddVtxos
bitcoin-coder-bob 18932e9
populate MarkerIds in getNewVtxosFromRound, createCheckpointSweepTask…
bitcoin-coder-bob 56f6cd1
linted with go1.25.7
bitcoin-coder-bob c706f56
fix github action for linter version
bitcoin-coder-bob a88e895
github action linter to use latest golangci/golangci-lint-action@v8
bitcoin-coder-bob 2a737f6
revert lint changes
bitcoin-coder-bob 691480f
Merge branch 'master' into bob/dag-1
bitcoin-coder-bob bfa79c7
migration to ensure each vtxo has at least 1 marker, dust vtxos bulk …
bitcoin-coder-bob 2fa7689
Tests
bitcoin-coder-bob bb6d7dc
more tests
bitcoin-coder-bob 35c1944
20k depth test
bitcoin-coder-bob 38a7945
more integration tests in service_test.go
bitcoin-coder-bob 7d4d296
add marker for dust
bitcoin-coder-bob 09f331d
safe copy, db tx usage, idx_marker_parent_markers index
bitcoin-coder-bob 1122bd9
depthKnown, markersToMarshal fix
bitcoin-coder-bob bd5e93c
parentMarkerIds emply slice setting, test fix
bitcoin-coder-bob 0046567
Merge branch 'master' into bob/dag-1
bitcoin-coder-bob 307269e
lint fixes
bitcoin-coder-bob a6f0d8c
test optimizations, test comments
bitcoin-coder-bob fe8a755
sqlite json_each, badger touchups
bitcoin-coder-bob 55618c4
cursor-based pagination for GetVtxoChain with lazy marker-window loading
bitcoin-coder-bob 4dddd82
add end-to-end pagination tests and fix early termination bug
bitcoin-coder-bob 49ed51c
Merge origin/master into bob/dag-1
bitcoin-coder-bob dc70231
make proto
bitcoin-coder-bob ae19758
Fix SweptAt timestamps, GetVtxosByArkTxid queries, and dust marker sweep
bitcoin-coder-bob d3de56e
Merge branch 'master' into bob/dag-1
bitcoin-coder-bob b7a8089
merge with master
bitcoin-coder-bob de7518f
merge with master to fix conflict in utils_test.go
bitcoin-coder-bob 9463acb
make lint
bitcoin-coder-bob 6905b83
Merge branch 'master' into bob/dag-1
bitcoin-coder-bob eabad6f
refactor marker logic into domain and carry depth via events
bitcoin-coder-bob 678ca28
Merge branch 'master' into bob/dag-1
bitcoin-coder-bob fa0bf77
GetReadyUpdate return type fix
bitcoin-coder-bob 3231064
log warning on marker window error
bitcoin-coder-bob 86f9190
db migration to use milliseconds for swept_at
bitcoin-coder-bob ce2ef67
linting
bitcoin-coder-bob f13064c
optimize GetVtxoChain with marker-based bulk preloading (#973)
bitcoin-coder-bob 2b8afb6
Merge branch 'master' into bob/dag-1
bitcoin-coder-bob f7cfde2
add benchmarks and weird-tree tests for GetVtxoChain
bitcoin-coder-bob 8d8faba
Merge branch 'master' into bob/dag-1
bitcoin-coder-bob 373eeec
lint
bitcoin-coder-bob 453417e
use offchainTxCache to handle test reace condition
bitcoin-coder-bob 69879d0
bulk-fetch offchain txs in walkVtxoChain to reduce DB round-trips (#1…
bitcoin-coder-bob 40ff9f8
Merge branch 'master' into bob/dag-1
bitcoin-coder-bob 7bb2a6a
fix badger fragile error matching
bitcoin-coder-bob a266382
fix marker sweep, SQLite atomicity, token TTL, and retry bounds
bitcoin-coder-bob b9f58d8
HMAC-sign pagination cursors to prevent auth bypass
bitcoin-coder-bob 6833a6c
fix checkpoint sweep over-reach with per-outpoint tracking
bitcoin-coder-bob 2ff4b78
fix benchmark metrics, SQL safety, and auth/marker edge cases
bitcoin-coder-bob 30cc8c6
fix GetAllChildrenVtxos sibling over-reach and swept_vtxo down migrat…
bitcoin-coder-bob 54924c0
fix hardcoded vout=0 when extracting leaf VTXO outpoints for sweep
bitcoin-coder-bob 2d8c1ba
restore swept on rollback, fix isActive, document dual sweep path
bitcoin-coder-bob f6f3d65
Merge master into bob/dag-1
bitcoin-coder-bob e0d0c0e
Fix RepoManager interface stubs and test pointer dereference after ma…
bitcoin-coder-bob 4bf8b90
dispatch batch update handler for non-ended rounds
bitcoin-coder-bob e8d55da
fix marker over-reach in batch sweep, add chain walk bound
bitcoin-coder-bob 52ff7a2
drop WalletType from vtxo_chain_test, removed from InitArgs in master
bitcoin-coder-bob File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.