package externalapi // BlockStatus represents the validation state of the block. type BlockStatus byte const ( // StatusInvalid indicates that the block is invalid. StatusInvalid BlockStatus = iota // StatusValid indicates that the block has been fully validated. StatusValid // StatusValidateFailed indicates that the block has failed validation. StatusValidateFailed // StatusInvalidAncestor indicates that one of the block's ancestors has // has failed validation, thus the block is also invalid. StatusInvalidAncestor // StatusUTXOPendingVerification indicates that the block is pending verification against its past UTXO-Set, either // because it was not yet verified since the block was never in the selected parent chain, or if the // block violates finality. StatusUTXOPendingVerification // StatusDisqualifiedFromChain indicates that the block is not eligible to be a selected parent. StatusDisqualifiedFromChain )