TheDinarian
Gaming • News • Investing & Finance
Pull Mode: the Latest Initiative to Increase Stellar’s TPS
Feb 16, 2023
February 22, 2023
post photo preview

TPS, or “transactions per second,” is one of the most talked-about data points in blockchain. Journalists rank different blockchains using it. Policy makers speculate over it. Twitter degens go to war over it.

It’s a metric of how much work blockchains can actually manage, and a high TPS rate helps make transacting over a blockchain more desirable than using traditional financial rails. What makes Stellar optimal for payments is in part due to its competitive TPS rate. Maintaining that rate, and even improving upon it, has long been a focus of the Stellar community. 

Stellar is not currently limited by TPS. The network’s maximum rate is set at 200 TPS, though that could be raised by the community were validators to vote for it. And though transactions occasionally reach that 200 TPS rate, the blockchain is still able to resolve transactions waiting for validation within a few seconds — just, you know, not right at that very second

But as always, Stellar still reaches for the stars. It’s always preferable for the technology to be able to handle more data flows than it needs to, which is why so many core releases and protocol upgrades center around increasing transaction speed capabilities. One of those releases, 19.4.0, introduced Pull Mode, a feature that all validators started using after release 19.7.0. These releases prepared the network for a major protocol upgrade to increase network capacity. 

It’s important that all validators understand what these releases set out to accomplish. That way, they can verify that the release actually accomplished its goal, and offer improvements or point-out flaws. So let's dive into how Pull Mode was designed, and how it helps improve Stellar’s TPS. 

If you’re more of a visual learner, you can also watch SDF engineer Hidenori Shinohara’s presentation on Pull Mode from Meridian last year: 

                                       

Transaction propagation 

There’s a lot of complexity in the Stellar Consensus Protocol (if you don’t understand how it works, I highly recommend you read the white paper before continuing). But tl;dr: network validators must all keep track of a complete historical record of every operation that’s occurred on the Stellar network in order to keep things running. They must also reach agreement with each other in order to — you guessed it — validate a new transaction and close the ledger. 

To do this, validators need to tell each other about transactions. They do that via something called “transaction broadcasting,” which is also sometimes referred to as transaction “multicasting,” or “flooding.” Don’t be mistaken — though broadcasting implies a central entity is sending data to everyone else, that’s not what happens here. Instead, each node is broadcasting data about transactions to other nodes in the network, with no one node being the central disseminator of information. 

Because there isn’t just one node broadcasting information about transactions, power is decentralized. Decentralization is a good thing, because it means that no one node has the power to block transactions. The downside, however, is that there’s an excessive amount of redundant information being disseminated between nodes. There are so many nodes telling each other about transactions, that sometimes a single node is told about a transaction over 30 times. 

Redundancy can help make a system stable, but that level of redundancy is unnecessary. It takes an excessive amount of CPU, memory, and bandwidth to function, which slows down the network’s speed. In other words, transaction broadcasting was a limiting factor on Stellar’s TPS before core release 19.7.0 mandated Pull Mode for all validators. 

Wait - so what is Pull Mode? 

Imagine you want to send someone that you don’t know all that well yet — maybe an office colleague at your new job — a gift for their birthday. You don’t know if they already have the cute little squishmallow you want to buy them in their stuffed animal stash. You’re not even sure if they like oversized stuffed animals at all. So what do you do?

You ask a few questions before you go out and buy that squishmallow and give it to them.

That’s the concept behind Pull Mode: “ask before you send.” Though it seems pretty obvious to humans, it’s not so obvious to validators on a decentralized network. But after the implementation of Pull Mode, validators started sending each other a representation of a transaction to check whether a validator already knows about it before sending the transaction itself. 

That representation of the transaction is a hash: a shortened notation for the transaction that’s used in this context because it takes less computing power to transmit and read. The transaction itself is then only sent if the receiving node doesn’t already have a record of it, and if it accepts the request. 

Pull Mode was tested in Stellar Supercluster, a simulation platform designed by SDF to evaluate changes to Stellar Core. You can read more about how it’s designed here. In short, it simulates a distributed network within a few computers, but with more sophistication than running a simple test on just a laptop. It’s designed to be an environment for testing how code will behave on Mainnet, without directly pushing it to Mainnet and risking any disruption. 

Pull Mode was tested three ways: in a version of Stellar Supercuster meant to behave like a realistic network, in a version of Stellar Supercluster with other potential configurations, and a version that permitted limit testing, flooding the network with transactions until it breaks to determine an absolute maximum TPS. 

Though Stellar Supercluster results are all relative — i.e., they can be compared to other simulations done in Stellar Supercluster, but not to the Mainnet or other public blockchains — the results showed Pull Mode increasing the maximum TPS by 72%. This is likely because Pull Mode decreases the computational power necessary to validate a transaction. 

Keeping tabs

So, what should you do with this information? Well, like I said, Pull Mode is already live — it was introduced last fall, and turned on for all validator nodes with a core release last week. That means if you run a validator node, your node is using Pull Mode. And if you’re simply transacting on the network or building on top of it, you’re simply reaping the benefits (Congrats. Also, you’re welcome!). 

But a thriving blockchain community isn’t passive. It’s important to stay engaged with upgrades, so when you’re looking at the code, you actually understand what it accomplishes. Because of Pull Mode, for example, you should see that running a node requires less bandwidth, memory and CPU than before. 

Have ideas on how to improve Pull Mode, or other aspects of Stellar Core? Reach out with feedback on Github.

 

Link

community logo
Join the TheDinarian Community
To read more articles like this, sign up and join my community today
0
What else you may like…
Videos
Posts
Articles
September 20, 2024
🪙 President Trump Becomes 1st US President To Pay In Bitcoin 🪙

🚨BREAKING: President Trump just paid his tab in a NYC bar using Bitcoin making this the first public crypto transaction by a president.

00:01:46
September 18, 2024
✨ A Documentary to Awaken to a New Paradigm of Wellness ✨

🌎The Awakening Has Begun! 💥 For centuries, we have been living in a world of deception, manipulated by the powers that be. But the truth is finally starting to unravel, and it's a GREAT time to be alive! 🎉 We humans are much, much more than you can even imagine." 🤯 It's time to break free from the shackles of ignorance and uncover the secrets that have been hidden from us for so long. 💡 The truth is, we have been lied to about almost everything. From the origins of our world to the nature of our reality, we have been fed a constant stream of misinformation and disinformation. But no more! 🔊 The awakening is happening, and it's a beautiful thing! 🌈 ~The Dinarian

👉 IT’S TIME TO REMEMBER WHO WE ARE.
👉 IT’S TIME TO REMEMBER WHAT LOVE CAN ACHIEVE.
👉 IT’S TIME TO RECLAIM OUR POWER AND CO-CREATE.
👉 A NEW WORLD THAT WORKS, FOR EVERYONE.

“It’s Time” was inspired by the story of Gail Lynn, a woman whose quest for healing led her to discover revolutionary ...

00:50:49
September 18, 2024
⚠️ Four Million Customers Stop Paying Their Mortgages ⚠️

This may be coming to a Mortgage lender near you!

00:02:48
VET’s Wave 3 Surge: Could It Be the Game-Changer to $2? 👀

● Wave 3 pattern forms.

● Technical charts suggest a rapid move toward $1, potentially $2.

● Investors should monitor VET as a Wave 3 breakout may trigger explosive gains.0000⁰

Vechain (VET) could be on the brink of a massive price move. Technical charts are showing signs of an impulsive Wave 3, which might push VET towards $1 or even $2.

If this wave plays out, the token might experience a quick, sharp rise. This could be the game-changer for investors looking for big retur;,,ns.

○ Could Wave 3 Push VET ,to $2?

After that, a move to $2 could follow during the blow-off top. This whole process could unfold in just a few weeks, based on past performance.

VET holders need to stay ready. If this pattern plays out, it won’t takn̈;be long for the price to make major moves. Vechain has strong fundamentals, and the technical indicators seem to support this scenario.

Investors waiting for a big breakout should keep a close eye on the charts. The next few months could be crucial for ...

post photo preview
Congressman Alleges SEC Misuse of SAB 121 to Crack Down on Crypto Custody Providers 💥

○ The U.S. Securities and Exchange

Commission (SEC) is under criticism over the contentious Staff Accounting Bulletin 121 (SAB 121) rule. United States Congressman Ritchie Torres has expressed his disapproval, claiming that the SEC’s implementation of SAB 121 breaches accounting standards and jeopardizes innovation in the cryptocurrency sector.

SAB 121, which went into effect in March 2022, requires cryptocurrency businesses to include customer crypto assets as liabilities on their balance sheets. Industry participants are worried about this requirement.

○ SAB 121 Rule Under Scrutiny

Notably, in Torres’ opinion SAB 121 deviates from generally accepted accounting principles (GAAP). The regulation, which mandates that cryptocurrency businesses give thorough disclosures regarding the custody of their digital assets, has sparked worries about heightened regulatory scrutiny.

Furthermore, banks have been impacted because of increased regulatory pressure as a result of the SEC’s recent request that ...

👀 WLD Price Drops as Bankrupt 3AC and Alameda Liquidate Their Worldcoin Holdings 👀

The ongoing Worldcoin (WLD) token sell-off by bankrupt institutions Three Arrows Capital (3AC) and Alameda Research is worrying investors. These institutions have been steadily selling their unlocked tokens since July, leading to downward pressure on WLD’s price.

Three Arrows Capital, a now-bankrupt hedge fund, holds 75 million WLD tokens and has been unloading its holdings since the end of July. To date, the liquidator, Teneo, has sold a total of 2.538 million WLD, worth $4.06 million.

Transaction data from Etherscan shows ongoing transfers from 3AC’s liquidation wallets, with around 72.46 million WLD still held, valued at roughly $115.2 million. These tokens are being sold gradually, and at the current rate, it could take up to three years for 3AC’s holdings to be fully liquidated.

Alameda Research also holds a sizable amount of WLD. Through its investment in Worldcoin, Alameda acquired 25 million WLD and has been selling its unlocked tokens weekly since early August.

Up to now, the firm has...

September 18, 2024
post photo preview
Going Cashless: Stablecoin Payments 101

What are stablecoins?

A stablecoin is a type of digital currency designed to make transacting with crypto more practical. Most stablecoins are pegged to a fiat currency like USD or EUR. Because of this, stablecoins have acted as a gateway into using blockchain and digital assets for payments amongst users concerned with cryptocurrency price volatility. 

Like many digital assets, stablecoins can provide broad, inclusive access to the financial system, and enable the fast and efficient movement of value. In 2022, fiat backed stablecoins transacted $6.87T, eclipsing both Mastercard and PayPal in terms of moving value across networks.

How do stablecoins work for payments?

Using stablecoins for payments combines the benefits of blockchain technology — namely greater security, transparency, cost efficiency, and speed — with the trust and familiarity of traditional fiat or local currency.

As demand for stablecoins grows, particularly as cash use experiences a historic low, more individuals and businesses are considering these assets as payment alternatives. The number of Americans who say they did not use cash to make a purchase in a typical week is now 41%, up from 29% in 2018. Business owners are increasingly finding the switch to stablecoin payments advantageous, noting rising consumer demand, faster checkouts, lower labor costs and increased security.

The trend towards stablecoin use is driven by the benefits of blockchain technology that add improvement over credit-card and other traditional payment types. 

Stablecoins reduce the role of intermediaries in the current financial system and support direct transactions between merchants and consumers, reducing intermediary costs. Because stablecoins are cryptographically secure, users can settle transactions almost instantaneously without double-spending or other problematic settlement facilitation

Because stablecoins are built on distributed ledger technology, they offer programmability to payments via smart contracts which can inspire useful product or service innovation and link the traditional Web2 economy with the future of finance—Web3.

Adoption of new digital payment methods offers significant benefits to customers and society: improved efficiency, greater competition, expanded financial inclusion, and innovation

Stablecoin market at-a-glance

The fiat-backed stablecoin market cap today is over $100 billion. While the stablecoin market is still largely dominated by a couple incumbents—namely Circle’s USDC and Tether’s USDT—newer stablecoin issuers like PayPal (PYUSD) and Ripple (RLUSD) have more recently come onto the scene with USD-backed stablecoins

Ripple USD is purpose-built for payments, designed to maintain a constant value of one US dollar. It is fully backed by a segregated reserve of cash and cash equivalents, and is redeemable 1:1 for US dollars. RLUSD is issued on the XRP Ledger and Ethereum blockchains, enabling instant payouts and easy fiat-stablecoin on/off ramps. For exchanges, remittance and money transfer providers, or payment service providers (PSPs) that want to hold, buy and trade USD on-chain, RLUSD provides fast settlement, multi-chain issuance, and programmable finance—opening up a whole new world of use cases and revenue streams.

Ripple USD is built with regulatory compliance as a defining feature, bringing with it an opportunity for developers, payment providers, exchanges and others to benefit from the stability and transparency Ripple is uniquely able to provide. With over a decade of experience at the intersection of crypto and finance, and a proven track record working with regulators and policymakers across the globe, Ripple is accelerating the digital asset economy with RLUSD.

What about stablecoin regulation?

On-trend with the rest of the global crypto industry, regulation of this new asset class has already begun to take shape, and tends to merit more political support than crypto regulation more broadly. Stablecoin regulation is quickly progressing across the globe, from North America and Europe to Asia, and more recently, the UAE

The U.S. is witnessing regulatory progress with recent bipartisan support for the 'Clarity of Payments Stablecoin Act'. If passed, the legislation could unlock stablecoin innovation led by private players in the blockchain industry, allowing anyone with consumer distribution (social, commerce, finance) to partner with a regulated stablecoin issuer.

 

Link

 

Read full Article
September 18, 2024
post photo preview
OpenOcean v4 Lightning: The Fastest Trading Solution on 30+ Chains
👉 A New Tool For The Crypto Toolbox

In the rapidly evolving world of DeFi, staying up-to-date is crucial to keep your capital ahead. OpenOcean Lightning is here to support your serious DeFi trading and development needs.

Introducing OpenOcean Lightning ⚡️ — a major update designed to deliver the fastest, most accurate, and most scalable DeFi trading solution. This revolutionary update is effective on both OpenOcean frontend UI and API.

Whether you’re building a cutting-edge dApp, engaging in trading, market making, or arbitrage, OpenOcean Lightning ensures you get the best on-chain prices and elevate your DeFi strategy.

Here’s why OpenOcean should be your go-to choice:

1. Fastest Response Time for Unbeatable Accuracy

Speed is key for on-chain trading. OpenOcean Lightning delivers a lightning-fast response time at average under 150ms, which is 3.3x faster than other DEX aggregator leaders. This rapid response ensures the most accurate on-chain price quotes, resulting in the highest transaction success rates and reduced slippage, ultimately leading to the most efficient and cost-effective trades.

2. Deepest Liquidity & Widest Reach for Best Swap Prices

OpenOcean is the aggregator with the widest reach, now supporting 30+ chains, including Ethereum, BTC Layer 2, Solana, major L2s like Base, Arbitrum, BNB Chain, Optimism, (Sonic"previously Fantom") and more. By integrating more than 1,000 liquidity sources, OpenOcean covers over 99% of liquidity on major chains. For example, OpenOcean has the deepest liquidity on Arbitrum as it’s the only dex aggregator with $400m GMX v2 pools indexed.

Plus, OpenOcean Lightning intelligent routing algorithm ensures you get the best prices by effectively navigating the deepest liquidity. Whether you’re trading popular DeFi blue chips or exploring memes, OpenOcean guarantees optimal swap prices, offering confidence in every trade.

3. Enhanced Security for Every Swap

The Dynamic Slippage mechanism is applied on OpenOcean Lightning to enhance MEV protection. When switching to MEV mode, it automatically applies the optimal slippage in the swaps to prevent MEV losses. In the simulation testing, 90% of swaps received the slippage optimization, with over half of cases achieving a reduction of more than 40% and better prices.

To further enhance security, OpenOcean is integrating Permit2 to reduce approval risks. With no major security issues since 2020, you can trade confidently with OpenOcean, knowing your large and small trades are well-protected.

4. High Capacity and Scalability: Handles 1k+ RPS with Ease

Planning for growth? OpenOcean v4 Lightning can handle it. OpenOcean Lightning API could scale up to manage over 1,000 requests per second, ensuring smooth and reliable performance even during the busiest trading times. Perfect for high-frequency trading, bots, and large-scale industry-leading DeFi dApps. Reliability during peak times isn’t just a goal — it’s a guarantee.

5. Monetize Your Apps with Professional API Support

Looking to turn your dApp into a money-making machine? OpenOcean Lightning API provides all the tools you need — swaps, limit orders, DCA, and cross-chain swaps. Plus, OpenOcean API fee-generating settings and real-time on-chain data dashboards give you the insights to stay ahead of the game. Need something special? OpenOcean developer team is ready to help you customize the perfect solution.

Start Building with OpenOcean Lightning Today!

Join the ranks of top projects like Metamask, Rabby, LiFi, and other 150+ industry partners who trust OpenOcean Lightning to power their trades. With millions of successful calls already under the belt, OpenOcean is ready to help you boost your DeFi operations.

The best part? You can start with a free starter plan — no hidden fees. It’s time to level up your trading with OpenOcean Lightning.

Contact us: 🔗 Get Started with OpenOcean 🌊⚡️

API Docs: https://docs.openocean.finance/dev/aggregator-api-and-sdk

Try Swap Here: https://app.openocean.finance/

Link

Read full Article
September 18, 2024
post photo preview
⛓️ Understanding Theta and TFuel Staking ⛓️

Before diving into the staking process, it's essential to understand what Theta and TFuel are and why staking them is beneficial. Theta and TFuel are both native tokens of the Theta Network, a decentralized video delivery network powered by blockchain technology. Staking involves locking up your tokens in a smart contract to support the network's operations, such as validating transactions and securing the network.


Choose a Wallet

To stake Theta and TFuel, you'll need a compatible wallet that supports staking. Popular options include Theta Wallet, which is the official wallet for Theta Network.

Supported Theta Wallets


How To Stake Theta and TFuel

For a quick and easy-to-follow guide on staking Theta and TFuel, check out our step-by-step tutorial available on our website.

How To Videos


 

Which Node

Need to unstake your Theta or TFuel but can't recall the address of the node you staked to? No worries! Our Node Search feature has got you covered. Simply head over to our Node Search page, where you can effortlessly locate the node where you initially staked by filling in your address.

How to Find Your Node(s)

 

Link

 

Read full Article
See More
Available on mobile and TV devices
google store google store app store app store
google store google store app tv store app tv store amazon store amazon store roku store roku store
Powered by Locals