Skip to content

Commit

Permalink
Base se (#123)
Browse files Browse the repository at this point in the history
* update calcFileTag

* update readme

* update buildConfigFile

* update -c default value
  • Loading branch information
AstaFrode committed Jun 29, 2023
1 parent 378e9dd commit 0e844c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/console/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func init() {
Command_Run(),
Command_Withdraw(),
)
rootCmd.PersistentFlags().StringP("config", "c", "conf.yaml", "custom configuration file")
rootCmd.PersistentFlags().StringP("config", "c", "", "custom configuration file")
rootCmd.PersistentFlags().StringSliceP("rpc", "", nil, "rpc endpoint list")
rootCmd.PersistentFlags().StringP("ws", "", "", "workspace")
rootCmd.PersistentFlags().StringP("earnings", "", "", "earnings account")
Expand Down
2 changes: 1 addition & 1 deletion node/parseBlockMgt.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (n *Node) pBlock() error {
b, err = n.Get([]byte(Cach_prefix_ParseBlock))
if err != nil {
if err == cache.NotFound {
_, err = n.parseOldBlocks(0, latestBlockHeight)
_, err = n.parseOldBlocks(0, 100)
if err != nil {
return errors.Wrapf(err, "[parseOldBlocks]")
}
Expand Down
2 changes: 1 addition & 1 deletion node/taskMgt.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (n *Node) TaskMgt() {
go n.challengeMgt(ch_challengeMgt)
go n.stagMgt(ch_stagMgt)
go n.restoreMgt(ch_restoreMgt)
go n.parseBlockMgt(ch_parseBlockMgt)
// go n.parseBlockMgt(ch_parseBlockMgt)

for {
select {
Expand Down

0 comments on commit 0e844c7

Please sign in to comment.