Documentation
¶
Index ¶
- func Init()
- func IsGenesisUnit(unit UnitT) bool
- func ReadJoint(conn refDBConnT, unit UnitT, cb ReadJointCbT)
- func ReadLastStableMcIndex_sync(conn refDBConnT) MCIndexT
- func ReadPropsOfUnits_sync(conn refDBConnT, unit UnitT, units UnitsT) (refPropsT, PropssT)
- func ReadStaticUnitProps_sync(conn refDBConnT, unit UnitT) refPropsT
- func ReadUnitAuthors_sync(conn refDBConnT, unit UnitT) AddressesT
- func ReadUnitProps_sync(conn refDBConnT, unit UnitT) refPropsT
- func ReadWitnessList_sync(conn refDBConnT, unit UnitT, bAllowEmptyList bool) AddressesT
- func ReadWitnesses_sync(conn refDBConnT, unit UnitT) AddressesT
- func ResetUnstableUnits_sync()
- func UpdateMinRetrievableMciAfterStabilizingMci_sync(conn refDBConnT, last_stable_mci MCIndexT) MCIndexT
- type AddressesByUnitMapT
- type BoolByUnitMapT
- type DBConnT
- type DBParamsT
- type PropsByUnitMapT
- type ReadJointCbT
- type XPropsByUnitMapT
- type XPropsT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadJoint ¶
func ReadJoint(conn refDBConnT, unit UnitT, cb ReadJointCbT)
func ReadLastStableMcIndex_sync ¶
func ReadLastStableMcIndex_sync(conn refDBConnT) MCIndexT
func readLastStableMcIndex_sync(conn DBConnT) MCIndexT {
func ReadPropsOfUnits_sync ¶
func ReadPropsOfUnits_sync(conn refDBConnT, unit UnitT, units UnitsT) (refPropsT, PropssT)
func ReadPropsOfUnits_sync(conn refDBConnT, unit UnitT, units UnitsT) (refPropsT, refPropssT) {
func ReadStaticUnitProps_sync ¶
func ReadStaticUnitProps_sync(conn refDBConnT, unit UnitT) refPropsT
func readStaticUnitProps_sync(conn DBConnT, unit UnitT) refPropsT {
func ReadUnitAuthors_sync ¶
func ReadUnitAuthors_sync(conn refDBConnT, unit UnitT) AddressesT
func readUnitAuthors_sync(conn DBConnT, unit UnitT) {
func ReadUnitProps_sync ¶
func ReadUnitProps_sync(conn refDBConnT, unit UnitT) refPropsT
func readUnitProps_sync(conn DBConnT, unit UnitT) PropsT {
func ReadWitnessList_sync ¶
func ReadWitnessList_sync(conn refDBConnT, unit UnitT, bAllowEmptyList bool) AddressesT
func readWitnessList_sync(conn DBConnT, unit UnitT, bAllowEmptyList bool) AddressesT {
func ReadWitnesses_sync ¶
func ReadWitnesses_sync(conn refDBConnT, unit UnitT) AddressesT
func readWitnesses_sync(conn DBConnT, unit UnitT) AddressesT {
func UpdateMinRetrievableMciAfterStabilizingMci_sync ¶
func UpdateMinRetrievableMciAfterStabilizingMci_sync(conn refDBConnT, last_stable_mci MCIndexT) MCIndexT
func updateMinRetrievableMciAfterStabilizingMci_sync(conn DBConnT, last_stable_mci MCIndexT) MCIndexT {
Types ¶
type AddressesByUnitMapT ¶
type AddressesByUnitMapT = map[UnitT]AddressesT
var AssocCachedUnitAuthors AddressesByUnitMapT = make(AddressesByUnitMapT)
assocCachedUnitAuthors := [*ObjectExpression*]
var AssocCachedUnitWitnesses AddressesByUnitMapT = make(AddressesByUnitMapT)
assocCachedUnitWitnesses := [*ObjectExpression*]
type BoolByUnitMapT ¶
type BoolByUnitMapT = map[UnitT]bool
var AssocKnownUnits BoolByUnitMapT = make(BoolByUnitMapT)
MAX_ITEMS_IN_CACHE := 300 assocKnownUnits := [*ObjectExpression*]
type PropsByUnitMapT ¶
type PropsByUnitMapT = map[UnitT]refPropsT
var AssocCachedUnits PropsByUnitMapT = make(PropsByUnitMapT)
assocCachedUnits := [*ObjectExpression*]
var AssocStableUnits PropsByUnitMapT = make(PropsByUnitMapT)
assocStableUnits := [*ObjectExpression*]
type ReadJointCbT ¶
type ReadJointCbT struct { IfFound func(objJoint refJointT) IfNotFound func() }
type XPropsByUnitMapT ¶
type XPropsByUnitMapT = map[UnitT]refXPropsT
var AssocUnstableUnits XPropsByUnitMapT = make(XPropsByUnitMapT)
assocUnstableUnits := [*ObjectExpression*]