mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
updated smartcontracts
- updated smartcontracts - updated fullnode database layout - fixed memory leak in blockchain-explorer - updated tonlib
This commit is contained in:
parent
9c9248a9ae
commit
c860ce3d1e
104 changed files with 7309 additions and 1335 deletions
|
@ -28,12 +28,12 @@
|
|||
#include <iostream>
|
||||
#include <tonlib/tonlib_client_json.h>
|
||||
|
||||
// Basic example of TONLib JSON interface usage.
|
||||
// Basic example of tonlib JSON interface usage.
|
||||
// Native interface should be preferred instead in C++, so here is only an example of
|
||||
// the main event cycle, which should be essentially the same for all languages.
|
||||
|
||||
int main() {
|
||||
// disable TDLib logging
|
||||
// disable tonlib logging
|
||||
void *client = tonlib_client_json_create();
|
||||
// somehow share the client with other threads, which will be able to send requests via tonlib_client_json_send
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue