Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdukakis committed Feb 22, 2024
1 parent b1c1da0 commit a566e3e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ There are 676 computors, elected by the miners who assign useful proofs of work.
Lite client verification routine collects and compares 451 votes signed by discrete computor public keys. This logic will be revisited after core is changed to rely on arb signature for faulty computors.
At least 451 prev tick votes and 451 current tick votes are compared against each other, if aligned we detect _finality_ of prev tick.

Client may receive arbitrary data from `RESOND_ENTITY` message, for this reason we use such messages to calculate merkle root. The root is compared to the corresponding prev spectrum digest aligning with 451 next tick votes.
Client may receive arbitrary data from `RESOND_ENTITY` message, for this reason we use such messages to calculate merkle root. The root is compared to the corresponding prev spectrum digest aligning in 451 next tick votes.
If matching, entity data are accepted and we deduce execution status of issued transactions. Ticks can be skipped because issuance awaits status of previous transaction.

### Networking
Expand All @@ -24,7 +24,7 @@ Using pub/sub vs tcp and websocket polling to fetch entity data is also being ex
## License
Come-from-Beyond's [**Anti-Military License**](LICENSE).

For licenses of microsoft/FourQlib and XKCP/K12 dependencies refer to [qubic-crypto](https://github.com/computor-tools/qubic-crypto/blob/main/LICENSE) repo.
For licenses of Microsoft/FourQlib and XKCP/K12 dependencies refer to [qubic-crypto](https://github.com/computor-tools/qubic-crypto/blob/main/LICENSE) repo.

## Usage
```bash
Expand Down Expand Up @@ -139,10 +139,14 @@ client.addListener('transfer', function (transfer) {

### Air gap scenario

It is possible to sign transactions using `qubic.createTransaction`, which in contrast to `entity.createTransaction` does not require a client connected to Qubic network.
Result can be transported to a computer with internet connection and broadcasted with `client.broadcastTransaction`.
As a network security measure, it is possible to generate ids with `qubic.createId()` and sign transactions with `qubic.createTransaction` in physically isolated computer or network. Calling these methods does not require a client connected to Qubic network.
Signed transactions can be transported to a computer with internet connection and broadcasted with `client.broadcastTransaction`.
Just make sure you calculate execution tick of transaction correctly to avoid walking back-and-forth.

### Offline verification

Relevant to IoT sector, lrv could verify records while being offline. Proofs can be generated via fetching data from classic internet, later communicated to IoT agents by other means (e.g.; nfc or ble transceivers).

---

This project was created using `bun init` in bun v1.0.20. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.

0 comments on commit a566e3e

Please sign in to comment.