OSDN Git Service

Add wallet mnemonic function (#1323)
authoryahtoo <yahtoo.ma@gmail.com>
Thu, 6 Sep 2018 14:10:34 +0000 (22:10 +0800)
committerPaladz <yzhu101@uottawa.ca>
Thu, 6 Sep 2018 14:10:34 +0000 (22:10 +0800)
commite9ecf9eeed4e99c4e05d4b836b9baa8316d520dd
tree1f84da29a8cd727eb82566122e0efb41884f688e
parentf6bb4e3ba6ff23f091bae76cec077bc590fb3af2
Add wallet mnemonic function (#1323)

* Add wallet mnemonic function

* Change code format

* Del unused bool return

* Optimize code structure

* Optimize code structure
19 files changed:
api/hsm.go
blockchain/pseudohsm/pseudohsm.go
blockchain/pseudohsm/pseudohsm_test.go
crypto/ed25519/chainkd/chainkd.go
test/bench_blockchain_test.go
test/integration/standard_transaction_test.go
test/tx_test_util.go
test/wallet_test_util.go
wallet/mnemonic/mnemonic.go [new file with mode: 0644]
wallet/mnemonic/mnemonic_test.go [new file with mode: 0644]
wallet/mnemonic/wordlists/chinese_simplified.go [new file with mode: 0644]
wallet/mnemonic/wordlists/chinese_traditional.go [new file with mode: 0644]
wallet/mnemonic/wordlists/english.go [new file with mode: 0644]
wallet/mnemonic/wordlists/italian.go [new file with mode: 0644]
wallet/mnemonic/wordlists/japanese.go [new file with mode: 0644]
wallet/mnemonic/wordlists/korean.go [new file with mode: 0644]
wallet/mnemonic/wordlists/spanish.go [new file with mode: 0644]
wallet/unconfirmed_test.go
wallet/wallet_test.go