MsgGetData.block constructor

MsgGetData.block(
  1. Hash blockHash
)

Create getdata message for block

Implementation

factory MsgGetData.block(Hash blockHash) {
  return MsgGetData(invList: [InvVect.block(blockHash)]);
}