Bitcoin Forum

Local => Кодеры => Topic started by: info_infoman on January 29, 2016, 04:58:34 AM



Title: merkleblock
Post by: info_infoman on January 29, 2016, 04:58:34 AM
для чего данный функционал?

// CMerkleBlock just contains hashes, so also push any transactions in the block the client did not see
// This avoids hurting performance by pointlessly requiring a round-trip
// Note that there is currently no way for a node to request any single transactions we didnt send here -
// they must either disconnect and retry or request the full block.
// Thus, the protocol spec specified allows for us to provide duplicate txn here,
// however we MUST always provide at least what the remote peer needs

сидит в main.cpp
void static ProcessGetData(CNode* pfrom)