MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / SequentialVerification

Function SequentialVerification

light/client.go:50–54  ·  view source on GitHub ↗

SequentialVerification option configures the light client to sequentially check the blocks (every block, in ascending height order). Note this is much slower than SkippingVerification, albeit more secure.

()

Source from the content-addressed store, hash-verified

48// check the blocks (every block, in ascending height order). Note this is
49// much slower than SkippingVerification, albeit more secure.
50func SequentialVerification() Option {
51 return func(c *Client) {
52 c.verificationMode = sequential
53 }
54}
55
56// SkippingVerification option configures the light client to skip blocks as
57// long as {trustLevel} of the old validator set signed the new header. The

Callers 4

runProxyFunction · 0.92
BenchmarkSequenceFunction · 0.92

Calls

no outgoing calls