Bitcoin full node and query server

Nov 21, 2020

View in context in the libbitcoin Slack #general mirror.

P
Phil12:57
Hello there! In script.hpp you use size_t for one of is_coinbase_pattern ’s parameters. But is that enough? I mean, `size_t` is an unsigned int after all. Shouldn’t it be a uint64_t?
(edited)
2 replies · neillm, evoskuil · last Nov 28, 2020
neillm14:05
size_t is generally 64 bits on 64 bit systems. Parts of libbitcoin (such as database) require 64 bit systems also.
evoskuil21:49
We use size_t for any integer domain that varies by the underlying platform, if 64 bits is required we explicitly use uint64.