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:
@@ -430,7 +430,7 @@
|
||||
<div style={{display:"flex",flexDirection:"column",gap:3}}>
|
||||
{walletReport.polvoSinGastar.slice(0,6).map((p,i)=>(
|
||||
<div key={i} style={{fontSize:"0.58rem",color:C.t2,fontFamily:C.mono,wordBreak:"break-all"}}>
|
||||
{fmt.num(p.value)} sat · {p.address} · {p.txid.slice(0,16)}…:{p.vout}
|
||||
{fmt.num(p.value)} sat · <IdCopiable id={p.address} tipo="direccion"/> · <IdCopiable id={p.txid} n={16}/>:{p.vout}
|
||||
{p.tecnico&&<span style={{color:C.t3}}> · por debajo del mínimo económico</span>}
|
||||
</div>
|
||||
))}
|
||||
@@ -460,7 +460,7 @@
|
||||
<div key={a.txid} style={{fontSize:"0.58rem",color:C.t2,fontFamily:C.mono}}>
|
||||
<span style={{color:C.amber}}>{a.vinculadas} direcciones atadas</span>
|
||||
{" · "}{a.time ? new Date(a.time*1000).toLocaleDateString("es-ES") : "sin confirmar"}
|
||||
{" · "}<VerEnMempool base={base} tipo="tx" id={a.txid} texto={a.txid.slice(0,12)+"… ↗"}/>
|
||||
{" · "}<IdCopiable id={a.txid} n={12}/>{" "}<VerEnMempool base={base} tipo="tx" id={a.txid} texto="↗"/>
|
||||
</div>
|
||||
))}
|
||||
{walletReport.autoenviosDaninos.length>6&&<div style={{fontSize:"0.58rem",color:C.t2,fontFamily:C.mono}}>…y {walletReport.autoenviosDaninos.length-6} más</div>}
|
||||
@@ -525,7 +525,7 @@
|
||||
{cluster.slice(0,4).map((a,j)=>(
|
||||
<div key={j} style={{fontSize:"0.58rem",color:C.t1,fontFamily:C.mono}}>
|
||||
{labels?.get(a)&&<span style={{color:C.purple,marginRight:6}}>🏷 {labels.get(a)}</span>}
|
||||
{a.slice(0,14)}…{a.slice(-8)}
|
||||
<IdCopiable id={a} tipo="direccion" texto={a.slice(0,14)+"…"+a.slice(-8)}/>
|
||||
</div>
|
||||
))}
|
||||
{cluster.length>4&&<div style={{fontSize:"0.58rem",color:C.t2,fontFamily:C.mono}}>+{cluster.length-4} más</div>}
|
||||
@@ -566,7 +566,8 @@
|
||||
{/* El clic en la fila abre el análisis interno; este
|
||||
enlace lleva al explorador, y por eso corta la
|
||||
propagación: son dos destinos distintos. */}
|
||||
<span onClick={e=>e.stopPropagation()} style={{flexShrink:0}}>
|
||||
<span onClick={e=>e.stopPropagation()} style={{flexShrink:0,display:"inline-flex",alignItems:"center",gap:6}}>
|
||||
<BotonCopiar texto={t.txid} etiqueta="el txid"/>
|
||||
<VerEnMempool base={base} tipo="tx" id={t.txid} texto="↗"/>
|
||||
</span>
|
||||
</div>
|
||||
@@ -598,7 +599,7 @@
|
||||
<div style={{maxHeight:160,overflowY:"auto",display:"flex",flexDirection:"column",gap:3}}>
|
||||
{[...labels.entries()].map(([ref,lbl])=>(
|
||||
<div key={ref} style={{display:"flex",gap:8,padding:"3px 6px",background:C.bgCard,borderRadius:4,alignItems:"baseline"}}>
|
||||
<span style={{fontSize:"0.58rem",color:C.t2,fontFamily:C.mono,flexShrink:0,maxWidth:120,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}>{ref.length>20?ref.slice(0,10)+"…"+ref.slice(-8):ref}</span>
|
||||
<span style={{fontSize:"0.58rem",color:C.t2,fontFamily:C.mono,flexShrink:0,maxWidth:120,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}>{ref.length>20?<IdCopiable id={ref} texto={ref.slice(0,10)+"…"+ref.slice(-8)}/>:ref}</span>
|
||||
<span style={{fontSize:"0.65rem",color:C.t1,fontFamily:C.mono}}>{lbl}</span>
|
||||
</div>
|
||||
))}
|
||||
@@ -685,7 +686,7 @@
|
||||
<span style={{fontSize:"0.65rem",color:mine==="cambio"?C.amber:C.green,fontFamily:C.mono,fontWeight:600}}>{mine==="cambio"?"↺ cambio":"↓ recepción"}</span>
|
||||
<span style={{fontSize:"0.68rem",color:C.t1,fontFamily:C.mono}}>{fmt.sats(o.value)}</span>
|
||||
{lbl&&<span style={{fontSize:"0.62rem",color:C.t2,fontFamily:C.mono}}>· {lbl}</span>}
|
||||
<span style={{fontSize:"0.58rem",color:C.t2,fontFamily:C.mono,marginLeft:"auto"}}>{o.scriptpubkey_address?.slice(0,12)}…</span>
|
||||
<span style={{fontSize:"0.58rem",color:C.t2,fontFamily:C.mono,marginLeft:"auto"}}>{o.scriptpubkey_address&&<IdCopiable id={o.scriptpubkey_address} tipo="direccion" texto={o.scriptpubkey_address.slice(0,12)+"…"}/>}</span>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user