mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	Merge branch 'testnet' into block-generation
# Conflicts: # overlay/overlay-fec-broadcast.cpp # overlay/overlay.hpp # tl/generate/scheme/ton_api.tl # tl/generate/scheme/ton_api.tlo # validator-engine-console/validator-engine-console-query.cpp # validator-engine-console/validator-engine-console-query.h # validator-engine-console/validator-engine-console.cpp # validator-engine/validator-engine.cpp # validator-engine/validator-engine.hpp # validator/downloaders/wait-block-state.hpp # validator/impl/validate-query.cpp # validator/validator.h
This commit is contained in:
		
						commit
						636348ffc2
					
				
					 110 changed files with 3822 additions and 696 deletions
				
			
		|  | @ -54,7 +54,10 @@ AcceptBlockQuery::AcceptBlockQuery(BlockIdExt id, td::Ref<BlockData> data, std:: | |||
|     , send_broadcast_(send_broadcast) | ||||
|     , apply_(apply) | ||||
|     , manager_(manager) | ||||
|     , promise_(std::move(promise)) { | ||||
|     , promise_(std::move(promise)) | ||||
|     , perf_timer_("acceptblock", 0.1, [manager](double duration) { | ||||
|         send_closure(manager, &ValidatorManager::add_perf_timer_stat, "acceptblock", duration); | ||||
|       }) { | ||||
|   state_keep_old_hash_.clear(); | ||||
|   state_old_hash_.clear(); | ||||
|   state_hash_.clear(); | ||||
|  | @ -72,7 +75,10 @@ AcceptBlockQuery::AcceptBlockQuery(AcceptBlockQuery::IsFake fake, BlockIdExt id, | |||
|     , is_fork_(false) | ||||
|     , send_broadcast_(false) | ||||
|     , manager_(manager) | ||||
|     , promise_(std::move(promise)) { | ||||
|     , promise_(std::move(promise)) | ||||
|     , perf_timer_("acceptblock", 0.1, [manager](double duration) { | ||||
|         send_closure(manager, &ValidatorManager::add_perf_timer_stat, "acceptblock", duration); | ||||
|       }) { | ||||
|   state_keep_old_hash_.clear(); | ||||
|   state_old_hash_.clear(); | ||||
|   state_hash_.clear(); | ||||
|  | @ -87,7 +93,10 @@ AcceptBlockQuery::AcceptBlockQuery(ForceFork ffork, BlockIdExt id, td::Ref<Block | |||
|     , is_fork_(true) | ||||
|     , send_broadcast_(false) | ||||
|     , manager_(manager) | ||||
|     , promise_(std::move(promise)) { | ||||
|     , promise_(std::move(promise)) | ||||
|     , perf_timer_("acceptblock", 0.1, [manager](double duration) { | ||||
|         send_closure(manager, &ValidatorManager::add_perf_timer_stat, "acceptblock", duration); | ||||
|       }) { | ||||
|   state_keep_old_hash_.clear(); | ||||
|   state_old_hash_.clear(); | ||||
|   state_hash_.clear(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue