You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/library/viat/info.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
<!-- TODO -->
4
4
Viat is a hybrid post quantum cryptocurrency
5
-
Viat has a physical on-disk file system which forms a super structure.
5
+
Viat has a physical on-disk filesystem which forms a super structure.
6
6
Viat's super structure represents the total state of Viat.
7
-
Viat has a modular file system so that it can be effectively distributed throughout a network.
7
+
Viat has a modular filesystem so that it can be effectively distributed throughout a network.
8
8
Viat's super structure is a cryptographically linked DAG with the first block being the genesis block which then connects to a primary secondary level.
9
9
Viat's secondary level consists of the first blocks of specific DAGs such as a Wallet Genesis Block, L2 token genesis block, and Verification Genesis block.
10
10
Viat's secondary level genesis blocks are the beginning of DAGs specific to that genesis block.
Copy file name to clipboardExpand all lines: docs/library/viat/neuromorphic.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Just like the brain, Viat supports massively parallel verification and processin
9
9
Nodes (verifiers/validators) act like neurons firing and validating inputs in parallel — no global synchronization is required, reflecting asynchronous neural signaling.
The physical file system structure mirrors spatial locality in the brain, where data is organized and located efficiently.
12
+
The physical filesystem structure mirrors spatial locality in the brain, where data is organized and located efficiently.
13
13
The use of constant-time lookups via physical paths is like neural signals traveling along optimized, reinforced synaptic paths.
14
14
15
15
Viat's block centric design with specialized structures allows VIAT to benefit and more easily integrate a native neural network and or model that can be used to carry out complex queries with great efficiency.
@@ -25,7 +25,7 @@ Motor Neurons
25
25
Interneurons (Projection/Relay) & local
26
26
27
27
Viat filesystem
28
-
These types of URLs server as a memory map linking to a specific memory location which stores the block which is the memory of an event. That memory then branches out to related memories.
28
+
These types of URLs serve as a memory map linking to a specific memory location which stores the block(memory). That memory then branches out to related memories.
29
29
30
30
For example this memory map (URI) is a folder path that leads first to a specific part of the brain that is the Viat Superstructure. In this case the specific part deals with wallets.
Copy file name to clipboardExpand all lines: docs/library/viat/superStructure.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,25 +5,25 @@ Viat has a Neuromorphic self-organizing layered multidimensional DAG-like super
5
5
Wallets are stored in a folder trie with folder names based on wallet addresses.
6
6
Wallets have their own chains akin to DAGs and or linear chains that are specific to particular actions such as a transaction chain and receipt chain.
7
7
8
-
Viat's state is stored in a physical file system consisting of both individual binary files and organized via folders.
9
-
Viat's physical cryptographically linked file system is a DAG-like super structure with efficient separation of concerns.
8
+
Viat's state is stored in a physical filesystem consisting of both individual binary files and organized via folders.
9
+
Viat's physical cryptographically linked filesystem is a DAG-like super structure with efficient separation of concerns.
10
10
Viat's separation of concerns is essential to its scalability and high TPS potential.
11
11
A wallet's physical location on disk and virtual location within the wallet trie is based on the wallet's address.
12
12
The Wallet's address is used to determine the file path for all chains connected to the wallet's root block.
13
13
The Wallet's are part of a cryptographically linked DAG.
14
14
All wallets link back to a core root wallet block then the genesis block.
15
15
16
-
Wallets are stored within a physical folder trie where each folder represents a wallet hub. A wallet hub folder can be a shard point to distribute the file system across a network. The first folder and subfolder is named after the first 6 bytes of the wallet address with 3 bytes used for each folders name. The final subfolder is named after the last 24 bytes of the wallet address. All wallet specific files are located within the wallet folder. This folder trie acts as both a physical and virtual file system for Viat. The physical file system makes it easy to manually navigate the wallet section of the Viat super structure. The physical file system ensures near constant time wallet lookups.
16
+
Wallets are stored within a physical folder trie where each folder represents a wallet hub. A wallet hub folder can be a shard point to distribute the filesystem across a network. The first folder and subfolder is named after the first 6 bytes of the wallet address with 3 bytes used for each folders name. The final subfolder is named after the last 24 bytes of the wallet address. All wallet specific files are located within the wallet folder. This folder trie acts as both a physical and virtual filesystem for Viat. The physical filesystem makes it easy to manually navigate the wallet section of the Viat super structure. The physical filesystem ensures near constant time wallet lookups.
17
17
18
18
## VIAT GRAPH SUPERSTRUCTURE
19
19
20
20
The root layer is the genesis block and all things can directly trace back to it. The second layer contains restricted root genesis blocks such as: Wallet Genesis Block, Meta Genesis Block, Swap Genesis Block, Exchange Genesis Block, App Genesis Block, Domain Genesis Block, Identity Genesis Block, and the Smart Contract Genesis Block. The second layer can only be extended by a code update meaning no block on the network or smart contract can extend the second layer it must be added via a code update. Each 2nd layer genesis block contains its own structured graph which can then incorporate linear blockchains and or DAG based blockchains.
21
21
22
22
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.
23
23
24
-
## Viat Physical File System
24
+
## Viat Physical Filesystem
25
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.
26
+
The VIAT superstructure is a physical filesystem 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.
27
27
28
28
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.
Copy file name to clipboardExpand all lines: viat/blocks/transaction/block.js
+1-8Lines changed: 1 addition & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,7 @@ import {
6
6
getTransactionPathURLFromBlock,
7
7
getTransactionURLFromBlock
8
8
}from'./uri.js';
9
-
// Include a Block Link ID - uses to quickly share a transaction and then can be efficiently found by other parties.
10
-
// This is a unique ID that is generated for each transaction. It can be used to quickly find the transaction in the block chain.
11
-
// Reference block, link block, Anchor block, receipt block -> Links to received viat from another wallets send block
12
-
// TX Queue Block - This is a block that is used to queue transactions and alert validators of needed work. It can be used to quickly find none validated transactions in the block chain that aren't yet indexed.
13
-
// Bloom Filter for confirmed transactions updated by the sender?
14
-
// One for verifiers to check if a transaction is confirmed
15
-
// The last for confirmed transactions that have been fully audited and verified
16
-
// Use Merkle Trees with bloom filters - use merkle tree to confirm bloom filter then
9
+
// Consider Multi-part transaction block -> reduce size and cost of each transaction
0 commit comments