Timestamp returns the timestamp field of the block header.
()
| 143 | |
| 144 | // Timestamp returns the timestamp field of the block header. |
| 145 | func (b *Block) Timestamp() time.Time { |
| 146 | return b.SignedHeader.Timestamp |
| 147 | } |
| 148 | |
| 149 | // Producer returns the producer field of the block header. |
| 150 | func (b *Block) Producer() proto.NodeID { |
no outgoing calls