good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
3b8915e3
Commit
3b8915e3
authored
May 24, 2017
by
Péter Szilágyi
Committed by
GitHub
May 24, 2017
Browse files
Options
Downloads
Plain Diff
Merge pull request #14504 from bas-vk/wallet-import
cmd/geth: reintroduce wallet import subcommand
parents
35569620
437ceaa9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/geth/accountcmd.go
+30
-15
30 additions, 15 deletions
cmd/geth/accountcmd.go
with
30 additions
and
15 deletions
cmd/geth/accountcmd.go
+
30
−
15
View file @
3b8915e3
...
@@ -32,7 +32,21 @@ import (
...
@@ -32,7 +32,21 @@ import (
var
(
var
(
walletCommand
=
cli
.
Command
{
walletCommand
=
cli
.
Command
{
Name
:
"wallet"
,
Name
:
"wallet"
,
Usage
:
"Import Ethereum presale wallets"
,
Usage
:
"Manage Ethereum presale wallets"
,
ArgsUsage
:
""
,
Category
:
"ACCOUNT COMMANDS"
,
Description
:
`
geth wallet import /path/to/my/presale.wallet
will prompt for your password and imports your ether presale account.
It can be used non-interactively with the --password option taking a
passwordfile as argument containing the wallet password in plaintext.`
,
Subcommands
:
[]
cli
.
Command
{
{
Name
:
"import"
,
Usage
:
"Import Ethereum presale wallet"
,
ArgsUsage
:
"<keyFile>"
,
Action
:
utils
.
MigrateFlags
(
importWallet
),
Action
:
utils
.
MigrateFlags
(
importWallet
),
Category
:
"ACCOUNT COMMANDS"
,
Category
:
"ACCOUNT COMMANDS"
,
Flags
:
[]
cli
.
Flag
{
Flags
:
[]
cli
.
Flag
{
...
@@ -46,10 +60,11 @@ var (
...
@@ -46,10 +60,11 @@ var (
will prompt for your password and imports your ether presale account.
will prompt for your password and imports your ether presale account.
It can be used non-interactively with the --password option taking a
It can be used non-interactively with the --password option taking a
passwordfile as argument containing the wallet password in plaintext.
passwordfile as argument containing the wallet password in plaintext.
`
,
},
`
,
}
,
}
}
accountCommand
=
cli
.
Command
{
accountCommand
=
cli
.
Command
{
Name
:
"account"
,
Name
:
"account"
,
Usage
:
"Manage accounts"
,
Usage
:
"Manage accounts"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment