Skip to content

Commit cc1940c

Browse files
committed
change the flag description
1 parent e440880 commit cc1940c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

cmd/utils/flags.go

+10-2
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,16 @@ var (
274274
}
275275
defaultVerifyMode = ethconfig.Defaults.TriesVerifyMode
276276
TriesVerifyModeFlag = TextMarshalerFlag{
277-
Name: "tries-verify-mode",
278-
Usage: `tries verify mode: "local: a normal full node", "full: state verification by verify node which has diffLayer of blocks", "insecure: state verification by verify node which has no diffLayer of blocks", "none: no state verification"`,
277+
Name: "tries-verify-mode",
278+
Usage: `tries verify mode:
279+
"local(default): a normal full node with complete state world(both MPT and snapshot), merkle state root will
280+
be verified against the block header.",
281+
"full: a fast node with only snapshot state world. Merkle state root is verified by the trustworthy remote verify node
282+
by comparing the diffhash(an identify of difflayer generated by the block) and state root.",
283+
"insecure: same as full mode, except that it can tolerate without verifying the diffhash when verify node does not have it.",
284+
"none: no merkle state root verification at all, there is no need to setup or connect remote verify node at all,
285+
it is more light comparing to full and insecure mode, but get a very little chance that the state is not consistent
286+
with other peers."`,
279287
Value: &defaultVerifyMode,
280288
}
281289
OverrideBerlinFlag = cli.Uint64Flag{

0 commit comments

Comments
 (0)