Documentation ¶
Index ¶
- func GetABlock(keymr string) (interfaces.IAdminBlock, error)
- func GetDBlock(keymr string) (interfaces.IDirectoryBlock, error)
- func GetDBlockByHeight(height uint32) (interfaces.IDirectoryBlock, error)
- func GetDBlockHead() (string, error)
- func GetEBlock(keymr string) (interfaces.IEntryBlock, error)
- func GetECBalance(ecPublicKey string) (int64, error)
- func GetECBlock(keymr string) (interfaces.IEntryCreditBlock, error)
- func GetEntry(hash string) (interfaces.IEBEntry, error)
- func GetFBlock(keymr string) (interfaces.IFBlock, error)
- func GetFactoidBalance(factoidPublicKey string) (int64, error)
- func GetMerkleRootOfDBlockWindow(height, size uint32) (interfaces.IHash, error)
- func GetRaw(keymr string) ([]byte, error)
- func SetServer(serverAddress string)
- type DBlockHead
- type Data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetABlock ¶
func GetABlock(keymr string) (interfaces.IAdminBlock, error)
func GetDBlock ¶
func GetDBlock(keymr string) (interfaces.IDirectoryBlock, error)
func GetDBlockByHeight ¶
func GetDBlockByHeight(height uint32) (interfaces.IDirectoryBlock, error)
func GetDBlockHead ¶
func GetEBlock ¶
func GetEBlock(keymr string) (interfaces.IEntryBlock, error)
func GetECBalance ¶
func GetECBlock ¶
func GetECBlock(keymr string) (interfaces.IEntryCreditBlock, error)
func GetFactoidBalance ¶
func GetMerkleRootOfDBlockWindow ¶
func GetMerkleRootOfDBlockWindow(height, size uint32) (interfaces.IHash, error)
TODO: move calculation of the Merkle root for a window of blocks to a new function in factomd/primitives package when creating factomd "anchor" RPC call GetMerkleRootOfDBlockWindow calculates a Merkle root for all Directory Blocks from height to (height - size + 1)
Types ¶
type DBlockHead ¶
type DBlockHead struct {
KeyMR string
}
Click to show internal directories.
Click to hide internal directories.