1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-13 03:32:22 +00:00
Commit graph

229 commits

Author SHA1 Message Date
SpyCheese
440c42acde rldp-http-proxy: add DNS cache 2022-09-29 17:05:50 +03:00
SpyCheese
9107bcaf24 Correctly return errors from proxy 2022-09-29 17:04:56 +03:00
SpyCheese
c55b6f84a5 HTTP tunnel in rldp-http-proxy 2022-09-29 17:03:57 +03:00
Trinketer22
d11580dfb3
Compiler -march fix for not supported arch (#444)
I think there is an issue with the way -march flag is handled in the
current build system.

It is set to native (heavy cpu specific optimizations) via TON_ARCH and it is never
checked if it is supported by the compiler.

That's what is causing all those issues with apple m1 builds or any
other arm system.

Without checking early, build will only fail at link stage.
Strict arch support checking is due.

1. Check if "-march=${TON_ARCH}" flag is supported by the compiler
   Adds it to CXX_FLAGS if al good

2. Otherwise if such flag is not supported but TON_ARCH is set to default we
   continue execution without setting march and leaving arch decisions to
   cmake build system

3. Otherwise user specified TON_ARCH intentionally and current arch is
   not supported by the compiler.
   Therefore we terminate build process immediately and let user know
   what's the matter.

Co-authored-by: Trinketer22 <trinketer22@localhost>
2022-09-20 22:26:59 +03:00
Tolya
35d17249e6
Merge pull request #450 from ton-blockchain/dns-resolve-update
Fix DNS resolve in liteclient and tonlib
2022-08-30 03:44:33 +03:00
tolya-yanot
da65be6ee2 Fix DNS resolve in liteclient and tonlib 2022-08-30 03:30:00 +03:00
tolya-yanot
1c356a190d update README.md badges 2022-08-25 23:36:19 +03:00
EmelyanenkoK
b857058d36
Merge pull request #447 from tsivarev/patch-1
Add social badges
2022-08-25 11:18:08 +03:00
Anthony Tsivarev
c931e6dc31
Add social badges
Add telegram, Twitter and Stack Overflow badges in Readme
2022-08-25 11:04:08 +03:00
Doge
36fbe3a2ac
Update links to global configs (#398)
* Fix the document

* Add link to ton.org/docs to FullNode howto

* Update links to config fullnode

* Another link update (fullnode docs)

* Update links to config (TonSites)

* Update config links (Validator docs)

* Update config links (lite-client docs)

Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2022-08-15 18:29:02 +03:00
EmelyanenkoK
9640a2794a
Merge pull request #438 from psydvl/fix
crypto/vm: fix include
2022-08-11 13:06:52 +03:00
Dmitriy
fb3077af9b crypto/vm: fix include 2022-08-11 12:27:47 +03:00
EmelyanenkoK
570da56a9e
Merge pull request #436 from ton-blockchain/testnet
Fix validator session options hash
2022-08-10 10:16:27 +03:00
EmelyanenkoK
054c5780d9
Add acknowledgments to Changelog 2022-08-10 10:14:36 +03:00
EmelyanenkoK
f2155c4a0c
Update Changelog.md 2022-08-09 16:05:40 +03:00
EmelyanenkoK
3525cd5c70
Merge pull request #434 from SpyCheese/master
Fix validator session options hash; fix proto_version
2022-08-09 14:27:20 +03:00
SpyCheese
30ba32bef9 Fix validator session options hash; fix proto_version 2022-08-09 13:18:06 +03:00
EmelyanenkoK
ce65245a69
Merge pull request #433 from ton-blockchain/testnet
Merge node updates
2022-08-08 12:48:00 +03:00
EmelyanenkoK
acba17a025
Fix README 2022-08-08 09:42:23 +03:00
SpyCheese
8d7f1bba73
Update catchain (#432)
* Update catchain

* Update ton_api.tlo
2022-08-08 09:31:36 +03:00
EmelyanenkoK
5101b404a4 Merge branch 'master' into testnet 2022-08-04 17:45:31 +03:00
EmelyanenkoK
d46e4b3538 A series of FunC improvements (#378)
* Don't use IFJMP/IFNOTJMP in inline functions

* Fix incorrect ifelse branch code generation 

https://github.com/ton-blockchain/ton/issues/374

* Make generate_code_all clearer

* Don't replace IFJMP with IF in inner blocks in inline functions

* Allow unbalance if/else by using RETALT

* Fix wrong PUSHCONT

* Bugfix in IF code generation for inline functions

* Fix unbalanced if/else

* Bugfix and improvements in code generation

* Fix analyzing while(0) in func

https://github.com/ton-blockchain/ton/issues/377

* FunC and Asm.fif: Fix inlining large functions

https://github.com/ton-blockchain/ton/issues/375

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-08-04 14:53:47 +03:00
EmelyanenkoK
40cec56e28
A series of FunC improvements (#378)
* Don't use IFJMP/IFNOTJMP in inline functions

* Fix incorrect ifelse branch code generation 

https://github.com/ton-blockchain/ton/issues/374

* Make generate_code_all clearer

* Don't replace IFJMP with IF in inner blocks in inline functions

* Allow unbalance if/else by using RETALT

* Fix wrong PUSHCONT

* Bugfix in IF code generation for inline functions

* Fix unbalanced if/else

* Bugfix and improvements in code generation

* Fix analyzing while(0) in func

https://github.com/ton-blockchain/ton/issues/377

* FunC and Asm.fif: Fix inlining large functions

https://github.com/ton-blockchain/ton/issues/375

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-08-04 14:48:19 +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
neodiX42
fecf760aae
Adjust Mac OS non-arm build for upgraded abseil (#416)
* Update and rename ubuntu-18.04-compile.yml to ubuntu-compile.yml

* Update ubuntu-compile.yml

segregate output binaries

* Update macos-10.15-compile.yml

Add testnet branch to github action and compilation flag -std=c++17

* Update macos-10.15-compile.yml

remove branch filter

* Update windows2019x64-compile.yml

* Update windows2019x64-compile.yml

add flag /std:c++17

* Update windows2019x64-compile.yml

* Update windows2019x64-compile.yml

* Update ubuntu-compile.yml

Add  -DCMAKE_CXX_FLAGS="-std=c++17"

* use CMAKE_CXX_STANDARD

* Update macos-10.15-compile.yml

remove -std=c++17 flag

* Update ubuntu-compile.yml

remove -DCMAKE_CXX_FLAGS="-std=c++17" flag

* Update ubuntu-compile.yml

remove space

* Update ubuntu-18.04-ton-ccpcheck.yml

remove branch filter

* Update docker-ubuntu-image.yml

remove branch filter

Co-authored-by: dungeon-master-666 <dungeon666master@protonmail.com>
2022-07-05 19:52:12 +03:00
SpyCheese
90e06e3394
Fix compilation errors in windows (#417) 2022-06-30 15:18:40 +03:00
neodiX42
f6bf3d696d
Update windows2019x64-compile.yml (#418)
Allow Windows github action to run against any branch
2022-06-30 15:18:11 +03:00
Tolya
eb86234a11
Merge pull request #413 from ton-blockchain/temp-master
Update DNS resolver in liteclient and tonlib
2022-06-29 23:12:57 +03:00
neodiX42
6fb01df1d2
Compile TON against Ubuntu 18.04, 20.04 and 22.04 in a single github action (#415)
* Update and rename ubuntu-18.04-compile.yml to ubuntu-compile.yml

* Update ubuntu-compile.yml

segregate output binaries
2022-06-29 22:08:02 +03:00
EmelyanenkoK
e916363d5a
Merge pull request #414 from SpyCheese/fix-ub
Fix undefined behavior for exotic endianness
2022-06-29 18:07:32 +03:00
SpyCheese
7e207dc78f Update DNS resolver in liteclient and tonlib 2022-06-29 17:59:30 +03:00
SpyCheese
3d8d7b5c28 Update crc32c to 1.1.2 2022-06-27 10:24:21 +03:00
SpyCheese
b398862cf8 Fix error handling in ServerSocketFd.cpp 2022-06-27 10:22:39 +03:00
EmelyanenkoK
7e3df93ca2
Merge pull request #409 from sonofmom/bugfix/silence_vm_stack
Silence errant debug stderr output
2022-06-20 11:10:01 +03:00
sonofmom
f599f08791 Silence errant debug stderr output 2022-06-20 00:21:57 +02: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
Doge
127f5778dc
Upgrade abseil cpp (#392)
* Upgrade abseil cpp
2022-06-13 20:00:33 +03:00
EmelyanenkoK
c00302ced4
Add apple m1 support (#401)
* add m1 support

* Fix in accordance to dungeon-master-666 review

Co-authored-by: awesome-doge <awesomedogewow@gmail.com>
2022-06-11 11:53:49 +03:00
Tsenilov Oleg
e30049930a
Enhance overlay stats output (#386)
* Expand overlay stats

* Add scope and peer broadcast errors to stats

* Add json output format
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2022-06-07 16:24:26 +03:00
EmelyanenkoK
4257bb83a4
Merge pull request #396 from butterfly1924/patch-3
Provide a new issue template (github)
2022-06-07 09:37:42 +03:00
EmelyanenkoK
fea912e05c
Merge pull request #397 from butterfly1924/patch_4
Add vscode to gitignore
2022-06-07 09:36:40 +03:00
CAnon
31f96f91ed Add vscode to gitignore 2022-06-06 23:45:08 +08:00
BAnon
739422e346
chore: provide a new issue template 2022-06-06 23:36:36 +08:00
neodiX42
65e3177def
Fix windows validator-engine.exe runtime access violation error (#387)
* Fix runtime access violation error on Windows
2022-06-03 16:01:55 +03:00
EmelyanenkoK
845cbca1e5
Make asynchronous celldb interface (#388)
* Asynchronous load_cell in celldb

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-06-01 10:03:50 +03:00
neodiX42
a9ba27382c
Add tonlibjson.dll to github windows artifacts (#384)
Add tonlibjson.dll to final artifacts
2022-05-25 23:27:36 +03:00
neodiX42
85b5be4e70
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
2022-05-25 21:50:11 +03:00
EmelyanenkoK
ca00f0ed91
Extended error notes for unacceptable external messages (#383)
* patch sendMessage

* Verbose error message for "sendMessage" LS query

* More verbose errors in external-message.cpp

Co-authored-by: dungeon-master-666 <dungeon666master@protonmail.com>
Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-05-24 21:21:58 +03:00
EmelyanenkoK
89b8717cf8
Persistent optimization (#382)
* State serialization consuming less RAM

* Move large-boc-serializer to crypto/vm, refactor code

Co-authored-by: SpyCheese <mikle98@yandex.ru>
2022-05-24 21:17:11 +03:00