Skip to content

Commit 77a952e

Browse files
committed
Viat File organization
Updated crypto middleware Viat code updates
1 parent e94f0d3 commit 77a952e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+780
-349
lines changed

.cspell/custom-dictionary-workspace.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ scalarmult
2121
schnorr
2222
scid
2323
secp
24+
sphincs
2425
SPHINCS
2526
streamid
2627
udsp

docs/library/viat/mining.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ There are two types of Viat miners - Auditors (validate) and Arbiters (verify).
99
This design is reflective of the individual specific blocks for specific actions to strive for as high as possible linear TPS and extreme scalability.
1010

1111

12-
# MINING VITANIUM [VI]
12+
# MINING VITAINIUM [VI]
1313

14-
Vitanium is the element which is mined and processed resulting in the final material VIAT.
14+
Vitainium is the element which is mined and processed resulting in the final material VIAT.

docs/library/viat/strategy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Scalability potential stems from the modularity of the Viat super structure. The
77

88
## RISC LIKE THINKING
99

10-
Viat favors small consistent predictable contained operations over larger dynamic stacked operations. Instead of multiple transactions/operations forced into blocks Viat is in direct position of that perspective opting to instead keep it one transaction per-block. Simple concise consistent instructions are faster, easier, more efficient and more optimizable than something that is less predictable and has to be broken down first to be processed.
10+
Viat favors small consistent predictable contained operations over larger dynamic stacked operations. Instead of multiple transactions/operations forced into blocks Viat is in direct position of that perspective opting to instead keep it one transaction per-block. Simple concise consistent instructions are faster, easier, more efficient and more optimizable than something that is less predictable and has to be broken down first to be processed.

docs/library/viat/superStructure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ The root layer is the genesis block and all things can directly trace back to it
2222
The Wallet Genesis Block (Genesis Block -> [2nd Layer] - Wallet Genesis Block) then connects to individual wallet blocks. A wallet block (Genesis Block -> [2nd Layer] - Wallet Genesis Block -> (3rd Layer) - Wallet Address) contains a wallet address, public keys, and related details. Attached to the Wallet Address Block is a linear blockchain for transactions, a DAG based blockchain for receipts (received funds), and others chains attached to a wallet are primarily mission specific DAGs. The graph route to a transaction block would look like this (Genesis Block -> [2nd Layer] - Wallet Genesis Block -> (3rd Layer) - Wallet Address -> Transaction Block). All DAGs attached to the wallet first reference an initial block.
2323

2424
## Viat Physical File System
25-
Blocks are cryptographically linked allowing Viat to be displayed as a graph but the Super Structure itself consists of physical files and folders on disk.
26-
The VIAT Super Structure is a physical file system meaning it can be manually traversed on disk by anyone. The Viat filesystem (VFS) effectively represents the current state of a state machine (VIAT). Files are physically stored as tries ensuring efficient constant time lookups and a way to shard the Viat State for extreme scalability.
25+
Blocks are cryptographically linked allowing Viat to be displayed as a graph but the superstructure itself consists of physical files and folders on disk.
26+
The VIAT superstructure is a physical file system meaning it can be manually traversed on disk by anyone. The Viat filesystem (VFS) effectively represents the current state of a state machine (VIAT). Files are physically stored as tries ensuring efficient constant time lookups and a way to shard the Viat State for extreme scalability.
2727

2828
To navigate to a transaction on file you would use the transaction ID which consists of a wallet address and a transaction hash. The first 6 bytes of the wallet address are used to navigate to the first and second subfolder inside the wallet directory (Viat/wallets/3bytes/3bytes/last32_bytes_of_wallet_address). Then navigate to the specific transaction hash by using the first 2 bytes for the initial subfolders and the last 30 for the specific transaction folder containing the transaction block.
2929

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
"ip": "^2.0.1",
2929
"keychain": "^1.5.0",
3030
"libsodium-wrappers": "^0.7.15",
31-
"mongoose": "^8.14.2",
31+
"mongoose": "^8.14.3",
3232
"node-seal": "^5.1.5",
3333
"node-watch": "^0.7.4",
3434
"nodemon": "^3.1.10",
3535
"os-utils": "^0.0.14",
3636
"pqclean": "latest",
3737
"qrcode": "^1.5.4",
3838
"signale": "^1.4.0",
39-
"sodium-native": "^5.0.2"
39+
"sodium-native": "^5.0.3"
4040
},
4141
"description": "UW & VIAT modules: Client, Server, VIAT, DIS, Browser, Crypto, Wallets, Modules, & certificates.",
4242
"engines": {
@@ -126,7 +126,7 @@
126126
"benchmark": "^2.1.4",
127127
"daisyui": "^5.0.35",
128128
"eslint": "^9.26.0",
129-
"eslint-plugin-jsdoc": "^50.6.14",
129+
"eslint-plugin-jsdoc": "^50.6.17",
130130
"globals": "^16.1.0",
131131
"tailwindcss": "^4.1.6",
132132
"textlint": "^14.7.1"

0 commit comments

Comments
 (0)