Introducing History Sharding

2018-11-1 01:28

As rippled servers operate, they continually witness data appended onto an ever-growing blockchain. This data becomes the history that the network agrees upon and that constitutes everything about the XRP Ledger.

As with most blockchains, it is imperative that XRP Ledger historical data remain readily available to participating servers. Therefore, every rippled server shares the responsibility of storing some history. But what if keeping the full history of the XRP Ledger starts to exceed the storage facility of most participants? For example, as of this writing, the space required to store full history of the XRP Ledger is over 8 terabytes, a hefty flash sum.

The history sharding feature, enabled in rippled version 0.90.0, addresses this issue by distributing history into segments called shards. A shard contains all of the data for a range of ledgers. Using the history sharding feature, individual rippled servers can contribute to storing historical data without needing to store the entire history.

A shard store does not replace a ledger store, but implements a reliable path toward distributed ledger history across the XRP Ledger Network. The history of all ledgers is shared by servers agreeing to keep shards. This makes it possible for servers to confirm that they have all the data they agreed to maintain, and produce proof trees or ledger deltas.

Because servers that are configured with history sharding randomly select the shards that they store, the full history of all closed ledgers is stored in a normal distribution curve, increasing the probability that the XRP Ledger Network evenly maintains the history.

Shard Store Validation

Beginning with rippled version 0.90.0, you can use the --validateShards command to check that shard store data is valid and consistent with network history. For example:

./rippled --validateShards

This operation verifies that all objects stored for every ledger stored in each shard are valid and consistent with the network. Run this command only when you start the server and note that it may take a while to complete.

Node Store to Shard Store

Beginning with rippled version 1.0.0, you can use the `–nodetoshard’ command to import the data from an existing ledger store into a shard store. For example:

./rippled --nodetoshard

This command enables you to create shards based on the history you already have. The command creates shards from complete ledger ranges in the ledger store.

The command creates a copy of the data, so your server must have the additional disk space required by the shard maximum disk space setting (max_size_gb) in the rippled.cfg configuration file.

Downloadable Shard Archives

Beginning with rippled version 1.1.0, you can use the download_shard API method to download and import shard archives from an HTTPS web server. For example:

{ "command":"download_shard", "shards":[ { "index":1, "url":"https://www.domain.com/1.tar.lz4" } ] }

A shard archive is a tar of a complete shard directory compressed with LZ4. Downloaded archives are checked to be valid and consistent with network history before being imported.

For more information, see History Sharding.

The post Introducing History Sharding appeared first on Ripple.

Similar to Notcoin - TapSwap on Solana Airdrops In 2024

origin »

Streamr DATAcoin (DATA) на Currencies.ru

$ 0.0518872 (-0.83%)
Объем 24H $2.384m
Изменеия 24h: 1.12 %, 7d: -1.95 %
Cегодня L: $0.051289 - H: $0.0524631
Капитализация $53.491m Rank 571
Цена в час новости $ 0.0417039 (24.42%)

history data introducing ledger xrp sharding rippled

history data → Результатов: 46


Фото:

Decentralized Exchange Bisq Sets New Record Bitcoin Trading Volume

Decentralized Bitcoin exchange Bisq revealed October 2018 has become the most successful month in its history, transacting over $3 million so far. Bisq’s $3M Month In a curious countertrend to the current lackluster Bitcoin trading environment which stems from low prices, Bisq set a new trade volume record for the week ending October 20, data from Coin Dance shows.

2018-10-22 13:00


Фото:

Think Different? Bitcoin Makes Trillion-Dollar Apple Look Like A Non Starter

Apple may have become the world’s first trillion-dollar company — but in Bitcoin terms, its performance is as flat as an iPhone 8. Apple’s Valuation In ‘Debased’ Fiat Data uploaded to social media this week by BloombergTV host Joe Weisenthal suggests that, despite the technology giant making history in US dollars, the event says more about the dollar than it does Apple’s performance.

2018-8-3 16:00


Solana ICO

Solana is a new blockchain architecture based on Proof of History (PoH) - a proof for verifying order and passage of time between events. PoH is used to encode trustless passage of time into a ledger - an append only data structure.

2018-7-27 01:26


Фото:

Welcome Lendledger, a Trusted Open Arrange to Bridge $2.6 Trillion Loaning Gap

Today, due to the principles of lending system, owners of small businesses without credit history in emerging markets just do not have any access to loans. Such a system can provide more volumes and sources of credit data and seriously facilitate cooperation between all market participants. Thanks to Open APIs, the decentralized network can fulfill

2018-7-20 17:22


Фото:

‘Wow’: Ethereum Fees Higher Than Bitcoin’s For First Time Ever

Ethereum traders were feeling the pressure July 18 after average transaction fees on its network surpassed Bitcoin’s for the first time in history. Ethereum ‘Benefited From Irrational Exuberance’ Data from monitoring resource Coin Metrics uploaded to Twitter Monday confirmed the unexpected reversal of fees, which compound an apparent lack of confidence in Ethereum’s outlook this week.

2018-7-18 21:00


Фото:

This visualization of Venmo’s public data is terrifying

PayPal’s peer-to-peer payment app, Venmo, is one of the modern world’s greatest conveniences. It’s a simple way to send people money without jumping through a bunch of hoops. But, what if you found out that every transaction you completed with the app was, by default, instantly uploaded to the internet for the entire world to see? You’d be upset right? Well, as it turns out, if you never changed the privacy settings in your Venmo account you’re sharing your transaction history with everyone.

2018-7-17 20:48