mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
3c61cc7d8a
* allow checkpoint or genesis origin; refactoring some quick readability improvements and simplifying the logic enforcing the startup ordering of the attestation processing routine * address PR feedback * gofmt * Update beacon-chain/blockchain/receive_attestation.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * Apply suggestions from code review use log.WithError for aggregation friendliness Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: kasey <kasey@users.noreply.github.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
10 lines
487 B
Go
10 lines
487 B
Go
package db
|
|
|
|
import "github.com/prysmaticlabs/prysm/beacon-chain/db/kv"
|
|
|
|
// ErrNotFound can be used to determine if an error from a method in the database package
|
|
// represents a "not found" error. These often require different handling than a low-level
|
|
// i/o error. This variable copies the value in the kv package to the same scope as the Database interfaces,
|
|
// so that it is available to code paths that do not interact directly with the kv package.
|
|
var ErrNotFound = kv.ErrNotFound
|