mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 03:30:35 +00:00
Resolve comments in code review
This commit is contained in:
parent
8bddc0cddb
commit
551df8feae
@ -145,7 +145,7 @@ var (
|
||||
}
|
||||
NetworkIdFlag = cli.Uint64Flag{
|
||||
Name: "networkid",
|
||||
Usage: "Explicitly set network id (integer)(For testnets: use --pulsechain --pulsechain-testnet --ropsten, --rinkeby, --goerli instead)",
|
||||
Usage: "Explicitly set network id (integer)(For testnets: use --pulsechain, --pulsechain-testnet, --ropsten, --rinkeby, --goerli instead)",
|
||||
Value: ethconfig.Defaults.NetworkId,
|
||||
}
|
||||
MainnetFlag = cli.BoolFlag{
|
||||
|
@ -81,10 +81,8 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
|
||||
// Iterate over and process the individual transactions
|
||||
posa, isPoSA := p.engine.(consensus.PoSA)
|
||||
|
||||
// Store common transactions
|
||||
commonTxs := make([]*types.Transaction, 0, len(block.Transactions()))
|
||||
|
||||
// Store system transactions
|
||||
// usually do have two tx, one for validator set contract, another for system reward contract.
|
||||
systemTxs := make([]*types.Transaction, 0, 2)
|
||||
|
||||
|
@ -61,7 +61,7 @@ var LightClientGPO = gasprice.Config{
|
||||
IgnorePrice: gasprice.DefaultIgnorePrice,
|
||||
}
|
||||
|
||||
// Defaults contains default settings for use on the Ethereum main net.
|
||||
// Defaults contains default settings for use on the Pulsechain main net.
|
||||
var Defaults = Config{
|
||||
SyncMode: downloader.SnapSync,
|
||||
Ethash: ethash.Config{
|
||||
|
@ -80,7 +80,7 @@ var defaultNodeConfig = &NodeConfig{
|
||||
BootstrapNodes: PulseChainBootnodes(),
|
||||
MaxPeers: 25,
|
||||
EthereumEnabled: true,
|
||||
EthereumNetworkID: 1,
|
||||
EthereumNetworkID: 369,
|
||||
EthereumDatabaseCache: 16,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user