Documentation
¶
Index ¶
- Variables
- func GetConstReward(height int64, mainnet bool) *big.Int
- func GetRewardForUncle(height int64, mainnet bool) *big.Int
- func GetUncleReward(uHeight, height int64, mainnet bool) *big.Int
- type BlockData
- type CreditsImmatrue
- type DevSubList
- type InboundIdList
- type InboundIpList
- type MinerCharts
- type RewardData
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GenesisReword = math.MustParseBig256("3000000000000000000") // 300DGC = 3ETH CarratReward = math.MustParseBig256("3300000000000000000") // 330DGC = 3.3ETH CarrathardforkheightMainnet = int64(400000) CarrathardforkheightTestnet = int64(641800) )
Functions ¶
Types ¶
type BlockData ¶
type BlockData struct { Height int64 `json:"height"` Timestamp int64 `json:"timestamp"` Difficulty int64 `json:"difficulty"` Uncle bool `json:"uncle"` UncleHeight int64 `json:"uncleHeight"` Orphan bool `json:"orphan"` Hash string `json:"hash"` Nonce string `json:"-"` PowHash string `json:"-"` MixDigest string `json:"-"` Reward *big.Int `json:"-"` ExtraReward *big.Int `json:"-"` ImmatureReward string `json:"-"` RewardString string `json:"reward"` RoundHeight int64 `json:"-"` CandidateKey string ImmatureKey string State int }
func (*BlockData) RewardInShannon ¶
func (*BlockData) SerializeHash ¶
type CreditsImmatrue ¶
type DevSubList ¶
type InboundIdList ¶
type InboundIpList ¶
type MinerCharts ¶
type RewardData ¶
Click to show internal directories.
Click to hide internal directories.