book: remove section on parallelized tx verif

This commit is contained in:
zero
2024-01-29 18:01:35 +01:00
parent 195dfb6935
commit 92387af2ab
2 changed files with 2 additions and 18 deletions

View File

@@ -223,18 +223,3 @@ For signature verification, the data we are verifying is simply
the entire transactions minus the actual signatures. That's why the
signatures are a separate top level field in the transaction.
## Parallelisation Techniques
Since verification is done through `state_transition()` which returns
an update that is then committed to the state using `apply()`, we
can verify all transactions in a block in parallel.
To enable calling another transaction within the same block (such
as flashloans), we can add a special depends field within the tx
that makes a tx wait on another tx before being allowed to verify.
This causes a small deanonymization to occur but brings a massive
scalability benefit to the entire system.
ZK proof verification should be done automatically by the system. Any
proof that fails marks the entire tx as invalid, and the tx is
discarded. This should also be parallelized.

View File

@@ -3,10 +3,9 @@
## Abstract
The _Money_ contract implements network fees, token transfers,
atomic swaps, token minting and freezing, and staking/unstaking of
PoS consensus tokens.
atomic swaps, and token minting.
The functions/entrypoints provided by this smart contract are:
The functions provided by this smart contract are:
```rust
{{#include ../../../../../src/contract/money/src/lib.rs:money-function}}
```