OSDN Git Service

Add wallet mnemonic multi language support (#1327)
authoryahtoo <yahtoo.ma@gmail.com>
Mon, 10 Sep 2018 10:25:48 +0000 (18:25 +0800)
committerPaladz <yzhu101@uottawa.ca>
Mon, 10 Sep 2018 10:25:48 +0000 (18:25 +0800)
commitf647da704b7ed553a2ead94ccb2a90b722886d8f
tree17f71aeba5d387826631416403e1897774449058
parente9ecf9eeed4e99c4e05d4b836b9baa8316d520dd
Add wallet mnemonic multi language support (#1327)

* Add wallet mnemonic multi language support

* Wallet mnemonic language type meets standards

- language (ISO 639-1) and region (ISO 3166-1 alpha-2)
26 files changed:
api/hsm.go
blockchain/pseudohsm/pseudohsm.go
blockchain/pseudohsm/pseudohsm_test.go
test/bench_blockchain_test.go
test/integration/standard_transaction_test.go
test/tx_test_util.go
test/wallet_test_util.go
vendor/github.com/johngb/langreg/LICENSE [new file with mode: 0644]
vendor/github.com/johngb/langreg/README.md [new file with mode: 0644]
vendor/github.com/johngb/langreg/datagen/language/genlang.go [new file with mode: 0644]
vendor/github.com/johngb/langreg/datagen/language/language_codes.csv [new file with mode: 0644]
vendor/github.com/johngb/langreg/datagen/region/genreg.go [new file with mode: 0644]
vendor/github.com/johngb/langreg/datagen/region/region_codes.csv [new file with mode: 0644]
vendor/github.com/johngb/langreg/langreg.go [new file with mode: 0644]
vendor/github.com/johngb/langreg/langreg_test.go [new file with mode: 0644]
vendor/github.com/johngb/langreg/language.go [new file with mode: 0644]
vendor/github.com/johngb/langreg/language_code_info.go [new file with mode: 0644]
vendor/github.com/johngb/langreg/language_test.go [new file with mode: 0644]
vendor/github.com/johngb/langreg/region.go [new file with mode: 0644]
vendor/github.com/johngb/langreg/region_code_info.go [new file with mode: 0644]
vendor/github.com/johngb/langreg/region_test.go [new file with mode: 0644]
vendor/github.com/johngb/langreg/wercker.yml [new file with mode: 0644]
wallet/mnemonic/mnemonic.go
wallet/mnemonic/mnemonic_test.go
wallet/unconfirmed_test.go
wallet/wallet_test.go