Commit Graph

2444 Commits

Author SHA1 Message Date
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
Aaron Blankstein
ac0c0873b2 cleanup sortdb invocations, remove unused structs, comments 2024-03-17 22:38:06 -05:00
Aaron Blankstein
9c19e9bab9 add rustdocs for StackerDBChannel 2024-03-16 13:13:05 -05:00
Aaron Blankstein
af5e626fda Merge remote-tracking branch 'origin/next' into feat/miner-coordinator 2024-03-16 12:50:08 -05:00
Matthew Little
d1700653ac Merge branch 'next' into dream-team-fixes 2024-03-15 18:16:46 +01:00
Aaron Blankstein
948e9bcbc7 test: update some integration tests to work with miner/coordinator scheme 2024-03-14 15:19:38 -05: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
Hank Stoever
a5e655070a feat: add signer bitvec to /new_block 2024-03-13 07:22:23 -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
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
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
Jacinta Ferrant
79f0da4026 Add logging to stop_tenure and stop_miner
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-08 15:31:12 -05:00
Aaron Blankstein
bdfc3604b1 more logging 2024-03-08 15:31:12 -05:00
Aaron Blankstein
ac9d7ba2a7 do not block miner on burnchain updates in nakamoto 2024-03-08 15:31:12 -05:00
Hank Stoever
24e43c4508 Merge remote-tracking branch 'origin/next' into feat/vote-for-key-burnop 2024-03-07 17:58:56 -08:00
Hank Stoever
27087a3d3e fix: cargo fmt error 2024-03-07 17:58:54 -08:00
Hank Stoever
458abfa1d8 fix: update tests with new stack-stx args 2024-03-07 17:55:15 -08:00
Hank Stoever
f8150929d5 fix: merge conflicts 2024-03-07 07:58:26 -08:00
Hank Stoever
204b8af00a Merge remote-tracking branch 'origin/next' into feat/vote-for-key-burnop 2024-03-07 07:58:15 -08:00
Matthew Little
242264ef67 Merge branch 'next' into feat/expand-new-block-event 2024-03-07 12:23:27 +01:00
Jacinta Ferrant
ceff67302e If the node fails to submit a block, do not unconditionally reattempt
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-06 13:05:07 -05:00
Matthew Little
14c3949869 Merge branch 'next' into ci/dry_x64_builds 2024-03-06 16:24:20 +01:00
Matthew Little
04e5eb2ee8 Merge pull request #4489 from stacks-network/feat/portable-build
feat: gate `target-cpu=native` with `portable` feature
2024-03-06 14:22:14 +00:00
Matthew Little
3af0343ead Merge branch 'next' into ci/dry_x64_builds 2024-03-06 15:03:11 +01:00
Matthew Little
e971d9439d Merge branch 'next' into feat/portable-build 2024-03-06 15:00:42 +01:00
Matthew Little
dead56fefa Merge branch 'next' into feat/expand-new-block-event 2024-03-06 13:42:21 +01:00
Hank Stoever
c9d8f8d66b Merge branch 'next' into feat/signer-key-amount-auth 2024-03-05 15:02:47 -08:00