Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update mod name to cess-miner #260

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <h1 align="center">CESS-BUCKET </br> [![GitHub license](https://img.shields.io/badge/license-Apache2-blue)](#LICENSE) <a href=""><img src="https://img.shields.io/badge/golang-%3E%3D1.20-blue.svg" /></a> [![Go Reference](https://pkg.go.dev/badge/github.com/CESSProject/cess-bucket/edit/main/README.md.svg)](https://pkg.go.dev/github.com/CESSProject/cess-bucket/edit/main/README.md) [![build](https://github.com/CESSProject/cess-bucket/actions/workflows/build.yml/badge.svg)](https://github.com/CESSProject/cess-bucket/actions/workflows/build.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/CESSProject/cess-bucket)](https://goreportcard.com/report/github.com/CESSProject/cess-bucket)</h1>
# <h1 align="center">CESS-BUCKET </br> [![GitHub license](https://img.shields.io/badge/license-Apache2-blue)](#LICENSE) <a href=""><img src="https://img.shields.io/badge/golang-%3E%3D1.20-blue.svg" /></a> [![Go Reference](https://pkg.go.dev/badge/github.com/CESSProject/cess-miner/edit/main/README.md.svg)](https://pkg.go.dev/github.com/CESSProject/cess-miner/edit/main/README.md) [![build](https://github.com/CESSProject/cess-miner/actions/workflows/build.yml/badge.svg)](https://github.com/CESSProject/cess-miner/actions/workflows/build.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/CESSProject/cess-bucket)](https://goreportcard.com/report/github.com/CESSProject/cess-bucket)</h1>

CESS-Bucket is a mining program provided by cess platform for storage miners.

Expand Down Expand Up @@ -106,7 +106,7 @@ If you are using the test network, Please join the [CESS discord](https://discor
### Method one
Download the latest release of the binary application directly at:
```
wget https://github.com/CESSProject/cess-bucket/releases/download/v0.7.10/bucket0.7.10.linux-amd64.tar.gz
wget https://github.com/CESSProject/cess-miner/releases/download/v0.7.10/bucket0.7.10.linux-amd64.tar.gz
```
### Method two
Compile the binary program from the storage node source code and follow the process as follows:
Expand Down Expand Up @@ -336,4 +336,4 @@ OK 0x59096fd095b66665c838f89ae4f1384ab31255cdc9c80003b05b50124cfdcfee
```

## License
Licensed under [Apache 2.0](https://github.com/CESSProject/cess-bucket/blob/main/LICENSE)
Licensed under [Apache 2.0](https://github.com/CESSProject/cess-miner/blob/main/LICENSE)
5 changes: 2 additions & 3 deletions cmd/console/claim.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ import (
"context"
"os"

"github.com/CESSProject/cess-bucket/configs"
cess "github.com/CESSProject/cess-go-sdk"
"github.com/CESSProject/cess-go-sdk/config"
"github.com/CESSProject/cess-miner/configs"
"github.com/CESSProject/p2p-go/out"
"github.com/spf13/cobra"
)
Expand Down Expand Up @@ -45,7 +44,7 @@ func Command_Claim_Runfunc(cmd *cobra.Command, args []string) {

cli, err := cess.New(
context.Background(),
cess.Name(config.CharacterName_Bucket),
cess.Name(configs.Name),
cess.ConnectRpcAddrs(cfg.ReadRpcEndpoints()),
cess.Mnemonic(cfg.ReadMnemonic()),
cess.TransactionTimeout(configs.TimeToWaitEvent),
Expand Down
2 changes: 1 addition & 1 deletion cmd/console/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"os"
"path/filepath"

"github.com/CESSProject/cess-bucket/pkg/confile"
"github.com/CESSProject/cess-miner/pkg/confile"
"github.com/CESSProject/p2p-go/out"
"github.com/spf13/cobra"
)
Expand Down
5 changes: 2 additions & 3 deletions cmd/console/exit.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ import (
"context"
"os"

"github.com/CESSProject/cess-bucket/configs"
cess "github.com/CESSProject/cess-go-sdk"
"github.com/CESSProject/cess-go-sdk/config"
"github.com/CESSProject/cess-miner/configs"
"github.com/CESSProject/p2p-go/out"
"github.com/spf13/cobra"
)
Expand Down Expand Up @@ -44,7 +43,7 @@ func Command_Exit_Runfunc(cmd *cobra.Command, args []string) {
}
cli, err := cess.New(
context.Background(),
cess.Name(config.CharacterName_Bucket),
cess.Name(configs.Name),
cess.ConnectRpcAddrs(cfg.ReadRpcEndpoints()),
cess.Mnemonic(cfg.ReadMnemonic()),
cess.TransactionTimeout(configs.TimeToWaitEvent),
Expand Down
9 changes: 4 additions & 5 deletions cmd/console/increase.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ import (
"os"
"strconv"

"github.com/CESSProject/cess-bucket/configs"
"github.com/CESSProject/cess-bucket/pkg/confile"
cess "github.com/CESSProject/cess-go-sdk"
"github.com/CESSProject/cess-go-sdk/config"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-miner/configs"
"github.com/CESSProject/cess-miner/pkg/confile"
"github.com/CESSProject/p2p-go/out"
"github.com/spf13/cobra"
)
Expand Down Expand Up @@ -86,7 +85,7 @@ func increaseStakingCmd_Runfunc(cmd *cobra.Command, args []string) {

cli, err := cess.New(
context.Background(),
cess.Name(config.CharacterName_Bucket),
cess.Name(configs.Name),
cess.ConnectRpcAddrs(cfg.ReadRpcEndpoints()),
cess.Mnemonic(cfg.ReadMnemonic()),
cess.TransactionTimeout(configs.TimeToWaitEvent),
Expand Down Expand Up @@ -142,7 +141,7 @@ func increaseSpaceCmd_Runfunc(cmd *cobra.Command, args []string) {

cli, err := cess.New(
context.Background(),
cess.Name(config.CharacterName_Bucket),
cess.Name(configs.Name),
cess.ConnectRpcAddrs(cfg.ReadRpcEndpoints()),
cess.Mnemonic(cfg.ReadMnemonic()),
cess.TransactionTimeout(configs.TimeToWaitEvent),
Expand Down
5 changes: 2 additions & 3 deletions cmd/console/reward.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ import (
"os"
"strings"

"github.com/CESSProject/cess-bucket/configs"
cess "github.com/CESSProject/cess-go-sdk"
"github.com/CESSProject/cess-go-sdk/config"
"github.com/CESSProject/cess-miner/configs"
"github.com/CESSProject/p2p-go/out"
"github.com/jedib0t/go-pretty/v6/table"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -49,7 +48,7 @@ func Command_Reward_Runfunc(cmd *cobra.Command, args []string) {

cli, err := cess.New(
context.Background(),
cess.Name(config.CharacterName_Bucket),
cess.Name(configs.Name),
cess.ConnectRpcAddrs(cfg.ReadRpcEndpoints()),
cess.Mnemonic(cfg.ReadMnemonic()),
cess.TransactionTimeout(configs.TimeToWaitEvent),
Expand Down
2 changes: 1 addition & 1 deletion cmd/console/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"fmt"
"os"

"github.com/CESSProject/cess-bucket/configs"
"github.com/CESSProject/cess-miner/configs"

"github.com/spf13/cobra"
)
Expand Down
17 changes: 8 additions & 9 deletions cmd/console/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,16 @@ import (
"strings"
"time"

"github.com/CESSProject/cess-bucket/configs"
"github.com/CESSProject/cess-bucket/node"
"github.com/CESSProject/cess-bucket/pkg/cache"
"github.com/CESSProject/cess-bucket/pkg/confile"
"github.com/CESSProject/cess-bucket/pkg/logger"
"github.com/CESSProject/cess-bucket/pkg/utils"
sdkgo "github.com/CESSProject/cess-go-sdk"
sconfig "github.com/CESSProject/cess-go-sdk/config"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/sdk"
sutils "github.com/CESSProject/cess-go-sdk/utils"
"github.com/CESSProject/cess-miner/configs"
"github.com/CESSProject/cess-miner/node"
"github.com/CESSProject/cess-miner/pkg/cache"
"github.com/CESSProject/cess-miner/pkg/confile"
"github.com/CESSProject/cess-miner/pkg/logger"
"github.com/CESSProject/cess-miner/pkg/utils"
p2pgo "github.com/CESSProject/p2p-go"
"github.com/CESSProject/p2p-go/core"
"github.com/CESSProject/p2p-go/out"
Expand Down Expand Up @@ -74,7 +73,7 @@ func runCmd(cmd *cobra.Command, args []string) {
// new chain client
cli, err := sdkgo.New(
ctx,
sdkgo.Name(sconfig.CharacterName_Bucket),
sdkgo.Name(configs.Name),
sdkgo.ConnectRpcAddrs(cfg.ReadRpcEndpoints()),
sdkgo.Mnemonic(cfg.ReadMnemonic()),
sdkgo.TransactionTimeout(configs.TimeToWaitEvent),
Expand Down Expand Up @@ -111,7 +110,7 @@ func runCmd(cmd *cobra.Command, args []string) {
peernode, err := p2pgo.New(
ctx,
p2pgo.ListenPort(cfg.ReadServicePort()),
p2pgo.Workspace(filepath.Join(cfg.ReadWorkspace(), cli.GetSignatureAcc(), cli.GetSDKName())),
p2pgo.Workspace(filepath.Join(cfg.ReadWorkspace(), cli.GetSignatureAcc(), configs.Name)),
p2pgo.BootPeers(cfg.ReadBootnodes()),
)
if err != nil {
Expand Down
5 changes: 2 additions & 3 deletions cmd/console/stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ import (
"os"
"strings"

"github.com/CESSProject/cess-bucket/configs"
cess "github.com/CESSProject/cess-go-sdk"
"github.com/CESSProject/cess-go-sdk/config"
"github.com/CESSProject/cess-go-sdk/core/pattern"
sutils "github.com/CESSProject/cess-go-sdk/utils"
"github.com/CESSProject/cess-miner/configs"
"github.com/CESSProject/p2p-go/out"
"github.com/btcsuite/btcutil/base58"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
Expand All @@ -36,7 +35,7 @@ func Command_State_Runfunc(cmd *cobra.Command, args []string) {

cli, err := cess.New(
context.Background(),
cess.Name(config.CharacterName_Bucket),
cess.Name(configs.Name),
cess.ConnectRpcAddrs(cfg.ReadRpcEndpoints()),
cess.Mnemonic(cfg.ReadMnemonic()),
cess.TransactionTimeout(configs.TimeToWaitEvent),
Expand Down
5 changes: 2 additions & 3 deletions cmd/console/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ import (
"context"
"os"

"github.com/CESSProject/cess-bucket/configs"
cess "github.com/CESSProject/cess-go-sdk"
"github.com/CESSProject/cess-go-sdk/config"
sutils "github.com/CESSProject/cess-go-sdk/utils"
"github.com/CESSProject/cess-miner/configs"
"github.com/CESSProject/p2p-go/out"
"github.com/spf13/cobra"
)
Expand Down Expand Up @@ -71,7 +70,7 @@ func updateEarningsAccount(cmd *cobra.Command) {

cli, err := cess.New(
context.Background(),
cess.Name(config.CharacterName_Bucket),
cess.Name(configs.Name),
cess.ConnectRpcAddrs(cfg.ReadRpcEndpoints()),
cess.Mnemonic(cfg.ReadMnemonic()),
cess.TransactionTimeout(configs.TimeToWaitEvent),
Expand Down
5 changes: 2 additions & 3 deletions cmd/console/withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ import (
"context"
"os"

"github.com/CESSProject/cess-bucket/configs"
cess "github.com/CESSProject/cess-go-sdk"
"github.com/CESSProject/cess-go-sdk/config"
"github.com/CESSProject/cess-miner/configs"
"github.com/CESSProject/p2p-go/out"
"github.com/spf13/cobra"
)
Expand All @@ -28,7 +27,7 @@ func Command_Withdraw_Runfunc(cmd *cobra.Command, args []string) {

cli, err := cess.New(
context.Background(),
cess.Name(config.CharacterName_Bucket),
cess.Name(configs.Name),
cess.ConnectRpcAddrs(cfg.ReadRpcEndpoints()),
cess.Mnemonic(cfg.ReadMnemonic()),
cess.TransactionTimeout(configs.TimeToWaitEvent),
Expand Down
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"os/signal"
"syscall"

"github.com/CESSProject/cess-bucket/cmd/console"
"github.com/CESSProject/cess-miner/cmd/console"
)

// program entry
Expand Down
2 changes: 1 addition & 1 deletion configs/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const (
DefaultRpcAddr1 = "wss://testnet-rpc0.cess.cloud/ws/"
DefaultRpcAddr2 = "wss://testnet-rpc1.cess.cloud/ws/"
//
DefaultBootNodeAddr = "_dnsaddr.boot-bucket-testnet.cess.cloud"
DefaultBootNodeAddr = "_dnsaddr.boot-miner-testnet.cess.cloud"
//
DefaultDeossAddr = "http://deoss-pub-gateway.cess.cloud/"

Expand Down
2 changes: 1 addition & 1 deletion configs/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

const (
// Name is the name of the program
Name = "bucket"
Name = "miner"
// version
Version = "v0.7.11 devnet"
// Description is the description of the program
Expand Down
2 changes: 1 addition & 1 deletion examples/calctag/calctag.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"log"
"os"

"github.com/CESSProject/cess-bucket/configs"
sutils "github.com/CESSProject/cess-go-sdk/utils"
"github.com/CESSProject/cess-miner/configs"
p2pgo "github.com/CESSProject/p2p-go"
)

Expand Down
9 changes: 5 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
module github.com/CESSProject/cess-bucket
module github.com/CESSProject/cess-miner

go 1.20

require (
github.com/CESSProject/cess-go-sdk v0.5.1-0.20240415124817-f6bf0e9d41e4
github.com/CESSProject/cess-go-sdk v0.5.1-0.20240429075853-8cd5672d1188
github.com/CESSProject/cess_pois v0.5.15
github.com/CESSProject/p2p-go v0.3.14
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
github.com/centrifuge/go-substrate-rpc-client/v4 v4.2.1
github.com/gin-contrib/cors v1.7.1
github.com/gin-gonic/gin v1.9.1
github.com/howeyc/gopass v0.0.0-20210920133722-c8aef6fb66ef
github.com/jedib0t/go-pretty/v6 v6.5.7
github.com/jedib0t/go-pretty/v6 v6.5.8
github.com/libp2p/go-libp2p v0.32.2
github.com/libp2p/go-libp2p-pubsub v0.10.0
github.com/multiformats/go-multiaddr v0.12.3
Expand All @@ -23,7 +23,7 @@ require (
github.com/stretchr/testify v1.9.0
github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a
go.uber.org/zap v1.27.0
google.golang.org/grpc v1.63.0
google.golang.org/grpc v1.63.2
google.golang.org/protobuf v1.33.0
)

Expand Down Expand Up @@ -129,6 +129,7 @@ require (
github.com/multiformats/go-multihash v0.2.3 // indirect
github.com/multiformats/go-multistream v0.5.0 // indirect
github.com/multiformats/go-varint v0.0.7 // indirect
github.com/nxadm/tail v1.4.11 // indirect
github.com/onsi/ginkgo/v2 v2.15.0 // indirect
github.com/opencontainers/runtime-spec v1.2.0 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
Expand Down
19 changes: 11 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c/go.mod h1:0PRwlb0D
git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg=
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/CESSProject/cess-go-sdk v0.5.1-0.20240415124817-f6bf0e9d41e4 h1:I84NCQbZ+CBe6zCrpSrDfq5CDj3nabONqBEVQNtoCFI=
github.com/CESSProject/cess-go-sdk v0.5.1-0.20240415124817-f6bf0e9d41e4/go.mod h1:Y78g1FHZ02S1KDbf0NCHZQ/CELJkQ/Ti45hMaIO3HNM=
github.com/CESSProject/cess-go-sdk v0.5.1-0.20240429075853-8cd5672d1188 h1:GXkwjd1Gsd9BVp14G8gGrQxlFyeNpjo3mMd+oyXMoLw=
github.com/CESSProject/cess-go-sdk v0.5.1-0.20240429075853-8cd5672d1188/go.mod h1:/2hVASd8LxEDV05E3RUyzVcIbI8NgCjpwapZBPbMP8g=
github.com/CESSProject/cess_pois v0.5.15 h1:oQH8xEtxVzB+SeI+gNS6iSeFgjb/xDAsmgyuoF3al28=
github.com/CESSProject/cess_pois v0.5.15/go.mod h1:rztEZjjG+MbKzVgh5WtQcZc/7ZDkBvDNABc7Em8BKPc=
github.com/CESSProject/go-keyring v0.0.0-20220614131247-ee3a8da30fde h1:5MDRjjtg6PEhqyVjupwaapN96cOZiddOGAYwKQeaTu0=
Expand Down Expand Up @@ -115,6 +115,7 @@ github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHk
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU=
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0=
Expand Down Expand Up @@ -263,8 +264,8 @@ github.com/jbenet/go-temp-err-catcher v0.1.0 h1:zpb3ZH6wIE8Shj2sKS+khgRvf7T7RABo
github.com/jbenet/go-temp-err-catcher v0.1.0/go.mod h1:0kJRvmDZXNMIiJirNPEYfhpPwbGVtZVWC34vc5WLsDk=
github.com/jbenet/goprocess v0.1.4 h1:DRGOFReOMqqDNXwW70QkacFW0YN9QnwLV0Vqk+3oU0o=
github.com/jbenet/goprocess v0.1.4/go.mod h1:5yspPrukOVuOLORacaBi858NqyClJPQxYZlqdZVfqY4=
github.com/jedib0t/go-pretty/v6 v6.5.7 h1:28Z6UxnNyKCVISGdItMiCCc7A0mbDF+SYvgo3U8ZKuQ=
github.com/jedib0t/go-pretty/v6 v6.5.7/go.mod h1:zbn98qrYlh95FIhwwsbIip0LYpwSG8SUOScs+v9/t0E=
github.com/jedib0t/go-pretty/v6 v6.5.8 h1:8BCzJdSvUbaDuRba4YVh+SKMGcAAKdkcF3SVFbrHAtQ=
github.com/jedib0t/go-pretty/v6 v6.5.8/go.mod h1:zbn98qrYlh95FIhwwsbIip0LYpwSG8SUOScs+v9/t0E=
github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1/go.mod h1:E0B/fFc00Y+Rasa88328GlI/XbtyysCtTHZS8h7IrBU=
github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
Expand Down Expand Up @@ -399,8 +400,9 @@ github.com/natefinch/lumberjack v2.0.0+incompatible/go.mod h1:Wi9p2TTF5DG5oU+6Yf
github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86/go.mod h1:kHJEU3ofeGjhHklVoIGuVj85JJwZ6kWPaJwCIxgnFmo=
github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab/go.mod h1:Qr6/a/Q4r9LP1IltGz7tA7iOK1WonHEYhu1HRBA7ZiM=
github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A=
github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU=
github.com/nxadm/tail v1.4.11 h1:8feyoE3OzPrcshW5/MJ4sGESc5cqmGkGCWlco4l0bqY=
github.com/nxadm/tail v1.4.11/go.mod h1:OTaG3NK980DZzxbRq6lEuzgU+mug70nY11sMd4JXXHc=
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk=
Expand Down Expand Up @@ -466,7 +468,7 @@ github.com/raulk/go-watchdog v1.3.0/go.mod h1:fIvOnLbF0b0ZwkB9YU4mOW9Did//4vPZtD
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
github.com/rs/cors v1.8.2 h1:KCooALfAYGs415Cwu5ABvv9n9509fSiG5SQJn/AQo4U=
github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
Expand Down Expand Up @@ -711,6 +713,7 @@ golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
Expand Down Expand Up @@ -779,8 +782,8 @@ google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyac
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
google.golang.org/grpc v1.63.0 h1:WjKe+dnvABXyPJMD7KDNLxtoGk5tgk+YFWN6cBWjZE8=
google.golang.org/grpc v1.63.0/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
Expand Down
6 changes: 3 additions & 3 deletions node/attestation_idle.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import (
"strings"
"time"

"github.com/CESSProject/cess-bucket/configs"
"github.com/CESSProject/cess-bucket/pkg/logger"
"github.com/CESSProject/cess-bucket/pkg/utils"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/sdk"
"github.com/CESSProject/cess-miner/configs"
"github.com/CESSProject/cess-miner/pkg/logger"
"github.com/CESSProject/cess-miner/pkg/utils"
"github.com/CESSProject/cess_pois/acc"
"github.com/CESSProject/p2p-go/core"
"github.com/CESSProject/p2p-go/pb"
Expand Down
Loading
Loading