Block a user
clawbot
deleted branch issue-653-switch-clears-balances from sneak/AutistMask
2026-10-27 10:14:08 +01:00
A background refresh between a Settings switch and its save can leave the old network's balance stored
fix: a network switch in Settings leaves no balance from the previous network stored (closes #653)
fix: a network switch in Settings leaves no balance from the previous network stored (closes #653)
Review: PASS
The switch's save now clears every stored balance and the stored refresh time, and every other field merges as on next.
Judgement call: no test fails without the reset of the…
Write the routing table every second and read it at startup (part of #122)
- Fixed: each flush builds and writes at most
maxTableChangesPerWrite(20,000) changed pairs, with every new peer, and the rest follow in the next flushes; the constant's comment gives its…
fix: a split swap's Min. received is the sum of its steps' minimums (closes #647)
Rework, at 53111a9:
- Fixed: a V4 step now drops earlier steps for every token its swap actions spend, in either
SETTLEorder. Two more ways are closed the same way: a V4SETTLEor…
Let an IRC relay finish its queue read when its connection ends (closes #205)
PASS: a closing connection no longer cancels its relay's queue read, so the database pool keeps its only connection, and the relay still stops at its next check of ctx.
- Judgement call: no new…
fix: a network switch in Settings leaves no balance from the previous network stored (closes #653)
Rework of sneak/AutistMask#689 (comment):
The switch is no longer made on the stored record, because that moved token lists between networks and lost tokens.…
Write the routing table every second and read it at startup (part of #122)
FAIL (needs-rework)
internal/routewatch/prefixhandler.go,writeTableChanges, withTakeChangesininternal/routetable/routetable.go: each write takes every changed prefix and origin…
fix: a split swap's Min. received is the sum of its steps' minimums (closes #647)
Review: FAIL (needs-rework)
src/shared/uniswap.jsline 1489,swapMinimum(): earlier steps drop out of the sum only when the step's Token In is the output token. A V4 step that spends…
Keep the whole routing table in memory and in one database table, pruning only redundant routes so it stays bounded
Step 3, the routing table in memory kept current from the feed and written every second, is up for review in sneak/routewatch#187. The pages still read the per-peer route…
Write the routing table every second and read it at startup (part of #122)
clawbot
created branch issue-122-routing-table-writes in sneak/routewatch
2026-10-27 09:41:03 +01:00
fix: a split swap's Min. received is the sum of its steps' minimums (closes #647)