data api: added block hashes to pool/blocks

This commit is contained in:
SChernykh
2021-09-05 22:28:57 +02:00
parent 884d0f180a
commit 82a88ce0ef
7 changed files with 122 additions and 5 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ struct Stream
enum params : int { BUF_SIZE = 1024 - 1 };
explicit FORCEINLINE Stream(char* buf) : m_pos(0), m_numberWidth(1), m_buf(buf), m_bufSize(BUF_SIZE) {}
FORCEINLINE Stream(char* buf, size_t size) : m_pos(0), m_numberWidth(1), m_buf(buf), m_bufSize(static_cast<int>(size)) {}
FORCEINLINE Stream(char* buf, size_t size) : m_pos(0), m_numberWidth(1), m_buf(buf), m_bufSize(static_cast<int>(size) - 1) {}
template<typename T>
struct Entry