You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stacks-signer/CHANGELOG.md
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,13 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE
7
7
8
8
## [Unreleased]
9
9
10
+
### Changed
11
+
12
+
- For some rejection reasons, a signer will reconsider a block proposal that it previously rejected ([#5880](https://github.com/stacks-network/stacks-core/pull/5880))
13
+
10
14
## [3.1.0.0.7.0]
11
15
12
-
## Changed
16
+
###Changed
13
17
14
18
- Add new reject codes to the signer response for better visibility into why a block was rejected.
15
19
- When allowing a reorg within the `reorg_attempts_activity_timeout_ms`, the signer will now watch the responses from other signers and if >30% of them reject this reorg attempt, then the signer will mark the miner as invalid, reject further attempts to reorg and allow the previous miner to extend their tenure.
@@ -20,7 +24,7 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE
20
24
21
25
## [3.1.0.0.6.0]
22
26
23
-
## Added
27
+
###Added
24
28
25
29
- Introduced the `reorg_attempts_activity_timeout_ms` configuration option for signers which is used to determine the length of time after the last block of a tenure is confirmed that an incoming miner's attempts to reorg it are considered valid miner activity.
26
30
- Add signer configuration option `tenure_idle_timeout_buffer_secs` to specify the number of seconds of buffer the signer will add to its tenure extend time that it sends to miners. The idea is to allow for some clock skew between the miner and signers, preventing the case where the miner attempts to tenure extend too early.
/// Create a block rejection response for a block with the given reject code
395
397
pubfncreate_block_rejection(
396
398
&self,
@@ -411,6 +413,7 @@ impl Signer {
411
413
),
412
414
)
413
415
}
416
+
414
417
/// Check if block should be rejected based on sortition state
415
418
/// Will return a BlockResponse::Rejection if the block is invalid, none otherwise.
416
419
fncheck_block_against_sortition_state(
@@ -556,33 +559,19 @@ impl Signer {
556
559
// TODO: should add a check to ignore an old burn block height if we know its outdated. Would require us to store the burn block height we last saw on the side.
557
560
// the signer needs to be able to determine whether or not the block they're about to sign would conflict with an already-signed Stacks block
558
561
let signer_signature_hash = block_proposal.block.header.signer_signature_hash();
0 commit comments