Versions in this module Expand all Collapse all v1 v1.4.2 May 30, 2023 v1.4.0 May 30, 2023 Changes in this version + const AccessExec + const BlockReward + const CostDefault + const FuelRate + const GapsBetweenBlocks + const HonorNodes + const IncorrectBlocksPerDay + const LocalNodeBanTime + const MaxBlockFuel + const MaxBlockGenerationTime + const MaxBlockSize + const MaxBlockUserTx + const MaxColumns + const MaxForsignSize + const MaxIndexes + const MaxTxCount + const MaxTxFuel + const MaxTxSize + const NodeBanTime + const NumberNodes + const PayFreeContract + const PriceCreateExec + const PriceCreateRate + const PriceExec + const PriceTxSize + const PrivateBlockchain + const RbBlocks1 + const SizeFuel + const TaxesSize + const TaxesWallet + const Test + func DuplicateHonorNode(fn []*HonorNode) error + func GetAccessExec(s string) string + func GetCountOfActiveNodes() int64 + func GetDefaultRemoteHosts() []string + func GetFirstBlockData() (*types.FirstBlock, error) + func GetFirstBlockTimestamp() int64 + func GetFuelRate(ecosystem int64) string + func GetGapsBetweenBlocks() int64 + func GetHonorNodeType() bool + func GetIncorrectBlocksPerDay() int + func GetLocalNodeBanTime() time.Duration + func GetMaxBlockFuel() int64 + func GetMaxBlockGenerationTime() int64 + func GetMaxBlockSize() int64 + func GetMaxBlockTimeDuration() time.Duration + func GetMaxBlockUserTx() int + func GetMaxColumns() int + func GetMaxCost() int64 + func GetMaxForsignSize() int64 + func GetMaxIndexes() int + func GetMaxTxCount() int + func GetMaxTxFuel() int64 + func GetMaxTxSize() int64 + func GetNodeBanTime() time.Duration + func GetNodeHostByPosition(position int64) (string, error) + func GetNodePositionByPublicKey(publicKey []byte) (int64, error) + func GetNodePrivKey() []byte + func GetNodePubKey() []byte + func GetNodePublicKeyByPosition(position int64) ([]byte, error) + func GetNumberOfNodes() int64 + func GetNumberOfNodesFromDB(transaction *sqldb.DbTransaction) int64 + func GetPriceCreateExec(s string) (price int64) + func GetPriceExec(s string) (price int64, ok bool) + func GetRbBlocks1() int64 + func GetRemoteHosts() []string + func GetSizeFuel() int64 + func GetSysParCache() map[string]string + func GetTableColType() []map[string]string + func GetTaxesWallet(ecosystem int64) string + func GetThisNodePosition() (int64, error) + func HasFuelRate(ecosystem int64) (string, bool) + func HasSys(name string) bool + func HasTaxesWallet(ecosystem int64) (string, bool) + func IsByteColumn(table, column string) bool + func IsCandidateNodeMode() bool + func IsHonorNodeMode() bool + func IsPrivateBlockchain() bool + func IsTestMode() bool + func ReadNodeKeys() (err error) + func SetFirstBlockData(data *types.FirstBlock) + func SetFirstBlockTimestamp(data int64) + func SetRunModel(setVal uint8) + func SysInt(name string) int + func SysInt64(name string) int64 + func SysString(name string) string + func SysTableColType(dbTx *sqldb.DbTransaction) error + func SysUpdate(dbTx *sqldb.DbTransaction) error + type HonorNode struct + APIAddress string + PublicKey []byte + Stopped bool + TCPAddress string + UnbanTime time.Time + func GetNodeByHost(host string) (HonorNode, error) + func GetNodeByPosition(position int64) (*HonorNode, error) + func GetNodes() []HonorNode + func (fn *HonorNode) MarshalJSON() ([]byte, error) + func (fn *HonorNode) UnmarshalJSON(b []byte) (err error) + func (fn *HonorNode) Validate() error