Reduce replications call by avoiding notifying node movements chains #124
Labels
core team
Assigned to the core team
DB
Involve database
feature
New feature request
mining
Involve transaction validation and mining
P2P
Involve P2P networking
self repair
Involve SelfRepair mechanism
serialization
Involve message serialization
transaction
Involve transactions
UI
Invole user interface
In the current scheme, during the transaction validation, we are building a node movements list to specify the rewards of the validation nodes and the involved storage nodes. However, this leads to send them the transaction to update their UTXO table and their balance.
The thing is, while this scheme is acceptable, we will end up to a lot of P2P messages and replications of the transaction which will alter the performance and the throughput of the network.
For example, if you are taking a network with 50 nodes, and if each shard is composed of 20 nodes, we will have to make 100 Replication messages just to reward the nodes, without counting the recipient and emitter storage pools.
So the idea is to drop this node_movements so you can reward nodes later from their availability using the BeaconChain aggregation from the list of summaries for all the subsets.
More details here: archethic-foundation/archethic-docs#3
This will involve:
node_movements
UTXO mem table entriesreward
Epic: #306
The text was updated successfully, but these errors were encountered: