mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	tonNode.getOutMsgQueueProof query in public shard overlays (#1413)
* tonNode.getOutMsgQueueProof query in public shard overlays * Allow responding to getOutMsgQueueProof requests one at a time only
This commit is contained in:
		
							parent
							
								
									9ae88d87e3
								
							
						
					
					
						commit
						7bc50e63d7
					
				
					 37 changed files with 729 additions and 51 deletions
				
			
		|  | @ -74,6 +74,7 @@ | |||
| 
 | ||||
| #define LOG(level) LOG_IMPL(level, level, true, ::td::Slice()) | ||||
| #define LOG_IF(level, condition) LOG_IMPL(level, level, condition, #condition) | ||||
| #define FLOG(level) LOG_IMPL(level, level, true, ::td::Slice()) << td::LambdaPrint{} << [&](auto &sb) | ||||
| 
 | ||||
| #define VLOG(level) LOG_IMPL(DEBUG, level, true, TD_DEFINE_STR(level)) | ||||
| #define VLOG_IF(level, condition) LOG_IMPL(DEBUG, level, condition, TD_DEFINE_STR(level) " " #condition) | ||||
|  | @ -95,13 +96,13 @@ inline bool no_return_func() { | |||
| #define DUMMY_LOG_CHECK(condition) LOG_IF(NEVER, !(condition)) | ||||
| 
 | ||||
| #ifdef TD_DEBUG | ||||
|   #if TD_MSVC | ||||
| #if TD_MSVC | ||||
|     #define LOG_CHECK(condition)        \ | ||||
|       __analysis_assume(!!(condition)); \ | ||||
|       LOG_IMPL(FATAL, FATAL, !(condition), #condition) | ||||
|   #else | ||||
| #else | ||||
|     #define LOG_CHECK(condition) LOG_IMPL(FATAL, FATAL, !(condition) && no_return_func(), #condition) | ||||
|   #endif | ||||
| #endif | ||||
| #else | ||||
|   #define LOG_CHECK DUMMY_LOG_CHECK | ||||
| #endif | ||||
|  | @ -263,6 +264,9 @@ class Logger { | |||
|     sb_ << other; | ||||
|     return *this; | ||||
|   } | ||||
|   LambdaPrintHelper<td::Logger> operator<<(const LambdaPrint &) { | ||||
|     return LambdaPrintHelper<td::Logger>{*this}; | ||||
|   } | ||||
| 
 | ||||
|   MutableCSlice as_cslice() { | ||||
|     return sb_.as_cslice(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue