api

package
v0.0.0-...-3050db6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2020 License: MIT Imports: 12 Imported by: 2

Documentation

Index

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 GetDBlockHead() (string, error)

func GetEBlock

func GetEBlock(keymr string) (interfaces.IEntryBlock, error)

func GetECBalance

func GetECBalance(ecPublicKey string) (int64, error)

func GetECBlock

func GetECBlock(keymr string) (interfaces.IEntryCreditBlock, error)

func GetEntry

func GetEntry(hash string) (interfaces.IEBEntry, error)

func GetFBlock

func GetFBlock(keymr string) (interfaces.IFBlock, error)

func GetFactoidBalance

func GetFactoidBalance(factoidPublicKey string) (int64, error)

func GetRaw

func GetRaw(keymr string) ([]byte, error)

func SetServer

func SetServer(serverAddress string)

Types

type DBlockHead

type DBlockHead struct {
	KeyMR string
}

type Data

type Data struct {
	Data string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL