Laisha Wadhwa | OpenToWork Profile picture
Aug 13, 2022 11 tweets 3 min read Read on X
Its day 17th of #web3glossary 🚀🚀

If you’ve found yourself pulling your hair out when a transaction seemingly pauses forever, this thread is for you🤯

The impounding question is,
Why is my transaction queued? 🤔

Is it pending or queued? Let’s get some clarity, shall we?
👇👇
Transactions submitted to a network through an EVM node can have one
of the two following statuses before they are propagated to the network
and included in a block:
👉Pending
👉Queued

What’s really the difference though?
Pending are the transactions in the transaction pool that are ready to be included in a block.

Queued transactions are the ones waiting to become the pending transactions.
Where does this queue put up?

The queued pool
👇👇
It’s a pool of txns in the mempool that are not yet ready to be processed because they are out of order

Out of order? What does it imply?
Every txn has an account nonce (not block nonce). Every time an account does a txn, the account nonce of the transaction is incremented by 1
If a txn is sent with a nonce that is higher than the current txn count for the sender’s account (creating a gap in the nonces), then the txn will be added to the node’s local transaction pool with a queued state.

An example would help
👇👇
An account 0x463.. creates a txn for the first time. The txn gets the account nonce 0. The transaction goes directly into the pending pool and is eventually added to the block.

The next transaction from account 0x463... is automatically incremented by 1 and gets the acct nonce 1
The transaction goes directly into the pending pool and is eventually processed. Say account 0x463... creates a 3rd txn & manually sets the transaction's account nonce to 3, the txn will get the status queued coz there’s no txn with the account nonce 2.
👇👇
The queued txn will not be propagated to the network until there is a txn with the account nonce in sequence.

How to fix it?🤔
📌Fill the gap
Once account 0x463... creates a valid txn with account nonce 2, the queued transaction gets unclogged and is added to a block.

👇👇
📌Send a rescue transaction
To effectively cancel a queued transaction, send another txn from the same acct with the same nonce, but a gasPrice that is at least 10% higher than the gasPrice of the original txn. You could send 0ETH with fromAccount=toAccount so that...
.....the only cost of the transaction is its gas.
Nonce ordering is only one of the reasons why your transaction is pending, there could be other reasons like, sending a very small amount with insufficient fees, high n/w volume to count a few.
Thats a wrap for Day 17!

I’ll be sharing information on the new vocabulary of the web for next 30 days.🚀

It’s like a free crash course on the terms and methodolgies in Web3.

📌Follow me @laishawadhwa for more such web3 gyaan!

📌RT the first tweet to share with the community

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Laisha Wadhwa | OpenToWork

Laisha Wadhwa | OpenToWork Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @laishawadhwa

Sep 22, 2022
Whether its a brand fight b/w Pepsi & Coca Cola or Nike launching a new shoe collection, brands spend millions of $$ on marketing to win the battle. For brands to hold a prominent position in the eyes of their targeted audience, strategising is vital

Let me ask you question👇👇
How much does an Umbrella cost?
10$ - 12$ maybe

What's the function of an umbrella?
📌To Keep you dry when its raining

There’s a brand called Pasotti, whos’ umbrellas cost anywhere between 250$ - 800$
Obviously a more sturdy, luxurious umbrella, even opening it sounds good💯 Luxurious umbrella worth 375$
But, why would someone pay 500$ for an umbrella when the function is the same?🤔

When people are buying quality, they’re expecting something different. They take better care of it, and since they take better care of it, it lasts longer.
Read 5 tweets
Aug 26, 2022
Gm web3 fam!

Its finally day 26 of #web3glossary🚀
And with this, series has come to an end

Z: zk Rollups

By learning you'll teach and by teaching you’ll learn. Sharing on web3 terms & jargons for the last 1 month was a great learning experience for me and I hope for you too
Let's get to the thread now?

Having to spend $20 or more in gas fees for a single txn is not ideal if you want to complete a DeFi trade

If you've been hearing zk or zero knowledge, you're not alone. It's the next big thing in web3
With an increase in the number of Dapps, ...
there’s a need for faster processing speeds & cheaper txns.

That’s when layer 2 solutions came in.

Zk rollups are also a layer 2 scaling solution that increases throughput on Ethereum Mainnet by moving computation & state-storage off-chain

👇👇
Read 14 tweets
Aug 23, 2022
Gm web3 fam!

Its Day 25 of #web3glossary

Decentralized networks can only provide 2 out of 3 benefits at any given time in terms of decentralization, security, & scalability Blockchain Trilemma

Let’s look at modular blockchains which aim at solving for scalability & flexibility
We’ll be comparing different modular blockchains today, but first

What’s modular blockchain?🧐
In monolithic blockchains such as bitcoin,Ethereum all the nodes & validators of the network are required to execute the same txns & do consensus on the chain

Modular blockchain..
..focuses on handling a select few duties (consensus, execution, Data availability & settlement) & outsourcing the rest to one or more separate layers

It’s just like separating a system into distinct components that can be combined in various ways to achieve specific objectives
Read 13 tweets
Aug 21, 2022
Hola folks 👋

Its Day 24 of #web3glossary 🚀🚀

Consensus mechanisms ensure that all the txns on the network are genuine & all participants agree on a consensus on the status of the ledger. PoS and PoW are the most commonly known.

Today we look at PoA, PoB, PoC and PoH

👇👇
Need some background on consensus algos? Check out this thread on PoS vs PoW
Both PoS and PoW have their fair share of pros and cons, let's look at how other cosensus algos differ

PoA: Proof of Activity (not authority)
To verify participants blocks, it combines its tokens to allow both mining and staking. The blocks themselves do not contain transactions
Read 17 tweets
Aug 20, 2022
Gm Gm Web3 fam!

Its Day 23 of #web3glossary

W: WWW,Wrapped token,wei
Do you remember the first time you heard about Blockchain? Maybe you took it as a new technology that would change everything. Maybe you just wondered if you should start investing in crypto.
Maybe...
👀👇
..you were just getting your head around the concept of a decentralized web
The truth is web3 is indeed the decentralized internet of the future🚀

#web3glossary was started as a series of twitter threads to help people understand this space better and clear the air around...
.. the terms & jargons we hear around. We are almost at the end of the series and I would like to hear from you what value you gained from it and what more would you like to see😃
Until then, let’s get to today’s thread

Let’s go back to where it all started- the world wide web👇
Read 15 tweets
Aug 18, 2022
Gm gm folks 🫡

Its day 22 of #web3glossary 🚀🚀

V: Validators

Validators of blockchain technology aren't only its sower but its rewards reaper too. Let's get to the depth of it🧐

But first, here's some humor to start with
👇👇 Image
What are crypto validators and how do they work?
Crypto validators = Payment processors of the decentralized networks.
Technically, a crypto validator is a participant in a blockchain responsible for verifying txns.
After verifying the legitimacy of the txn, the validator adds..
..it to the distributed ledger.

Seems like the job of a blockchain validator is not that difficult!
You receive some data, check its accuracy, and validate it or not.
However, on a distributed ledger, it's easier said than done👀👀
Read 15 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(