mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
integrating the existing state of TON Storage / TON Payments / CPS Fift development branches
This commit is contained in:
parent
040df63c98
commit
4e2624459b
153 changed files with 10760 additions and 1695 deletions
|
@ -150,6 +150,10 @@ adnl.db.node.value date:int id:PublicKey addr_list:adnl.addressList priority_add
|
|||
|
||||
---types---
|
||||
|
||||
rldp2.messagePart transfer_id:int256 fec_type:fec.Type part:int total_size:long seqno:int data:bytes = rldp2.MessagePart;
|
||||
rldp2.confirm transfer_id:int256 part:int max_seqno:int received_mask:int received_count:int = rldp2.MessagePart;
|
||||
rldp2.complete transfer_id:int256 part:int = rldp2.MessagePart;
|
||||
|
||||
rldp.messagePart transfer_id:int256 fec_type:fec.Type part:int total_size:long seqno:int data:bytes = rldp.MessagePart;
|
||||
rldp.confirm transfer_id:int256 part:int seqno:int = rldp.MessagePart;
|
||||
rldp.complete transfer_id:int256 part:int = rldp.MessagePart;
|
||||
|
@ -655,6 +659,26 @@ engine.validator.checkDhtServers id:int256 = engine.validator.DhtServersStatus;
|
|||
|
||||
engine.validator.controlQuery data:bytes = Object;
|
||||
|
||||
---types---
|
||||
|
||||
storage.pong = storage.Pong;
|
||||
storage.ok = Ok;
|
||||
|
||||
storage.state will_upload:Bool want_download:Bool = storage.State;
|
||||
storage.piece proof:bytes data:bytes = storage.Piece;
|
||||
|
||||
storage.updateInit have_pieces:bytes state:storage.State = storage.Update;
|
||||
storage.updateHavePieces piece_id:(vector int) = storage.Update;
|
||||
storage.updateState state:storage.State = storage.Update;
|
||||
|
||||
---functions---
|
||||
|
||||
storage.ping session_id:long = storage.Pong;
|
||||
storage.addUpdate session_id:long seqno:int update:storage.Update = Ok;
|
||||
|
||||
storage.getPiece piece_id:int = storage.Piece;
|
||||
|
||||
storage.queryPrefix id:int256 = Object;
|
||||
|
||||
---types---
|
||||
|
||||
|
|
Binary file not shown.
|
@ -57,9 +57,6 @@ raw.transactions transactions:vector<raw.transaction> previous_transaction_id:in
|
|||
pchan.config alice_public_key:string alice_address:accountAddress bob_public_key:string bob_address:accountAddress init_timeout:int32 close_timeout:int32 channel_id:int64 = pchan.Config;
|
||||
|
||||
raw.initialAccountState code:bytes data:bytes = InitialAccountState;
|
||||
testGiver.initialAccountState = InitialAccountState;
|
||||
testWallet.initialAccountState public_key:string = InitialAccountState;
|
||||
wallet.initialAccountState public_key:string = InitialAccountState;
|
||||
wallet.v3.initialAccountState public_key:string wallet_id:int64 = InitialAccountState;
|
||||
wallet.highload.v1.initialAccountState public_key:string wallet_id:int64 = InitialAccountState;
|
||||
wallet.highload.v2.initialAccountState public_key:string wallet_id:int64 = InitialAccountState;
|
||||
|
@ -72,12 +69,9 @@ dns.initialAccountState public_key:string wallet_id:int64 = InitialAccountState;
|
|||
pchan.initialAccountState config:pchan.config = InitialAccountState;
|
||||
|
||||
raw.accountState code:bytes data:bytes frozen_hash:bytes = AccountState;
|
||||
testWallet.accountState seqno:int32 = AccountState;
|
||||
wallet.accountState seqno:int32 = AccountState;
|
||||
wallet.v3.accountState wallet_id:int64 seqno:int32 = AccountState;
|
||||
wallet.highload.v1.accountState wallet_id:int64 seqno:int32 = AccountState;
|
||||
wallet.highload.v2.accountState wallet_id:int64 = AccountState;
|
||||
testGiver.accountState seqno:int32 = AccountState;
|
||||
dns.accountState wallet_id:int64 = AccountState;
|
||||
rwallet.accountState wallet_id:int64 seqno:int32 unlocked_balance:int64 config:rwallet.config = AccountState;
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue