mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-04 15:35:18 +00:00
Merge 9d9e65f4ed
into 40d435597a
This commit is contained in:
commit
e6fcebc7eb
@ -19,7 +19,7 @@ The blockchain node binaries will be compiled or downloaded from github to `test
|
|||||||
|
|
||||||
## Run Tests
|
## Run Tests
|
||||||
|
|
||||||
Changes to the `tests` folder and run the following command to run all tests:
|
Change to the `tests` folder and run the following command to run all tests:
|
||||||
|
|
||||||
```
|
```
|
||||||
python test_all.py
|
python test_all.py
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
### Setup Environment
|
### Setup Environment
|
||||||
|
|
||||||
Install dependencies Node.js, yarn, hardhat.
|
Install the dependencies Node.js, yarn, hardhat.
|
||||||
|
|
||||||
- Linux
|
- Linux
|
||||||
|
|
||||||
|
@ -12,4 +12,4 @@ When an application server with the key-value runtime encounters the commit reco
|
|||||||
|
|
||||||
## Concurrent Assumption
|
## Concurrent Assumption
|
||||||
|
|
||||||
This transaction model assumes that the transaction participants are collaborative and will honestly compose the commit record with the correct content. Although this assumption in a decentralized environment is too strong, it is still achievable for specific applications. For example, for an application like Google Docs, a user normally shares the access to others who can be trusted. In case this assumption cannot hold, the code of the transaction can be stored in the ZeroGravity log and some mechanism of verifiable computation like zero-knowledge proof or hardware with trust execution environment (TEE) can be employed by the transaction executors to detect the validity of the commit record.
|
This transaction model assumes that the transaction participants are collaborative and will honestly compose the commit record with the correct content. Although this assumption in a decentralized environment is too strong, it is still achievable for specific applications. For example, for an application like Google Docs, a user normally shares the access to others who can be trusted. In case this assumption cannot hold, the code of the transaction can be stored in the ZeroGravity log and some mechanism of verifiable computation like zero-knowledge proof or hardware with trusted execution environment (TEE) can be employed by the transaction executors to detect the validity of the commit record.
|
||||||
|
Loading…
Reference in New Issue
Block a user