SorachanCoin project has decided to use “std :: vector” for buffer processing.
A daemon that only processes nodes does not need to access the drive, so there is no such concern, but on the client side, if there is a bug in the buffer system, most wallets are dropped at one time. Therefore we will inspect as many bugs with possible because the count of node will be prevented decreasing rapidly.
1 2 |
std::vector<uint8_t> vchData; vchData.resize(CMD_BUFFER_SIZE, 0x00); |
1 |
uint8_t buf[CMD_BUFFER_SIZE] = {0}; |