diff --git a/cmd/client/txgen/main.go b/cmd/client/txgen/main.go index 4846be811..20c0ec7ad 100644 --- a/cmd/client/txgen/main.go +++ b/cmd/client/txgen/main.go @@ -40,7 +40,7 @@ var ( ) const ( - checkFrequency = 5 //checkfrequency checks whether the transaction generator is ready to send the next batch of transactions. + checkFrequency = 2 //checkfrequency checks whether the transaction generator is ready to send the next batch of transactions. ) // Settings is the settings for TX generation. No Cross-Shard Support! diff --git a/node/node_syncing.go b/node/node_syncing.go index f3090f4ea..f990dbeca 100644 --- a/node/node_syncing.go +++ b/node/node_syncing.go @@ -40,7 +40,7 @@ func (node *Node) getNeighborPeers(neighbor *sync.Map) []p2p.Peer { return tmp } -// GetSync gets sync-ed to blockchain without joining consensus +// DoSyncWithoutConsensus gets sync-ed to blockchain without joining consensus func (node *Node) DoSyncWithoutConsensus() { go node.DoSyncing(node.blockchain, node.Worker, node.GetSyncingPeers, false) //Don't join consensus }