diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-07 20:55:06 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-07 20:55:06 +0800 |
commit | 9e7d5d9d3b4ad686409fec7beb08792d38052a2c (patch) | |
tree | 30b1d1ddfb99e73c08125df3b9806eebff0506a6 /accounts/account_manager.go | |
parent | 3016f238646510ed309b76d571addf381e341af4 (diff) | |
parent | b2d18393c4287a348f3776d1ddf9bcd01758ba8a (diff) | |
download | dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.gz dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.bz2 dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.lz dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.xz dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.zst dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.zip |
Merge pull request #1426 from fjl/license
all: update license information and godoc comments
Diffstat (limited to 'accounts/account_manager.go')
-rw-r--r-- | accounts/account_manager.go | 54 |
1 files changed, 22 insertions, 32 deletions
diff --git a/accounts/account_manager.go b/accounts/account_manager.go index 17b128e9e..c9e06261a 100644 --- a/accounts/account_manager.go +++ b/accounts/account_manager.go @@ -1,37 +1,27 @@ -/* - This file is part of go-ethereum - - go-ethereum is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - go-ethereum is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. -*/ -/** - * @authors - * Gustav Simonsson <gustav.simonsson@gmail.com> - * @date 2015 - * - */ -/* - -This abstracts part of a user's interaction with an account she controls. -It's not an abstraction of core Ethereum accounts data type / logic - -for that see the core processing code of blocks / txs. - -Currently this is pretty much a passthrough to the KeyStore interface, -and accounts persistence is derived from stored keys' addresses - -*/ +// Copyright 2015 The go-ethereum Authors +// This file is part of go-ethereum. +// +// go-ethereum is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// go-ethereum is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. + +// Package implements a private key management facility. +// +// This abstracts part of a user's interaction with an account she controls. package accounts +// Currently this is pretty much a passthrough to the KeyStore interface, +// and accounts persistence is derived from stored keys' addresses + import ( "crypto/ecdsa" crand "crypto/rand" |