decred / decrediton

Cross-platform GUI for Decred.
https://docs.decred.org/wallets/decrediton/decrediton-setup/
ISC License
195 stars 121 forks source link

Decrediton hangs on restart after running dcrwallet by hand #3082

Open marcopeereboom opened 3 years ago

marcopeereboom commented 3 years ago

In order to obtain a public key address from a decrediton wallet I did the following:

  1. Start Decrediton
  2. Create a new receiving address
  3. Shutdown decrediton
  4. Launch dcrwallet by hand
  5. Launch dcrctl validateaddress xxx
  6. Stop dcrwallet
  7. Start decrediton

Now on restart decrediton hangs with Starting wallet.... image

The command I used to start dcrwallet was:

/Applications/decrediton.app/Contents/Resources/bin/dcrwallet --testnet -A /Users/marco/Library/Application\ Support/decrediton/wallets/testnet/testwallet\ numero\ dos/ --username=moo --password=moo --nogrpc -C /dev/null

The dcrctl command was ran as follows:

/Applications/decrediton.app/Contents/Resources/bin/dcrctl --testnet --rpcuser=moo --rpcpass=moo --rpccert=/Users/marco/Library/Application\ Support/decrediton/wallets/testnet/testwallet\ numero\ dos/rpc.cert validateaddress Tsf3MT911Mg4RCCM3TrTWLVVSjfX2yvikjG
{
  "isvalid": true,
  "address": "Tsf3MT911Mg4RCCM3TrTWLVVSjfX2yvikjG",
  "ismine": true,
  "pubkeyaddr": "TkQ4PKR7K8hSiSWc9omkLcZHsn1jdcDQNmr4uKp54i6jcTSGWcDkB",
  "pubkey": "03863783163f49d83000b91fea0b950c0a4dde39ca07e5fc935853759bb2f68a48",
  "iscompressed": true,
  "account": "default"
}

Dcrwallet log:

2020-12-14 10:55:58.521 [INF] DCRW: Version 1.6.0-rc4+release (Go version go1.15.5 darwin/amd64)
2020-12-14 10:55:59.630 [INF] WLLT: Opened wallet
2020-12-14 10:55:59.652 [INF] DCRW: Generating TLS certificates...
2020-12-14 10:55:59.653 [INF] DCRW: Done generating TLS certificates
2020-12-14 10:55:59.653 [INF] RPCS: Listening on [::1]:19110
2020-12-14 10:55:59.653 [INF] RPCS: Listening on 127.0.0.1:19110
2020-12-14 10:55:59.655 [ERR] SYNC: Wallet synchronization stopped: rpcsyncer.Run: dial tcp [::1]:19109: connect: connection refused
2020-12-14 10:56:04.730 [ERR] SYNC: Wallet synchronization stopped: rpcsyncer.Run: dial tcp [::1]:19109: connect: connection refused
2020/12/14 10:56:09 http: TLS handshake error from [::1]:63284: remote error: tls: bad certificate
2020-12-14 10:56:09.798 [ERR] SYNC: Wallet synchronization stopped: rpcsyncer.Run: dial tcp [::1]:19109: connect: connection refused
2020-12-14 10:56:14.870 [ERR] SYNC: Wallet synchronization stopped: rpcsyncer.Run: dial tcp [::1]:19109: connect: connection refused
2020-12-14 10:56:19.942 [ERR] SYNC: Wallet synchronization stopped: rpcsyncer.Run: dial tcp [::1]:19109: connect: connection refused
2020-12-14 10:56:25.015 [ERR] SYNC: Wallet synchronization stopped: rpcsyncer.Run: dial tcp [::1]:19109: connect: connection refused
2020-12-14 10:56:30.086 [ERR] SYNC: Wallet synchronization stopped: rpcsyncer.Run: dial tcp [::1]:19109: connect: connection refused
2020-12-14 10:56:33.286 [INF] RPCS: RPC method "validateaddress" invoked by [::1]:63328
2020-12-14 10:56:35.143 [ERR] SYNC: Wallet synchronization stopped: rpcsyncer.Run: dial tcp [::1]:19109: connect: connection refused
2020-12-14 10:56:40.216 [ERR] SYNC: Wallet synchronization stopped: rpcsyncer.Run: dial tcp [::1]:19109: connect: connection refused
^C2020-12-14 10:56:42.128 [INF] DCRW: Received signal (interrupt).  Shutting down...
2020-12-14 10:56:42.128 [WRN] DCRW: Stopping JSON-RPC server...
2020-12-14 10:56:42.128 [INF] DCRW: JSON-RPC server shutdown
2020-12-14 10:56:42.128 [INF] DCRW: Closed wallet

Note the ^C to stop the wallet in the log

Decrediton log:

2020-12-13 16:07:27.321 [INF] DCTN: Using config/data from:/Users/marco/Library/Application Support/decrediton
2020-12-13 16:07:27.323 [INF] DCTN: Versions: Decrediton: 1.6.0, Electron: 8.5.2, Chrome: 80.0.3987.165
2020-12-13 16:07:27.427 [ERR] DCTN: Locale not found. Switching to locale en.
2020-12-13 16:07:27.438 [INF] DCTN: Setting up proxy null
2020-12-13 16:07:27.498 [INF] DCTN: Proxy successfully setup
2020-12-13 16:07:27.611 [INF] DCTN: Installing session intercept
2020-12-13 16:07:28.015 [INF] DCTN: Starting to load bundle.js
2020-12-13 16:07:30.440 [INF] DCTN: Starting main react app
2020-12-13 16:07:30.528 [INF] DCTN: Main app container mounted
2020-12-13 16:07:30.580 [ERR] DCTN: Blocking external request: GET https://api.github.com/repos/decred/decrediton/releases
2020-12-13 16:07:30.581 [ERR] DCTN: Make sure that the request is whitelisted in main_dev/externalRequests.js
2020-12-13 16:07:43.352 [INF] DCTN: Reload allowed external request 
2020-12-13 16:07:52.994 [INF] DCTN: Get Available Wallets mainnet 
2020-12-13 16:07:53.097 [INF] DCTN: Get Previous Wallet 
2020-12-13 16:08:31.570 [INF] DCTN: Create Wallet testnetshizzle false 
2020-12-13 16:08:31.727 [INF] DCTN: Start Wallet testnetshizzle false 
2020-12-13 16:08:31.783 [INF] DCTN: Starting /Applications/decrediton.app/Contents/Resources/bin/dcrwallet with --configfile=/Users/marco/Library/Application Support/decrediton/wallets/mainnet/testnetshizzle/dcrwallet.conf,--gaplimit=20,--issueclientcert,--csppserver.ca=/Applications/decrediton.app/Contents/Resources/certs/cspp.decred.org.pem,--csppserver=cspp.decred.org:15760,--rpclistenerevents,--pipetx=4
2020-12-13 16:08:31.844 [INF] DCTN: dcrwallet started with pid:76346
2020-12-13 16:08:32.275 [INF] DCTN: wallet grpc cert registered
2020-12-13 16:08:32.275 [INF] DCTN: wallet grpc running on port 56355
2020-12-13 16:08:32.288 [INF] DCTN: Set Previous Wallet {"label":"testnetshizzle","value":{"wallet":"testnetshizzle","isWatchingOnly":false,"isTrezor":false,"isNew":true,"isPrivacy":false,"network":"mainnet"}} 
2020-12-13 16:08:32.351 [INF] DCTN: Get Version Service
2020-12-13 16:08:32.385 [INF] DCTN: Get Version Response {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:08:32.408 [INF] DCTN: Get Loader
2020-12-13 16:08:32.443 [INF] DCTN: Open Wallet
2020-12-13 16:08:32.450 [ERR] DCTN: Open Wallet errored {"code":5,"metadata":{"_internal_repr":{},"flags":0},"details":"loader.OpenExistingWallet: item does not exist:: wallet.OpenDB: missing database file"} 
2020-12-13 16:08:32.477 [INF] DCTN: Generate Seed
2020-12-13 16:11:17.294 [INF] DCTN: Decode Seed
2020-12-13 16:11:19.092 [INF] DCTN: Create Wallet
2020-12-13 16:11:26.329 [INF] DCTN: getStakePoolInfo
2020-12-13 16:11:26.364 [INF] DCTN: Start Wallet testnetshizzle false 
2020-12-13 16:11:26.365 [INF] DCTN: dcrwallet already started 76346
2020-12-13 16:11:26.380 [INF] DCTN: Set Previous Wallet {"label":"testnetshizzle","value":{"wallet":"testnetshizzle","isWatchingOnly":false,"isTrezor":false,"isNew":true,"isPrivacy":false,"network":"mainnet"}} 
2020-12-13 16:11:26.421 [INF] DCTN: Get Version Service
2020-12-13 16:11:26.444 [INF] DCTN: Get Version Response {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:11:26.456 [INF] DCTN: Get Loader
2020-12-13 16:11:26.483 [INF] DCTN: Open Wallet
2020-12-13 16:11:26.486 [ERR] DCTN: Open Wallet errored {"code":6,"metadata":{"_internal_repr":{},"flags":0},"details":"loader.OpenExistingWallet: item already exists: wallet already opened"} 
2020-12-13 16:11:26.491 [INF] DCTN: Get Watching Only 
2020-12-13 16:27:30.198 [INF] DCTN: bestBlock {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:27:38.968 [INF] DCTN: bestBlock {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:27:38.979 [INF] DCTN: getAllVspsInfo
2020-12-13 16:27:38.981 [INF] DCTN: Get Next Address {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 
2020-12-13 16:27:38.998 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:27:38.999 [INF] DCTN: network {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:27:39.007 [INF] DCTN: getAllStakePoolStats
2020-12-13 16:27:39.628 [INF] DCTN: agendas {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:27:40.972 [INF] DCTN: stakeInfo
2020-12-13 16:27:40.974 [INF] DCTN: accounts
2020-12-13 16:27:40.977 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 0 
2020-12-13 16:27:40.978 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 2147483647 0 
2020-12-13 16:27:40.984 [INF] DCTN: Get Transactions
2020-12-13 16:27:40.988 [INF] DCTN: Get Transactions
2020-12-13 16:27:41.037 [INF] DCTN: Get Transactions
2020-12-13 16:27:41.082 [INF] DCTN: Get Transactions
2020-12-13 16:30:32.877 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:30:47.884 [INF] DCTN: Close Wallet {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:30:47.917 [INF] DCTN: Stop Wallet 
2020-12-13 16:30:47.917 [INF] DCTN: Sending SIGINT to dcrwallet at pid:76346
2020-12-13 16:30:47.945 [INF] DCTN: Get Available Wallets mainnet 
2020-12-13 16:30:47.952 [INF] DCTN: Get Previous Wallet 
2020-12-13 16:30:47.963 [INF] DCTN: dcrwallet exited with code 0
2020-12-13 16:30:56.308 [INF] DCTN: Get Available Wallets mainnet 
2020-12-13 16:30:56.311 [INF] DCTN: Get Previous Wallet 
2020-12-13 16:32:39.389 [INF] DCTN: Closing decrediton.
2020-12-13 16:32:43.239 [INF] DCTN: Final shutdown pause. Quitting app.
2020-12-13 16:32:43.240 [INF] DCTN: Daemon still running in final shutdown pause. Waiting.
2020-12-13 16:32:44.344 [INF] DCTN: Caught before-quit. Set decredition as was closed
2020-12-13 16:32:44.344 [INF] DCTN: Closing decrediton.
2020-12-13 16:32:49.574 [INF] DCTN: Using config/data from:/Users/marco/Library/Application Support/decrediton
2020-12-13 16:32:49.575 [INF] DCTN: Versions: Decrediton: 1.6.0, Electron: 8.5.2, Chrome: 80.0.3987.165
2020-12-13 16:32:49.852 [INF] DCTN: Setting up proxy null
2020-12-13 16:32:49.894 [INF] DCTN: Proxy successfully setup
2020-12-13 16:32:49.939 [INF] DCTN: Installing session intercept
2020-12-13 16:32:50.116 [INF] DCTN: Starting to load bundle.js
2020-12-13 16:32:51.736 [INF] DCTN: Starting main react app
2020-12-13 16:32:51.795 [INF] DCTN: Main app container mounted
2020-12-13 16:32:51.849 [INF] DCTN: Get Available Wallets mainnet 
2020-12-13 16:32:51.864 [INF] DCTN: Get Previous Wallet 
2020-12-13 16:32:52.305 [INF] DCTN: Decrediton version up to date.
2020-12-13 16:33:06.268 [INF] DCTN: Stop Daemon 
2020-12-13 16:33:07.155 [INF] DCTN: Get Available Wallets testnet 
2020-12-13 16:33:07.192 [INF] DCTN: Get Previous Wallet 
2020-12-13 16:33:07.205 [INF] DCTN: Get Available Wallets testnet 
2020-12-13 16:33:07.216 [INF] DCTN: Get Previous Wallet 
2020-12-13 16:33:07.223 [INF] DCTN: Stop Wallet 
2020-12-13 16:33:18.656 [INF] DCTN: Create Wallet Muh testnet wallet true 
2020-12-13 16:33:18.768 [INF] DCTN: Start Wallet Muh testnet wallet true 
2020-12-13 16:33:18.804 [INF] DCTN: Starting /Applications/decrediton.app/Contents/Resources/bin/dcrwallet with --configfile=/Users/marco/Library/Application Support/decrediton/wallets/testnet/Muh testnet wallet/dcrwallet.conf,--gaplimit=20,--issueclientcert,--csppserver=cspp.decred.org:5760,--rpclistenerevents,--pipetx=4
2020-12-13 16:33:18.817 [INF] DCTN: dcrwallet started with pid:76620
2020-12-13 16:33:18.856 [INF] DCTN: wallet grpc cert registered
2020-12-13 16:33:18.857 [INF] DCTN: wallet grpc running on port 58230
2020-12-13 16:33:18.860 [INF] DCTN: Set Previous Wallet {"label":"Muh testnet wallet","value":{"wallet":"Muh testnet wallet","isWatchingOnly":false,"isTrezor":false,"isNew":true,"isPrivacy":false,"network":"testnet"}} 
2020-12-13 16:33:18.885 [INF] DCTN: Get Version Service
2020-12-13 16:33:18.898 [INF] DCTN: Get Version Response {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:33:18.910 [INF] DCTN: Get Loader
2020-12-13 16:33:18.930 [INF] DCTN: Open Wallet
2020-12-13 16:33:18.932 [ERR] DCTN: Open Wallet errored {"code":5,"metadata":{"_internal_repr":{},"flags":0},"details":"loader.OpenExistingWallet: item does not exist:: wallet.OpenDB: missing database file"} 
2020-12-13 16:33:18.944 [INF] DCTN: Generate Seed
2020-12-13 16:34:54.352 [INF] DCTN: Decode Seed
2020-12-13 16:34:59.840 [INF] DCTN: Create Wallet
2020-12-13 16:35:05.357 [INF] DCTN: getStakePoolInfo
2020-12-13 16:35:05.369 [INF] DCTN: Start Wallet Muh testnet wallet true 
2020-12-13 16:35:05.370 [INF] DCTN: dcrwallet already started 76620
2020-12-13 16:35:05.378 [INF] DCTN: Set Previous Wallet {"label":"Muh testnet wallet","value":{"wallet":"Muh testnet wallet","isWatchingOnly":false,"isTrezor":false,"isNew":true,"isPrivacy":false,"network":"testnet"}} 
2020-12-13 16:35:05.396 [INF] DCTN: Get Version Service
2020-12-13 16:35:05.410 [INF] DCTN: Get Version Response {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:35:05.414 [INF] DCTN: Get Loader
2020-12-13 16:35:05.429 [INF] DCTN: Open Wallet
2020-12-13 16:35:05.430 [ERR] DCTN: Open Wallet errored {"code":6,"metadata":{"_internal_repr":{},"flags":0},"details":"loader.OpenExistingWallet: item already exists: wallet already opened"} 
2020-12-13 16:35:05.433 [INF] DCTN: Get Watching Only 
2020-12-13 16:50:41.428 [INF] DCTN: bestBlock {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:50:50.074 [INF] DCTN: bestBlock {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:50:50.085 [INF] DCTN: getAllVspsInfo
2020-12-13 16:50:50.087 [INF] DCTN: Get Next Address {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 
2020-12-13 16:50:50.102 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:50:50.103 [INF] DCTN: network {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:50:50.112 [INF] DCTN: getAllStakePoolStats
2020-12-13 16:50:50.142 [INF] DCTN: agendas {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:50:51.119 [INF] DCTN: stakeInfo
2020-12-13 16:50:51.121 [INF] DCTN: accounts
2020-12-13 16:50:51.125 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 0 
2020-12-13 16:50:51.125 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 2147483647 0 
2020-12-13 16:50:51.131 [INF] DCTN: Get Transactions
2020-12-13 16:50:51.134 [INF] DCTN: Get Transactions
2020-12-13 16:50:51.191 [INF] DCTN: Get Transactions
2020-12-13 16:50:51.243 [INF] DCTN: Get Transactions
2020-12-13 16:51:05.665 [INF] DCTN: Get Transactions
2020-12-13 16:51:05.675 [INF] DCTN: Get Transactions
2020-12-13 16:51:12.157 [INF] DCTN: Get Next Address {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 
2020-12-13 16:51:16.102 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:53:11.145 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:54:06.927 [INF] DCTN: Validate Address
2020-12-13 16:54:06.929 [INF] DCTN: Validate Address
2020-12-13 16:54:06.938 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 0 
2020-12-13 16:54:06.939 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} [undefined] 0 
2020-12-13 16:57:22.341 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 16:57:22.346 [INF] DCTN: Validate Address
2020-12-13 16:57:22.348 [INF] DCTN: Validate Address
2020-12-13 16:57:22.360 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 0 
2020-12-13 16:57:22.362 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} [undefined] 0 
2020-12-13 16:57:22.378 [INF] DCTN: Get Transactions
2020-12-13 16:57:22.458 [INF] DCTN: Get Transactions
2020-12-13 16:57:22.526 [INF] DCTN: Get Transactions
2020-12-13 16:57:22.529 [INF] DCTN: Get Transactions
2020-12-13 16:58:16.742 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:00:41.593 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:00:51.015 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:06:40.409 [INF] DCTN: Stop Daemon 
2020-12-13 17:06:40.493 [INF] DCTN: Close Wallet {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:06:40.547 [INF] DCTN: Get Available Wallets testnet 
2020-12-13 17:06:40.564 [INF] DCTN: Get Previous Wallet 
2020-12-13 17:06:40.658 [INF] DCTN: Stop Wallet 
2020-12-13 17:06:40.659 [INF] DCTN: Sending SIGINT to dcrwallet at pid:76620
2020-12-13 17:06:40.758 [INF] DCTN: dcrwallet exited with code 0
2020-12-13 17:06:42.210 [INF] DCTN: Closing decrediton.
2020-12-13 17:06:45.214 [INF] DCTN: Final shutdown pause. Quitting app.
2020-12-13 17:06:45.215 [INF] DCTN: Daemon still running in final shutdown pause. Waiting.
2020-12-13 17:06:46.323 [INF] DCTN: Caught before-quit. Set decredition as was closed
2020-12-13 17:06:46.323 [INF] DCTN: Closing decrediton.
2020-12-13 17:06:51.120 [INF] DCTN: Using config/data from:/Users/marco/Library/Application Support/decrediton
2020-12-13 17:06:51.123 [INF] DCTN: Versions: Decrediton: 1.6.0, Electron: 8.5.2, Chrome: 80.0.3987.165
2020-12-13 17:06:51.505 [INF] DCTN: Setting up proxy null
2020-12-13 17:06:51.585 [INF] DCTN: Proxy successfully setup
2020-12-13 17:06:51.649 [INF] DCTN: Installing session intercept
2020-12-13 17:06:51.901 [INF] DCTN: Starting to load bundle.js
2020-12-13 17:06:54.269 [INF] DCTN: Starting main react app
2020-12-13 17:06:54.360 [INF] DCTN: Main app container mounted
2020-12-13 17:06:54.473 [INF] DCTN: Get Available Wallets testnet 
2020-12-13 17:06:54.498 [INF] DCTN: Get Previous Wallet 
2020-12-13 17:06:54.706 [INF] DCTN: Decrediton version up to date.
2020-12-13 17:07:38.868 [INF] DCTN: Get Available Wallets testnet 
2020-12-13 17:07:38.873 [INF] DCTN: Get Previous Wallet 
2020-12-13 17:10:20.981 [INF] DCTN: Get Available Wallets testnet 
2020-12-13 17:10:20.986 [INF] DCTN: Get Previous Wallet 
2020-12-13 17:10:26.253 [INF] DCTN: Start Wallet Muh testnet wallet true 
2020-12-13 17:10:26.325 [INF] DCTN: Starting /Applications/decrediton.app/Contents/Resources/bin/dcrwallet with --configfile=/Users/marco/Library/Application Support/decrediton/wallets/testnet/Muh testnet wallet/dcrwallet.conf,--gaplimit=20,--issueclientcert,--csppserver=cspp.decred.org:5760,--rpclistenerevents,--pipetx=4
2020-12-13 17:10:26.347 [INF] DCTN: dcrwallet started with pid:76824
2020-12-13 17:10:26.405 [INF] DCTN: wallet grpc cert registered
2020-12-13 17:10:26.406 [INF] DCTN: wallet grpc running on port 61104
2020-12-13 17:10:26.419 [INF] DCTN: Set Previous Wallet {"label":"Muh testnet wallet (testnet)","value":{"network":"testnet","wallet":"Muh testnet wallet","finished":true,"lastAccess":1607898905381,"watchingOnly":false},"network":"testnet","finished":true,"isWatchingOnly":false,"lastAccess":"2020-12-13T22:35:05.381Z"} 
2020-12-13 17:10:26.467 [INF] DCTN: Get Version Service
2020-12-13 17:10:26.486 [INF] DCTN: Get Version Response {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:10:26.505 [INF] DCTN: Get Loader
2020-12-13 17:10:26.535 [INF] DCTN: Open Wallet
2020-12-13 17:10:27.995 [INF] DCTN: Set Watching Only false 
2020-12-13 17:10:29.529 [INF] DCTN: bestBlock {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:10:29.545 [INF] DCTN: bestBlock {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:10:29.605 [INF] DCTN: getAllVspsInfo
2020-12-13 17:10:29.609 [INF] DCTN: Get Next Address {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 
2020-12-13 17:10:29.657 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:10:29.664 [INF] DCTN: network {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:10:29.681 [INF] DCTN: getAllStakePoolStats
2020-12-13 17:10:29.729 [INF] DCTN: agendas {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:10:30.691 [INF] DCTN: stakeInfo
2020-12-13 17:10:30.696 [INF] DCTN: accounts
2020-12-13 17:10:30.705 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 0 
2020-12-13 17:10:30.708 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 2147483647 0 
2020-12-13 17:10:30.726 [INF] DCTN: Get Transactions
2020-12-13 17:10:30.732 [INF] DCTN: Get Transactions
2020-12-13 17:10:30.853 [INF] DCTN: Validate Address
2020-12-13 17:10:30.854 [INF] DCTN: Validate Address
2020-12-13 17:10:30.859 [INF] DCTN: Get Transactions
2020-12-13 17:10:30.929 [INF] DCTN: Get Transactions
2020-12-13 17:10:30.995 [INF] DCTN: Get Transactions
2020-12-13 17:10:31.061 [INF] DCTN: Get Transactions
2020-12-13 17:10:31.063 [INF] DCTN: Get Transactions
2020-12-13 17:12:43.125 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:13:43.096 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:16:37.902 [INF] DCTN: bestBlock {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:16:38.943 [INF] DCTN: getAllVspsInfo
2020-12-13 17:16:38.966 [INF] DCTN: Get Next Address {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 
2020-12-13 17:16:39.766 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:16:39.796 [INF] DCTN: network {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:16:39.863 [INF] DCTN: getAllStakePoolStats
2020-12-13 17:16:40.035 [INF] DCTN: agendas {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:16:40.901 [INF] DCTN: stakeInfo
2020-12-13 17:16:40.906 [INF] DCTN: accounts
2020-12-13 17:16:40.914 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 0 
2020-12-13 17:16:40.916 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 2147483647 0 
2020-12-13 17:16:40.932 [INF] DCTN: Get Transactions
2020-12-13 17:16:40.937 [INF] DCTN: Get Transactions
2020-12-13 17:16:41.001 [INF] DCTN: Validate Address
2020-12-13 17:16:41.002 [INF] DCTN: Validate Address
2020-12-13 17:16:41.006 [INF] DCTN: Get Transactions
2020-12-13 17:16:41.078 [INF] DCTN: Get Transactions
2020-12-13 17:16:41.142 [INF] DCTN: Get Transactions
2020-12-13 17:16:41.204 [INF] DCTN: Get Transactions
2020-12-13 17:16:41.206 [INF] DCTN: Get Transactions
2020-12-13 17:16:54.482 [INF] DCTN: Get Transactions
2020-12-13 17:16:54.523 [INF] DCTN: Get Transactions
2020-12-13 17:16:54.631 [INF] DCTN: Validate Address
2020-12-13 17:16:54.633 [INF] DCTN: Validate Address
2020-12-13 17:16:54.636 [INF] DCTN: Get Transactions
2020-12-13 17:22:26.971 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:22:26.979 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:25:51.995 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:25:52.002 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:26:18.970 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:26:18.978 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:27:00.505 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:27:00.511 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:27:37.175 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:27:37.182 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:28:18.649 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:28:18.658 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-13 17:28:18.691 [ERR] DCTN: ticketPrice errored {"code":14,"metadata":{"_internal_repr":{},"flags":0},"details":"failed to connect to all addresses"} 
2020-12-13 17:28:18.692 [ERR] DCTN: ticketPrice errored {"code":14,"metadata":{"_internal_repr":{},"flags":0},"details":"failed to connect to all addresses"} 
2020-12-13 17:41:12.773 [INF] DCTN: Closing decrediton.
2020-12-13 17:41:17.072 [INF] DCTN: Final shutdown pause. Quitting app.
2020-12-13 17:41:17.073 [INF] DCTN: Daemon still running in final shutdown pause. Waiting.
2020-12-13 17:41:18.177 [INF] DCTN: Caught before-quit. Set decredition as was closed
2020-12-13 17:41:18.178 [INF] DCTN: Closing decrediton.
2020-12-13 17:41:23.512 [INF] DCTN: Using config/data from:/Users/marco/Library/Application Support/decrediton
2020-12-13 17:41:23.515 [INF] DCTN: Versions: Decrediton: 1.6.0, Electron: 8.5.2, Chrome: 80.0.3987.165
2020-12-13 17:41:23.854 [INF] DCTN: Setting up proxy null
2020-12-13 17:41:23.937 [INF] DCTN: Proxy successfully setup
2020-12-13 17:41:24.002 [INF] DCTN: Installing session intercept
2020-12-13 17:41:24.257 [INF] DCTN: Starting to load bundle.js
2020-12-13 17:41:26.602 [INF] DCTN: Starting main react app
2020-12-13 17:41:26.690 [INF] DCTN: Main app container mounted
2020-12-13 17:41:26.799 [INF] DCTN: Get Available Wallets testnet 
2020-12-13 17:41:26.824 [INF] DCTN: Get Previous Wallet 
2020-12-13 17:41:27.027 [INF] DCTN: Decrediton version up to date.
2020-12-13 17:53:53.043 [INF] DCTN: Closing decrediton.
2020-12-13 17:53:57.387 [INF] DCTN: Final shutdown pause. Quitting app.
2020-12-13 17:53:57.387 [INF] DCTN: Daemon still running in final shutdown pause. Waiting.
2020-12-13 17:53:58.492 [INF] DCTN: Caught before-quit. Set decredition as was closed
2020-12-13 17:53:58.492 [INF] DCTN: Closing decrediton.
2020-12-14 10:05:20.364 [INF] DCTN: Using config/data from:/Users/marco/Library/Application Support/decrediton
2020-12-14 10:05:20.366 [INF] DCTN: Versions: Decrediton: 1.6.0, Electron: 8.5.2, Chrome: 80.0.3987.165
2020-12-14 10:05:20.812 [INF] DCTN: Setting up proxy null
2020-12-14 10:05:20.907 [INF] DCTN: Proxy successfully setup
2020-12-14 10:05:20.998 [INF] DCTN: Installing session intercept
2020-12-14 10:05:21.462 [INF] DCTN: Starting to load bundle.js
2020-12-14 10:05:23.776 [INF] DCTN: Starting main react app
2020-12-14 10:05:23.874 [INF] DCTN: Main app container mounted
2020-12-14 10:05:23.977 [INF] DCTN: Get Available Wallets testnet 
2020-12-14 10:05:24.006 [INF] DCTN: Get Previous Wallet 
2020-12-14 10:05:24.296 [INF] DCTN: Decrediton version up to date.
2020-12-14 10:06:22.813 [INF] DCTN: Start Wallet Muh testnet wallet true 
2020-12-14 10:06:22.883 [INF] DCTN: Starting /Applications/decrediton.app/Contents/Resources/bin/dcrwallet with --configfile=/Users/marco/Library/Application Support/decrediton/wallets/testnet/Muh testnet wallet/dcrwallet.conf,--gaplimit=20,--issueclientcert,--csppserver=cspp.decred.org:5760,--rpclistenerevents,--pipetx=4
2020-12-14 10:06:22.904 [INF] DCTN: dcrwallet started with pid:79576
2020-12-14 10:09:25.383 [INF] DCTN: Closing decrediton.
2020-12-14 10:09:29.784 [INF] DCTN: Final shutdown pause. Quitting app.
2020-12-14 10:09:29.785 [INF] DCTN: Daemon still running in final shutdown pause. Waiting.
2020-12-14 10:09:30.888 [INF] DCTN: Caught before-quit. Set decredition as was closed
2020-12-14 10:09:30.888 [INF] DCTN: Closing decrediton.
2020-12-14 10:09:40.383 [INF] DCTN: Using config/data from:/Users/marco/Library/Application Support/decrediton
2020-12-14 10:09:40.385 [INF] DCTN: Versions: Decrediton: 1.6.0, Electron: 8.5.2, Chrome: 80.0.3987.165
2020-12-14 10:09:40.614 [INF] DCTN: Setting up proxy null
2020-12-14 10:09:40.651 [INF] DCTN: Proxy successfully setup
2020-12-14 10:09:40.696 [INF] DCTN: Installing session intercept
2020-12-14 10:09:40.869 [INF] DCTN: Starting to load bundle.js
2020-12-14 10:09:42.408 [INF] DCTN: Starting main react app
2020-12-14 10:09:42.465 [INF] DCTN: Main app container mounted
2020-12-14 10:09:42.517 [INF] DCTN: Get Available Wallets testnet 
2020-12-14 10:09:42.532 [INF] DCTN: Get Previous Wallet 
2020-12-14 10:09:42.844 [INF] DCTN: Decrediton version up to date.
2020-12-14 10:09:45.333 [INF] DCTN: Start Wallet Muh testnet wallet true 
2020-12-14 10:09:45.376 [INF] DCTN: Starting /Applications/decrediton.app/Contents/Resources/bin/dcrwallet with --configfile=/Users/marco/Library/Application Support/decrediton/wallets/testnet/Muh testnet wallet/dcrwallet.conf,--gaplimit=20,--issueclientcert,--csppserver=cspp.decred.org:5760,--rpclistenerevents,--pipetx=4
2020-12-14 10:09:45.389 [INF] DCTN: dcrwallet started with pid:79588
2020-12-14 10:10:20.511 [INF] DCTN: Start Wallet Muh testnet wallet true 
2020-12-14 10:10:20.512 [INF] DCTN: dcrwallet already started 79588
2020-12-14 10:10:27.656 [INF] DCTN: Start Wallet Muh testnet wallet true 
2020-12-14 10:10:27.657 [INF] DCTN: dcrwallet already started 79588
2020-12-14 10:14:11.120 [INF] DCTN: Closing decrediton.
2020-12-14 10:14:14.996 [INF] DCTN: Final shutdown pause. Quitting app.
2020-12-14 10:14:14.997 [INF] DCTN: Daemon still running in final shutdown pause. Waiting.
2020-12-14 10:14:16.102 [INF] DCTN: Caught before-quit. Set decredition as was closed
2020-12-14 10:14:16.102 [INF] DCTN: Closing decrediton.
2020-12-14 10:14:23.103 [INF] DCTN: Using config/data from:/Users/marco/Library/Application Support/decrediton
2020-12-14 10:14:23.105 [INF] DCTN: Versions: Decrediton: 1.6.0, Electron: 8.5.2, Chrome: 80.0.3987.165
2020-12-14 10:14:23.225 [INF] DCTN: Setting up proxy null
2020-12-14 10:14:23.263 [INF] DCTN: Proxy successfully setup
2020-12-14 10:14:23.308 [INF] DCTN: Installing session intercept
2020-12-14 10:14:23.469 [INF] DCTN: Starting to load bundle.js
2020-12-14 10:14:25.044 [INF] DCTN: Starting main react app
2020-12-14 10:14:25.101 [INF] DCTN: Main app container mounted
2020-12-14 10:14:25.152 [INF] DCTN: Get Available Wallets testnet 
2020-12-14 10:14:25.167 [INF] DCTN: Get Previous Wallet 
2020-12-14 10:14:25.458 [INF] DCTN: Decrediton version up to date.
2020-12-14 10:15:27.415 [INF] DCTN: Get Available Wallets testnet 
2020-12-14 10:15:27.418 [INF] DCTN: Get Previous Wallet 
2020-12-14 10:15:29.034 [INF] DCTN: Start Wallet Muh testnet wallet true 
2020-12-14 10:15:29.077 [INF] DCTN: Starting /Applications/decrediton.app/Contents/Resources/bin/dcrwallet with --configfile=/Users/marco/Library/Application Support/decrediton/wallets/testnet/Muh testnet wallet/dcrwallet.conf,--gaplimit=20,--issueclientcert,--csppserver=cspp.decred.org:5760,--rpclistenerevents,--pipetx=4
2020-12-14 10:15:29.091 [INF] DCTN: dcrwallet started with pid:79639
2020-12-14 10:15:52.311 [INF] DCTN: Start Wallet Muh testnet wallet true 
2020-12-14 10:15:52.311 [INF] DCTN: dcrwallet already started 79639
2020-12-14 10:16:21.142 [INF] DCTN: Start Wallet Muh testnet wallet true 
2020-12-14 10:16:21.143 [INF] DCTN: dcrwallet already started 79639
2020-12-14 10:16:23.013 [INF] DCTN: Closing decrediton.
2020-12-14 10:16:26.862 [INF] DCTN: Final shutdown pause. Quitting app.
2020-12-14 10:16:26.862 [INF] DCTN: Daemon still running in final shutdown pause. Waiting.
2020-12-14 10:16:27.966 [INF] DCTN: Caught before-quit. Set decredition as was closed
2020-12-14 10:16:27.966 [INF] DCTN: Closing decrediton.
2020-12-14 10:17:24.908 [INF] DCTN: Using config/data from:/Users/marco/Library/Application Support/decrediton
2020-12-14 10:17:24.910 [INF] DCTN: Versions: Decrediton: 1.6.0, Electron: 8.5.2, Chrome: 80.0.3987.165
2020-12-14 10:17:25.033 [INF] DCTN: Setting up proxy null
2020-12-14 10:17:25.071 [INF] DCTN: Proxy successfully setup
2020-12-14 10:17:25.116 [INF] DCTN: Installing session intercept
2020-12-14 10:17:25.273 [INF] DCTN: Starting to load bundle.js
2020-12-14 10:17:26.843 [INF] DCTN: Starting main react app
2020-12-14 10:17:26.899 [INF] DCTN: Main app container mounted
2020-12-14 10:17:26.951 [INF] DCTN: Get Available Wallets testnet 
2020-12-14 10:17:26.966 [INF] DCTN: Get Previous Wallet 
2020-12-14 10:17:27.204 [INF] DCTN: Decrediton version up to date.
2020-12-14 10:17:39.648 [INF] DCTN: Create Wallet testwallet numero dos true 
2020-12-14 10:17:39.750 [INF] DCTN: Start Wallet testwallet numero dos true 
2020-12-14 10:17:39.783 [INF] DCTN: Starting /Applications/decrediton.app/Contents/Resources/bin/dcrwallet with --configfile=/Users/marco/Library/Application Support/decrediton/wallets/testnet/testwallet numero dos/dcrwallet.conf,--gaplimit=20,--issueclientcert,--csppserver=cspp.decred.org:5760,--rpclistenerevents,--pipetx=4
2020-12-14 10:17:39.797 [INF] DCTN: dcrwallet started with pid:79668
2020-12-14 10:17:39.835 [INF] DCTN: wallet grpc cert registered
2020-12-14 10:17:39.835 [INF] DCTN: wallet grpc running on port 60256
2020-12-14 10:17:39.838 [INF] DCTN: Set Previous Wallet {"label":"testwallet numero dos","value":{"wallet":"testwallet numero dos","isWatchingOnly":false,"isTrezor":false,"isNew":true,"isPrivacy":false,"network":"testnet"}} 
2020-12-14 10:17:39.872 [INF] DCTN: Get Version Service
2020-12-14 10:17:39.888 [INF] DCTN: Get Version Response {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:17:39.900 [INF] DCTN: Get Loader
2020-12-14 10:17:39.923 [INF] DCTN: Open Wallet
2020-12-14 10:17:39.925 [ERR] DCTN: Open Wallet errored {"code":5,"metadata":{"_internal_repr":{},"flags":0},"details":"loader.OpenExistingWallet: item does not exist:: wallet.OpenDB: missing database file"} 
2020-12-14 10:17:39.937 [INF] DCTN: Generate Seed
2020-12-14 10:17:48.398 [INF] DCTN: Stop Wallet 
2020-12-14 10:17:48.399 [INF] DCTN: Sending SIGINT to dcrwallet at pid:79668
2020-12-14 10:17:48.400 [INF] DCTN: Remove Wallet testwallet numero dos true 
2020-12-14 10:17:48.408 [INF] DCTN: Get Available Wallets testnet 
2020-12-14 10:17:48.417 [INF] DCTN: Get Previous Wallet 
2020-12-14 10:18:13.668 [INF] DCTN: Create Wallet testwallet numero dos true 
2020-12-14 10:18:13.745 [INF] DCTN: Start Wallet testwallet numero dos true 
2020-12-14 10:18:13.779 [INF] DCTN: Starting /Applications/decrediton.app/Contents/Resources/bin/dcrwallet with --configfile=/Users/marco/Library/Application Support/decrediton/wallets/testnet/testwallet numero dos/dcrwallet.conf,--gaplimit=20,--issueclientcert,--csppserver=cspp.decred.org:5760,--rpclistenerevents,--pipetx=4
2020-12-14 10:18:13.789 [INF] DCTN: dcrwallet started with pid:79672
2020-12-14 10:18:13.827 [INF] DCTN: wallet grpc cert registered
2020-12-14 10:18:13.828 [INF] DCTN: wallet grpc running on port 60315
2020-12-14 10:18:13.831 [INF] DCTN: Set Previous Wallet {"label":"testwallet numero dos","value":{"wallet":"testwallet numero dos","isWatchingOnly":false,"isTrezor":false,"isNew":false,"isPrivacy":false,"network":"testnet"}} 
2020-12-14 10:18:13.858 [INF] DCTN: Get Version Service
2020-12-14 10:18:13.869 [INF] DCTN: Get Version Response {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:18:13.877 [INF] DCTN: Get Loader
2020-12-14 10:18:13.898 [INF] DCTN: Open Wallet
2020-12-14 10:18:13.899 [ERR] DCTN: Open Wallet errored {"code":5,"metadata":{"_internal_repr":{},"flags":0},"details":"loader.OpenExistingWallet: item does not exist:: wallet.OpenDB: missing database file"} 
2020-12-14 10:18:20.173 [INF] DCTN: Decode Seed
2020-12-14 10:18:20.175 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: encoding/hex: invalid byte: U+0073 's'"} 
2020-12-14 10:18:23.826 [INF] DCTN: Decode Seed
2020-12-14 10:18:23.828 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:18:27.633 [INF] DCTN: Decode Seed
2020-12-14 10:18:27.640 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:18:33.335 [INF] DCTN: Decode Seed
2020-12-14 10:18:33.341 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:18:36.854 [INF] DCTN: Decode Seed
2020-12-14 10:18:36.859 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding:: pgpwordlist.DecodeMnemonics: word skydive is not valid at position 3, check for missing words"} 
2020-12-14 10:18:46.901 [INF] DCTN: Decode Seed
2020-12-14 10:18:46.906 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:18:50.014 [INF] DCTN: Decode Seed
2020-12-14 10:18:50.019 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:18:51.458 [INF] DCTN: Decode Seed
2020-12-14 10:18:51.463 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:18:56.858 [INF] DCTN: Decode Seed
2020-12-14 10:18:56.862 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:00.785 [INF] DCTN: Decode Seed
2020-12-14 10:19:00.789 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:03.731 [INF] DCTN: Decode Seed
2020-12-14 10:19:03.745 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:07.376 [INF] DCTN: Decode Seed
2020-12-14 10:19:07.380 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:10.459 [INF] DCTN: Decode Seed
2020-12-14 10:19:10.463 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:13.933 [INF] DCTN: Decode Seed
2020-12-14 10:19:13.938 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:18.276 [INF] DCTN: Decode Seed
2020-12-14 10:19:18.280 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:24.512 [INF] DCTN: Decode Seed
2020-12-14 10:19:24.516 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:27.649 [INF] DCTN: Decode Seed
2020-12-14 10:19:27.653 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:31.102 [INF] DCTN: Decode Seed
2020-12-14 10:19:31.107 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:35.670 [INF] DCTN: Decode Seed
2020-12-14 10:19:35.674 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:39.585 [INF] DCTN: Decode Seed
2020-12-14 10:19:39.589 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:43.094 [INF] DCTN: Decode Seed
2020-12-14 10:19:43.099 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:45.534 [INF] DCTN: Decode Seed
2020-12-14 10:19:45.538 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:48.752 [INF] DCTN: Decode Seed
2020-12-14 10:19:48.757 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:53.635 [INF] DCTN: Decode Seed
2020-12-14 10:19:53.639 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:19:57.493 [INF] DCTN: Decode Seed
2020-12-14 10:19:57.497 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:01.611 [INF] DCTN: Decode Seed
2020-12-14 10:20:01.615 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:04.323 [INF] DCTN: Decode Seed
2020-12-14 10:20:04.328 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:06.459 [INF] DCTN: Decode Seed
2020-12-14 10:20:06.463 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding:: pgpwordlist.DecodeMnemonics: word mosquito is not valid at position 22, check for missing words"} 
2020-12-14 10:20:13.312 [INF] DCTN: Decode Seed
2020-12-14 10:20:13.317 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:16.260 [INF] DCTN: Decode Seed
2020-12-14 10:20:16.264 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:20.590 [INF] DCTN: Decode Seed
2020-12-14 10:20:20.595 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:23.582 [INF] DCTN: Decode Seed
2020-12-14 10:20:23.587 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:27.803 [INF] DCTN: Decode Seed
2020-12-14 10:20:27.807 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:32.842 [INF] DCTN: Decode Seed
2020-12-14 10:20:32.846 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:35.665 [INF] DCTN: Decode Seed
2020-12-14 10:20:35.670 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:40.560 [INF] DCTN: Decode Seed
2020-12-14 10:20:40.564 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:44.733 [INF] DCTN: Decode Seed
2020-12-14 10:20:44.738 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:47.511 [INF] DCTN: Decode Seed
2020-12-14 10:20:47.516 [ERR] DCTN: Decode Seed errored {"code":3,"metadata":{"_internal_repr":{},"flags":0},"details":"walletseed.DecodeUserInput: invalid encoding: checksum mismatch"} 
2020-12-14 10:20:52.522 [INF] DCTN: Decode Seed
2020-12-14 10:20:58.412 [INF] DCTN: Create Wallet
2020-12-14 10:21:03.903 [INF] DCTN: getStakePoolInfo
2020-12-14 10:21:03.922 [INF] DCTN: Start Wallet testwallet numero dos true 
2020-12-14 10:21:03.922 [INF] DCTN: dcrwallet already started 79672
2020-12-14 10:21:03.931 [INF] DCTN: Set Previous Wallet {"label":"testwallet numero dos","value":{"wallet":"testwallet numero dos","isWatchingOnly":false,"isTrezor":false,"isNew":false,"isPrivacy":false,"network":"testnet"}} 
2020-12-14 10:21:03.949 [INF] DCTN: Get Version Service
2020-12-14 10:21:03.962 [INF] DCTN: Get Version Response {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:21:03.966 [INF] DCTN: Get Loader
2020-12-14 10:21:03.980 [INF] DCTN: Open Wallet
2020-12-14 10:21:03.981 [ERR] DCTN: Open Wallet errored {"code":6,"metadata":{"_internal_repr":{},"flags":0},"details":"loader.OpenExistingWallet: item already exists: wallet already opened"} 
2020-12-14 10:21:03.983 [INF] DCTN: Get Watching Only 
2020-12-14 10:38:19.194 [INF] DCTN: bestBlock {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:38:28.542 [INF] DCTN: bestBlock {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:38:28.550 [INF] DCTN: getAllVspsInfo
2020-12-14 10:38:28.551 [INF] DCTN: Get Next Address {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 
2020-12-14 10:38:28.568 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:38:28.569 [INF] DCTN: network {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:38:28.578 [INF] DCTN: getAllStakePoolStats
2020-12-14 10:38:29.206 [INF] DCTN: agendas {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:38:30.213 [INF] DCTN: stakeInfo
2020-12-14 10:38:30.216 [INF] DCTN: accounts
2020-12-14 10:38:30.221 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 0 
2020-12-14 10:38:30.222 [INF] DCTN: Get Balance {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 2147483647 0 
2020-12-14 10:38:30.227 [INF] DCTN: Get Transactions
2020-12-14 10:38:30.230 [INF] DCTN: Get Transactions
2020-12-14 10:38:30.293 [INF] DCTN: Validate Address
2020-12-14 10:38:30.293 [INF] DCTN: Validate Address
2020-12-14 10:38:30.296 [INF] DCTN: Get Transactions
2020-12-14 10:38:30.352 [INF] DCTN: Get Transactions
2020-12-14 10:38:30.404 [INF] DCTN: Get Transactions
2020-12-14 10:38:30.457 [INF] DCTN: Get Transactions
2020-12-14 10:38:30.458 [INF] DCTN: Get Transactions
2020-12-14 10:42:26.432 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:42:45.211 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:44:16.354 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:44:45.215 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:46:23.217 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:49:04.301 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:49:49.289 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:54:52.019 [INF] DCTN: ticketPrice {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 
2020-12-14 10:55:24.565 [INF] DCTN: Get Next Address {"$interceptors":[],"$interceptor_providers":[],"$channel":{}} 0 
2020-12-14 10:55:33.294 [INF] DCTN: Sending SIGINT to dcrwallet at pid:79672
2020-12-14 10:55:33.295 [INF] DCTN: Closing decrediton.
2020-12-14 10:55:37.225 [INF] DCTN: Final shutdown pause. Quitting app.
2020-12-14 10:55:37.226 [INF] DCTN: Daemon still running in final shutdown pause. Waiting.
2020-12-14 10:55:38.330 [INF] DCTN: Caught before-quit. Set decredition as was closed
2020-12-14 10:55:38.330 [INF] DCTN: Closing decrediton.
2020-12-14 10:58:47.766 [INF] DCTN: Using config/data from:/Users/marco/Library/Application Support/decrediton
2020-12-14 10:58:47.767 [INF] DCTN: Versions: Decrediton: 1.6.0, Electron: 8.5.2, Chrome: 80.0.3987.165
2020-12-14 10:58:47.997 [INF] DCTN: Setting up proxy null
2020-12-14 10:58:48.034 [INF] DCTN: Proxy successfully setup
2020-12-14 10:58:48.082 [INF] DCTN: Installing session intercept
2020-12-14 10:58:48.236 [INF] DCTN: Starting to load bundle.js
2020-12-14 10:58:49.804 [INF] DCTN: Starting main react app
2020-12-14 10:58:49.861 [INF] DCTN: Main app container mounted
2020-12-14 10:58:49.913 [INF] DCTN: Get Available Wallets testnet 
2020-12-14 10:58:49.928 [INF] DCTN: Get Previous Wallet 
2020-12-14 10:58:50.145 [INF] DCTN: Decrediton version up to date.
2020-12-14 10:58:57.797 [INF] DCTN: Start Wallet testwallet numero dos true 
2020-12-14 10:58:57.839 [INF] DCTN: Starting /Applications/decrediton.app/Contents/Resources/bin/dcrwallet with --configfile=/Users/marco/Library/Application Support/decrediton/wallets/testnet/testwallet numero dos/dcrwallet.conf,--gaplimit=20,--issueclientcert,--csppserver=cspp.decred.org:5760,--rpclistenerevents,--pipetx=4
2020-12-14 10:58:57.852 [INF] DCTN: dcrwallet started with pid:79808
2020-12-14 11:01:43.488 [INF] DCTN: Start Wallet testwallet numero dos true 
2020-12-14 11:01:43.489 [INF] DCTN: dcrwallet already started 79808
alexlyp commented 3 years ago

Would need dcrwallet logs too, but guessing you need to blow away your rpc.key that was generated in your wallets directory when you loaded it seperately.

marcopeereboom commented 3 years ago

That was indeed the issue. Why is it not ignoring the generated certs?

alexlyp commented 3 years ago

Not sure what you mean, ignore them. It's set to onetimekey, so if you have a key there already it can't do what it would like.

jrick commented 3 years ago

dcrwallet will never overwrite an existing keypair, regardless of what options you run it with.

marcopeereboom commented 3 years ago

Per the log:

2020-12-14 10:58:57.839 [INF] DCTN: Starting /Applications/decrediton.app/Contents/Resources/bin/dcrwallet with --configfile=/Users/marco/Library/Application Support/decrediton/wallets/testnet/testwallet numero dos/dcrwallet.conf,--gaplimit=20,--issueclientcert,--csppserver=cspp.decred.org:5760,--rpclistenerevents,--pipetx=4

It says --issueclientcert; shouldn't that return whatever is in the dir or generate an ephemeral cert?

Am I missing something or one cannot use the bundled dcrwallet/dcrctl for advanced operations?

vctt94 commented 3 years ago

the onetimekey option is set on the conf file decrediton generates. issueclientcert is for the grpc tls connection.

I believe decrediton should notice this error and notify the user, so they can take their actions for fixing it

jrick commented 3 years ago

rpc.cert & rpc.key are the server's cert and key. The key is written out so that decrediton can trust it as the CA root. The key is not written out with --onetimetlskey so that the connection cannot be MITM'd by reading the key. On the next restart, because the cert can no longer be used, because no matching key is recorded, it is fine for dcrwallet to overwrite it with a new CA root. But we can't do this if both a cert and key exist, because dcrwallet makes the assumption that you have copied these somewhere and removing them would break other configs.

marcopeereboom commented 3 years ago

I understand all that but we need the ability to use dcrwallet and dcrctl without "breaking" decrediton.

I am open to options. Maybe a support script that launches dcrwallet without allowing it to create these files?

jrick commented 3 years ago

you can run it manually with --onetimetlskey just like decrediton does. Then it won't write out a rpc.key and break future decrediton runs.

matheusd commented 3 years ago

To run a dcrwallet instance backed by the same db as a Decrediton wallet, the easiest way is to go to the wallet dir ("~/.config/decrediton/wallets/testnet/blah") and edit the corresponding dcrwallet.conf by

You can then run dcrwallet -C ./dcrwallet.conf and point dcrctl to the local rpc.cert.

I guess we could modify Decrediton to specify --noinitialload and --nolegacyrpc on the CLI args when launching the underlying dcrwallet (vs relying on that being present in the dcrwallet.conf).

Another alternative would be having some advanced wallet settings where users can enable the json-rpc endpoint for their wallets.

jrick commented 3 years ago

instead of editing, why not write out a second config at a non-default path, which can be chosen using -C if you want to manually run the wallet?

matheusd commented 3 years ago

That would work as well

marcopeereboom commented 3 years ago

Would it be ok to listen on localhost so that dcrctl can run when decrediton is on?

That would be the least problematic imo.

matheusd commented 3 years ago

Now that dcrwallet has moved to client cert auth, Decrediton no longer sets an rpc username and password, so that needs to be specified somehow.