github.com/prysmaticlabs/prysm@v1.4.4/validator/db/kv/schema.go (about)

     1  package kv
     2  
     3  var (
     4  	// Genesis information bucket key.
     5  	genesisInfoBucket = []byte("genesis-info-bucket")
     6  
     7  	// Validator slashing protection from double proposals.
     8  	historicProposalsBucket            = []byte("proposal-history-bucket-interchange")
     9  	deprecatedAttestationHistoryBucket = []byte("attestation-history-bucket-interchange")
    10  
    11  	// Buckets for lowest signed source and target epoch for individual validator.
    12  	lowestSignedSourceBucket = []byte("lowest-signed-source-bucket")
    13  	lowestSignedTargetBucket = []byte("lowest-signed-target-bucket")
    14  
    15  	// Lowest and highest signed proposals.
    16  	lowestSignedProposalsBucket  = []byte("lowest-signed-proposals-bucket")
    17  	highestSignedProposalsBucket = []byte("highest-signed-proposals-bucket")
    18  
    19  	// Slashable public keys bucket.
    20  	slashablePublicKeysBucket = []byte("slashable-public-keys")
    21  
    22  	// Genesis validators root bucket key.
    23  	genesisValidatorsRootKey = []byte("genesis-val-root")
    24  
    25  	// Optimized slashing protection buckets and keys.
    26  	pubKeysBucket                 = []byte("pubkeys-bucket")
    27  	attestationSigningRootsBucket = []byte("att-signing-roots-bucket")
    28  	attestationSourceEpochsBucket = []byte("att-source-epochs-bucket")
    29  	attestationTargetEpochsBucket = []byte("att-target-epochs-bucket")
    30  
    31  	// Migrations
    32  	migrationsBucket = []byte("migrations")
    33  
    34  	// Graffiti
    35  	graffitiBucket = []byte("graffiti")
    36  
    37  	// Graffiti ordered index and hash keys
    38  	graffitiOrderedIndexKey = []byte("graffiti-ordered-index")
    39  	graffitiFileHashKey     = []byte("graffiti-file-hash")
    40  )