mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
updated tonlib, fixed bugs
updated tonlib fixed bugs in func validator: partial support for hardforks liteserver: support for waitMasterchainBlock prefix transactions: support for gas flat rate
This commit is contained in:
parent
841d5ebac2
commit
7ea00ebfcf
89 changed files with 1922 additions and 608 deletions
|
@ -364,7 +364,7 @@ inline void register_actor_info_ptr(core::ActorInfoPtr actor_info_ptr) {
|
|||
}
|
||||
|
||||
template <class T, class... ArgsT>
|
||||
core::ActorInfoPtr create_actor(core::ActorOptions &options, ArgsT &&... args) {
|
||||
core::ActorInfoPtr create_actor(core::ActorOptions &options, ArgsT &&... args) noexcept {
|
||||
auto *scheduler_context = core::SchedulerContext::get();
|
||||
if (!options.has_scheduler()) {
|
||||
options.on_scheduler(scheduler_context->get_scheduler_id());
|
||||
|
|
|
@ -75,7 +75,7 @@ void ActorExecutor::send(ActorSignals signals) {
|
|||
pending_signals_.add_signals(signals);
|
||||
}
|
||||
|
||||
void ActorExecutor::start() {
|
||||
void ActorExecutor::start() noexcept {
|
||||
//LOG(ERROR) << "START " << actor_info_.get_name() << " " << tag("from_queue", options.from_queue);
|
||||
if (is_closed()) {
|
||||
return;
|
||||
|
@ -126,7 +126,7 @@ void ActorExecutor::start() {
|
|||
}
|
||||
}
|
||||
|
||||
void ActorExecutor::finish() {
|
||||
void ActorExecutor::finish() noexcept {
|
||||
//LOG(ERROR) << "FINISH " << actor_info_.get_name() << " " << tag("own_lock", actor_locker_.own_lock());
|
||||
if (!actor_locker_.own_lock()) {
|
||||
if (!pending_signals_.empty() && actor_locker_.add_signals(pending_signals_)) {
|
||||
|
|
|
@ -106,8 +106,8 @@ class ActorExecutor {
|
|||
return flags_;
|
||||
}
|
||||
|
||||
void start();
|
||||
void finish();
|
||||
void start() noexcept;
|
||||
void finish() noexcept;
|
||||
|
||||
bool flush_one(ActorSignals &signals);
|
||||
bool flush_one_signal(ActorSignals &signals);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue