Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
bdae4fd5
Commit
bdae4fd5
authored
Jul 07, 2015
by
Felix Lange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
all: add some godoc synopsis comments
parent
e813626e
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
29 additions
and
13 deletions
+29
-13
account_manager.go
accounts/account_manager.go
+6
-10
update-license.go
build/update-license.go
+1
-0
main.go
cmd/bootnode/main.go
+1
-1
main.go
cmd/disasm/main.go
+1
-0
main.go
cmd/ethtest/main.go
+1
-0
main.go
cmd/evm/main.go
+1
-0
main.go
cmd/geth/main.go
+1
-0
cmd.go
cmd/utils/cmd.go
+1
-0
bytes.go
common/bytes.go
+1
-0
read_write.go
compression/rle/read_write.go
+1
-0
chain_manager.go
core/chain_manager.go
+1
-0
statedb.go
core/state/statedb.go
+1
-0
block.go
core/types/block.go
+1
-0
vm.go
core/vm/vm.go
+1
-0
backend.go
eth/backend.go
+1
-0
filter.go
event/filter/filter.go
+1
-0
jsre.go
jsre/jsre.go
+1
-0
miner.go
miner/miner.go
+1
-0
nat.go
p2p/nat/nat.go
+1
-1
server.go
p2p/server.go
+1
-0
xeth.go
rpc/xeth.go
+1
-0
init.go
tests/init.go
+1
-0
trie.go
trie/trie.go
+1
-0
xeth.go
xeth/xeth.go
+1
-1
No files found.
accounts/account_manager.go
View file @
bdae4fd5
...
@@ -14,18 +14,14 @@
...
@@ -14,18 +14,14 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// 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.
// 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
*/
package
accounts
package
accounts
// Currently this is pretty much a passthrough to the KeyStore interface,
// and accounts persistence is derived from stored keys' addresses
import
(
import
(
"crypto/ecdsa"
"crypto/ecdsa"
crand
"crypto/rand"
crand
"crypto/rand"
...
...
build/update-license.go
View file @
bdae4fd5
...
@@ -16,6 +16,7 @@ address for each author. See git-shortlog(1) for an explanation of the
...
@@ -16,6 +16,7 @@ address for each author. See git-shortlog(1) for an explanation of the
Please review the resulting diff to check whether the correct
Please review the resulting diff to check whether the correct
copyright assignments are performed.
copyright assignments are performed.
*/
*/
package
main
package
main
import
(
import
(
...
...
cmd/bootnode/main.go
View file @
bdae4fd5
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
//
Command bootnode runs a bootstrap node for the
Discovery Protocol.
//
bootnode runs a bootstrap node for the Ethereum
Discovery Protocol.
package
main
package
main
import
(
import
(
...
...
cmd/disasm/main.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU General Public License
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// disasm is a pretty-printer for EVM bytecode.
package
main
package
main
import
(
import
(
...
...
cmd/ethtest/main.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU General Public License
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// ethtest executes Ethereum JSON tests.
package
main
package
main
import
(
import
(
...
...
cmd/evm/main.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU General Public License
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// evm executes EVM code snippets.
package
main
package
main
import
(
import
(
...
...
cmd/geth/main.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU General Public License
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// geth is the official command-line client for Ethereum.
package
main
package
main
import
(
import
(
...
...
cmd/utils/cmd.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU General Public License
// You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package utils contains internal helper functions for go-ethereum commands.
package
utils
package
utils
import
(
import
(
...
...
common/bytes.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package common contains various helper functions.
package
common
package
common
import
(
import
(
...
...
compression/rle/read_write.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package rle implements the run-length encoding used for Ethereum data.
package
rle
package
rle
import
(
import
(
...
...
core/chain_manager.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package core implements the Ethereum consensus protocol.
package
core
package
core
import
(
import
(
...
...
core/state/statedb.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package state provides a caching layer atop the Ethereum state trie.
package
state
package
state
import
(
import
(
...
...
core/types/block.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package types contains data types related to Ethereum consensus.
package
types
package
types
import
(
import
(
...
...
core/vm/vm.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package vm implements the Ethereum Virtual Machine.
package
vm
package
vm
import
(
import
(
...
...
eth/backend.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package eth implements the Ethereum protocol.
package
eth
package
eth
import
(
import
(
...
...
event/filter/filter.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package filter implements event filters.
package
filter
package
filter
import
"reflect"
import
"reflect"
...
...
jsre/jsre.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package jsre provides execution environment for JavaScript.
package
jsre
package
jsre
import
(
import
(
...
...
miner/miner.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package miner implements Ethereum block creation and mining.
package
miner
package
miner
import
(
import
(
...
...
p2p/nat/nat.go
View file @
bdae4fd5
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package nat provides access to common port mapping protocols.
// Package nat provides access to common
network
port mapping protocols.
package
nat
package
nat
import
(
import
(
...
...
p2p/server.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package p2p implements the Ethereum p2p network protocols.
package
p2p
package
p2p
import
(
import
(
...
...
rpc/xeth.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package rpc implements the Ethereum JSON-RPC API.
package
rpc
package
rpc
import
(
import
(
...
...
tests/init.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package tests implements execution of Ethereum JSON tests.
package
tests
package
tests
import
(
import
(
...
...
trie/trie.go
View file @
bdae4fd5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// Package trie implements Merkle Patricia Tries.
package
trie
package
trie
import
(
import
(
...
...
xeth/xeth.go
View file @
bdae4fd5
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// 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/>.
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
//
eXtended ETHereum
//
Package xeth is the interface to all Ethereum functionality.
package
xeth
package
xeth
import
(
import
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment