Skip to content

Network required for wallet init #157

Description

@ala-mode

Running the same invocation

./zcash-devtool wallet init --name "generic_name" --identity ./age_id.txt --connection direct --network test -s zecrocks works with a network connection, but fails without it:

INFO zcash_devtool::remote: Connecting to testnet.zec.rocks:443
Error: transport error

Caused by:
    0: dns error
    1: dns error
    2: failed to lookup address information: Name or service not known

Omitting the -s zecrocks defaults to lightwalletd.testnet.electriccoin.co:9067 (which also has an identified issue).

I think, minimally, wallet initialization should be allowed without a network connection for security (and potentially privacy) issues.

I have not investigated other aspects of zcash-devtool to see what other systems require the network, but wallet initialization seems clear to me there should be an option to do without.

Perhaps consider adding a --connection none option to explicitly disallow network access?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions