EmelyanenkoK
b76158a753
Move forward init_block in tonlib config
2023-03-22 14:01:17 +03:00
Marat
078aabe50e
Add method listBlockTransactionsExt to liteserver ( #399 )
...
* Verify proof for method blocks.getTransactions
* check completeness of response
* fix start_lt
* fix mode & 128, check bTxes->ids_ out of bounds
* Improve gitactions; separate cpp-check (#346 )
* Use ninja build tool and compile blockchain-explorer
Ninja builds TON much faster;
* Use clang instead of gcc
* remove blockchain-explorer
since target not found on github action
* move ccpcheck to other gitaction
* run nativelib-java only against wallets branch for now
* rename gitaction
* Update windows2019x64-tonlib-java.yml
* Update windows2019x64-tonlib-java.yml
* Update macos-10.15-tonlib-java.yml
* Update windows2019x64-tonlib-java.yml
* Update windows2019x64-tonlib-java.yml
* rebase
* update tlo's
* Revert "Improve gitactions; separate cpp-check (#346 )"
This reverts commit bd1d96e6d391e48840d81cfcf10d2692848e504e.
* add checks, simplify ls response
* Revert workflows
* Add verifying proofs
* fix win build
---------
Co-authored-by: neodiX42 <namlem@gmail.com>
2023-03-07 19:49:25 +03:00
neodiX42
5a47495d87
Add cross-platform Linux and macOS binaries (statically compiled with NixPkgs) + wasm artifacts ( #621 )
...
* fix build
* nix flake
* nix package
* static musl build env
* make all builds in static env
* GH Actions nightly and static workflows
* deb package
* cmake install {adnl-proxy,blockchain-explorer,create-state,http-proxy,rldp-http-proxy,storage-cli}
* nix flake: add static glibc build variant
* GH Actions: deb-nightly-{musl,glibc_static}, tests-rolling jobs
* rpm package
* build blockchain-explorer
* GH Actions: deb_rpm-nightly: ubuntu-{latest=>22.04}
* crypto/pow-miner: skip install
* ghactions: tests-rolling: show tests run, progress
* ghactions: deb_rpm-nightly: add manual trigger [skip ci]
* nix flake refactor
* find_package=>pkg-config(zlib)
FindZLIB.cmake can't find static zlib prior to CMake 3.24, so use
pkg-config.
* nix old glibc build
* nix aarch64 support
* packages: Populate APT and RPM repos at ton-repo
- {deb,rpm}.sh: Separate build and install dirs
- rpm.sh: Conditionally include lib/
- Accomodate local CI runs w/act
* [skip ci] README packages
* fix aarch64 build -Wnoerror=address
* [skip ci] rpm set releasever
* [skip ci] document local packages upload
* m1 build: gate cpu=apple-m1 by clang version
* packages: Ship musl binaries + old glibc dylibs
* packages: macos build
* nix: bump nixpkgs
* fix windows CI build
* [skip ci] nix: static aarch64 builds
* packages: deb,rpm multiarch
* ghactions: aarch64 musl deb,rpm build
* [skip ci] deb build: deref source links, -x
* [skip ci] nix darwin static build
* [skip ci] nix common hostPkgs
* [skip ci] brew: move formula over to homebrew-ton-repo
* [skip ci] nix fix aarch64-linux build
* [skip ci] ghactions: nix use GITHUB_TOKEN
* [skip ci] Move from ton-repo to gh releases
* [skip ci] ghactions aarch64-darwin self-hosted runner
* [skip ci] ghactions deb,rpm nightly 10h timeout
* [skip ci] fix brew install
fixes
Errno::EACCES: Permission denied @ dir_s_mkdir - /private/tmp/ton-XXX/bin/.brew_home
* [skip ci] ghactions deb,rpm nightly: don't upload ton-packages as we gh release them later
* [skip ci] README: brew instructions
* [skip ci] nightly linux binaries release
* [skip ci] packages: ship macos dylib
* [skip ci] ghactions: Run Windows build nightly, upload to gh releases
* nix: remove defaultPackage, switch to different oldglibc build method
We used to rebuild nixpkgs-stable with old glibc, which broke on aarch64
due to its particular bootstrap toolchain. This just takes nixos 19.09's
version of GCC but new dependencies, sidestepping the issue.
* fix rpm release, add aur release
* fix local (act) ci run
* ghactions: linux-nightly: Print out SSH public keys
* ghactions: bump cachix actions
* nix: default devShell
* [skip ci] rpm,aur: Ship lib
* [skip ci] packages: windows: Remove CMake files from out
* [skip ci] packages: Import chocolatey package
* fixup! fix rpm release, add aur release
* [skip ci] packages: aarch64-linux: build dylib as well
* [skip ci] ghactions: run on self-hosted
* [skip ci] ghactions: windows-nightly: Bump nodejs actions
* [skip ci] nix: Only add Linux packaging tools on Linux
* [skip ci] doc: document direct download binaries in README
* fix tonlib android jni ci
* fixup! fix tonlib android jni ci
* [skip ci] ghactions: Update GH release dates
Errata: doesn't update tags.
* [skip ci] ghactions: Fix racy brew gh release by splitting arch
* initiali commit - binaries only
* fixes
* fixes
* fixes
* fixes
* remove packages dir for now
* add storage-daemon storage-daemon-cli
* fix emulator
* try macos aarch64
* try macos aarch64
* try macos aarch64
* try macos aarch64
* try macos aarch64
* try macos aarch64
* try macos aarch64
* try macos aarch64
* try macos aarch64
* try macos aarch64
* try macos aarch64 sh
* try macos aarch64 sh
* try macos aarch64 bash
* try macos aarch64 bash
* try macos aarch64 bash
* try macos aarch64 bash
* try macos aarch64 bash
* try macos aarch64 bash
* try macos aarch64 bash
* fix funcfiftlib compilation with emscripten
* fix funcfiftlib compilation with emscripten
* add github action to compile TON with emscripten
* add github action to compile TON with emscripten
* add github action to compile TON with emscripten
* add github action to compile TON with emscripten
* add github action to compile TON with emscripten
* add github action to compile TON with emscripten
* try macos aarch64
* fix funcfiftlib compilation with emscripten
* fix funcfiftlib compilation with emscripten
* add github action to compile TON with emscripten
* disable aarch64 github actions for now
* disable aarch64 github actions for now
* trigger all GH actions
* trigger all GH actions 2
* trigger all GH actions 3
* trigger all GH actions 4
* trigger all GH actions 5
* put back rldp-http-proxy to win build
* put back rldp-http-proxy to win build
* dont use pkgConfig for zlib
* fix zlib_library
* use BUILD_SHARED_LIBS flag for static compilation
* test 1
* test 2
* add wasm binaries to release.
test 3
* add simple binaries' execution test
* build emulator-emscripten
* build and add into artifacts wasm tlbc and emulator-emscripten
* build and add into artifacts wasm tlbc and emulator-emscripten, 2
* build and add into artifacts wasm tlbc and emulator-emscripten, 3
* build and add into artifacts wasm tlbc and emulator-emscripten, 4
* build emulator-emscripten with static libs
* minor nix mac aarch64 fix
* add single artifacts to release
* bypass $repo to Dockerfile
* add wasm artifacts to release
* add wasm artifacts to release
* add wasm artifacts to release
* add wasm artifacts to release
* add more artifacts to release; remove compilation against Ubuntu 18.04.
* retrieve GITHUB_TOKEN for ton-blockchain/ton
* remove binary check for arm64
---------
Co-authored-by: tonthemoon <tonthemoon@mailbox.org>
2023-02-27 12:32:41 +03:00
EmelyanenkoK
f118afab84
fix getAccountStateByTransaction ( #623 )
...
Co-authored-by: ms <dungeon666master@protonmail.com>
2023-02-26 11:38:25 +03:00
EmelyanenkoK
3b3c25b654
Add account state by transaction and emulator (extended) ( #592 )
...
* account_state_by_transaction
* Correct time calculation
* Bug fixes
* Refactor
* namespace block::transaction
* smc.forget
* RunEmulator: remove wallet_id
* Refactor & fixes
* AccountStateByTransaction: use shardchain block instead of masterchain block
* transaction emulator core
* refactor
* tx emulator major functionality
* small format changes
* readme
* clean
* return json, add support for init messages
* tx emulator readme
* refactor getConfigParam and getConfigAll
* add shardchain_libs_boc parameter
* option to change verbosity level of transaction emulator
* fix deserializing ShardAccount with account_none
* add mode needSpecialSmc when unpack config
* emulator: block::Transaction -> block::transaction::Transaction
* Refactor
* emulator: Fix bug
* emulator: Support for emulator-extern
* emulator: Refactor
* Return vm log and vm exit code.
* fix build on macos, emulator_static added
* adjust documentation
* ignore_chksig for external messages
* tvm emulator, run get method
* Added more params for transaction emulator
* Added setters for optional transaction emulator params, moved libs to a new setter
* Added actions cell output to transaction emulator
* fix tonlib build
* refactoring, rand seed as hex size 64, tvm emulator send message
* tvm send message, small refactoring
* fix config decoding, rename
* improve documentation
* macos export symbols
* Added run_get_method to transaction emulator emscipten wrapper
* Fixed empty action list serialization
* Changed actions list cell to serialize as json null instead of empty string in transaction emulator
* stack as boc
* log gas remaining
* Fix prev_block_id
* fix build errors
* Refactor fetch_config_params
* fix failing unwrap of optional rand_seed
* lookup correct shard, choose prev_block based on account shard
* fix tonlib android jni build
---------
Co-authored-by: legaii <jgates.ardux@gmail.com>
Co-authored-by: ms <dungeon666master@protonmail.com>
Co-authored-by: krigga <krigga7@gmail.com>
2023-02-02 10:03:45 +03:00
EmelyanenkoK
7347ec0b3b
Add TON Storage to Proxy via storage gateway ( #577 )
...
* Access ton storage from proxy, resolve "dns_storage_address" in tonlib
* Set storage gateway address in proxy args
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-12-29 17:28:50 +03:00
EmelyanenkoK
360ef54e6b
TON Storage utilities ( #564 )
...
* Rename chunk to piece in MerkleTree for consistency
* Refactor PeerManager
* Make PeerState thread-safe
* Download torrent by hash
* First version of storage daemon
* Download torrents partially
* Improve storing and loading torrent state in DB
* Rewrite MerkleTree
* "Remove torrent" in storage daemon
* Process errors, fix bugs in storage
* Move TonlibClientWrapper from rldp-http-proxy to tonlib
* Initial version of storage provider
* Move interaction with contracts to smc-util
* Improve TonlibClientWrapper interface
* Various improvements in storage provider
* Fix TorrentCreator.cpp
* Improve interface for partial download
* Client mode in storage-daemon
* Improve interface of storage-daemon-cli
* Fix calculating speed, show peers in storage-daemon
* Use permanent adnl id in storage daemon
* Fix sending large "storage.addUpdate" messages
* Improve printing torrents in cli
* Update tlo
* Fix RldpSender::on_ack
* Update storage provider
* Add "address" parameter to get-provider-params
* Allow client to close storage contract
* Limit torrent description
* Add more logs to storage provider
* smc.forget tonlib method
* Use smc.forget in storage daemon
* Optimize sending messages in smc-util.cpp
* Fix verbosity, remove excessive logs
* Json output in storage-daemon-cli
* Update storage provider contracts
* Fix rldp2 acks
* Change verbosity of logs in rldp2
* Update help and output of commands and in storage-daemon-cli
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-12-22 12:24:13 +03:00
tolya-yanot
033c66e611
update testnet config in tonlib
2022-12-01 22:44:39 +03:00
ms
42335c1d8b
Update testnet config in tonlib ( #539 )
2022-11-30 20:03:12 +03:00
Ivan Siomash
0ddf2a7f9f
Update jni native-lib ganeration ( #497 )
...
* Add python-like triple quotes for multiline strings
* Add test for multiline asm
* Allow asm definition duplicate
* Asm duplicate: add test & fixes
* Fix multiline asm
* Fix asm duplicate
* generate_java: Add support for # and Int256
* generate_java: Add # and Int256 to native-lib
* Fix 'jni.h: no such file'
* Fix TonApi.java
* Fix android build.sh
* Fix android OPENSSL_ROOT_DIR
2022-11-01 22:13:37 +03:00
SpyCheese
42efd1f31e
Fix tonlib method getShardBlockProof
2022-10-12 17:18:38 +03:00
ms
7fcfc63d06
Add InitState to raw.getTransactions [tonlib] ( #485 )
...
* Extract and return message init state
* prefetch -> fetch
2022-10-10 17:25:20 +03:00
SpyCheese
caffdbb5ba
Tonproxy improvements ( #483 )
...
* Bugfixes in rldp-http-proxy and http parser
* Tonlib: change liteservers on query timeout or connection close
* Increase maximum size of http request
* Minor bugfixes in http
2022-10-06 21:31:18 +03:00
SpyCheese
2512f0287b
Tonlib method getShardBlockProof ( #465 )
...
* Tonlib method getShardBlockProof
* Clarify limit of result.size() in getShardBlockProof
2022-09-20 10:49:28 +03:00
EmelyanenkoK
9c6787d2ff
Fix undefined behavior code ( #464 )
...
* Fix UB in arithmetics
* Fix misaligned allocations in validator sessions
* Fix integer overflow in bigint.hpp
* Fix potential UB
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-09-19 17:31:54 +03:00
EmelyanenkoK
4cdb82d0ce
Merge tonlib_api.tlo
2022-09-18 21:18:19 +03:00
ms
d9a5b2ccdc
Add tonlib function raw.getTransactionsV2 ( #461 )
...
* Add parameter count to raw.getTransactions
* fix tlo
* Add tonlib function raw.getTransactionsV2
2022-09-18 16:01:07 +03:00
AlexeyFSL
e2cca03a78
Func and Fift lib for WASM ( #455 )
...
* Add social badges
Add telegram, Twitter and Stack Overflow badges in Readme
* update README.md badges
* patch for wasm build
* fix narrowing conversion error for clang compiler
* refactor func code
* funcfift lib implementation
* fix funcfift lib
fix CMakeFile
* fix rvalue missing
* remove unused field from result json
* name fix
remove unused target
* rename
* added script for building funcfiftlib to wasm
* fix json fild names
* fix commit hash for script
* added version function to funcfiftlib
* update commit hash for script
* add realpath fail processing
fix DISABLE_EXCEPTION_CATCHING option
* update hash in script
Co-authored-by: Anthony Tsivarev <tsivarev.a@gmail.com>
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
Co-authored-by: tolya-yanot <1449561+tolya-yanot@users.noreply.github.com>
2022-09-14 12:36:01 +03:00
SpyCheese
3e24af5d15
Tonlib function getMasterchainBlockSignatures
2022-09-09 11:03:53 +03:00
ms
f95f1a5874
Add tonlib method raw.sendMessageReturnHash ( #423 )
...
* Add tonlib method raw.sendMessageReturnHash
* resolve tlo
Co-authored-by: ms <dungeon666master@protonmail.com>
2022-08-15 20:04:24 +03:00
ms
6185e3b18f
Add tonlib method smc.getLibraries ( #428 )
...
Co-authored-by: ms <dungeon666master@protonmail.com>
2022-08-15 18:17:41 +03:00
ms
9191be1546
Return message hash on raw.sendMessage ( #421 )
...
* return msg body hash on raw.sendMessage
Co-authored-by: ms <dungeon666master@protonmail.com>
2022-07-16 16:40:47 +03:00
SpyCheese
7e207dc78f
Update DNS resolver in liteclient and tonlib
2022-06-29 17:59:30 +03:00
EmelyanenkoK
09236fba09
Tonlib: add exported function tonlib_client_set_verbosity_level ( #406 )
...
Co-authored-by: ms <98183742+dungeon-master-666@users.noreply.github.com>
Co-authored-by: dungeon-master-666 <dungeon666master@protonmail.com>
2022-06-17 10:01:19 +03:00
EmelyanenkoK
8537dd60e6
Fix tests ( #405 )
...
* [tonlib] Update master configs and fix test-tonlib-offline
* Fix test-bigint in release build
Co-authored-by: ms <98183742+dungeon-master-666@users.noreply.github.com>
Co-authored-by: dungeon-master-666 <dungeon666master@protonmail.com>
2022-06-13 20:02:32 +03:00
dungeon-master-666
a973a51a87
Put back LastConfig callback.
2022-05-14 22:27:03 +02:00
ms
8303f2c84f
Fix BlockHeader is_key_block and add gen_utime, flags
2022-05-06 11:10:16 +03:00
Andrey Tvorozhkov
179415f815
Fix tvm_stackEntrySlice in from_tonlib_api
2022-05-06 11:07:13 +03:00
ms
ca167e9282
Remove limit on count of returned out_msgs
2022-05-06 11:06:48 +03:00
ms
b4ac32a452
Fix created_lt for in_out messages
2022-05-06 11:06:48 +03:00
ms
45a160d7c1
Add getConfigParam to tonlibjson
2022-05-06 11:06:47 +03:00
Starlight Duck
3fee04e20a
Support libraries in LS and request+caching in TLC
2022-05-06 10:48:05 +03:00
Starlight Duck
7dc980562f
tonlib use correct c7: config and address when executing
2022-05-06 10:46:16 +03:00
tolya-yanot
23a2b0bbfc
Fix test tonlib
2021-09-08 15:14:59 +03:00
EmelyanenkoK
67a6311eee
Add second hardfork to tonlib
2021-09-06 12:49:32 +03:00
tolya-yanot
c1a733c0f0
Add send_mode param to tonlib_api msg.message (send_mode=-1 - use default)
2021-08-02 23:59:42 +03:00
OmicronTau
6f7feb59c7
Add guess_type_by_init_state for wallet v3
2021-08-19 13:16:20 +03:00
OmicronTau
8c6122beb2
(Tonlib) Allow user to override master config init block
2021-08-19 13:16:20 +03:00
tolya-yanot
2cd180d156
Temporary disable msg comment encryption (The exchanges/payment services needs to read the comment of incoming messages)
2021-08-01 23:36:40 +03:00
tolya-yanot
e999275474
Update testnet config
2021-08-01 23:36:36 +03:00
OmicronTau
f60cc6da10
Add blocks api to tonlib
2021-07-14 21:20:28 +03:00
tolya-yanot
759dc82c3c
TonlibClient: add mainnet default config (same with testnet2)
2021-05-21 03:13:06 +03:00
tolya-yanot
1cceb54472
update init_block in tonlib
2021-03-26 07:57:10 +03:00
EmelyanenkoK
bc0ba391e4
Set init_block to higher value for faster sync
2021-03-07 17:52:04 +03:00
Alex Melman
bab4c1637e
Automatically integrates git build information into executables.
...
Usage:
func.exe -V
adnl-pong -V
validator-engine -V
and so on.
Result will be shown in the following format:
Func build information: [ Commit: d8b751d7a5
, Date: 2021-02-27 14:34:41 +0200]
2021-02-27 14:34:43 +03:00
Alex Melman
41a3418b7b
Adds command line parameter -V that shows build version to the binaries.
...
Build number controlled in top level CMakeLists.txt file via -DBUILD_VERSION variable.
Usage:
adnl-pong -V
validator-engine -V
and so on.
2021-02-27 14:34:41 +03:00
Kirill A
a12e3db5d3
Enable installation of smartcontract and tonlib-cli
2021-02-26 23:48:52 +03:00
ton
24dc184a2e
validator large state serialization bugfix + tdlib update for clients
2021-01-07 22:48:04 +03:00
ton
dab7ee3f97
updated pow-miner + small bugfix
2020-07-10 13:46:16 +03:00
ton
f064b1047a
pow-testgiver support
2020-07-06 17:07:20 +03:00