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 | |
parent | 3016f238646510ed309b76d571addf381e341af4 (diff) | |
parent | b2d18393c4287a348f3776d1ddf9bcd01758ba8a (diff) | |
download | go-tangerine-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar go-tangerine-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.gz go-tangerine-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.bz2 go-tangerine-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.lz go-tangerine-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.xz go-tangerine-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.zst go-tangerine-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.zip |
Merge pull request #1426 from fjl/license
all: update license information and godoc comments
Diffstat (limited to 'accounts')
-rw-r--r-- | accounts/abi/abi.go | 16 | ||||
-rw-r--r-- | accounts/abi/abi_test.go | 16 | ||||
-rw-r--r-- | accounts/abi/doc.go | 16 | ||||
-rw-r--r-- | accounts/abi/numbers.go | 16 | ||||
-rw-r--r-- | accounts/abi/numbers_test.go | 16 | ||||
-rw-r--r-- | accounts/abi/type.go | 16 | ||||
-rw-r--r-- | accounts/account_manager.go | 54 | ||||
-rw-r--r-- | accounts/accounts_test.go | 16 |
8 files changed, 134 insertions, 32 deletions
diff --git a/accounts/abi/abi.go b/accounts/abi/abi.go index 067381a48..1119c6186 100644 --- a/accounts/abi/abi.go +++ b/accounts/abi/abi.go @@ -1,3 +1,19 @@ +// 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 abi import ( diff --git a/accounts/abi/abi_test.go b/accounts/abi/abi_test.go index f47fa80f0..a92a29ffd 100644 --- a/accounts/abi/abi_test.go +++ b/accounts/abi/abi_test.go @@ -1,3 +1,19 @@ +// 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 abi import ( diff --git a/accounts/abi/doc.go b/accounts/abi/doc.go index 648c971e1..dcb0e5471 100644 --- a/accounts/abi/doc.go +++ b/accounts/abi/doc.go @@ -1,3 +1,19 @@ +// 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 abi implements the Ethereum ABI (Application Binary // Interface). // diff --git a/accounts/abi/numbers.go b/accounts/abi/numbers.go index 9205c005e..66698f562 100644 --- a/accounts/abi/numbers.go +++ b/accounts/abi/numbers.go @@ -1,3 +1,19 @@ +// 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 abi import ( diff --git a/accounts/abi/numbers_test.go b/accounts/abi/numbers_test.go index 319d7fb51..f0efaecb9 100644 --- a/accounts/abi/numbers_test.go +++ b/accounts/abi/numbers_test.go @@ -1,3 +1,19 @@ +// 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 abi import ( diff --git a/accounts/abi/type.go b/accounts/abi/type.go index 56520b672..ee4a073dc 100644 --- a/accounts/abi/type.go +++ b/accounts/abi/type.go @@ -1,3 +1,19 @@ +// 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 abi import ( 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" diff --git a/accounts/accounts_test.go b/accounts/accounts_test.go index 4b94b78fd..9d09156af 100644 --- a/accounts/accounts_test.go +++ b/accounts/accounts_test.go @@ -1,3 +1,19 @@ +// 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 accounts import ( |