v1.24.0: correcciones del repaso en frío

- informe pericial: pagos a terceros aparte, EJEMPLO en cabecera
- certeza: verbo y nivel cuadran, frases en positivo, insignias neutras
- formato BTC único, salida N (vout N-1), herramientas con nombres honestos
- demo coherente, botones de ejemplo, wallet sin callejón sin salida, botones de 40 px en móvil
This commit is contained in:
2026-10-13 14:13:39 +00:00
parent fab96e3435
commit 978f2bf825
6 changed files with 445 additions and 213 deletions
+4 -2
View File
@@ -38,7 +38,8 @@ const preludio = `
]);
const OFAC_SET = new Set();
`;
const src = cut("const MOCK_TX = {", "const MOCK_ADDRESS")
const src = cut("// ── FORMATO: lógica pura", "// ── fin formato")
+ "\n" + cut("const MOCK_TX = {", "const MOCK_ADDRESS")
+ "\n" + cut("function detectWallets", "function analyzeAddress")
+ "\n" + cut("// ── RASTRO: lógica pura", "// ── fin lógica pura del rastro");
const R = new Function(preludio + src + `
@@ -168,7 +169,8 @@ console.log("\n=== 7. El ejemplo sin nodo ===\n");
}
console.log("\n=== 8. Formato ===\n");
ok("0,05 BTC con coma y 4 decimales", R.btcTxt(5000000) === "0,0500 BTC", R.btcTxt(5000000));
// v1.24: un solo formato en toda la app — coma decimal y siempre 8 decimales.
ok("0,05 BTC con coma y 8 decimales", R.btcTxt(5000000) === "0,05000000 BTC", R.btcTxt(5000000));
ok("decimales largos se conservan", R.btcTxt(1234567) === "0,01234567 BTC", R.btcTxt(1234567));
console.log(`\n${pass} correctos, ${fail} fallos`);