MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetCurrentHeaderHash

Method GetCurrentHeaderHash

core/ledger/ledger.go:138–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138func (self *Ledger) GetCurrentHeaderHash() common.Uint256 {
139 return self.ldgStore.GetCurrentHeaderHash()
140}
141
142func (self *Ledger) IsContainTransaction(txHash common.Uint256) (bool, error) {
143 return self.ldgStore.IsContainTransaction(txHash)

Callers

nothing calls this directly

Calls 1

GetCurrentHeaderHashMethod · 0.65

Tested by

no test coverage detected