Skip to content

Commit 7fdf22f

Browse files
authored
Update TEP-81: adjust minimal computation fee
1 parent d067a79 commit 7fdf22f

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

text/0081-dns-standard.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -136,24 +136,29 @@ Category `sha256("site")` - TON Site, contains ADNL address in `dns_adnl_address
136136
TL-B Schema of DNS Records values:
137137

138138
```
139-
_ (HashmapE 256 ^DNSRecord) = DNS_RecordSet;
140-
141-
dns_next_resolver#ba93 resolver:MsgAddressInt = DNSRecord;
142-
143-
dns_adnl_address#ad01 adnl_addr:bits256 flags:(## 8) { flags <= 1 }
144-
proto_list:flags . 0?ProtoList = DNSRecord;
139+
proto_http#4854 = Protocol;
145140
proto_list_nil$0 = ProtoList;
141+
146142
proto_list_next$1 head:Protocol tail:ProtoList = ProtoList;
147-
proto_http#4854 = Protocol;
148143
149-
dns_smc_address#9fd3 smc_addr:MsgAddressInt flags:(## 8) { flags <= 1 }
150-
cap_list:flags . 0?SmcCapList = DNSRecord;
151-
cap_list_nil$0 = SmcCapList;
152-
cap_list_next$1 head:SmcCapability tail:SmcCapList = SmcCapList;
144+
145+
153146
cap_method_seqno#5371 = SmcCapability;
154147
cap_method_pubkey#71f4 = SmcCapability;
155148
cap_is_wallet#2177 = SmcCapability;
156149
cap_name#ff name:Text = SmcCapability;
150+
151+
cap_list_nil$0 = SmcCapList;
152+
cap_list_next$1 head:SmcCapability tail:SmcCapList = SmcCapList;
153+
154+
dns_smc_address#9fd3 smc_addr:MsgAddressInt flags:(## 8) { flags <= 1 }
155+
cap_list:flags . 0?SmcCapList = DNSRecord;
156+
dns_next_resolver#ba93 resolver:MsgAddressInt = DNSRecord;
157+
dns_adnl_address#ad01 adnl_addr:bits256 flags:(## 8) { flags <= 1 }
158+
proto_list:flags . 0?ProtoList = DNSRecord;
159+
dns_storage_address#7473 bag_id:bits256 = DNSRecord;
160+
161+
_ (HashmapE 256 ^DNSRecord) = DNS_RecordSet;
157162
```
158163

159164
# Drawbacks
@@ -175,7 +180,7 @@ If we support UTF-8, it would be possible to create domains which will look same
175180
It is possible to implement any logic for subdomains in custom resolver contract.
176181

177182
## Why domains are not bought forever?
178-
There is a possibility that access to wallet which owns a domain will be lost, so domain will be lost forever. In TON DNS, it is required to prolong domains each year by sending 0.00000001 TON to the contract.
183+
There is a possibility that access to wallet which owns a domain will be lost, so domain will be lost forever. In TON DNS, it is required to prolong domains each year by sending at least 0.005 TON (minimal amount of TONs for message to be processed) to the contract.
179184

180185
# Prior art
181186

0 commit comments

Comments
 (0)