mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Check supported version in collator-node
This commit is contained in:
parent
923f1cd69b
commit
0280a288c6
3 changed files with 73 additions and 22 deletions
|
@ -40,6 +40,7 @@ namespace validator {
|
|||
using td::Ref;
|
||||
|
||||
class Collator final : public td::actor::Actor {
|
||||
public:
|
||||
static constexpr int supported_version() {
|
||||
return SUPPORTED_VERSION;
|
||||
}
|
||||
|
@ -47,6 +48,8 @@ class Collator final : public td::actor::Actor {
|
|||
return ton::capCreateStatsEnabled | ton::capBounceMsgBody | ton::capReportVersion | ton::capShortDequeue |
|
||||
ton::capStoreOutMsgQueueSize | ton::capMsgMetadata | ton::capDeferMessages | ton::capFullCollatedData;
|
||||
}
|
||||
|
||||
private:
|
||||
using LtCellRef = block::LtCellRef;
|
||||
using NewOutMsg = block::NewOutMsg;
|
||||
const ShardIdFull shard_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue