@@ -96,6 +96,16 @@ func (h *ByronMainBlockHeader) SlotNumber() uint64 {
9696 return uint64 ((h .ConsensusData .SlotId .Epoch * ByronSlotsPerEpoch ) + uint64 (h .ConsensusData .SlotId .Slot ))
9797}
9898
99+ func (h * ByronMainBlockHeader ) IssuerVkey () []byte {
100+ // Byron blocks don't have an issuer
101+ return nil
102+ }
103+
104+ func (h * ByronMainBlockHeader ) BlockBodySize () uint64 {
105+ // TODO: calculate this
106+ return 0
107+ }
108+
99109func (h * ByronMainBlockHeader ) Era () Era {
100110 return eras [EraIdByron ]
101111}
@@ -183,6 +193,16 @@ func (h *ByronEpochBoundaryBlockHeader) SlotNumber() uint64 {
183193 return uint64 (h .ConsensusData .Epoch * ByronSlotsPerEpoch )
184194}
185195
196+ func (h * ByronEpochBoundaryBlockHeader ) IssuerVkey () []byte {
197+ // Byron blocks don't have an issuer
198+ return nil
199+ }
200+
201+ func (h * ByronEpochBoundaryBlockHeader ) BlockBodySize () uint64 {
202+ // TODO: calculate this
203+ return 0
204+ }
205+
186206func (h * ByronEpochBoundaryBlockHeader ) Era () Era {
187207 return eras [EraIdByron ]
188208}
@@ -211,6 +231,14 @@ func (b *ByronMainBlock) SlotNumber() uint64 {
211231 return b .Header .SlotNumber ()
212232}
213233
234+ func (b * ByronMainBlock ) IssuerVkey () []byte {
235+ return b .Header .IssuerVkey ()
236+ }
237+
238+ func (b * ByronMainBlock ) BlockBodySize () uint64 {
239+ return b .Header .BlockBodySize ()
240+ }
241+
214242func (b * ByronMainBlock ) Era () Era {
215243 return b .Header .Era ()
216244}
@@ -244,6 +272,14 @@ func (b *ByronEpochBoundaryBlock) SlotNumber() uint64 {
244272 return b .Header .SlotNumber ()
245273}
246274
275+ func (b * ByronEpochBoundaryBlock ) IssuerVkey () []byte {
276+ return b .Header .IssuerVkey ()
277+ }
278+
279+ func (b * ByronEpochBoundaryBlock ) BlockBodySize () uint64 {
280+ return b .Header .BlockBodySize ()
281+ }
282+
247283func (b * ByronEpochBoundaryBlock ) Era () Era {
248284 return b .Header .Era ()
249285}
0 commit comments