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

Add "self" to all session stats records

This commit is contained in:
SpyCheese 2024-12-27 12:20:45 +03:00
parent 71342bdcd4
commit e6984e4799
13 changed files with 47 additions and 38 deletions

View file

@ -396,8 +396,8 @@ void CollatorNode::receive_query(adnl::AdnlNodeIdShort src, td::BufferSlice data
TRY_RESULT_PROMISE(new_promise, block, std::move(R));
CollatorNodeResponseStats stats;
stats.collator_node_id = local_id.bits256_value();
stats.validator_id = creator.as_bits256();
stats.self = local_id.pubkey_hash();
stats.validator_id = PublicKey(pubkeys::Ed25519(creator)).compute_short_id();
stats.original_block_id = block.id;
stats.collated_data_hash = block.collated_file_hash;