graphsense-lib 2.12.2
·
265 commits
to master
since this release
[2.12.2] 2026-05-07
Library (v2.12.2)
Added
- Batched tag-summary lookup for the CoinJoin/Wasabi-1.x exchange-FP-suppression heuristic. New tagstore facade
TagstoreDbAsync.get_tags_by_subjectids(subject_ids, groups, network=None)runs a singleTag.identifier IN (:ids)query and returnsDict[subject_id, List[TagPublic]]. New service methodTagsService.get_tag_summaries_by_subject_ids(network, subject_ids, tagstore_groups, include_best_cluster_tag=False)returnsDict[subject_id, TagSummary]using ≤2 Postgres queries (one for direct tags; one for cluster-definer tags viaget_best_cluster_tags_for_clusterswhen requested). Cluster-id resolution runs upfront against Cassandra (separate pool) so no fan-out hits the tagstore pool.
Changed
_any_input_is_exchangeheuristic now calls the batched path, replacing the previous per-addressgather_boundedovertags_service.get_tag_summary_by_address. Postgres traffic per heuristic check drops from2N+1to≤2queries regardless of the number of inputs.CoinJoinDbCallbacks.get_tag_summaryrenamed toget_tag_summarieswith batched signature(currency, [subject_ids]) -> Dict[subject_id, TagSummary]. The only caller (txs_service) is updated; external code constructingCoinJoinDbCallbacksdirectly must follow.
Build / packaging
Changed
- Docker version computation moved to the host. The Dockerfile no longer COPYs
.git/into the image. setuptools_scm now readsSETUPTOOLS_SCM_PRETEND_VERSION_FOR_GRAPHSENSE_LIB, computed on the host/runner where the full worktree and tags are available.make build-dockerand both GitHub Actions workflows (docker-build.ymlsmoke test,github-packages-publish.yamldeploy) compute & pass the build-arg. Nofallback_version— builds without the arg fail loudly rather than ship a sentinel-versioned image. Fixes images being labelled2.13.0.dev0+gdb0370179.dYYYYMMDDeven when built from a clean release tag, caused by the previous selective-COPY pattern leaving the in-container git index reporting deleted tracked files.
Web API + Python client (webapi-2.12.0)
No changes.
Full Changelog: v2.12.1...v2.12.2