mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
uncle rewards in process
This commit is contained in:
parent
5dee19495c
commit
64453a4d5b
2 changed files with 2 additions and 2 deletions
|
|
@ -438,7 +438,7 @@ func WriteMinerRewards(sqldb *sql.DB, block *types.Block) {
|
||||||
StoreReward(sqldb, minerAddr, totalMinerReward)
|
StoreReward(sqldb, minerAddr, totalMinerReward)
|
||||||
StoreReward(sqldb, shyftConduitAddress, Rewards.ShyftNetworkBlockReward)
|
StoreReward(sqldb, shyftConduitAddress, Rewards.ShyftNetworkBlockReward)
|
||||||
|
|
||||||
|
//https://ethereum.stackexchange.com/questions/27172/different-uncles-reward
|
||||||
// Accumulate the rewards for the miner and any included uncles
|
// Accumulate the rewards for the miner and any included uncles
|
||||||
//reward := new(big.Int).Set(blockReward)
|
//reward := new(big.Int).Set(blockReward)
|
||||||
//r := new(big.Int)
|
//r := new(big.Int)
|
||||||
|
|
|
||||||
|
|
@ -438,7 +438,7 @@ func WriteMinerRewards(sqldb *sql.DB, block *types.Block) {
|
||||||
StoreReward(sqldb, minerAddr, totalMinerReward)
|
StoreReward(sqldb, minerAddr, totalMinerReward)
|
||||||
StoreReward(sqldb, shyftConduitAddress, Rewards.ShyftNetworkBlockReward)
|
StoreReward(sqldb, shyftConduitAddress, Rewards.ShyftNetworkBlockReward)
|
||||||
|
|
||||||
|
//https://ethereum.stackexchange.com/questions/27172/different-uncles-reward
|
||||||
// Accumulate the rewards for the miner and any included uncles
|
// Accumulate the rewards for the miner and any included uncles
|
||||||
//reward := new(big.Int).Set(blockReward)
|
//reward := new(big.Int).Set(blockReward)
|
||||||
//r := new(big.Int)
|
//r := new(big.Int)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue