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
Is it OK to use a mutex in a smart contract?

Suppose there is a mutex that locks some operations in the smart contract waiting for some other execution chains outside of the smart contract to finish. Is it okay to use such a pattern or should it be avoided?

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

Votes Newest