Fixes in consensus and syles.
This commit is contained in:
@@ -9,6 +9,7 @@ use log::{debug, error, info, trace, warn};
|
||||
use sqlite::{Connection, State, Statement};
|
||||
|
||||
use crate::{Block, Bytes, Keystore, Transaction, check_domain, get_domain_zone, is_yggdrasil_record};
|
||||
use crate::blockchain::transaction::TransactionType;
|
||||
use crate::commons::constants::*;
|
||||
use crate::blockchain::types::{BlockQuality, MineResult, Options};
|
||||
use crate::blockchain::types::BlockQuality::*;
|
||||
@@ -760,6 +761,12 @@ impl Chain {
|
||||
return Rewind;
|
||||
}
|
||||
}
|
||||
if matches!(Transaction::get_type(&block.transaction), TransactionType::Zone) {
|
||||
if self.get_zones().len() >= 10 {
|
||||
warn!("Ignoring excess zone block");
|
||||
return Bad;
|
||||
}
|
||||
}
|
||||
|
||||
if let Some(transaction) = &block.transaction {
|
||||
let current_height = match last_block {
|
||||
|
||||
@@ -55,7 +55,7 @@ body {
|
||||
}
|
||||
|
||||
#new_domain_dialog_box {
|
||||
min-height: 380px;
|
||||
min-height: 480px;
|
||||
}
|
||||
|
||||
.delete {
|
||||
|
||||
Reference in New Issue
Block a user