Commit Graph

2618 Commits

Author SHA1 Message Date
Matthew Little
d1700653ac Merge branch 'next' into dream-team-fixes 2024-03-15 18:16:46 +01:00
Jude Nelson
d58ebf6dec fix: instantiate burnchain DB earlier in the test framework, since the p2p network needs it to exist 2024-03-15 13:10:34 -04:00
Jude Nelson
844a8edde2 fix: a bad slot signature should be a distinct error 2024-03-15 13:06:05 -04:00
Matthew Little
9664056710 fix: move event-dispatcher related code out of consensus & migration critical area 2024-03-15 16:54:29 +01:00
Hank Stoever
584ca20659 feat: use u32 for auth_id 2024-03-14 16:54:21 -07:00
Hank Stoever
99347e5441 fix: nakamoto integration test fix
(not enough UTXOs available)
2024-03-14 16:54:04 -07:00
Hank Stoever
1385683764 Merge remote-tracking branch 'origin/next' into feat/stacking-burnops-include-signer-key 2024-03-14 15:24:12 -07:00
Aaron Blankstein
948e9bcbc7 test: update some integration tests to work with miner/coordinator scheme 2024-03-14 15:19:38 -05:00
Jeff Bencin
122c9f6eb4 Merge commit 7c7a527 into multisig-order-independence 2024-03-14 15:33:11 -04:00
Aaron Blankstein
207cb690fe feat: naka miner acts as signer set coordinator during block signing
* Replaces msg_id u32 with an enum for message identification
* Adds an additional slot for miner messages
* Adds a sync channel for listening to StackerDB events
* Adds a StackerDBs method for pushing a chunk locally and emitting event
* Uses a new message type to store DKG results, to be read by miners to instantiate coordinator
* Uses a test signing channel for nakamoto integration tests
* Currently builds with a branch of wsts
2024-03-14 09:41:49 -05:00
saralab
87347e4e28 Merge pull request #4495 from stacks-network/bugfix/do-not-unconditionally-attempt-block-post-failure
Bugfix/do not unconditionally attempt block post submit failure
2024-03-14 14:12:49 +00:00
Brice Dobry
b04c240476 Merge branch 'next' into dream-team-fixes 2024-03-13 15:52:28 -04:00
Hank Stoever
616d33cd4f Merge pull request #4526 from stacks-network/feat/nakamoto-block-bitvec
feat: include signer bitvec in nakamoto block event
2024-03-13 18:47:26 +00:00
Jeff Bencin
dc247f447c Merge commit be489b4 into multisig-order-independence 2024-03-13 11:26:09 -04:00
Jeff Bencin
d11e073e59 Merge commit 15e76e5 into multisig-order-independence 2024-03-13 10:43:06 -04:00
Hank Stoever
a5e655070a feat: add signer bitvec to /new_block 2024-03-13 07:22:23 -07:00
Vadim Anufriev
c240216ac4 chore: use MAX instead of max_value() for numeric types, #3682 2024-03-13 14:56:28 +04:00
Jeff Bencin
5afef38846 Merge commit 3e21883 into multisig-order-independence 2024-03-12 18:33:26 -04:00
Jeff Bencin
fc81647b75 Merge commit e71444a into multisig-order-independence 2024-03-12 18:19:48 -04:00
Jeff Bencin
1076881131 Merge commit e716bb61b into multisig-order-independence 2024-03-12 16:15:38 -04:00
Jeff Bencin
7da84980dd Merge commit 2c1c777b9 into multisig-order-independence 2024-03-12 13:39:09 -04:00
Hank Stoever
2305f35f8d fix: integration test timeout 2024-03-12 10:00:11 -07:00
Hank Stoever
25fba11b99 feat: include signer bitvec in nakamoto block event 2024-03-12 09:28:51 -07:00
Hank Stoever
e3a76f7c3c feat: fix nakamoto integration test 2024-03-12 07:27:25 -07:00
Marzi
bb6b2a2d14 Add max_amount and auth_id to StackStxOp 2024-03-11 23:20:38 -04:00
Marzi
be99b3dd0b Format 2024-03-11 17:07:23 -04:00
Marzi
88dac0c8f6 Merged with next, fixed compile error but not broken integ tests 2024-03-11 17:04:29 -04:00
Marzi
5e13a45a37 Merge remote-tracking branch 'origin/next' into feat/stacking-burnops-include-signer-key
# Conflicts:
#	testnet/stacks-node/src/tests/nakamoto_integrations.rs
2024-03-11 16:37:18 -04:00
Brice Dobry
3202e27489 fix: use two different blocks for signing test 2024-03-11 16:05:51 -04:00
Hank Stoever
40933538ee Merge branch 'next' into feat/vote-for-key-burnop 2024-03-11 12:56:46 -07:00
Hank Stoever
ed4e3107b9 Merge remote-tracking branch 'origin/next' into feat/vote-for-key-burnop 2024-03-11 12:40:56 -07:00
Hank Stoever
c3d3ab7dfa Revert "Merge remote-tracking branch 'origin' into feat/vote-for-key-burnop"
This reverts commit c48924515c, reversing
changes made to 13251ac530.
2024-03-11 12:40:40 -07:00
Hank Stoever
c48924515c Merge remote-tracking branch 'origin' into feat/vote-for-key-burnop 2024-03-11 12:24:31 -07:00
wileyj
067633d7b1 Merge pull request #4460 from stacks-network/ci/dry_x64_builds
[CI] Dry x86-64-v3 builds/default images to use glibc
2024-03-11 19:23:05 +00:00
Brice Dobry
830b10dc57 chore: cleanup unused field 2024-03-11 11:42:59 -04:00
Marzi
14ce32e9ef Add StackStx Op with no signer key and more assertions to Nakamoto Integ test 2024-03-10 17:36:34 -04:00
Brice Dobry
dd95ad00e8 chore: remove unused variable 2024-03-09 11:06:30 -05:00
Brice Dobry
31d52272b7 chore: cleanup excessive logging 2024-03-09 11:06:30 -05:00
Aaron Blankstein
92325502d2 logs: better miner assembly and broadcasting logging 2024-03-08 22:05:55 -06:00
Aaron Blankstein
b9c9ece00f feat: add a parity check and filter events sent to the signer instances 2024-03-08 21:01:20 -06:00
Aaron Blankstein
d56895a600 feat: use block proposal struct for miner -> signers comms. check claimed reward-cycle 2024-03-08 18:50:57 -06:00
Brice Dobry
80121d8bb6 Merge pull request #4503 from stacks-network/chore/event-receiver-logging
chore: add more logging to the event receiver
2024-03-08 22:36:55 +00:00
Brice Dobry
429cc1e047 chore: remove unused variable 2024-03-08 17:06:25 -05:00
Brice Dobry
009ba808dc chore: cleanup excessive logging 2024-03-08 17:02:05 -05:00
Jacinta Ferrant
e577139b64 Have miners abort signing a block if the burn tip changes
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-08 16:44:30 -05:00
Jacinta Ferrant
cc2109abb2 Have miners abort signing a block if the burn tip changes
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-08 16:29:23 -05:00
Jacinta Ferrant
9df82bbec9 Log in wait_for_signer_signature on outdated signature and stackerdb queries
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-08 15:31:12 -05:00
Jacinta Ferrant
fa8647dbce Log if an outdated signature block hash arrives
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-08 15:31:12 -05:00
Jacinta Ferrant
77438205f2 Add logging to success and failure cases in handle_sortition
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-08 15:31:12 -05:00
Jacinta Ferrant
893a5a83bf Add redundent parent tenure ID printing in run_miner
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-08 15:31:12 -05:00