factomd

package
v1.1.1-0...-b92a7c3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitAndRevealEntry

func CommitAndRevealEntry(commit []byte, reveal []byte) error

func CurrentBlockAndMinute

func CurrentBlockAndMinute() (int, int, error)

func IsMainnet

func IsMainnet() (bool, error)

Types

type CurrentMinuteResult

type CurrentMinuteResult struct {
	DBHeight int `json:"directoryblockheight"`
	Minute   int `json:"minute"`
}

type DBlockByHeightResult

type DBlockByHeightResult struct {
	DBlock struct {
		Header struct {
			NetworkID int `json:"networkid"`
		} `json:"header"`
	} `json:"dblock"`
}

Jump to

Keyboard shortcuts

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