v1.40.0: repaso de comunicación del análisis de transacciones y direcciones

Cabecera según tu papel, informe propio para direcciones, certezas
coherentes (SIN DATOS), «se ve en la cadena / se deduce», un solo nombre
para «lo decidió otro», mapa con bandas, vocabulario unificado, fechas
con año, miles agrupados, listas que avisan si se cortan, ayuda al día y
sin consejos. tests/test29.js; test6 y test8 ajustadas a los textos.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5npnUYgSPkAaHkdaeUqBr
This commit is contained in:
2026-10-24 19:43:54 +02:00
co-authored by Claude Opus 5.5
parent 0e44ff4709
commit e9915f21d9
16 changed files with 228 additions and 107 deletions
+2 -2
View File
@@ -179,7 +179,7 @@ const feeRedonda = analyzeTx(TX(
));
ok("detecta una comisión absoluta redonda",
check(feeRedonda, "fee_fingerprint")?.pass === true &&
/10[.\u202f]?000 sats exactos/.test(check(feeRedonda, "fee_fingerprint")?.detail || ""),
/10[.\u202f]?000 sats? exactos/.test(check(feeRedonda, "fee_fingerprint")?.detail || ""),
check(feeRedonda, "fee_fingerprint")?.detail?.slice(0, 90));
// Tarifa entera: 20,00 sat/vB sale de teclear "20" en la casilla.
@@ -189,7 +189,7 @@ const feeEntera = analyzeTx(TX(
{ fee: 3000, weight: 600 } // vsize 150 -> 20,00 sat/vB
));
ok("detecta una tarifa prácticamente entera",
/prácticamente un número entero|sats exactos/.test(check(feeEntera, "fee_fingerprint")?.detail || ""),
/prácticamente un número entero|sats? exactos/.test(check(feeEntera, "fee_fingerprint")?.detail || ""),
check(feeEntera, "fee_fingerprint")?.detail?.slice(0, 90));
// Un estimador automático deja números feos.