package
0.0.0-20200107211526-8e17a2142328
Repository: https://github.com/genesiskernel/go-genesis.git
Documentation: pkg.go.dev

# Functions

Header returns TxHeader.
IsStruct is only used for FirstBlock now.
MakeStruct is only used for FirstBlock now.
Sign returns the signature attached to the header.

# Constants

Types of log errors.
AddressLength is length of address.
Types of log errors.
No description provided by the author
Types of log errors.
Types of log errors.
Types of log errors.
BLOCK_VERSION is block version.
Types of log errors.
Types of log errors.
BlockSize is size of block.
No description provided by the author
No description provided by the author
Types of log errors.
Types of log errors.
Types of log errors.
Types of log errors.
Types of log errors.
Types of log errors.
ContractList is the number of contracts per page on loading.
Types of log errors.
Types of log errors.
DATA_TYPE_BLOCK_BODY is body block datatype.
DATA_TYPE_MAX_BLOCK_ID is block id max datatype.
Types of log errors.
No description provided by the author
DEFAULT_TCP_PORT used when port number missed in host addr.
DefaultConfigFile name of config file (toml format).
DefaultLockFilename is default filename of lock file.
No description provided by the author
DefaultOBS allways is 1.
DefaultPidFilename is default filename of pid file.
DefaultTempDirName is default name of temporary directory.
DefaultWorkdirName name of working directory.
Types of log errors.
DOWNLOAD_CHAIN_TRY_COUNT is number of attempt.
Types of log errors.
Types of log errors.
ERROR_TIME is error time.
Types of log errors.
FirstBlockFilename name of first block binary file.
Types of log errors.
FounderAmount is the starting amount of founder.
FromToPerDayLimit day limit token transfer between accounts.
No description provided by the author
No description provided by the author
Guest key.
HashSize is size of hash.
No description provided by the author
Types of log errors.
Types of log errors.
Types of log errors.
Types of log errors.
Types of log errors.
Types of log errors.
Types of log errors.
KeyIDFilename generated KeyID.
Types of log errors.
MAX_TX_BACK transaction may wander in the net for a day and then get into a block.
MAX_TX_FORW How fast could the time of transaction pass.
No description provided by the author
Types of log errors.
MIN_CONFIRMED_NODES The number of nodes which should have the same block as we have for regarding this block belongs to the major part of DC-net.
MoneyDigits is numbers of digits for tokens 1000000000000000000.
MoneyLength is the maximum number of digits in money value.
Types of log errors.
NodePrivateKeyFilename name of node private key file.
NodePublicKeyFilename name of node public key file.
Types of log errors.
Types of log errors.
No description provided by the author
Types of log errors.
Types of log errors.
Types of log errors.
Types of log errors.
Types of log errors.
Types of log errors.
PrivateKeyFilename name of wallet private key file.
PrivkeyLength is privkey length.
Types of log errors.
PubkeySizeLength is pubkey length.
PublicKeyFilename name of wallet public key file.
READ_TIMEOUT is timeout for TCP.
RollbackResultFilename rollback result file.
ROUND_FIX is rounding constant.
Types of log errors.
Types of log errors.
Types of log errors.
ShiftContractID is the offset of tx identifiers.
Types of log errors.
Types of log errors.
StatusMainPage is a status for Main Page.
Types of log errors.
Types of log errors.
TCPConnTimeout timeout of tcp connection.
Types of log errors.
No description provided by the author
TokenMovementQtyPerBlockLimit block limit token transfer.
TxRequestExpire is expiration time for request of transaction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Types of log errors.
Types of log errors.
Types of log errors.
UPD_AND_VER_URL is root url.
VERSION is current version.
Types of log errors.
WAIT_CONFIRMED_NODES is used in confirmations.
WRITE_TIMEOUT is timeout for TCP.
Types of log errors.
Types of log errors.

# Variables

ApiPath is the beginning of the api url.
BuildInfo should be defined through -ldflags.
TxTypes is the list of the embedded transactions.
UsedStopNetworkCerts contains a list of certificates that were used to stop the network.

# Structs

BlockHeader is a structure of the block header.
FirstBlock is the header of FirstBlock transaction.
No description provided by the author
TxHeader is the old version of the transaction header.

# Type aliases

LogEventType is storing numeric event type.