Commit Graph

22157 Commits

Author SHA1 Message Date
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
Brice Dobry
49eb61a705 chore: delete commented code
We decided that since the signerdb is in the filesystem, we do not need
to garbage collect it.
2024-03-13 16:03:41 -04:00
Brice Dobry
b04c240476 Merge branch 'next' into dream-team-fixes 2024-03-13 15:52:28 -04:00
Hank Stoever
53173e593f Merge pull request #4536 from stacks-network/fix/validate-vote-burnop-keys
fix: add wsts::Point validation to `vote-for-aggregate-key` burn op
2024-03-13 19:26:13 +00: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
Brice Dobry
e9404a5ff3 Merge pull request #4537 from stacks-network/fix/expected-size-debug
fix: correct deserialization size check
2024-03-13 17:32:38 +00:00
Brice Dobry
238a099ba9 fix: correct deserialization size check
This fixes the condition controlling a debug message related to value
sanitization.
2024-03-13 12:49:37 -04:00
ASuciuX
d458b74588 Merge pull request #4521 from ASuciuX/chore/rename-clarity-methods
Rename 'get'/'put' Methods in Clarity
2024-03-13 16:25:59 +00:00
Hank Stoever
6b01281e4c fix: add wsts::Point validation to vote-for-aggregate-key burn op 2024-03-13 08:46:21 -07:00
Matthew Little
fec1cb57bc Merge pull request #4524 from stacks-network/feat/add-pox-threshold-event-data
feat: add `pox_stx_threshold` amount to `/new_block` event data
2024-03-13 14:31:49 +00:00
Hank Stoever
a5e655070a feat: add signer bitvec to /new_block 2024-03-13 07:22:23 -07:00
Hank Stoever
9058e22a4a Merge pull request #4376 from stacks-network/feat/vote-for-key-burnop
feat: burn op definition and storage for vote-for-agg-key
2024-03-13 13:34:51 +00:00
Matthew Little
d38a9e6764 Merge branch 'next' into feat/add-pox-threshold-event-data 2024-03-13 10:22:42 +01:00
wileyj
87c0c00f85 Merge pull request #4497 from BowTiedDevOps/feat/move-build-scripts-to-composite
Move the Creation of Source Binaries to Composite
2024-03-12 20:28:52 +00:00
Matthew Little
ebbfe1e87e chore: pr feedback pox_stx_threshold to pox_ustx_threshold 2024-03-12 18:34:05 +01:00
Matthew Little
27df25951f chore: simplify syntax 2024-03-12 18:24:26 +01:00
Matthew Little
5150acf3b1 Merge pull request #4522 from stacks-network/fix/stacked-amt-json-serialization
fix: `stacked_amt: u128` should serialize as string
2024-03-12 17:22:22 +00:00
Matthew Little
a97117cd2e chore: fix tests 2024-03-12 17:59:46 +01:00
Hank Stoever
25fba11b99 feat: include signer bitvec in nakamoto block event 2024-03-12 09:28:51 -07:00
Brice Dobry
fc617a2e05 Merge pull request #4525 from stacks-network/feat/cycle-keyed-db
fix: add reward cycle to signerdb
2024-03-12 11:59:42 -04:00
Brice Dobry
481b01c536 fix: add reward cycle to signerdb
The blocks should always be associated with a specific reward cycle so
that the signers do not take actions on blocks from the previous cycle.
2024-03-12 10:28:10 -04:00
Hank Stoever
e3a76f7c3c feat: fix nakamoto integration test 2024-03-12 07:27:25 -07:00
BowTiedDevOps
a9768e8cfa Merge remote-tracking branch 'upstream/next' into feat/move-build-scripts-to-composite 2024-03-12 16:18:37 +02:00
wileyj
ae8a483fe4 Merge pull request #4470 from BowTiedRadone/feat/pox-4-property-tests
Add property tests for PoX-4 read-only functions
2024-03-12 14:03:17 +00:00
Matthew Little
abb47dd806 feat: add pox_stx_threshold amount to /new_block event data 2024-03-12 14:26:19 +01:00
Matthew Little
b7e2590539 fix: JSON serialization for stacked_amt u128 should use string 2024-03-12 14:14:57 +01:00
ASuciuX
c4af9027be Merge branch 'next' into chore/rename-clarity-methods 2024-03-12 13:56:39 +02:00
BowTiedRadone
ad0e26593b Merge branch 'next' into feat/pox-4-property-tests 2024-03-12 00:01:32 +02:00
Brice Dobry
04760376b5 Merge pull request #4518 from stacks-network/http-1.1
chore: ensure all http/1.1 requests are properly structured
2024-03-11 16:24:20 -04:00
Hank Stoever
24a177d435 Merge pull request #4517 from stacks-network/fix/dont-rotate-coordinators
feat: add const to determine whether to rotate coordinator
2024-03-11 13:21:44 -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
BowTiedDevOps
36ae800d35 feat: remove test timeout env variable 2024-03-11 21:20:08 +02:00
Hank Stoever
7891f7e3f0 feat: add const to determine whether to rotate coordinator 2024-03-11 10:18:57 -07:00
Brice Dobry
17656a3863 chore: ensure all http/1.1 requests are properly structured 2024-03-11 13:15:58 -04:00
Brice Dobry
52f2c99bfe Merge pull request #4516 from stacks-network/brice/minor-changes
Minor changes / clean up
2024-03-11 12:42:49 -04:00
Brice Dobry
6daf9730c2 logs: quiet warning when signer is not registered for future cycle 2024-03-11 11:42:59 -04:00
Brice Dobry
fd1750108c feat: skip rest of loop when signer's tenure has completed 2024-03-11 11:42:59 -04:00
Brice Dobry
830b10dc57 chore: cleanup unused field 2024-03-11 11:42:59 -04:00
Hank Stoever
a1c226c308 feat: select coordinator just from pubkey alone 2024-03-11 08:22:55 -07:00
ASuciuX
59d7907ee1 feat: rename 'get'/'put' methods in clarity to 'get_data'/'put_data' 2024-03-11 13:53:42 +02:00
BowTiedRadone
912acb8868 Remove assertion that causes Typescript error
Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
2024-03-11 13:00:25 +02:00
BowTiedRadone
09b61beead Merge branch 'feat/pox-4-property-tests' of https://github.com/BowTiedRadone/stacks-core into feat/pox-4-property-tests 2024-03-11 00:11:52 +02:00
BowTiedRadone
ec2364b46c Add assertion to CI failing test 2024-03-11 00:11:05 +02:00
Brice Dobry
f077e08d11 fix: use http/1.1, not http/1.0 2024-03-10 15:35:50 -04:00
Brice Dobry
249ee5385e Merge pull request #4513 from stacks-network/bugfix/cleanup-outdated-signers
Bugfix/cleanup outdated signers
2024-03-09 16:55:08 -05:00