Documentation ¶
Index ¶
- func SaveJoint_sync(objJoint refObjJointT, objValidationState refObjValidationStateT, ...) ErrorT
- type DBConnT
- type DBParamsT
- type DBQueryResultT
- type DBQuerysT
- type DoubleSpendInputT
- type DoubleSpendInputsT
- type EHCRT
- type EHCRsT
- type EHCST
- type ObjJointT
- type ObjValidationStateT
- type SequenceT
- type UnitObjectT
- type XPropsT
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 DBQueryResultT ¶
type DBQueryResultT = db.DBQueryResultT
type DoubleSpendInputT ¶
type DoubleSpendInputT struct {
// contains filtered or unexported fields
}
type DoubleSpendInputsT ¶
type DoubleSpendInputsT = []DoubleSpendInputT
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 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"` }
Click to show internal directories.
Click to hide internal directories.