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
If I declare logic on the blockchain, do I need a server to perform a remote calculation?

If I put a logical calculation, such as a multiplication, on the TON blockchain, do I not need a server to perform that remote calculation?


This question was imported from Telegram Chat: https://t.me/tondev_eng/9464

  
  
Posted 2 years ago
Votes Newest

Answers


The idea behind most blockchain dapps (not specific to TON), is to make the entire backend on-chain as smart contracts. It is recommended to avoid any servers for remote calculations. This is possible because the validators/nodes of the blockchain act as the remote servers. They are incentivized to act as remote servers because you pay gas with the TON currency.

  
  
Posted 2 years ago
Jeremy
421 × 5 Administrator
16K Views
1 Answer
2 years ago
2 years ago
Tags