diff --git a/node/Node.h b/node/Node.h index 34964316..906c45b2 100644 --- a/node/Node.h +++ b/node/Node.h @@ -405,6 +405,14 @@ class Node { uint64_t getMaxTransactionsPerBlock() const; uint64_t getMinBlockIntervalMs() const; + + uint64_t getCatchupTimeoutMs() const; + + uint64_t getSyncNodeCatchupTimeoutMs() const; + + uint64_t getReadJsonHeaderTimeoutMs() const; + + uint64_t getSyncNodeReadJsonHeaderTimeoutMs() const; uint64_t getWaitAfterNetworkErrorMs(); diff --git a/node/NodeGettersSetters.cpp b/node/NodeGettersSetters.cpp index 500426a8..ba2e1cb0 100644 --- a/node/NodeGettersSetters.cpp +++ b/node/NodeGettersSetters.cpp @@ -430,18 +430,18 @@ void Node::setExitOnBlockBoundaryRequested() { exitOnBlockBoundaryRequested = true; } -void Node::getCatchupTimeoutMs() const { +uint64_t Node::getCatchupTimeoutMs() const { return catchupTimeoutMs; } -void Node::getSyncNodeCatchupTimeoutMs() const { +uint64_t Node::getSyncNodeCatchupTimeoutMs() const { return syncNodeCatchupTimeoutMs; } -void Node::getReadJsonHeaderTimeoutMs() const { +uint64_t Node::getReadJsonHeaderTimeoutMs() const { return readJsonHeaderTimeoutMs; } -void Node::getSyncNodeReadJsonHeaderTimeoutMs() const { +uint64_t Node::getSyncNodeReadJsonHeaderTimeoutMs() const { return syncNodeReadJsonHeaderTimeoutMs; }