@@ -289,7 +289,7 @@ impl SortitionsView {
289
289
warn ! (
290
290
"Miner block proposal has bitvec field which punishes in disagreement with signer. Considering invalid." ;
291
291
"proposed_block_consensus_hash" => %block. header. consensus_hash,
292
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
292
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
293
293
"current_sortition_consensus_hash" => ?self . cur_sortition. consensus_hash,
294
294
"last_sortition_consensus_hash" => ?self . last_sortition. as_ref( ) . map( |x| x. consensus_hash) ,
295
295
) ;
@@ -327,7 +327,7 @@ impl SortitionsView {
327
327
warn ! (
328
328
"Miner block proposal has consensus hash that is neither the current or last sortition. Considering invalid." ;
329
329
"proposed_block_consensus_hash" => %block. header. consensus_hash,
330
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
330
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
331
331
"current_sortition_consensus_hash" => ?self . cur_sortition. consensus_hash,
332
332
"last_sortition_consensus_hash" => ?self . last_sortition. as_ref( ) . map( |x| x. consensus_hash) ,
333
333
) ;
@@ -338,7 +338,7 @@ impl SortitionsView {
338
338
warn ! (
339
339
"Miner block proposal pubkey does not match the winning pubkey hash for its sortition. Considering invalid." ;
340
340
"proposed_block_consensus_hash" => %block. header. consensus_hash,
341
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
341
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
342
342
"proposed_block_pubkey" => & block_pk. to_hex( ) ,
343
343
"proposed_block_pubkey_hash" => %block_pkh,
344
344
"sortition_winner_pubkey_hash" => %proposed_by. state( ) . miner_pkh,
@@ -353,7 +353,7 @@ impl SortitionsView {
353
353
warn ! (
354
354
"Current miner behaved improperly, this signer views the miner as invalid." ;
355
355
"proposed_block_consensus_hash" => %block. header. consensus_hash,
356
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
356
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
357
357
) ;
358
358
return Err ( RejectReason :: InvalidMiner ) ;
359
359
}
@@ -367,7 +367,7 @@ impl SortitionsView {
367
367
warn ! (
368
368
"Miner block proposal is from last sortition winner, when the new sortition winner is still valid. Considering proposal invalid." ;
369
369
"proposed_block_consensus_hash" => %block. header. consensus_hash,
370
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
370
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
371
371
"current_sortition_miner_status" => ?self . cur_sortition. miner_status,
372
372
"last_sortition" => %last_sortition. consensus_hash
373
373
) ;
@@ -412,7 +412,7 @@ impl SortitionsView {
412
412
warn ! (
413
413
"Miner block proposal contains a tenure extend, but the burnchain view has not changed and enough time has not passed to refresh the block limit. Considering proposal invalid." ;
414
414
"proposed_block_consensus_hash" => %block. header. consensus_hash,
415
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
415
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
416
416
"extend_timestamp" => extend_timestamp,
417
417
"epoch_time" => epoch_time,
418
418
) ;
@@ -443,7 +443,7 @@ impl SortitionsView {
443
443
info ! (
444
444
"Most recent miner's tenure does not build off the prior sortition, checking if this is valid behavior" ;
445
445
"proposed_block_consensus_hash" => %block. header. consensus_hash,
446
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
446
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
447
447
"sortition_state.consensus_hash" => %sortition_state. consensus_hash,
448
448
"sortition_state.prior_sortition" => %sortition_state. prior_sortition,
449
449
"sortition_state.parent_tenure_id" => %sortition_state. parent_tenure_id,
@@ -457,7 +457,7 @@ impl SortitionsView {
457
457
if tenures_reorged. is_empty ( ) {
458
458
warn ! ( "Miner is not building off of most recent tenure, but stacks node was unable to return information about the relevant sortitions. Marking miner invalid." ;
459
459
"proposed_block_consensus_hash" => %block. header. consensus_hash,
460
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
460
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
461
461
) ;
462
462
return Ok ( false ) ;
463
463
}
@@ -479,7 +479,7 @@ impl SortitionsView {
479
479
warn ! (
480
480
"Miner is not building off of most recent tenure, but a tenure they attempted to reorg has already more than one globally accepted block." ;
481
481
"proposed_block_consensus_hash" => %block. header. consensus_hash,
482
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
482
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
483
483
"parent_tenure" => %sortition_state. parent_tenure_id,
484
484
"last_sortition" => %sortition_state. prior_sortition,
485
485
"violating_tenure_id" => %tenure. consensus_hash,
@@ -496,7 +496,7 @@ impl SortitionsView {
496
496
warn ! (
497
497
"Miner is not building off of most recent tenure, but a tenure they attempted to reorg has already mined blocks, and there is no local knowledge for that tenure's block timing." ;
498
498
"proposed_block_consensus_hash" => %block. header. consensus_hash,
499
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
499
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
500
500
"parent_tenure" => %sortition_state. parent_tenure_id,
501
501
"last_sortition" => %sortition_state. prior_sortition,
502
502
"violating_tenure_id" => %tenure. consensus_hash,
@@ -523,7 +523,7 @@ impl SortitionsView {
523
523
info ! (
524
524
"Miner is not building off of most recent tenure. A tenure they reorg has already mined blocks, but the block was poorly timed, allowing the reorg." ;
525
525
"proposed_block_consensus_hash" => %block. header. consensus_hash,
526
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
526
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
527
527
"proposed_block_height" => block. header. chain_length,
528
528
"parent_tenure" => %sortition_state. parent_tenure_id,
529
529
"last_sortition" => %sortition_state. prior_sortition,
@@ -545,7 +545,7 @@ impl SortitionsView {
545
545
warn ! (
546
546
"Miner is not building off of most recent tenure, but a tenure they attempted to reorg has already mined blocks." ;
547
547
"proposed_block_consensus_hash" => %block. header. consensus_hash,
548
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
548
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
549
549
"parent_tenure" => %sortition_state. parent_tenure_id,
550
550
"last_sortition" => %sortition_state. prior_sortition,
551
551
"violating_tenure_id" => %tenure. consensus_hash,
@@ -620,7 +620,7 @@ impl SortitionsView {
620
620
warn ! (
621
621
"Miner's block proposal does not confirm as many blocks as we expect" ;
622
622
"proposed_block_consensus_hash" => %block. header. consensus_hash,
623
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
623
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
624
624
"proposed_chain_length" => block. header. chain_length,
625
625
"expected_at_least" => info. block. header. chain_length + 1 ,
626
626
) ;
@@ -649,7 +649,7 @@ impl SortitionsView {
649
649
warn ! (
650
650
"Miner block proposal contains a tenure change, but failed to fetch the tenure tip for the parent tenure: {e:?}. Considering proposal invalid." ;
651
651
"proposed_block_consensus_hash" => %block. header. consensus_hash,
652
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
652
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
653
653
"parent_tenure" => %tenure_change. prev_tenure_consensus_hash,
654
654
) ;
655
655
return Ok ( false ) ;
@@ -677,7 +677,7 @@ impl SortitionsView {
677
677
warn ! (
678
678
"Miner's block proposal does not confirm as many blocks as we expect" ;
679
679
"proposed_block_consensus_hash" => %block. header. consensus_hash,
680
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
680
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
681
681
"proposed_chain_length" => block. header. chain_length,
682
682
"expected_at_least" => tip_height + 1 ,
683
683
) ;
@@ -730,8 +730,8 @@ impl SortitionsView {
730
730
warn ! (
731
731
"Miner block proposal contains a tenure change, but we've already signed a block in this tenure. Considering proposal invalid." ;
732
732
"proposed_block_consensus_hash" => %block. header. consensus_hash,
733
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
734
- "last_in_tenure_signer_sighash " => %last_in_current_tenure. block. header. signer_signature_hash( ) ,
733
+ "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
734
+ "last_in_tenure_signer_signature_hash " => %last_in_current_tenure. block. header. signer_signature_hash( ) ,
735
735
) ;
736
736
return Err ( RejectReason :: DuplicateBlockFound ) ;
737
737
}
@@ -749,7 +749,7 @@ impl SortitionsView {
749
749
info ! (
750
750
"Have no accepted blocks in the tenure, assuming block confirmation is correct" ;
751
751
"proposed_block_consensus_hash" => %block. header. consensus_hash,
752
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
752
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
753
753
"proposed_block_height" => block. header. chain_length,
754
754
) ;
755
755
return Ok ( true ) ;
@@ -760,7 +760,7 @@ impl SortitionsView {
760
760
warn ! (
761
761
"Miner's block proposal does not confirm as many blocks as we expect" ;
762
762
"proposed_block_consensus_hash" => %block. header. consensus_hash,
763
- "proposed_block_signer_sighash " => %block. header. signer_signature_hash( ) ,
763
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
764
764
"proposed_chain_length" => block. header. chain_length,
765
765
"expected_at_least" => last_known_block. block. header. chain_length + 1 ,
766
766
) ;
0 commit comments