Skip to content

Commit 060241b

Browse files
committed
rename more things
1 parent 868bccf commit 060241b

File tree

18 files changed

+43
-43
lines changed

18 files changed

+43
-43
lines changed

chain/find.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (g *GapIndexer) Run(ctx context.Context) error {
7373
findLog.Infow("found gaps in epochs", "count", len(heightGaps))
7474
findLog.Infow("found null rounds", "count", len(nulls))
7575

76-
// looks for entriest in the visor processing report table that have been skipped.
76+
// looks for entriest in the lily processing report table that have been skipped.
7777
skipGaps, err := g.findEpochSkips(ctx)
7878
if err != nil {
7979
return xerrors.Errorf("detecting skipped gaps: %w", err)

commands/daemon.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ var clientAPIFlags struct {
3636

3737
var clientAPIFlag = &cli.StringFlag{
3838
Name: "api",
39-
Usage: "Address of visor api in multiaddr format.",
39+
Usage: "Address of lily api in multiaddr format.",
4040
EnvVars: []string{"LILY_API"},
4141
Value: "/ip4/127.0.0.1/tcp/1234",
4242
Destination: &clientAPIFlags.apiAddr,
4343
}
4444

4545
var clientTokenFlag = &cli.StringFlag{
4646
Name: "api-token",
47-
Usage: "Authentication token for visor api.",
47+
Usage: "Authentication token for lily api.",
4848
EnvVars: []string{"LILY_API_TOKEN"},
4949
Value: "",
5050
Destination: &clientAPIFlags.apiToken,
@@ -58,7 +58,7 @@ var clientAPIFlagSet = []cli.Flag{
5858

5959
type daemonOpts struct {
6060
repo string
61-
bootstrap bool // TODO: is this necessary - do we want to run visor in this mode?
61+
bootstrap bool // TODO: is this necessary - do we want to run lily in this mode?
6262
config string
6363
genesis string
6464
}
@@ -67,9 +67,9 @@ var daemonFlags daemonOpts
6767

6868
var DaemonCmd = &cli.Command{
6969
Name: "daemon",
70-
Usage: "Start a visor daemon process.",
71-
Description: `Starts visor in daemon mode with its own blockstore.
72-
In daemon mode visor synchronizes with the filecoin network and runs jobs such
70+
Usage: "Start a lily daemon process.",
71+
Description: `Starts lily in daemon mode with its own blockstore.
72+
In daemon mode lily synchronizes with the filecoin network and runs jobs such
7373
as walk and watch against its local blockstore. This gives better performance
7474
than operating against an external blockstore but requires more disk space and
7575
memory.
@@ -79,10 +79,10 @@ and synchronized. Visor can use a copy of an already synchronized Lotus node
7979
repository or can initialize its own empty one and import a snapshot to catch
8080
up to the chain.
8181
82-
To initialize an empty visor blockstore repository and import an initial
82+
To initialize an empty lily blockstore repository and import an initial
8383
snapshot of the chain:
8484
85-
visor init --repo=<path> --import-snapshot=<url>
85+
lily init --repo=<path> --import-snapshot=<url>
8686
8787
This will initialize a blockstore repository at <path> and import chain state
8888
from the snapshot at <url>. The type of snapshot needed depends on the type
@@ -100,7 +100,7 @@ Lotus documentation for full details.
100100
101101
Once the repository is initialized, start the daemon:
102102
103-
visor daemon --repo=<path> --config=<path>/config.toml
103+
lily daemon --repo=<path> --config=<path>/config.toml
104104
105105
Visor will connect to the filecoin network and begin synchronizing with the
106106
chain. To check the synchronization status use 'visor sync status' or
@@ -121,7 +121,7 @@ Note that jobs are not persisted between restarts of the daemon. See
121121
clientAPIFlag,
122122
&cli.StringFlag{
123123
Name: "repo",
124-
Usage: "Specify path where visor should store chain state.",
124+
Usage: "Specify path where lily should store chain state.",
125125
EnvVars: []string{"LILY_REPO"},
126126
Value: "~/.lotus",
127127
Destination: &daemonFlags.repo,

commands/gap.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ var GapFillCmd = &cli.Command{
3939
Flags: []cli.Flag{
4040
&cli.StringFlag{
4141
Name: "api",
42-
Usage: "Address of visor api in multiaddr format.",
42+
Usage: "Address of lily api in multiaddr format.",
4343
EnvVars: []string{"LILY_API"},
4444
Value: "/ip4/127.0.0.1/tcp/1234",
4545
Destination: &gapFlags.apiAddr,
4646
},
4747
&cli.StringFlag{
4848
Name: "api-token",
49-
Usage: "Authentication token for visor api.",
49+
Usage: "Authentication token for lily api.",
5050
EnvVars: []string{"LILY_API_TOKEN"},
5151
Value: "",
5252
Destination: &gapFlags.apiToken,
@@ -129,14 +129,14 @@ var GapFindCmd = &cli.Command{
129129
Flags: []cli.Flag{
130130
&cli.StringFlag{
131131
Name: "api",
132-
Usage: "Address of visor api in multiaddr format.",
132+
Usage: "Address of lily api in multiaddr format.",
133133
EnvVars: []string{"LILY_API"},
134134
Value: "/ip4/127.0.0.1/tcp/1234",
135135
Destination: &gapFlags.apiAddr,
136136
},
137137
&cli.StringFlag{
138138
Name: "api-token",
139-
Usage: "Authentication token for visor api.",
139+
Usage: "Authentication token for lily api.",
140140
EnvVars: []string{"LILY_API_TOKEN"},
141141
Value: "",
142142
Destination: &gapFlags.apiToken,

commands/help.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ A walk takes a range of heights and will walk from the heaviest tipset at the
112112
upper height to the lower height using the parent state root present in each
113113
tipset.
114114
115-
The type of data extracted by visor is controlled by 'tasks' that focus on
115+
The type of data extracted by lily is controlled by 'tasks' that focus on
116116
particular parts of the chain. For more information about available tasks
117117
see 'visor help tasks'.
118118
@@ -125,7 +125,7 @@ chain. For watching incoming tipsets the blockstore must be connected and in
125125
sync with the filecoin network. Historic walks can be performed against an
126126
offline store.
127127
128-
While running, visor will maintain its own local blockstore and attempt
128+
While running, lily will maintain its own local blockstore and attempt
129129
to synchronise it with the filecoin network. For more information on running
130130
visor as a daemon, including how to initialise the blockstore, see
131131
'visor help daemon'.
@@ -215,13 +215,13 @@ Other tasks:
215215

216216
{
217217
Name: "monitoring",
218-
Description: "Monitoring visor operation",
218+
Description: "Monitoring lily operation",
219219
Text: `Visor may be monitored during operation using logfiles, metrics and tracing.
220-
The visor command recognizes environment variables and provides options to
220+
The lily command recognizes environment variables and provides options to
221221
control the behaviour of each type of monitoring output. Options should be
222222
supplied before any sub command:
223223
224-
visor [global options] <command>
224+
lily [global options] <command>
225225
226226
Visor uses the IPFS logging library (https://github.com/ipfs/go-ipfs) to write
227227
application logs. By default logs are written to STDERR in JSON format. Log
@@ -254,7 +254,7 @@ destination of the logs.
254254
log levels formatted as name:level, for example
255255
'logger1:debug,logger2:info'.
256256
257-
In addition, visor supports some global options for controlling logging:
257+
In addition, lily supports some global options for controlling logging:
258258
259259
--log-level LEVEL Set the default log level for all loggers to LEVEL.
260260
This option overrides any value set using the
@@ -264,9 +264,9 @@ In addition, visor supports some global options for controlling logging:
264264
overrides any value set using the
265265
LILY_LOG_LEVEL_NAMED environment variable.
266266
267-
To control logging output while the visor daemon is running see 'visor help log'.
267+
To control logging output while the lily daemon is running see 'visor help log'.
268268
269-
During operation visor exposes metrics and debugging information on port 9991
269+
During operation lily exposes metrics and debugging information on port 9991
270270
by default. The address used by this http server can be changed using the
271271
'--prometheus-port' option which expects an IP address and port number. The
272272
address may be omitted to run the server on all interfaces, for example: ':9991'.
@@ -286,9 +286,9 @@ Environment variables for controlling function level tracing:
286286
LILY_TRACING Enable tracing. Set to 'true' to enable tracing.
287287
288288
JAEGER_AGENT_HOST, Hostname and port of a Jaeger compatible agent that
289-
JAEGER_AGENT_PORT visor should send traces to.
289+
JAEGER_AGENT_PORT lily should send traces to.
290290
291-
JAEGER_SERVICE_NAME The name visor should use when reporting traces.
291+
JAEGER_SERVICE_NAME The name lily should use when reporting traces.
292292
293293
JAEGER_SAMPLER_TYPE, Control the type of sampling used to capture traces.
294294
JAEGER_SAMPLER_PARAM The type may be either 'const' or 'probabilistic'.

commands/init.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ var initFlags struct {
2424

2525
var InitCmd = &cli.Command{
2626
Name: "init",
27-
Usage: "Initialise a visor repository.",
27+
Usage: "Initialise a lily repository.",
2828
Flags: []cli.Flag{
2929
&cli.StringFlag{
3030
Name: "repo",
31-
Usage: "Specify path where visor should store chain state.",
31+
Usage: "Specify path where lily should store chain state.",
3232
EnvVars: []string{"LILY_REPO"},
3333
Value: "~/.lotus",
3434
Destination: &initFlags.repo,

commands/setup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func setupMetrics(flags VisorMetricOpts) error {
147147
view.SetReportingPeriod(2 * time.Second)
148148

149149
views := []*view.View{}
150-
views = append(views, metrics.DefaultViews...) // visor metrics
150+
views = append(views, metrics.DefaultViews...) // lily metrics
151151
views = append(views, lotusmetrics.ChainNodeViews...) // lotus chain metrics
152152

153153
// register the metrics views of interest

commands/stop.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
var StopCmd = &cli.Command{
99
Name: "stop",
10-
Usage: "Stop a running visor daemon",
10+
Usage: "Stop a running lily daemon",
1111
Flags: flagSet(
1212
clientAPIFlagSet,
1313
),

commands/sync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var SyncCmd = &cli.Command{
2626

2727
var SyncStatusCmd = &cli.Command{
2828
Name: "status",
29-
Usage: "Report sync status of a running visor daemon",
29+
Usage: "Report sync status of a running lily daemon",
3030
Flags: flagSet(
3131
clientAPIFlagSet,
3232
),

commands/wait.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
var WaitApiCmd = &cli.Command{
1414
Name: "wait-api",
15-
Usage: "Wait for visor api to come online",
15+
Usage: "Wait for lily api to come online",
1616
Flags: flagSet(
1717
clientAPIFlagSet,
1818
[]cli.Flag{

commands/walk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ var WalkCmd = &cli.Command{
6363
},
6464
&cli.StringFlag{
6565
Name: "api",
66-
Usage: "Address of visor api in multiaddr format.",
66+
Usage: "Address of lily api in multiaddr format.",
6767
EnvVars: []string{"LILY_API"},
6868
Value: "/ip4/127.0.0.1/tcp/1234",
6969
Destination: &walkFlags.apiAddr,
7070
},
7171
&cli.StringFlag{
7272
Name: "api-token",
73-
Usage: "Authentication token for visor api.",
73+
Usage: "Authentication token for lily api.",
7474
EnvVars: []string{"LILY_API_TOKEN"},
7575
Value: "",
7676
Destination: &walkFlags.apiToken,

0 commit comments

Comments
 (0)