pchain-org / pchain

Pchain client-in-Go
https://plian.org
GNU General Public License v3.0
24 stars 12 forks source link

cli bug #24

Open liaoyd opened 5 years ago

liaoyd commented 5 years ago

1.panic when running pchain using command console and js, like pchain --datadir=.pchain console and pchain --datadir=.pchain js test.js 2.command accountand it's sub command's flag --datadir and--keystore doesn't work. And running sub command import show error Fatal: Failed to load the private key: encoding/hex: invalid byte: U+007B '{'
3.please remove flag --testnet --rinkeby --ottoman because we don't have testnet 4.--syncmode doesn't support light mode 5.please remove all ETHASH OPTIONS

  1. --unlock doesn't work
  2. please remove all flags about websocket since we don't support 8.--rpcvhosts doesn't work 9.--jspath --exec --preload has error flag provided but not defined: 10.please add command dumpconfig
pchain-org commented 5 years ago

fix with https://github.com/pchain-org/pchain/commit/ad709910b7eb5280a0845feb9723ce2bd4130f04, remove all related commands/flags. and will add commands/flags back later if necessary

pchain-org commented 5 years ago

add command 'account [list, new, import, update]' back with https://github.com/pchain-org/pchain/commit/95539a38d092a1766d793d078e84b9d652fb2ded