1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Write collation stats to session stats, add collator options for collated data

This commit is contained in:
SpyCheese 2024-11-26 08:54:19 +03:00
parent b3bea413e3
commit b60f6ee72f
11 changed files with 98 additions and 27 deletions

View file

@ -27,7 +27,7 @@ namespace ton {
namespace validator {
enum ValidateMode { fake = 1 };
enum CollateMode { skip_store_candidate = 1 };
enum CollateMode { skip_store_candidate = 1, from_collator_node = 2 };
td::actor::ActorOwn<Db> create_db_actor(td::actor::ActorId<ValidatorManager> manager, std::string db_root_,
td::Ref<ValidatorManagerOptions> opts);