general: fix typos
This commit is contained in:
1 parent
fd163ccf9d
commit
14c6770b76
9 files changed
+42
-41
No files matched your search
@@ -8,11 +8,11 @@ import (
|
||||
)
|
||||
|
||||
// ErrorGeneric represents a generic error bound to an exact channel. The
|
||||
// message format is purposefully general in order to allow expressino of a wide
|
||||
// message format is purposefully general in order to allow expression of a wide
|
||||
// array of possible errors. Each ErrorGeneric message is directed at a particular
|
||||
// open channel referenced by ChannelPoint.
|
||||
type ErrorGeneric struct {
|
||||
// ChannelPoint references the active channel in which the error occured
|
||||
// ChannelPoint references the active channel in which the error occurred
|
||||
// within. A ChannelPoint of zeroHash:0 denotes this error applies to
|
||||
// the entire established connection.
|
||||
ChannelPoint *wire.OutPoint
|
||||
@@ -22,7 +22,7 @@ type ErrorGeneric struct {
|
||||
ErrorID uint16
|
||||
|
||||
// Problem is a human-readable string further elaborating upon the
|
||||
// nature of the exact error. The maxmium allowed length of this
|
||||
// nature of the exact error. The maximum allowed length of this
|
||||
// message is 8192 bytes.
|
||||
Problem string
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
// responder after the previously constructed funding transaction has achieved
|
||||
// a sufficient number of confirmations. It is the initiator's duty to present
|
||||
// a proof of an open channel to the responder. Otherwise, responding node may
|
||||
// be vulernable to a resource exhasution attack wherein the a requesting node
|
||||
// be vulnerable to a resource exhaustion attack wherein the a requesting node
|
||||
// repeatedly negotiates funding transactions which are never broadcast. If the
|
||||
// responding node commits resources to watch the chain for each funding
|
||||
// transaction, then this attack is very cheap for the initiator.
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
// SingleFundingSignComplete is the message Bob sends to Alice which delivers
|
||||
// a signature for Alice's version of the commitment transaction. After thie
|
||||
// a signature for Alice's version of the commitment transaction. After this
|
||||
// message is received and processed by Alice, she is free to broadcast the
|
||||
// funding transaction.
|
||||
type SingleFundingSignComplete struct {
|
||||
|
||||
Reference in new issue
Block a user