MCPcopy Create free account
hub / github.com/CPChain/chain / Impeachment

Method Impeachment

types/block.go:435–435  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

433func (b *Block) Timestamp() time.Time { return b.Header().Timestamp() }
434func (b *Block) SetTimestamp(t time.Time) { b.RefHeader().SetTimestamp(t) }
435func (b *Block) Impeachment() bool { return b.Header().Impeachment() }
436
437func (b *Block) NumberU64() uint64 { return b.header.Number.Uint64() }
438func (b *Block) LogsBloom() Bloom { return b.header.LogsBloom }

Callers 10

mainFunction · 0.45
insertChainMethod · 0.45
verifyHeaderMethod · 0.45
verifyBasicMethod · 0.45
verifySignaturesMethod · 0.45
addHistoriesMethod · 0.45
ImpeachedProposerFunction · 0.45
IdleHandlerMethod · 0.45
ImpeachHandlerMethod · 0.45

Calls 1

HeaderMethod · 0.95

Tested by

no test coverage detected