MsgBlock.headerOnly constructor
MsgBlock.headerOnly({
- required BlockHeader header,
Creates a MsgBlock with header and no transactions.
Implementation
MsgBlock.headerOnly({
required this.header,
}) : transactions = [];