writer

package
v0.0.0-...-4027801 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveJoint_sync

func SaveJoint_sync(objJoint refObjJointT, objValidationState refObjValidationStateT, preCommitCallback_sync preCommitCallbackT) ErrorT

func saveJoint_sync(objJoint objJointT, objValidationState objValidationStateT, preCommitCallback preCommitCallbackT) ErrorT {

Types

type DBConnT

type DBConnT = db.DBConnT

type DBParamsT

type DBParamsT = db.DBParamsT

type DBQueryResultT

type DBQueryResultT = db.DBQueryResultT

type DBQuerysT

type DBQuerysT = db.DBQuerysT

type DoubleSpendInputT

type DoubleSpendInputT struct {
	// contains filtered or unexported fields
}

type DoubleSpendInputsT

type DoubleSpendInputsT = []DoubleSpendInputT

type EHCRT

type EHCRT struct {
	Address                         AddressT `json:"address"`
	Earned_headers_commission_share EHCST    `json:"earned_headers_commission_share"`
}

type EHCRsT

type EHCRsT = []EHCRT

type EHCST

type EHCST int

[fyi] integer percent

type ObjJointT

type ObjJointT struct {
	Unit UnitObjectT `json:"unit"`
	Ball BallT       `json:"ball"`

	Skiplist_units UnitsT `json:"skiplist_units,omitempty"`
}

type ObjValidationStateT

type ObjValidationStateT struct {
	ArrAdditionalQueries       DBQuerysT          `json:"arrAdditionalQueries"`
	ArrDoubleSpendInputs       DoubleSpendInputsT `json:"arrDoubleSpendInputs"`
	ArrInputKeys               []string           `json:"arrInputKeys"`
	Max_parent_limci           MCIndexT           `json:"max_parent_limci"`
	Last_ball_mci              MCIndexT           `json:"last_ball_mci"`
	Max_known_mci              MCIndexT           `json:"max_known_mci"`
	Witnessed_level            LevelT             `json:"witnessed_level"`
	Best_parent_unit           UnitT              `json:"best_parent_unit,omitempty"`
	ArrAddressesWithForkedPath AddressesT         `json:"arrAddressesWithForkedPath"`
	Unit_hash_to_Sign          interface{}        `json:"unit_hash_to_sign"`
	//		Unit_hash_to_Sign	[32]byte	`json:"unit_hash_to_sign"`
	Sequence SequenceT `json:"sequence,omitempty"`
}

type SequenceT

type SequenceT string

type UnitObjectT

type UnitObjectT struct {
	Unit    UnitT  `json:"unit"`
	Version string `json:"version"`
	Alt     string `json:"alt"`

	Witness_list_unit UnitT `json:"witness_list_unit,omitempty"`
	Last_ball_unit    UnitT `json:"last_ball_unit,omitempty"`
	Last_ball         BallT `json:"last_ball,omitempty"`

	Headers_commission int   `json:"headers_commission,omitempty"`
	Payload_commission int   `json:"payload_commission,omitempty"`
	Timestamp          int64 `json:"timestamp,omitempty"`

	Parent_units UnitsT    `json:"parent_units,omitempty"`
	Authors      AuthorsT  `json:"authors,omitempty"`
	Messages     MessagesT `json:"messages,omitempty"`

	// [fyi] field below were not observed
	Main_chain_index MCIndexT `json:"main_chain_index,omitempty"`

	Witnesses AddressesT `json:"witnesses,omitempty"`

	Content_hash                         *ContentHashT `json:"content_hash,omitempty"`
	Earned_headers_commission_recipients EHCRsT        `json:"earned_headers_commission_recipients,omitempty"`
}

type XPropsT

type XPropsT = storage.XPropsT

Jump to

Keyboard shortcuts

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