Documentation ¶
Overview ¶
Package database handles all the lower level support for maintaining the blockchain in storage and maintaining an in -memory database of account info.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountID ¶
type AccountID string
AccountID represents an account id that is used to sign transactions and is associated with transactions on the blockchain.
func ToAccountID ¶
ToAccountID converts a hex-encoded string to an account and validated the hex-encoded string is formatted correctly.
func (AccountID) IsAccountID ¶
IsAccountID verifies whether the underlying data reprepresents a valid hex-encoded account.
Click to show internal directories.
Click to hide internal directories.