Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMerkleStore ¶
func NewMerkleStore(g *libkb.GlobalContext, tag, endpoint, kitFilename string, supportedVersion keybase1.MerkleStoreSupportedVersion, getHash func(root libkb.MerkleRoot) string) libkb.MerkleStore
Types ¶
type MerkleStoreError ¶
type MerkleStoreError struct {
// contains filtered or unexported fields
}
func NewMerkleStoreError ¶
func NewMerkleStoreError(msgf string, a ...interface{}) MerkleStoreError
func (MerkleStoreError) Error ¶
func (e MerkleStoreError) Error() string
type MerkleStoreImpl ¶
type MerkleStoreImpl struct { libkb.Contextified sync.Mutex // contains filtered or unexported fields }
MerkleStore is the way verify data stored on the server matches the hash which is published in the merkle root. This allows an auditable trail for data the clients fetch from the server and use for proof or other validation. Talks to MerkleClient Has an in-memory and LocalDB cache.
func (*MerkleStoreImpl) GetLatestEntry ¶
func (s *MerkleStoreImpl) GetLatestEntry(m libkb.MetaContext) (ret keybase1.MerkleStoreEntry, err error)
GetLatestEntry returns the latest (active) entry for the given MerkleStore
Click to show internal directories.
Click to hide internal directories.