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
Why the `recv_internal` / `recv_external` are the same here in payment-channels example here?

For example, if you examine the code in detail here:
https://github.com/ton-blockchain/payment-channels/blob/e605580c3fb1feb22d80be9a0cddfcd05671c347/func/async-channel.func#L583

You will see that the code is the same for both external and internal receive functions:

() recv_internal (int contract_balance, int _, cell _, slice in_msg) {
  return recv_any(contract_balance, in_msg);
}

() recv_external (int contract_balance, int _, cell _, slice in_msg) {
  ;; Note that only cooperative_close and cooperative_commit
  ;; will be accepted
  return recv_any(contract_balance, in_msg);
}

My question is: What is the difference between these functions in FunC, and why does it occur?

  
  
Posted one year ago
Votes Newest

Answers

6K Views
0 Answers
one year ago
one year ago
Tags