The direct-call scan matched any transaction reaching the DCL contract, which hosts hundreds of pools: 4,881 strangers' swaps queued in the first hour after launch, from 176 signers, each to be fetched from a rate-limited public endpoint — enough on its own to keep the market page starved. A call now counts only when it moves the asset itself or its arguments name the asset's contract, which every pool id holding it does; a buy with any token names the pool, a sell is a transfer of the asset. ref_pending keeps no arguments, so the bad entries cannot be filtered in place: migration 0016 drops every entry not signed by the relay and the scan's cursor, and the scan reads the span again from our node. Refs #39 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015pkwBsR54NRmZyU4QVhvfj
39 lines
892 B
TOML
39 lines
892 B
TOML
[package]
|
|
name = "blackbeard-api"
|
|
description = "REST and WebSocket daemon for blackbeard.observer."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
|
|
[[bin]]
|
|
name = "blackbeard-api"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
blackbeard-core.workspace = true
|
|
blackbeard-data.workspace = true
|
|
blackbeard-entities.workspace = true
|
|
|
|
anyhow.workspace = true
|
|
axum.workspace = true
|
|
chrono.workspace = true
|
|
clap.workspace = true
|
|
figment.workspace = true
|
|
futures-util.workspace = true
|
|
hex.workspace = true
|
|
primitive-types.workspace = true
|
|
scale-value.workspace = true
|
|
serde.workspace = true
|
|
sqlx.workspace = true
|
|
serde_json.workspace = true
|
|
tokio.workspace = true
|
|
tower-http.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
|
|
[dev-dependencies]
|
|
base64.workspace = true
|