Skip to content

Commit

Permalink
chore: add weight_threshold to the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
obycode committed Jan 27, 2025
1 parent 37b8fea commit aa9752f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testnet/stacks-node/src/nakamoto_node/stackerdb_listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ impl StackerDBListener {
"signer_weight" => signer_entry.weight,
"total_weight_approved" => block.total_weight_approved,
"total_weight_rejected" => block.total_weight_rejected,
"weight_threshold" => self.weight_threshold,
"tenure_extend_timestamp" => tenure_extend_timestamp,
"server_version" => metadata.server_version,
);
Expand Down Expand Up @@ -393,6 +394,7 @@ impl StackerDBListener {
"signer_weight" => signer_entry.weight,
"total_weight_approved" => block.total_weight_approved,
"total_weight_rejected" => block.total_weight_rejected,
"weight_threshold" => self.weight_threshold,
"reason" => rejected_data.reason,
"reason_code" => %rejected_data.reason_code,
"tenure_extend_timestamp" => rejected_data.response_data.tenure_extend_timestamp,
Expand Down

0 comments on commit aa9752f

Please sign in to comment.