Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
How to check the current global gas limit?

As far as I understand, on TON blockchain there is a globally set gas limit, and its value usually stays the same, but hypothetically it could be changed. If it is so, how to check the current limit value at any given moment?


This question was imported from Telegram Chat: https://t.me/tondev/113797

Votes Newest

Answers


Yes, The current gas_limit field in the limits section indicates the current global gas limit. In the above example, the global gas limit is set to 1000000000000, aka, 1 TON.

Note that the global gas limit can be changed by the validators of the TON Blockchain through the governance mechanism. If the global gas limit is changed, the new value will be reflected in the output of the getconfig command.

To check the current global gas limit for the TON blockchain, you can use the TON Lite Client to query a full node on the network. Here's how to do it:

Start the TON Lite Client and connect to a full node on the network.
Use the getconfig 34 command to query the current global gas limit. This will return a value in nanograms.

Or get detail here:
https://ton.org/docs/develop/howto/config-params

  
  
wiki
Posted one year ago
14K Views
1 Answer
one year ago
one year ago
Tags