v1.36.0: los enlaces de Mempool van a la web de Mempool, y copiar en todos los txids y direcciones
- Los enlaces ↗ ya no se montan sobre el sitio del dashboard (:4083): se derivan al 4081/4080 del mismo nodo, o a la «Web de Mempool» de Ajustes. - Botón de copiar en los txids y direcciones abreviados de Auditoría, Red, Explorar, rastro y peritaje. - tests/test25.js. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5npnUYgSPkAaHkdaeUqBr
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@
|
||||
const objetoPlano = v => !!v && typeof v === "object" && !Array.isArray(v);
|
||||
const cabe = (v, max) => { try { return JSON.stringify(v).length <= max; } catch { return false; } };
|
||||
const ALMACEN_ESQUEMA = {
|
||||
"config": v => objetoPlano(v) && typeof v.url === "string" && /^https?:\/\/[^\s]{1,200}$/.test(v.url) && (v.name == null || (typeof v.name === "string" && v.name.length <= 100)) || "una dirección de nodo http(s) y un nombre",
|
||||
"config": v => objetoPlano(v) && typeof v.url === "string" && /^https?:\/\/[^\s]{1,200}$/.test(v.url) && (v.name == null || (typeof v.name === "string" && v.name.length <= 100)) && (v.web == null || v.web === "" || (typeof v.web === "string" && /^https?:\/\/[^\s]{1,200}$/.test(v.web))) || "una dirección de nodo http(s), un nombre y, si se quiere, la web de Mempool",
|
||||
"tema": v => (typeof v === "string" && /^[a-z]{1,30}$/.test(v)) || "el nombre de un tema",
|
||||
"rastro-mesa": v => (objetoPlano(v) && cabe(v, 2e6)) || "un objeto con las marcas (máx. 2 MB)",
|
||||
"peritaje-mesa": v => (objetoPlano(v) && cabe(v, 2e6)) || "un objeto con las marcas (máx. 2 MB)",
|
||||
|
||||
Reference in New Issue
Block a user