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
Unanswered
Should I use the masterchain or a workchain?


Masterchain is a "system-level" chain for stuff that affects the whole network, and workchain is where the "regular life" happens such as users sending each other Toncoins. There is only one workchain at the moment, but there could be possibly much more in the future.

You could probably think of the masterchain as the "basement" of a building and of workchain(s) as the "floor(s)" where people actually live.

So mostly you don't need to deal with the "basement", you just do your stuff using the basic workchain. And if you'll need to "go to the basement" (directly interact with the masterchain) for some reason in the future, that would probably mean you got into some low-level stuff, and by that time you'll know the difference.

1
1
Posted one year ago
Edited one year ago
  
  

master chain is also a lot more expensive in terms of gas prices, so users will rationally use base chain for normal tasks.

Behrang Norouzinia   one year ago Report
326 Views
0 Answers
one year ago
one year ago