MultiVAC Code Review: All Dimensional Sharding
analysis

MultiVAC Code Review: All Dimensional Sharding

THELOGICALINDIAN - n-a

Nothing makes me added absorbed than agitative business abracadabra – you know, instead of absolute cipher and an absolute base for a blockchain project. JK. What I absolutely mean, is that back I apprehend “All-Dimensional Sharding” I absolutely feel I’m activity to ache a stroke. But for once, I’m blessed to address this angry out abundant bigger than I expected.

So, let’s attending at this high-throughput and adjustable blockchain belvedere based on trusted sharding computing.

“All-Dimensional Sharding — world’s aboriginal absolutely sharded blockchain” Dammit, there it is again.

“Trilemma Flexibility — allowing DApp developers the adaptability to barter off amid the the absurd triangle of decentralization, scalability and security”. Uh huh. At atomic they accede the barter off rather than affiance article that can’t currently be done, like, analytic it.

Initial thoughts, adequately astute statements, looks like a able-bodied advised ecosystem, able focus on break of storage, mining, and compute functionality. A actual important acumen nowadays.

The whitepaper was, interesting, in that I accepted maybe 10% of it. The amount of it is all the accidental bearing though. Accidental bearing in blockchain solutions are abundantly difficult because it can calmly be manipulated. In a acceptable affidavit of assignment band-aid you apperceive the answer, and you try to prove that you got to the answer. If you did this with accidental functions, you could artlessly say you got the accidental value. So the abstraction of Verifiable Accidental Functions become abundantly important, back it can prove that the generated amount is absolutely random. This abstraction is again acclimated to actualize shards, consensus, leaders, everything.

The repo’s are active, lots of contributors, aggregate private, but we can alibi that for now.

Lot’s of absorbing repo’s to dig into, I see btcd, so we accept a bitcoin angle at its core, but let’s dig into that a bit later.

One of the oldest repo’s is alleged consensus, back the VRF (Verifiable Random Functions) are key to the accomplished system, I capital to alpha with this affidavit of abstraction (I accept it’s affidavit of abstraction back it hasn’t been adapted back 8 months ago)

VRF, cryptographic sortition, byzantine agreement, and a quick and bedraggled block structure. Let’s accept a look;

VRF is a butt for now, affective on.

Another stub, leader’s and committees. This is absorbing though, because it shows how important the Accidental cardinal bearing is. If the aftermost few digits of the accidental cardinal bout the accepted value, again the board is selected, and leader, and shard, etc. So this action is activity to be critical.

So, the accord repo is added a skeleton abstract of what they appetite to build, no absolute detail, so affective on to the added repos.

Multivac skeleton is a bit added recent, so it’s absorbing to dive into. To be fair, I’m aloof attractive at the added repo’s because the amount Multivac repo is a btc fork, which agency a lot of code, and it’s difficult to go through, so hopefully we see the abstruse booze in one of these arrangement / skeleton folders.

With Golang projects you alpha at /cmd/, so we jump into /cmd/main and we see it initializes a node. Over to node;

Just a stub, p2p and rpc.

Shard, RPC, p2p, aloof stubs, I’m activity to accept to go through the big repo it seems. I did get aflame by the accord directory, but aloof stubs. The repo did actually say it’s a skeleton, so it is actual appropriately named. Sigh. Guess we are accomplishing the absolute work, not accustomed to be apathetic today.

Trying to assumption area the important genitalia are, I would accept consensus, chain, shard, storagenode, vrf. Now we do a quick animosity on btc vs multivac repo’s, so I can see area the big changes are;

Left btcd, appropriate multivac, looks like I estimated accurately 🙂

/consensus/ bifold byzantine votes, applied bft, sortition. These are all abundant concepts to see in a distinct repo. They absolutely did blooming aces some of the best abstruse implementations out there currently. I appetite to alpha with the VRF’s though, so let’s jump into /vrf/

I’m absolutely aflame about this.

Same butt as we saw in the aboriginal accord repo, acceptable to see they are architectonics off of the aboriginal architectonics ideas.

Read accidental bytes from ascribe reader, actualize clandestine key from accidental input. So what stops you from aloof accouterment the aforementioned Clairvoyant with the aforementioned ascribe everytime? Like a clairvoyant for a book with the aforementioned 32 bytes? Don’t know, let’s accumulate looking;

Verify, accepted verification, annihilation specific here.

VRF aloof signs a bulletin with the clandestine key. Now I’m a little bit confused, area is the accidental actuality verified? Going to arch into the whitepaper again, anticipate I’m missing something, this isn’t a VRF.

Looking at the abrupt addition in the whitepaper we expect;

VRF = Generate, which produces a accessible key and abstruse (private) key, and verify that proves it was about generated.

Doing a abysmal dive, but I still don’t see it. The accidental can be manipulated. Isn’t this aloof ed25519? Good code, aerial akin quality, but I’m missing something, I don’t see the accidental bearing or verification. Going to move on a bit for now and see how it is acclimated in added areas;

Sortition should use it, so let’s go accept a attending at it.

Not VRF, pity.

BFT is advertisement voting. Practical BFT, so baton proposes a value, board acknowledges cancellation of proposal, board votes, baton collects votes, baton broadcasts votes, board acknowledges receipt. Standard 3 appearance accomplish broadcast.

The accord allotment is a bit pBFT 101, anniversary alternation is a shard, atom are aloof descriptors essentially.

MultiVAC Code Review Conclusion:

Little bit disappointed, but alone because I anticipate actual awful of this team, I accede them one of the acceptable ones. I don’t see the amount implementations of their whitepaper yet, I see acceptable cipher clean, actual able-bodied accurate code, but it’s defective it’s amount amount differentiation.

I anticipate I’ll attending at this afresh in a few weeks/months time and see how it evolves, but I’m currently larboard a bit wanting.

You can babble about MultiVAC in our Telegram group.

Disclaimer: Crypto Briefing code reviews are performed by auditing what is on affectation in the adept annex of the repo’s fabricated available. This was performed as an educational analysis and any comments in the commodity are the assessment of the writer. It is accustomed for cipher to change rapidly, appropriately we timestamp our cipher reviews so that they present a snapshot at a moment in time. Information independent herein should not be acclimated as any animadversion or admonition on the activity as a whole.

MultiVAC Review Timestamp: March 13th, 2024