Skip to content

[coin]d and UI issues #20

@ghost

Description

Hi,

First of all, thanks for the great wallet!

With that said, I've got the following problems:

  1. When I navigate to 'send' and hit Ctrl-E, I get a list of potential recipients, though when I navigate to 'From' say, Ctrl+E no longer works. Is this expected behaviour?

  2. Running termcoin -c litecoin worked well the first time I ran it, though after encrypting my wallet, quitting and restarting termcoin, I get the following:

% termcoin -c litecoin
Starting new server on port 9332...
/usr/lib/node_modules/termcoin/bin/termcoin:22
if (err) throw err;
^

Error: Loading block index...
at /usr/lib/node_modules/termcoin/lib/backend/bitcoind.js:563:15
at IncomingMessage.end (/usr/lib/node_modules/termcoin/lib/utils.js:216:7)
at emitNone (events.js:85:20)
at IncomingMessage.emit (events.js:179:7)
at endReadableNT (_stream_readable.js:906:12)
at nextTickCallbackWith2Args (node.js:474:9)
at process._tickCallback (node.js:388:17)

Waiting a few seconds and running termcoin again then yields the following:

% termcoin -c litecoin
/usr/lib/node_modules/termcoin/bin/termcoin:22
if (err) throw err;
^

Error: walletpassphrase "passphrase" timeout

Stores the wallet decryption key in memory for 'timeout' seconds.
This is needed prior to performing transactions related to private keys such as sending litecoins

Arguments:

  1. "passphrase" (string, required) The wallet passphrase
  2. timeout (numeric, required) The time to keep the decryption key in seconds.

Note:
Issuing the walletpassphrase command while the wallet is already unlocked will set a new unlock
time that overrides the old one.

Examples:

unlock the wallet for 60 seconds

litecoin-cli walletpassphrase "my pass phrase" 60

Lock the wallet again (before 60 seconds)

litecoin-cli walletlock

As json rpc call

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "walletpassphrase", "params": ["my pass phrase", 60] }' -H 'content-type: text/plain;' http://127.0.0.1:9332/

at next (/usr/lib/node_modules/termcoin/lib/utils.js:118:14)
at /usr/lib/node_modules/termcoin/lib/backend/bitcoind.js:272:14
at /usr/lib/node_modules/termcoin/lib/backend/bitcoind.js:565:16
at IncomingMessage.end (/usr/lib/node_modules/termcoin/lib/utils.js:216:7)
at emitNone (events.js:85:20)
at IncomingMessage.emit (events.js:179:7)
at endReadableNT (_stream_readable.js:906:12)
at nextTickCallbackWith2Args (node.js:474:9)
at process._tickCallback (node.js:388:17)

The same happens with dogecoin.

I have tried running 'termcoin -c litecoin' with an unencrypted wallet, and I get the first of the above two errors, but running it a second time yields no issues.

I'm running termcoin 0.0.8 as installed by npm.

Thanks in advance for any comments!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions