aboutsummaryrefslogtreecommitdiff
path: root/doc/.gitignore
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-06-18 15:19:12 -0400
committerJohn Newbery <john@johnnewbery.com>2020-06-18 15:45:48 -0400
commitf52d403b81e758e9bc33847560b5740b22d95fff (patch)
tree3b66bcbf2f9739fe582a98e3c7498d1f2d55221f /doc/.gitignore
parentc2bcb99c1d113ac090914e87b6f5676b5b55f82e (diff)
[net] split PushInventory()
PushInventory() is currently called with a CInv object, which can be a MSG_TX or MSG_BLOCK. PushInventory() only uses the type to determine whether to add the hash to setInventoryTxToSend or vInventoryBlockToSend. Since the caller always knows what type of inventory they're pushing, the CInv is wastefully constructed and thrown away, and tx/block relay is being split out, we split the function into PushTxInventory() and PushBlockInventory().
Diffstat (limited to 'doc/.gitignore')
0 files changed, 0 insertions, 0 deletions