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")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, 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
Guaranteed message delivery with send_raw_message()

Consider I have a highload wallet smart contract deployed to the TON network and I send an external message to it in order to deliver 100 value transfers to different accounts in the network by using a send_raw_message function (crypto exchange scenario). The contract is using a seqno mechanism in order to prevent double processing of the same external message.

So, if after sending the transaction I observe that contract's seqno has increased by one, can I be sure that all 100 transfers were also successfully completed or will be guaranteedly completed in the near future (next or so block)? Of course I'm the only one who can send external messages to the contract.

Or do I need to actually confirm delivery of each of the 100 transfers to their destination wallets?

According to the TON white paper (section 2.4. Messages Between Shardchains) TON should ensure exactly-once delivery. However, I'm interested if this actually works in practice.

1
1
Posted 3 months ago
Edited 3 months ago
Slava Fomin
7 × 1 Administrator
Votes Newest

Answers


Hi
highload wallet doesnt use explicit seqno , it uses a short lived cache using a dicotnary, and the key for each transaction is the query id,

So i you want to garuntee that the 100 transactions were sent successfully you should query your wallet adress using getTransactions API using a toncenter service (or others) and verify that the external transaction created a 100 output messages

  
  
Posted 2 months ago
3K Views
1 Answer
3 months ago
2 months ago
Tags