[DEPRECATED] Go implementation of plcbundle
1package bundleindex
2
3// ChainVerificationResult contains the result of chain verification
4type ChainVerificationResult struct {
5 Valid bool
6 ChainLength int
7 BrokenAt int
8 Error string
9 VerifiedBundles []int
10}
11
12// VerificationResult contains the result of bundle verification
13type VerificationResult struct {
14 BundleNumber int
15 Valid bool
16 HashMatch bool
17 FileExists bool
18 Error error
19 LocalHash string
20 ExpectedHash string
21}