Commit Graph

2518 Commits

Author SHA1 Message Date
Brice Dobry
80f3e9a1d7 Merge branch 'next' into chore/next-to-develop 2024-04-15 12:44:52 -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
wileyj
b12aea3464 removing portable flag 2024-04-05 11:01:18 -07:00
Jude Nelson
bdd0cc15f6 Merge branch 'develop' into feat/migrate-epoch24-to-epoch25 2024-04-03 19:38:04 +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
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
Brice Dobry
441b7edf60 Merge pull request #4556 from stacks-network/feat/config-start-block
feat: add config parameters for burn block start
2024-03-22 18:57:52 +00:00
Brice Dobry
5f8a6737e9 Merge pull request #4578 from stacks-network/fix-nakamoto-neon-mode
fix: allow `nakamoto-neon` mode
2024-03-22 17:30:37 +00:00
Brice Dobry
3bbcd92252 Merge branch 'next' into feat/config-start-block 2024-03-22 12:32:45 -04:00
Brice Dobry
6bbe6db67a chore: add clarifying comment per PR feedback 2024-03-22 11:56:21 -04:00
Jude Nelson
25311e4bda Merge pull request #4394 from stacks-network/feat/nakamoto-block-download-api
Feat/nakamoto block download API
2024-03-22 15:41:17 +00:00
Brice Dobry
6319d3bf0c fix: epoch 1.0 start height check 2024-03-22 10:05:32 -04:00
Brice Dobry
215f2aa6b8 fix: allow nakamoto-neon mode 2024-03-22 08:28:28 -04:00
Brice Dobry
140385c1df Merge pull request #4577 from stacks-network/feat/nakamoto-xenon
feat: make nakamoto mode the default
2024-03-21 22:11:02 +00:00
Jude Nelson
78b76f33a9 Merge branch 'feat/nakamoto-block-download-api' into feat/nakamoto-block-downloader 2024-03-21 17:05:22 -04:00
Brice Dobry
c96cb17f32 feat: make nakamoto mode the default
This enables nakamoto for xenon and mainnet modes, not just for
"nakamoto-neon".
2024-03-21 16:15:29 -04:00
Jude Nelson
b773422afc Merge branch 'feat/nakamoto-block-download-api' into feat/nakamoto-block-downloader 2024-03-21 14:53:45 -04:00
Jude Nelson
274e754aae Merge branch 'feat/nakamoto-block-download-api' into feat/nakamoto-block-downloader 2024-03-21 14:52:58 -04:00
Brice Dobry
5d4f8cd296 Merge branch 'develop' into merge-develop 2024-03-21 13:10:21 -04:00
Jacinta Ferrant
09255694ad Add missing line break
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-21 11:53:40 -04:00
Jacinta Ferrant
c6844d078c Add context to affirmation overrides xenon function
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-21 11:53:40 -04:00
Jacinta Ferrant
87f22b4897 Open writeable database connection to burnchain db
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-21 11:53:40 -04:00
Jacinta Ferrant
c21c1ca0d5 Make affirmation overrides an optional and test it default adds them for xenon
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-21 11:53:40 -04:00
Jacinta Ferrant
6d34791ddd Add affirmation overrides config option and add default xenon ones necessary to sync from genesis
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-21 11:53:38 -04:00
saralab
284945bcfe Merge pull request #4561 from stacks-network/feat/2.5-no-microblocks
Disable Microblocks in Epoch 2.5
2024-03-21 14:34:15 +00:00
Aaron Blankstein
cb219c9424 chore: merge artifacts 2024-03-20 22:15:13 -05:00
Aaron Blankstein
07527ae758 Merge branch 'next' into feat/miner-coordinator 2024-03-20 17:46:30 -05:00
Brice Dobry
657bc00f12 chore: expose start_bitcoind errors 2024-03-20 12:14:24 -04:00
Brice Dobry
fe74b14b70 feat: validate burn block start height against epoch start heights
Epoch 1.0 must be before the start block and epoch 2.0 must be equal to
the start block.
2024-03-20 11:52:32 -04:00
Aaron Blankstein
c9a97cbc29 chore: fix comment 2024-03-20 10:14:13 -05:00
Brice Dobry
6c9010c002 fix: handle burn chain flapping
This test (from Jude) can reproduce the problematic behavior when
the burnchain flaps between two branches.

- We get blocks at height 211 - 213
- Then we get a fork, with different blocks at 211-213, as well as 214
  and 215.
- We then flap back to the original fork, so it goes back to the common
  ancestor, 210, and tries to download 211-215
- When it gets block 211, it is already in the database, so it fails,
  cancelling the download of the rest of the blocks, leaving 214 and 215
  in this branch not stored
- Then we try to store 216, but its parent 215 is not stored yet, so we
  cannot continue.

The fix for this is to ignore attempts to store duplicate blocks.
2024-03-20 10:17:34 -04:00
Aaron Blankstein
c50a93088d refactor: address PR review comments 2024-03-19 20:33:52 -05:00
Brice Dobry
b214f23103 chore: ensure bitcoin indexer gets the correct starting height 2024-03-19 18:15:57 -04:00
Aaron Blankstein
4c1b5c56de feat: disable microblocks in epoch 2.5 2024-03-19 16:03:18 -05:00
Hank Stoever
7f3cf56188 feat: update integration tests, verify success 2024-03-19 11:27:27 -07:00
Aaron Blankstein
2bde48c42b chore: fix rustc warns, cleanup events logs on /new_blocks event, invert unconditional mine check in neon_node 2024-03-19 09:49:18 -05:00
Aaron Blankstein
605d94bb9c Merge branch 'next' into feat/miner-coordinator 2024-03-19 09:26:09 -05:00
Hank Stoever
7de226811c Merge remote-tracking branch 'origin/next' into feat/stacking-burnops-include-signer-key 2024-03-19 06:20:55 -07:00
jferrant
0e9cf5dc1b Merge pull request #4549 from stacks-network/feat/signers-subscribe-to-burn-blocks
Feat/signers subscribe to burn blocks
2024-03-18 19:57:14 +00:00
Aaron Blankstein
17fe25d425 Merge branch 'next' into feat/miner-coordinator 2024-03-18 14:19:03 -05:00
Brice Dobry
1e6b1cce8e feat: add config parameters for burn block start 2024-03-18 13:51:15 -04:00
Aaron Blankstein
9297a7010a refactor: signer set parsing 2024-03-18 11:58:31 -05:00
Aaron Blankstein
b4439f0cd3 refactor: use RPC interface for stackerdb chunk writes (with explicit loopback socket), use mutex for send-side of stacker db event channel 2024-03-18 09:49:57 -05:00