"bitcoin-cli walletpassphrase" - Unlock Wallet

This section describes how to unlock with 'bitcoin-cli walletpassphrase' command.

After encrypting my wallet, let me try to dump private keys again.

C:\>\local\bitcoin-0.15.1\bin\bitcoin-cli -testnet 
   dumpprivkey mp6mKbgWE25PyyX63zJ8SRibrKugHMkJDE

error code: -13
error message:
Error: Please enter the wallet passphrase with walletpassphrase first.

Ok. Run the "walletpassphrase" command to unlock the wallet for 60 seconds.

C:\>\local\bitcoin-0.15.1\bin\bitcoin-cli -testnet
walletpassphrase xxxxxx 60

Dump the private key again.

C:\>\local\bitcoin-0.15.1\bin\bitcoin-cli -testnet 
   dumpprivkey mp6mKbgWE25PyyX63zJ8SRibrKugHMkJDE

cSr..............................................Q7U

Last update: 2017.

Table of Contents

 About This Book

 Introduction of Bitcoin

 Bitcoin Blockchain

 Bitcoin Wallet

Bitcoin Core

 Bitcoin Core Programs

 Bitcoin Core Daemon

 Bitcoin Core CLI

 Bitcoin Core CLI Commands

 Access Bitcoin Test Network "-testnet"

 bitcoin-cli Network Commands

 "bitcoin-cli getclock" Command

 bitcoin-cli Transaction Commands

 bitcoin-cli Wallet Commands

 "bitcoin-cli encryptwallet" - Set Wallet Password

"bitcoin-cli walletpassphrase" - Unlock Wallet

 "bitcoin-cli backupwallet" - Backup Wallet

 Bitcoin Transaction

 Bitcoin-Qt - Bitcoin Core GUI

 Bitcoin Mining

 Bitcoin Consensus Rules

 Bitcoin Block Data Structure

 Bitcoin Transaction Data Structure

 blockexplorer.com API

 Copay - Bitcoin Wallet

 References

 PDF Printing Version