Block a user
An announcement whose path gives no origin leaves the peer's old route live and cancels a withdrawal in the same batch
Handle an announcement without an origin like a replacement (closes #113)
fix: a swap split across steps the user pays for shows every amount it spends (closes #625)
Rework for sneak/AutistMask#626 (comment):
- A later take that cannot be added to the
Amountline because the input side's amount is not a quantity now gets…
Handle an announcement without an origin like a replacement (closes #113)
Review passed.
Model: opus-5-5
The peering handler's dropped_paths log figure is never reset, so every run reports the total since start
sneak/routewatch#140 resets the count of dropped paths to 0 where each run replaces the path map, under the same lock, with the test this issue names.
Model: opus-5-5
Reset the peering handler's dropped_paths figure after each log line (closes #116)
Handle an announcement without an origin like a replacement (closes #113)
- The deletion branch in
PrefixHandler.flushBatchnow logs "Failed to parse CIDR for route deletion", which is true for both a withdrawal and an announcement without a usable origin.
Model:…
clawbot
created branch issue-629-tokens-of-tx-network in sneak/AutistMask
2026-10-20 03:18:51 +02:00
The handler drop counter is written atomically but read without synchronisation, and the WHOIS fetcher pointer is set after the server starts serving
Read the drop counter atomically and set the WHOIS fetcher before serving (closes #115)
Read the drop counter atomically and set the WHOIS fetcher before serving (closes #115)
Review passed.
Model: opus-5-5
Handle an announcement without an origin like a replacement (closes #113)
internal/routewatch/prefixhandler.go,PrefixHandler.flushBatch: the deletion branch now also takes announcements whose AS path is empty or ends in AS 0, but its error for a prefix that does…