Home Coins Stellar Lumens (XLM) Charge Bump Transactions Defined - Stellar Group

Charge Bump Transactions Defined – Stellar Group


Tyler van der Hoeven

Stellar is consistently evolving and bettering by way of a sequence of protocol releases. The latest launch — Protocol 13 —launched an extremely highly effective new function: charge bump transactions. On this article, we’ll have a look at transactions on Stellar, the prices concerned in submitting them, and a few issues that would come up submitting transactions pre-Protocol 13. Then we’ll present how charge bump transactions resolve them.

TL;DR watch this.

Transactions on Stellar are packing containers containing wherever from 1 to 100 operations. Funds, trustline creation, affords, and choices are all examples of operations that may be packaged inside a transaction. For a transaction to be submitted to the community for execution on the ledger, two consumables have to be spent: a charge and a sequence quantity.

Charges are fairly simple to grasp: they act as a spam deterrent, and permit the community to greatest serve its main goal whereas dis-incentivizing all the things else. Charges permit for focus: pay the transaction charge and the community will execute your operations.

Sequence numbers are the lesser recognized of the pair, and so they’re usually a wrench in an in any other case well-oiled machine if you’re making an attempt to create a scalable, worthwhile ,and profitable enterprise on Stellar. Sequence numbers are fairly much like API nonces or one-time use tokens: they defend towards replay or double-spend eventualities the place two or extra machines execute an identical operations in numerous transactions on the identical time.

What does that imply? Think about the Stellar community as a financial institution (which it’s not, btw): there’s an extended counter with a number of tellers lined up at their home windows able to obtain buyer requests. Each 5 seconds every teller receives the subsequent shopper in line, everybody on the desk makes their request, and the tellers all execute these requests. They repeat the identical course of once more with the subsequent purchasers in line.

You’re a grifter (naturally), and also you enter the financial institution with a rigorously ready and rehearsed scheme in thoughts: proper as a 5-second cycle closes, you run as much as an open window and enter a request to withdraw $100 out of your account. The teller accepts the request, and begins trying up your account to organize to regulate your steadiness and offer you your $100. Whereas that teller is working, you rush over to one other open window and make the identical request to one other teller. They, too, start trying up your account. Every teller sees you’ve $100 in your account proper now, and every dutifully reduces your steadiness to $Zero and slides a crisp $100 underneath the glass. Because the 5-second cycle closes, earlier than the error may be caught, you stroll away with $200.

This state of affairs is what sequence numbers defend towards. When the primary teller seems up your account, they embrace an account sequence quantity saying they’re about to withdraw $100 for sequence X. For those who attempt to use the identical X sequence quantity when the subsequent teller seems up your account, they get an error notifying them that the sequence quantity is already in use. The one manner you may get round that is to shortly decide up a brand new ticket quantity for sequence quantity X+1. At this level, nevertheless, the second teller will see a withdraw request for $100 was made within the earlier sequence, which might put your steadiness at $0. You wouldn’t have the cash to finish this extra request, so the teller rejects it. Sequence numbers hold accounts operating in sequential order the place every intention is signed with a “ticket quantity,” disabling interceptive duplication or replays.

Charges and sequence numbers are each important options of the Stellar protocol, however that doesn’t cease them from hanging round to harass you as you try and run non-nefarious actions on the Stellar blockchain. Let’s think about a number of legitimate eventualities the place these options can spoil an in any other case flawless software.



Supply hyperlink

- Advertisement -
Mr Bitcointe
Mr Bitcointehttps://www.bitcointe.com/
“Fact You Need To Know About Cryptocurrency - The first Bitcoin purchase was for pizza.” ― Mohsin Jameel
474FansLike
76FollowersFollow
4,567FollowersFollow
5,261FollowersFollow
1,581FollowersFollow
2,230SubscribersSubscribe
USD - United States Dollar
EUR
1.16
GBP
1.27
CHF
1.08
NOK
0.10
JPY
0.01
CAD
0.75
AUD
0.70

Most Popular

Inside the blockchain developer’s mind: The vertical scaling crisis

This is Part 2 of a three-part series in which Andrew Levine outlines the issues facing legacy blockchains and posits solutions to these...

Daily Report, September 24

Six new slots games launched.Introducing new game providers along with new games continues.New project development continues.New UI web development continues.Monthly AMA questions collection...

Chainlink Token Down 60% in Under 40 Days: Opponents Ask If the Bubble Has Finally Burst?

After reaching an all-time high of $19.20 on August 14, the Chainlink token now trades lower after losing more than 50% in...

Bitcoin adoption heats up as climate change wreaks havoc worldwide

In October 2018, the journal Nature Climate Change made headlines both within the crypto world and beyond after it published a study claiming that...
bitcoin
Bitcoin (BTC) $ 10,490.35
ethereum
Ethereum (ETH) $ 339.63
ripple
XRP (XRP) $ 0.232524
tether
Tether (USDT) $ 1.00
bitcoin-cash
Bitcoin Cash (BCH) $ 215.28
bitcoin-cash-sv
Bitcoin SV (BSV) $ 153.60
litecoin
Litecoin (LTC) $ 44.77
eos
EOS (EOS) $ 2.56
binancecoin
Binance Coin (BNB) $ 23.83
okb
OKB (OKB) $ 6.17
tezos
Tezos (XTZ) $ 2.05
leo-token
LEO Token (LEO) $ 1.24
cardano
Cardano (ADA) $ 0.081115
monero
Monero (XMR) $ 91.48
stellar
Stellar (XLM) $ 0.071276
chainlink
Chainlink (LINK) $ 8.18
huobi-token
Huobi Token (HT) $ 4.61
tron
TRON (TRX) $ 0.025493
usd-coin
USD Coin (USDC) $ 1.00
dash
Dash (DASH) $ 67.57
neo
NEO (NEO) $ 21.18
iota
IOTA (MIOTA) $ 0.248827
nem
NEM (XEM) $ 0.107425
zcash
Zcash (ZEC) $ 53.18
maker
Maker (MKR) $ 458.58
paxos-standard
Paxos Standard (PAX) $ 1.00
ethereum-classic
Ethereum Classic (ETC) $ 4.95
vechain
VeChain (VET) $ 0.012144
true-usd
TrueUSD (TUSD) $ 1.00
ftx-token
FTX Token (FTT) $ 3.58
kucoin-shares
KuCoin Shares (KCS) $ 1.03
waves
Waves (WAVES) $ 2.41