restapi

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2015 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//Server running mode
	FULL_NODE   = "FULL"
	SERVER_NODE = "SERVER"
	LIGHT_NODE  = "LIGHT"
)

Variables

This section is empty.

Functions

func LoadConfigurations

func LoadConfigurations(cfg *util.FactomdConfig)

func SendRawTransactionToBTC

func SendRawTransactionToBTC(hash []byte) (*wire.ShaHash, error)

func Start_Processor

func Start_Processor(ldb database.Db, inMsgQ <-chan factomwire.Message, outMsgQ chan<- factomwire.Message)

Types

type ByAmount

type ByAmount []btcjson.ListUnspentResult

ByAmount defines the methods needed to satisify sort.Interface to sort a slice of Utxos by their amount.

func (ByAmount) Len

func (u ByAmount) Len() int

func (ByAmount) Less

func (u ByAmount) Less(i, j int) bool

func (ByAmount) Swap

func (u ByAmount) Swap(i, j int)

Jump to

Keyboard shortcuts

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