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:
2026-10-22 23:12:36 +02:00
co-authored by Claude Sonnet 5.5
parent cb30a458c4
commit 6973838a59
13 changed files with 129 additions and 27 deletions
+2 -2
View File
@@ -141,7 +141,7 @@
{result&&(
<div style={{padding:"12px 14px",background:C.bg,borderRadius:6,border:`1px solid ${statusColor}40`}}>
<div style={{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:10}}>
<span style={{fontSize:"0.68rem",fontFamily:C.mono,color:C.t2,wordBreak:"break-all"}}>{fmt.hash(result.tx.txid)}</span>
<span style={{fontSize:"0.68rem",fontFamily:C.mono,color:C.t2,wordBreak:"break-all"}}><IdCopiable id={result.tx.txid} texto={fmt.hash(result.tx.txid)}/></span>
<Badge color={statusColor}>{statusLabel}</Badge>
</div>
<div style={{display:"grid",gridTemplateColumns:"repeat(auto-fill,minmax(120px,1fr))",gap:10}}>
@@ -397,7 +397,7 @@
<div style={{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:6}}>
<div style={{display:"flex",alignItems:"center",gap:8}}>
<div style={{width:8,height:8,borderRadius:"50%",background:priv.color,boxShadow:`0 0 6px ${priv.color}`,flexShrink:0}}/>
<span style={{fontSize:"0.68rem",fontFamily:C.mono,color:C.t2}}>{fmt.hash(u.txid)} · salida {u.vout+1} (vout {u.vout})</span>
<span style={{fontSize:"0.68rem",fontFamily:C.mono,color:C.t2,display:"inline-flex",alignItems:"center",gap:6,flexWrap:"wrap"}}><IdCopiable id={u.txid} texto={fmt.hash(u.txid)}/> · salida {u.vout+1} (vout {u.vout})</span>
</div>
<div style={{display:"flex",alignItems:"center",gap:8}}>
<span style={{fontSize:"0.7rem",fontFamily:C.mono,color:priv.color,fontWeight:700}}>{typeof priv.score==="number"?`${priv.score}/100`:"—"}</span>