Add Bank support for "upgrade epochs" where all non-vote transactions will be rejected

This commit is contained in:
Michael Vines
2020-07-15 12:50:38 -07:00
parent fdff681bcc
commit e5d8c4383f
3 changed files with 167 additions and 3 deletions

View File

@ -83,6 +83,9 @@ pub enum TransactionError {
/// not be unlocked.
#[error("Transaction failed to sanitize accounts offsets correctly")]
SanitizeFailure,
#[error("Transactions are currently disabled due to cluster maintenance")]
ClusterMaintenance,
}
pub type Result<T> = result::Result<T, TransactionError>;