mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
updated lite-client
This commit is contained in:
parent
4dd5eea11f
commit
4b5dd4525e
27 changed files with 204 additions and 29 deletions
|
@ -41,13 +41,7 @@ boc-filename dup "null" $= {
|
|||
} cond
|
||||
=: param-value
|
||||
|
||||
{ dup -1000 = { drop <s ref@ <s 12 u@ 0xFF0 = } {
|
||||
dup -1001 = { drop <s ref@ <s 12 u@ 0xFF0 = } {
|
||||
2drop true
|
||||
} cond } cond
|
||||
} : is-valid-config?
|
||||
|
||||
dup param-idx is-valid-config? not abort"not a valid value for chosen configuration parameter"
|
||||
param-value param-idx is-valid-config? not abort"not a valid value for chosen configuration parameter"
|
||||
|
||||
critical { ."Critical" } { ."Non-critical" } cond
|
||||
." configuration proposal will expire at " expire-at . ."(in " expire-in . ."seconds)" cr
|
||||
|
|
|
@ -30,8 +30,6 @@ file-base +".pk" load-keypair nip constant config_pk
|
|||
boc-filename file>B B>boc
|
||||
dup <s csr. cr
|
||||
|
||||
{ 2drop true } : is-valid-config?
|
||||
|
||||
dup idx is-valid-config? not abort"not a valid value for chosen configuration parameter"
|
||||
|
||||
// create a message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue