j (@romvansa) header
j (@romvansa) profile picture

1994’s sweetheart : a girl that can bring about you hypnotized because of her gorgeous face.

Han Sohee.
Joined July 2020
Photo by j (@romvansa)Photo by j (@romvansa)Photo by j (@romvansa)Photo by j (@romvansa)Photo by j (@romvansa)Photo by j (@romvansa)Photo by j (@romvansa)
To the moon 🚀🌕
This Post is from a suspended account. Learn more
403
🤓 Class is in session! Nibiru's CTO @ShanghaiYang explains parallelized optimistic execution, a key update to Nibiru's Proof-of-Stake consensus that will further increase throughput and lower block times 👀 Continue reading to learn more 👇🏽
Lately, the term “parallelized optimistic execution” has been thrown around a lot of people have asked me what “parallelized optimistic execution” actually means. Keep reading below to find out 👇 In Proof-of-Stake consensus, validators receive a block from a single proposer at that height. Usually, validators wait for +2/3 of the network’s voting power to approve that block before a validator commits and executes the transactions inside of the block. Optimistic execution refers to validators executing blocks before the block has been committed. Instead of waiting for the entire consensus round to finish (which could take multiple seconds), the validators "jump the gun" and execute block transactions in a cloned version of the state, before the block is approved. In the majority case, proposed blocks are approved in the first round of consensus, so when the validators receive +2/3 votes from the rest of the network, they only need to commit the cloned version of the state that they were working on, instead of re-executing all of the block’s transactions, which reduces the time to start validating the next block. In the minority case where the block fails the consensus round, the validators discard the results on the cloned version of the state and restart consensus with a new block proposer. No transactions can be committed without +2/3 of the voting power behind it. Parallel execution refers to two or more transactions being executed at the same time. It’s only possible if the transactions are logically proven to be mutually exclusive from each other, i.e. they update different parts of state. For example, if Alice send a transaction to interact with smart contract 1, and Bob sends a transaction to interact with smart contract 2, and SC1 and SC2 don’t interact with each other, then it’s possible to execute those two transactions in parallel on a multi-core validator. For example, SC1 and SC2 can be different CW-20 token contracts. However, if Alice sends a transaction to transfer tokens to Bob, and Bob sends a transaction to transfer tokens to Charlie, then these two transactions are dependent, so it’s not possible to execute them in parallel and they must be executed serially. In high-user environments, the majority of transactions are mutually exclusive, so executing them in parallel increases throughput and lowers block times even more. Stay tuned for Nibiru’s parallelized optimistic execution implementation!
5,722
129,211
1,854
136,406
1,613,500
We're halfway through our Gamified Engagement Airdrop 😲 Tag a fren to join the party 🥳🪩🎉 ⏱️ Campaign Length: Feb 7 - Feb 28, 2024 💜 nibiru.fi/airdrops
8,491
141,832
2,458
148,511
1,607,549
Wanted to build a dApp but weren't sure where to start? Nibiru wants YOU! We are looking for builders interested in prediction markets, on-chain games, DeFi hedge funds, asset management, and more. Scope the list of RFPs and apply for a grant today! 👉🏽 bit.ly/3T3d9dx
5,355
116,245
2,061
122,951
1,223,053
Good morning
39
1
636
𝐔𝐏𝐅! followan? rt - Joy
139
3,460
𝐔𝐏𝐅! followan? rt - Renjun
115
2,161
𝐔𝐏𝐅! followan? rt - krystal
117
1,912
𝐔𝐏𝐅! followan? rt - winwin
116
2,664
𝐔𝐏𝐅! followan? rt - Asahi
125
2,457