msgblock.go raw

   1  package wire
   2  
   3  // MsgBlock implements the Message interface and represents a bitcoin
   4  // block message.  It is used to deliver block and transaction information in
   5  // response to a getdata message (MsgGetData) for a given block hash.
   6  type MsgBlock struct {
   7  	Header       BlockHeader
   8  	Transactions []*MsgTx
   9  }
  10