OSDN Git Service

Add passwords and Remove xprv cache (#267)
authorBlockmeta-区块元 <blockmeta@8btc.com>
Tue, 23 Jan 2018 02:38:01 +0000 (10:38 +0800)
committerPaladz <yzhu101@uottawa.ca>
Tue, 23 Jan 2018 02:38:01 +0000 (10:38 +0800)
commit6d33b639ec3ff3dce1f286902f30cdd215c6faf0
tree03c8896f97f96cd8054b987bbb0b6d95fbcb279d
parentddaab961c4dbd3e81202c3f16bf772d418d03067
Add passwords and Remove xprv cache  (#267)

* Fix Key not Found Problem

Remove XPrv cache
Change password string to array

* Add password array

fix test bug

* Truncate useless codes

Return error ,no more "if"
blockchain/hsm.go
blockchain/hsm_test.go
blockchain/pseudohsm/keycache.go
blockchain/pseudohsm/keycache_test.go
blockchain/pseudohsm/pseudohsm.go
blockchain/transact.go
blockchain/txbuilder/rawtxsig_witness.go
blockchain/txbuilder/signature_witness.go
blockchain/txbuilder/txbuilder.go
test/util.go