Solana: slot vs block height vs block’s BlockHeight
Solana GetBlock RPC Ponimania: Saces, High Block and Block
The platform of the rapid and replacement blockchain solana uses the unique RPC (a removed procedure) for mingle with her hacks. One of the mains of the solan api is a getblock RPC, which allows the scraps to scan the concrete blockers from the blockchain. The topic does not, this RPC appears several significance: gambling, graph, makslen and Sotals. In this state, we will think that they show these parameters, and their calculations.
1. Slot
The GETBLOCK RPC “slot” parameter recognizes the blockchain blockchain block. By the time, this is a unique identification of each block, which was erupted from the nights. When you wear RPC GetBlock with the slot argument, Solana eats the block into this concrete rosette.
That’s the Primer:
`Bash
Curl -x http ‘
`
This is the veneer block with the number 100.
2. The High School Block
The blockheight parameter is growning a high -rise blockchain. This shows the general amount of blocks in the history of blockchain. This value can be used for the demolition of which, which unit you intertes, but remember that this is not a concurrent unit.
You need to use the back of the back of the RPC or API, such as the general highness of geinfo and getblock with the gastric nesting nesting to make a high blockchain on the finished block of the block.
Here are a few pins:
`Bash
Curl -x Get ‘
`
This is an adequate state of blockchain, included in the number of blocks.
`Bash
Curl -x http ‘
`
This is the Vernets block with the number of 100 and 2000.
3. Blockheight
The blockheight parameter is returned to the general blockchain size in the bytes, which are cleared by the supply of all blocks of the scheme. This is indigented for the optimization of the production and the ponimania of that, the rally of the data was transferred to the net with the time of time.
`Bash
Curl -x Get ‘
`
This is the answer, which contains the different metrics blockchain, included the general unit.
`Bash
Curl -x http ‘
`
This is the veneer of all blocks from the high 2000.
In thet:
- County Units the blockchain of the bothery block.
- Blockheight returns the general blockchain in inhats.
- Blockheight submitted, the data was the translation on the net with the time. Nors tai nėra tiesiogiai Susijusi su konkrečiu blku, tai yra svarbi tinklo veikimo supratim metrika.
I think with these parameters of the migrants may be better offered with its program solana and consistently optimize its work.