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
Why there is always only one shard in master-chain for any `seqno`?

Why there is always only one shard in masterchain for any seqno?

For example:
https://toncenter.com/api/v2/getMasterchainInfo
gives seqno 19586270

then
https://toncenter.com/api/v2/shards?seqno=19586270
gives

{""ok"":true,""result"":{""@type"":""blocks.shards"",""shards"":[{""@type"":""ton.blockIdExt"",""workchain"":0,""shard"":""-9223372036854775808"",""seqno"":24705898,""root_hash"":""WO/lwsDncDa6/EgStxNc+EIho0qGLYfRD6p3tD3A5dY="",""file_hash"":""fsv3DAqh3NbHMJ1/SUUsYS0uNO9jofgaQWV2QxB9rXs=""}],""@extra"":""1649164901.0717678:1:0.10214953529318616""}}"

https://t.me/tondev_eng/1423

  
  
Posted one year ago
Votes Newest

Answers


First, shards are used for network scalability, the network is using one shard at the moment.

Furthermore, there is about 2 tx per second in TON currently. (In mid 2022)

One shard is able to process around 100 tps and start to split to subshards around this value. So there is not enough load for many shards. There were actually 16 shards prior 9m blocks (due to global split params) and also some spam events as well.


More detail about Share Chain can take a reference in this reply:
https://answers.ton.org/question/1485660759835807744/ton-supports-multiple-workchains-which-one-should-i-use-in-my-code

  
  
Posted one year ago
Edited one year ago
17K Views
1 Answer
one year ago
one year ago
Tags