appendTo will append the block header to a slice.
(b []byte)
| 132 | |
| 133 | // appendTo will append the block header to a slice. |
| 134 | func (h blockHeader) appendTo(b []byte) []byte { |
| 135 | return append(b, uint8(h), uint8(h>>8), uint8(h>>16)) |
| 136 | } |
| 137 | |
| 138 | // String returns a string representation of the block. |
| 139 | func (h blockHeader) String() string { |
no outgoing calls
no test coverage detected