Documentation ¶
Index ¶
- func CreateCookie(publicKey string) http.Cookie
- func GetPublicKeyCookie(r *http.Request) (*http.Cookie, error)
- func SerializeHashContent(data interface{}) (hash [32]byte)
- type Account
- type Accountsandurl
- type Accountwithtxs
- type Accsandurl
- type Acctx
- type Block
- type Blocksandtx
- type Blocksandurl
- type Configsandurl
- type Configtx
- type Emptyresponse
- type Fundsandurl
- type Fundstx
- type JSONAccount
- type Serie
- type Stakesandurl
- type Staketx
- type Stats
- type Systemparams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCookie ¶
func SerializeHashContent ¶
func SerializeHashContent(data interface{}) (hash [32]byte)
Types ¶
type Accountsandurl ¶
type Accountwithtxs ¶
type Accsandurl ¶
type Acctx ¶
type Block ¶
type Block struct { Header string Hash string PrevHash string Timestamp int64 TimeString string MerkleRoot string Beneficiary string Seed string HashedSeed string Height uint16 NrFundsTx uint16 NrAccTx uint16 NrConfigTx uint8 NrStakeTx uint16 FundsTxDataString sql.NullString FundsTxData []string AccTxDataString sql.NullString AccTxData []string ConfigTxDataString sql.NullString ConfigTxData []string StakeTxDataString sql.NullString StakeTxData []string UrlLevel string }
func ConvertBlock ¶
type Blocksandtx ¶
type Blocksandurl ¶
type Configsandurl ¶
type Configtx ¶
type Emptyresponse ¶
type Emptyresponse struct { UrlLevel string // contains filtered or unexported fields }
type Fundsandurl ¶
type Fundstx ¶
type JSONAccount ¶
type JSONAccount struct { Address [64]byte `json:"-"` AddressString string `json:"address"` Balance uint64 `json:"balance"` TxCnt uint32 `json:"txCnt"` IsCreated bool `json:"isCreated"` IsRoot bool `json:"isRoot"` }
func RequestAccountInformation ¶
func RequestAccountInformation(publicKey string) JSONAccount
type Stakesandurl ¶
type Staketx ¶
type Stats ¶
type Stats struct { ChartData string TotalSupply int TotalNrAccounts int Parameters Systemparams UrlLevel string }
type Systemparams ¶
type Systemparams struct { Timestamp int64 BlockHash string BlockSize uint64 DiffInterval uint64 MinFee uint64 BlockInterval uint64 BlockReward uint64 StakingMin uint64 WaitingMin uint64 AcceptanceTimeDiff uint64 SlashingWindowSize uint64 SlashingReward uint64 UrlLevel string }
func ExtractParameters ¶
func ExtractParameters(tx Configtx, currentParams Systemparams) Systemparams
Click to show internal directories.
Click to hide internal directories.