Skip to content

Commit bdae4fd

Browse files
committed
all: add some godoc synopsis comments
1 parent e813626 commit bdae4fd

File tree

24 files changed

+29
-13
lines changed

24 files changed

+29
-13
lines changed

accounts/account_manager.go

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,14 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
1616

17-
/*
18-
19-
This abstracts part of a user's interaction with an account she controls.
20-
It's not an abstraction of core Ethereum accounts data type / logic -
21-
for that see the core processing code of blocks / txs.
22-
23-
Currently this is pretty much a passthrough to the KeyStore interface,
24-
and accounts persistence is derived from stored keys' addresses
25-
26-
*/
17+
// Package implements a private key management facility.
18+
//
19+
// This abstracts part of a user's interaction with an account she controls.
2720
package accounts
2821

22+
// Currently this is pretty much a passthrough to the KeyStore interface,
23+
// and accounts persistence is derived from stored keys' addresses
24+
2925
import (
3026
"crypto/ecdsa"
3127
crand "crypto/rand"

build/update-license.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ address for each author. See git-shortlog(1) for an explanation of the
1616
Please review the resulting diff to check whether the correct
1717
copyright assignments are performed.
1818
*/
19+
1920
package main
2021

2122
import (

cmd/bootnode/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// You should have received a copy of the GNU General Public License
1515
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
1616

17-
// Command bootnode runs a bootstrap node for the Discovery Protocol.
17+
// bootnode runs a bootstrap node for the Ethereum Discovery Protocol.
1818
package main
1919

2020
import (

cmd/disasm/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// You should have received a copy of the GNU General Public License
1515
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
1616

17+
// disasm is a pretty-printer for EVM bytecode.
1718
package main
1819

1920
import (

cmd/ethtest/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// You should have received a copy of the GNU General Public License
1515
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
1616

17+
// ethtest executes Ethereum JSON tests.
1718
package main
1819

1920
import (

cmd/evm/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// You should have received a copy of the GNU General Public License
1515
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
1616

17+
// evm executes EVM code snippets.
1718
package main
1819

1920
import (

cmd/geth/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// You should have received a copy of the GNU General Public License
1515
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
1616

17+
// geth is the official command-line client for Ethereum.
1718
package main
1819

1920
import (

cmd/utils/cmd.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// You should have received a copy of the GNU General Public License
1515
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
1616

17+
// Package utils contains internal helper functions for go-ethereum commands.
1718
package utils
1819

1920
import (

common/bytes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
1616

17+
// Package common contains various helper functions.
1718
package common
1819

1920
import (

compression/rle/read_write.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
1616

17+
// Package rle implements the run-length encoding used for Ethereum data.
1718
package rle
1819

1920
import (

0 commit comments

Comments
 (0)