Versions in this module Expand all Collapse all v1 v1.0.2 May 13, 2021 v1.0.0 Feb 1, 2021 Changes in this version + const BalanceKey + const CurrentChallengeKey + const DifficultyKey + const DisputeStatusKey + const GasKey + const GranularityKey + const LastNewValueKey + const LastSubmissionKey + const MiningStatusKey + const QueriedValuePrefix + const QueryMetadataPrefix + const QueryStringKey + const RequestIdKey + const RequestIdKey0 + const RequestIdKey1 + const RequestIdKey2 + const RequestIdKey3 + const RequestIdKey4 + const TimeOutKey + const Top50Key + const TotalTipKey + const TributeBalanceKey + type DB interface + Close func() error + Delete func(key string) error + Get func(key string) ([]byte, error) + Has func(key string) (bool, error) + Put func(key string, value []byte) error + func Open(file string) (DB, error) + type DataServerProxy interface + BatchGet func(keys []string) (map[string][]byte, error) + BatchPut func(keys []string, values [][]byte) (map[string][]byte, error) + Get func(key string) ([]byte, error) + IncomingRequest func(data []byte) ([]byte, error) + Put func(key string, value []byte) (map[string][]byte, error) + func OpenLocalProxy(localDB DB) (DataServerProxy, error) + func OpenRemoteDB(localDB DB) (DataServerProxy, error) + type RequestSigner interface + Sign func(payload []byte) ([]byte, error) + type RequestValidator interface + Verify func(hash []byte, timestamp int64, sig []byte) error