Commit Graph

2618 Commits

Author SHA1 Message Date
Aaron Blankstein
7768d0069d test: get Tenure C to correctly stall due to Tenure Bs unbroadcasted block 2024-04-24 16:17:33 -07:00
Brice Dobry
46ccb47415 test: improvements to forked_tenure_is_ignored test 2024-04-24 16:17:33 -07:00
Brice Dobry
b4ed5f361d test: next attempt at fixing forked_tenure_is_ignored 2024-04-24 16:17:33 -07:00
Jacinta Ferrant
542954dfd4 Still brokenness part 2
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-24 16:17:33 -07:00
Jacinta Ferrant
94ed10c767 Still brokenness
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-24 16:17:33 -07:00
Jacinta Ferrant
00006c62e8 Slightly less brokenness
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-24 16:17:33 -07:00
Jacinta Ferrant
6be9343a15 Brokenness part 2
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-24 16:17:33 -07:00
Jacinta Ferrant
855e9cb4bb Brokenness
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-24 16:17:33 -07:00
Jacinta Ferrant
d052cea89e WIP: do not submit the block commit to bitcoin network, but still create it and register that it was submitted in the globals
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-24 16:17:33 -07:00
Jacinta Ferrant
309e003263 WIP: add test to try to trigger NewParentDiscovered error
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-24 16:17:33 -07:00
Jacinta Ferrant
3fc7319651 WIP: add testing global mutexes to force correct scenario
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-24 16:17:33 -07:00
Jacinta Ferrant
eae6935784 Fix var name to be header rather than id
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-24 16:17:33 -07:00
Jacinta Ferrant
9ecfc9f3d6 Get the last block of the parent tenure when the new tenure is empty
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-24 16:17:33 -07:00
Jacinta Ferrant
64dca26168 Do not use canonical tip as a fork may have happened when getting parent info for a miner
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-24 16:17:33 -07:00
Hank Stoever
75441e25a9 Merge branch 'develop' into feat/miner-bitvec 2024-04-23 06:58:46 -07:00
Jeff Bencin
d76fd81902 feat: Add nakamoto_attempt_time_ms to control Nakamoto miner 2024-04-22 11:01:31 -04:00
Hank Stoever
7d7b27019e crc: default to 0 bitvec length 2024-04-18 11:20:38 -07:00
Hank Stoever
72dd5a4443 feat: initialize BitVec with correct length and track next BitVec 2024-04-18 11:20:38 -07:00
Jacinta Ferrant
167ed42cc4 Remove redundant block proposal message and fix tests
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-18 10:48:34 -07:00
Jacinta Ferrant
d0c887125b Fix test
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-18 08:37:53 -07:00
Jacinta Ferrant
8f6af15ee3 Merge branch 'develop' of https://github.com/stacks-network/stacks-core into feat/signers-read-stackerdb 2024-04-17 12:47:15 -07:00
Mårten Blankfors
54dcbb7d52 fix: match SignerMessage::EncryptedSignerState as a tuple variant and not a struct 2024-04-16 09:09:35 +02:00
Mårten Blankfors
ab84cbadce Merge branch 'develop' into 4595-nakamoto-stacks-signer-should-store-its-dkg-shares-in-stackerdb-to-enable-disaster-recovery 2024-04-16 08:51:24 +02:00
Brice Dobry
80f3e9a1d7 Merge branch 'next' into chore/next-to-develop 2024-04-15 12:44:52 -04:00
Aaron Blankstein
b8d94a10a2 feat: better consensus hash handling during tip selection 2024-04-12 10:10:47 -05:00
Aaron Blankstein
f7f98b43f4 fix: default 2.5 xenon affirmation overrides, allow config setting to bypass defaults 2024-04-11 11:23:54 -05:00
Jude Nelson
100ccd6e3b fix: on Bitcoin reorgs, burnchain ops can be stored more than once due to the schema we use. Don't allow more than one of them to be returned on a query, and stop storing duplicates. 2024-04-10 15:33:44 -04:00
Aaron Blankstein
1172ac0a91 feat: add affirmation map overrides to xenon default config for epoch 2.5 testnet reorg 2024-04-09 14:01:15 -05:00
wileyj
47d480c5e4 removing portable flag 2024-04-09 07:34:02 -07:00
Mårten Blankfors
35d39170e2 fix: Skip unviable mutants 2024-04-09 13:31:02 +02:00
Mårten Blankfors
ebfe52464e Merge branch 'next' into 4595-nakamoto-stacks-signer-should-store-its-dkg-shares-in-stackerdb-to-enable-disaster-recovery 2024-04-09 12:59:01 +02:00
Mårten Blankfors
952275aba6 feat: (Signer) Persist encrypted dkg shares in StackerDB 2024-04-08 22:10:04 +02:00
Jacinta Ferrant
2aaa669c47 Do not attempt to process sign messages as miner messages are always overwritten so its impossible to do properly
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-08 11:52:19 -07:00
Jacinta Ferrant
18f3c0344c WIP: issues when tries to start DKG before initialized
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-08 10:47:13 -07:00
Jacinta Ferrant
8681bffd87 WIP: initial testing framework
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-08 10:47:13 -07:00
wileyj
b12aea3464 removing portable flag 2024-04-05 11:01:18 -07:00
Fess
758c58a44c fix: remove logic for epoch gating 2024-04-04 19:39:39 +04:00
Vlad
0deff44b1d Merge pull request #3 from jbencin/multisig-order-independence
chore: Remove `DeserializeWithEpoch` trait
2024-04-04 10:25:33 +04:00
Jeff Bencin
7b4794db06 chore: Remove DeserializeWithEpoch trait 2024-04-04 00:16:32 -04:00
Jude Nelson
bdd0cc15f6 Merge branch 'develop' into feat/migrate-epoch24-to-epoch25 2024-04-03 19:38:04 +00:00
Jude Nelson
c17045d7ad Merge branch 'next' into draft/multisig-order-independence 2024-04-03 14:35:59 +00:00
Jacinta Ferrant
3c4e1246d7 Fix bad merge
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-02 12:50:27 -04:00
Jacinta Ferrant
110d04e612 CRC: add config tests and remove config log
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-02 08:59:55 -04:00
Jacinta Ferrant
00fd7db252 Update stacks-signer to attempt to estimate the transaction fee if a user sets max_tx_fee_ustx in the config
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-02 08:54:54 -04:00
Jacinta Ferrant
abfc68a3a3 Seperate unsigned and signed transaction building and update tests
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-04-02 08:52:39 -04:00
Jude Nelson
cd313a6dd5 Merge branch 'next' into feat/migrate-epoch24-to-epoch25 2024-03-28 16:43:26 -04:00
Jude Nelson
fafc419b66 chore: API sync for chain migration 2024-03-28 16:42:24 -04:00
Jeff Bencin
80a356553c Merge branch 'next' into draft/multisig-order-independence 2024-03-26 12:43:28 -04:00
Mårten Blankfors
818f0cf725 feat: Improved integration test isolation by reintroducing a random run stamp 2024-03-25 22:38:37 +01:00
Mårten Blankfors
ea0766efe3 feat: Integration test with signer reboot 2024-03-25 09:55:11 +01:00