// NewMsgCmpctBlock returns a new bitcoin cmpctblock message that conforms to the
// Message interface using the passed parameters and defaults for the remaining
// fields.
NewMsgCmpctBlock returns a new bitcoin cmpctblock message that conforms to the
Message interface using the passed parameters and defaults for the remaining
fields.
// NewMsgCmpctBlock returns a new bitcoin cmpctblock message that conforms to the // Message interface using the passed parameters and defaults for the remaining // fields .
func NewMsgCmpctBlock(blockHeader *BlockHeader) *MsgCmpctBlock {
	return &MsgCmpctBlock{
		Header:       *blockHeader,
		ShortIDs:     make([][ShortIDSize]byte, 0, defaultTransactionAlloc),
		PrefilledTxs: make([]*PrefilledTx, 0, defaultTransactionAlloc),
	}
}
func NewMsgCmpctBlock ( blockHeader * BlockHeader ) * MsgCmpctBlock { return & MsgCmpctBlock { Header : * blockHeader , ShortIDs : make ( [ ] [ ShortIDSize ] byte , 0 , defaultTransactionAlloc ) , PrefilledTxs : make ( [ ] * PrefilledTx , 0 , defaultTransactionAlloc ) , } }
NewMsgCmpctBlock returns a new bitcoin cmpctblock message that conforms to the
Message interface using the passed parameters and defaults for the remaining
fields.
NewMsgCmpctBlock returns a new bitcoin cmpctblock message that conforms to the Message interface using the passed parameters and defaults for the remaining fields .