mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Merge branch 'testnet' into block-generation
This commit is contained in:
commit
d082ac36b0
261 changed files with 24449 additions and 1791 deletions
|
|
@ -73,7 +73,7 @@ class ValidatorSessionImpl : public ValidatorSession {
|
|||
ValidatorSessionCandidateId signed_block_;
|
||||
td::BufferSlice signature_;
|
||||
|
||||
std::array<std::map<ValidatorSessionCandidateId, tl_object_ptr<ton_api::validatorSession_candidate>>, 100> blocks_;
|
||||
std::map<ValidatorSessionCandidateId, tl_object_ptr<ton_api::validatorSession_candidate>> blocks_;
|
||||
|
||||
catchain::CatChainSessionId unique_hash_;
|
||||
|
||||
|
|
@ -206,6 +206,8 @@ class ValidatorSessionImpl : public ValidatorSession {
|
|||
|
||||
private:
|
||||
static const size_t MAX_REJECT_REASON_SIZE = 1024;
|
||||
static const td::int32 MAX_FUTURE_ROUND_BLOCK = 100;
|
||||
static const td::int32 MAX_PAST_ROUND_BLOCK = 20;
|
||||
};
|
||||
|
||||
} // namespace validatorsession
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue