Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key []byte
Key is a byte slice describing a key used in an index by statedb. If a key is variable-sized, then it must be either terminated with e.g. zero byte or it must be length-encoded. If it is not, then a Get() may return results that don't match the query (e.g. objects indexed with a key that has the same prefix but are longer). The reason is that Get() is implemented as a prefix seek to avoid full key comparison on iteration and also to support the non-unique indexes which key on "secondary + primary" keys.
func NetIPPrefix ¶
type KeySet ¶
type KeySet struct {
// contains filtered or unexported fields
}
KeySet is a sequence of (length, byte slice) pairs. length is encoded as 16-bit big-endian unsigned int.
func StringSlice ¶
func StringerSlice ¶
Click to show internal directories.
Click to hide internal directories.