Saltar al contenidoSkip to content
QWATTVERIFICADORVERIFIER SOLO TESTNETTESTNET ONLY

Pruebas A–DTests A–D

La red dice que noThe network says no

La promesa central de QWATT es que ninguna clave sola puede escribir una constancia. No te pedimos que lo creas: estas pruebas intentan hacerlo, y la propia red de Stellar las rechaza. Cada resultado se publica con la transacción firmada y la respuesta de la red, para que lo compruebes tú.QWATT's central promise is that no single key can write a record. We don't ask you to believe it: these tests try to do it, and Stellar's own network refuses them. Every result is published with the signed transaction and the network's answer, so you can check it.

PLANIFICADOPLANNEDlas pruebas en la cuenta definitiva (semana 2)the tests on the real account (week 2) TESTNETTESTNETel mismo procedimiento ya corrió el 8 oct en cuentas desechables, y aquí lo comprobamos en vivothe same procedure already ran on 8 Oct on throwaway accounts, and we check it live here

Estado de las pruebas en la cuenta definitivaStatus of the tests on the real account

PLANIFICADOPLANNED En preparación (semana 2)In preparation (week 2)

Cuenta de anclaje 2 de 3 · umbrales 2/2/3: en preparación (semana 2).2-of-3 anchoring account · thresholds 2/2/3: in preparation (week 2).

1 · El plan, prueba por prueba1 · The plan, test by test

PLANIFICADOPLANNED

En la cuenta definitiva 2 de 3, con umbrales 2/2/3: tres firmantes de peso 1 (el proponente, el verificador independiente y un firmante externo al equipo) y la clave con que se crea la cuenta en peso 0.On the real 2-of-3 account, with thresholds 2/2/3: three signers of weight 1 (the proposer, the independent verifier and a signer from outside the team) and the key that creates the account at weight 0.

A

El proponente soloThe proposer alone

PLANIFICADOPLANNED

Esperado:Expected: RECHAZADA POR LA REDREFUSED BY THE NETWORK

Envía la transacción publicada con su única firma. Esperado: la red la rechaza con tx_bad_auth, porque una firma de peso 1 no alcanza el umbral bajo 2. Nunca entra a un ledger: la evidencia es la transacción firmada y la respuesta de la red.It submits the published transaction with its single signature. Expected: the network refuses it with tx_bad_auth, because one signature of weight 1 does not reach the low threshold 2. It never enters a ledger: the evidence is the signed transaction and the network's answer.

En preparación (semana 2)In preparation (week 2)

B

El verificador soloThe verifier alone

PLANIFICADOPLANNED

Esperado:Expected: RECHAZADA POR LA REDREFUSED BY THE NETWORK

Firma el mismo cuerpo de transacción sin la firma del proponente, después de correr sus propias comprobaciones. Esperado: tx_bad_auth.It signs the same transaction body without the proposer's signature, after running its own checks. Expected: tx_bad_auth.

En preparación (semana 2)In preparation (week 2)

C

Los dosBoth

PLANIFICADOPLANNED

Esperado:Expected: ANCLADAANCHORED

El verificador cofirma la propuesta y la envía. Esperado: anclada, con enlace a stellar.expert, firmada por el proponente y el verificador.The verifier co-signs the proposal and submits it. Expected: anchored, with a stellar.expert link, signed by the proposer and the verifier.

En preparación (semana 2)In preparation (week 2)

D

Lote alterado después de la firma del proponenteBatch altered after the proposer signed

PLANIFICADOPLANNED

Esperado:Expected: RECHAZADO POR EL VERIFICADORREFUSED BY THE VERIFIER

Se cambia en memoria el lote publicado. Esperado: el verificador lo rechaza (verifier.hash_mismatch); no se envía ni se publica nada.The published batch is changed in memory. Expected: the verifier refuses it (verifier.hash_mismatch); nothing is submitted or published.

En preparación (semana 2)In preparation (week 2)

I

IndependenciaIndependence

PLANIFICADOPLANNED

Esperado:Expected: RECHAZADO POR EL VERIFICADORREFUSED BY THE VERIFIER

Al verificador se le oculta el archivo del lote en su única vía de entrada. Esperado: lo rechaza (verifier.not_published), porque solo puede usar datos públicos.The batch file is withheld from the verifier's only input path. Expected: it refuses (verifier.not_published), because it may use only public data.

En preparación (semana 2)In preparation (week 2)

A, B y C son el mismo cuerpo de transacción, con la misma huella: Stellar no incluye las firmas en la huella. Con una firma, rechazada; con dos, anclada.A, B and C are the same transaction body, with the same hash: Stellar leaves signatures out of the hash. With one signature, refused; with two, anchored.

en preparación (semana 2) · puntoin preparation (week 2) · item V3-4

2 · Comprobado aquí, en tu navegador2 · Checked here, in your browser

PLANIFICADOPLANNED

Esta sección aparece sola cuando se publique la evidencia de la cuenta definitiva, en evidence/account/(cuenta)/abcd.json. Tu navegador revisará cada archivo contra su índice, recalculará el cuerpo de A y B desde sus sobres firmados, identificará cada firma y dará su propio veredicto sin leer el del archivo.This section appears by itself when the real account's evidence is published, at evidence/account/(account)/abcd.json. Your browser will check every file against its index, recompute A's and B's body from their signed envelopes, identify every signature and give its own verdict without reading the file's.

3 · El mismo procedimiento, ya corrido el 8 oct3 · The same procedure, already run on 8 Oct

TESTNETTESTNETTRABAJO PREVIO · 8 OCTPRIOR WORK · 8 OCT

Con cuentas desechables y umbrales 1/2/3, el diseño anterior. Entrada simulada · Stellar testnet.With throwaway accounts and thresholds 1/2/3, the earlier design. Simulated input · Stellar testnet.

  • A y B: rechazadas por la red (tx_failed / op_bad_auth).A and B: refused by the network (tx_failed / op_bad_auth). Con 1/2/3 una sola firma alcanzaba el umbral bajo, así que la transacción era válida pero su operación de anclaje no tenía firmas suficientes. Con 2/2/3 la red la rechaza antes, con tx_bad_auth, y una clave sola ya no puede enviar nada. Por eso el 21 oct elegimos 2/2/3.Under 1/2/3 a single signature reached the low threshold, so the transaction was valid but its anchoring operation lacked signatures. Under 2/2/3 the network refuses it earlier, with tx_bad_auth, and one key alone can no longer send anything. That is why we chose 2/2/3 on 21 Oct.
  • C: anclada en QW#0, ledgerC: anchored as QW#0, ledger 5.093.764, firmada por el proponente y el verificador., signed by the proposer and the verifier. L: la tercera clave del ensayo y el verificador anclaron QW#1. D: el verificador rechazó el lote alterado (verifier.hash_mismatch). Independencia, en el ensayo de extremo a extremo: rechazado (verifier.not_published) y anclado después de publicarse.L: the rehearsal's third key and the verifier anchored QW#1. D: the verifier refused the altered batch (verifier.hash_mismatch). Independence, in the end-to-end rehearsal: refused (verifier.not_published) and anchored after publication.

Entrada simulada · Stellar testnet · ensayo 8 oct · cuenta desechableSimulated input · Stellar testnet · 8 Oct rehearsal · throwaway account

Comprobado ahora, en tu navegadorChecked now, in your browser

Estas comprobaciones corren en tu navegador y necesitan JavaScript, porque recalculan la huella de A y B desde sus sobres firmados, verifican cada firma Ed25519 y leen la transacción C en Stellar testnet.These checks run in your browser and need JavaScript, because they recompute A's and B's hash from their signed envelopes, verify each Ed25519 signature and read transaction C on Stellar testnet.

  • El cuerpo de A y de B, calculado desde su sobre firmado, es el de CA's and B's body, computed from their signed envelopes, is C's
  • La firma de A es del proponenteA's signature is the proposer's
  • La firma de B es del verificadorB's signature is the verifier's
  • C tiene dos firmas en Stellar testnet: proponente + verificadorC has two signatures on Stellar testnet: proposer + verifier

Qué significa cada respuestaWhat each answer means

INFOINFO
tx_bad_auth
faltan firmas para el umbral bajo; la red no aplica la transacción.not enough signatures for the low threshold; the network does not apply the transaction.
op_bad_auth
la transacción era válida pero una operación no tenía firmas suficientes.the transaction was valid but one operation lacked signatures.
verifier.hash_mismatch
la transacción propuesta no lleva la huella del lote publicado.the proposed transaction does not carry the published batch's fingerprint.
verifier.not_published
el lote no está en el feed público.the batch is not in the public feed.

4 · En tu terminal4 · In your terminal

INFOINFO

La transacción C, tal como la guarda Stellar testnet:Transaction C, as Stellar testnet keeps it:

curl -s https://horizon-testnet.stellar.org/transactions/494e8d12cc3ab7b4f62a7f061a1e899c45e8b4553539346a0e71c8f5c525a8a1

Las pruebas de la semana 2 se corren conThe week-2 tests run with node anchor/tests-abcd.js, según el manual de operación, y su archivo se publica en, following the runbook, and their file is published at evidence/account/(cuenta)/abcd.json. Manual de operaciónRunbook(abre en una pestaña nueva)(opens in a new tab)

¿Quieres ver además la huella de un lote anclado, recalculada en tu navegador?Want to see an anchored batch's fingerprint recomputed in your browser too? Compruébalo tú →Check it yourself →