@@ -284,7 +284,7 @@ impl SortitionsView {
284
284
warn ! (
285
285
"Miner block proposal has bitvec field which punishes in disagreement with signer. Considering invalid." ;
286
286
"proposed_block_consensus_hash" => %block. header. consensus_hash,
287
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
287
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
288
288
"current_sortition_consensus_hash" => ?self . cur_sortition. consensus_hash,
289
289
"last_sortition_consensus_hash" => ?self . last_sortition. as_ref( ) . map( |x| x. consensus_hash) ,
290
290
) ;
@@ -322,7 +322,7 @@ impl SortitionsView {
322
322
warn ! (
323
323
"Miner block proposal has consensus hash that is neither the current or last sortition. Considering invalid." ;
324
324
"proposed_block_consensus_hash" => %block. header. consensus_hash,
325
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
325
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
326
326
"current_sortition_consensus_hash" => ?self . cur_sortition. consensus_hash,
327
327
"last_sortition_consensus_hash" => ?self . last_sortition. as_ref( ) . map( |x| x. consensus_hash) ,
328
328
) ;
@@ -333,7 +333,7 @@ impl SortitionsView {
333
333
warn ! (
334
334
"Miner block proposal pubkey does not match the winning pubkey hash for its sortition. Considering invalid." ;
335
335
"proposed_block_consensus_hash" => %block. header. consensus_hash,
336
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
336
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
337
337
"proposed_block_pubkey" => & block_pk. to_hex( ) ,
338
338
"proposed_block_pubkey_hash" => %block_pkh,
339
339
"sortition_winner_pubkey_hash" => %proposed_by. state( ) . miner_pkh,
@@ -348,7 +348,7 @@ impl SortitionsView {
348
348
warn ! (
349
349
"Current miner behaved improperly, this signer views the miner as invalid." ;
350
350
"proposed_block_consensus_hash" => %block. header. consensus_hash,
351
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
351
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
352
352
) ;
353
353
return Err ( RejectReason :: InvalidMiner ) ;
354
354
}
@@ -362,7 +362,7 @@ impl SortitionsView {
362
362
warn ! (
363
363
"Miner block proposal is from last sortition winner, when the new sortition winner is still valid. Considering proposal invalid." ;
364
364
"proposed_block_consensus_hash" => %block. header. consensus_hash,
365
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
365
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
366
366
"current_sortition_miner_status" => ?self . cur_sortition. miner_status,
367
367
"last_sortition" => %last_sortition. consensus_hash
368
368
) ;
@@ -407,7 +407,7 @@ impl SortitionsView {
407
407
warn ! (
408
408
"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." ;
409
409
"proposed_block_consensus_hash" => %block. header. consensus_hash,
410
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
410
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
411
411
"extend_timestamp" => extend_timestamp,
412
412
"epoch_time" => epoch_time,
413
413
) ;
@@ -435,7 +435,7 @@ impl SortitionsView {
435
435
info ! (
436
436
"Most recent miner's tenure does not build off the prior sortition, checking if this is valid behavior" ;
437
437
"proposed_block_consensus_hash" => %block. header. consensus_hash,
438
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
438
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
439
439
"sortition_state.consensus_hash" => %sortition_state. consensus_hash,
440
440
"sortition_state.prior_sortition" => %sortition_state. prior_sortition,
441
441
"sortition_state.parent_tenure_id" => %sortition_state. parent_tenure_id,
@@ -449,7 +449,7 @@ impl SortitionsView {
449
449
if tenures_reorged. is_empty ( ) {
450
450
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." ;
451
451
"proposed_block_consensus_hash" => %block. header. consensus_hash,
452
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
452
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
453
453
) ;
454
454
return Ok ( false ) ;
455
455
}
@@ -471,7 +471,7 @@ impl SortitionsView {
471
471
warn ! (
472
472
"Miner is not building off of most recent tenure, but a tenure they attempted to reorg has already more than one globally accepted block." ;
473
473
"proposed_block_consensus_hash" => %block. header. consensus_hash,
474
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
474
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
475
475
"parent_tenure" => %sortition_state. parent_tenure_id,
476
476
"last_sortition" => %sortition_state. prior_sortition,
477
477
"violating_tenure_id" => %tenure. consensus_hash,
@@ -488,7 +488,7 @@ impl SortitionsView {
488
488
warn ! (
489
489
"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." ;
490
490
"proposed_block_consensus_hash" => %block. header. consensus_hash,
491
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
491
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
492
492
"parent_tenure" => %sortition_state. parent_tenure_id,
493
493
"last_sortition" => %sortition_state. prior_sortition,
494
494
"violating_tenure_id" => %tenure. consensus_hash,
@@ -515,7 +515,7 @@ impl SortitionsView {
515
515
info ! (
516
516
"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." ;
517
517
"proposed_block_consensus_hash" => %block. header. consensus_hash,
518
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
518
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
519
519
"proposed_block_height" => block. header. chain_length,
520
520
"parent_tenure" => %sortition_state. parent_tenure_id,
521
521
"last_sortition" => %sortition_state. prior_sortition,
@@ -537,7 +537,7 @@ impl SortitionsView {
537
537
warn ! (
538
538
"Miner is not building off of most recent tenure, but a tenure they attempted to reorg has already mined blocks." ;
539
539
"proposed_block_consensus_hash" => %block. header. consensus_hash,
540
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
540
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
541
541
"parent_tenure" => %sortition_state. parent_tenure_id,
542
542
"last_sortition" => %sortition_state. prior_sortition,
543
543
"violating_tenure_id" => %tenure. consensus_hash,
@@ -612,7 +612,7 @@ impl SortitionsView {
612
612
warn ! (
613
613
"Miner's block proposal does not confirm as many blocks as we expect" ;
614
614
"proposed_block_consensus_hash" => %block. header. consensus_hash,
615
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
615
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
616
616
"proposed_chain_length" => block. header. chain_length,
617
617
"expected_at_least" => info. block. header. chain_length + 1 ,
618
618
) ;
@@ -641,7 +641,7 @@ impl SortitionsView {
641
641
warn ! (
642
642
"Miner block proposal contains a tenure change, but failed to fetch the tenure tip for the parent tenure: {e:?}. Considering proposal invalid." ;
643
643
"proposed_block_consensus_hash" => %block. header. consensus_hash,
644
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
644
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
645
645
"parent_tenure" => %tenure_change. prev_tenure_consensus_hash,
646
646
) ;
647
647
return Ok ( false ) ;
@@ -669,7 +669,7 @@ impl SortitionsView {
669
669
warn ! (
670
670
"Miner's block proposal does not confirm as many blocks as we expect" ;
671
671
"proposed_block_consensus_hash" => %block. header. consensus_hash,
672
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
672
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
673
673
"proposed_chain_length" => block. header. chain_length,
674
674
"expected_at_least" => tip_height + 1 ,
675
675
) ;
@@ -741,7 +741,7 @@ impl SortitionsView {
741
741
info ! (
742
742
"Have no accepted blocks in the tenure, assuming block confirmation is correct" ;
743
743
"proposed_block_consensus_hash" => %block. header. consensus_hash,
744
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
744
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
745
745
"proposed_block_height" => block. header. chain_length,
746
746
) ;
747
747
return Ok ( true ) ;
@@ -752,7 +752,7 @@ impl SortitionsView {
752
752
warn ! (
753
753
"Miner's block proposal does not confirm as many blocks as we expect" ;
754
754
"proposed_block_consensus_hash" => %block. header. consensus_hash,
755
- "proposed_block_signer_signature_hash " => %block. header. signer_signature_hash( ) ,
755
+ "signer_signature_hash " => %block. header. signer_signature_hash( ) ,
756
756
"proposed_chain_length" => block. header. chain_length,
757
757
"expected_at_least" => last_known_block. block. header. chain_length + 1 ,
758
758
) ;
0 commit comments