Commit Graph

247 Commits

Author SHA1 Message Date
Jude Nelson
6f21d1e800 fix: remove std feature requirement 2024-08-12 16:46:31 -04:00
Jude Nelson
545f61b56b fix: upgrade time crate to 0.3.36 to fix compatibility with rust 1.80 2024-08-12 16:01:07 -04:00
Aaron Blankstein
6e64d0df02 fix: signer slots count in staging 2024-06-18 10:28:58 -05:00
wileyj
3906688766 Revert "Fix/signer slot count" 2024-06-04 09:40:04 -07:00
Jude Nelson
631138fca3 fix: the number of stacker signer slots is 13 for Nakamoto 2024-06-03 18:06:44 -04:00
Brice Dobry
cf01028d65 Merge pull request #4791 from stacks-network/feat/sqlite-feature-flag
Make rusqlite optional
2024-05-17 17:39:47 +00:00
Hugo Caillard
951c479001 refactor: gate bitvec sql methods 2024-05-17 10:03:33 +02:00
Hugo Caillard
35f24017e0 refactor: add copyright 2024-05-16 11:13:22 +02:00
Hugo Caillard
2cfcb77ae4 fix: remove unused rustqlite imports 2024-05-14 18:11:43 +02:00
Hugo Caillard
11fb999e2a feat: add a canonical feature in stacks-common and in clarity 2024-05-14 17:19:03 +02:00
Hugo Caillard
4a7fed2a65 refactor: add stacks-common/src/types/sqlite.rs 2024-05-14 15:32:48 +02:00
Brice Dobry
7a01d75873 Merge branch 'develop' into feat/stacks-block-height 2024-05-08 21:41:30 -04:00
Brice Dobry
aa83223479 docs: add rustdocs to get_(min|max)_version 2024-05-08 12:51:31 -04:00
Brice Dobry
aef35a1a57 refactor: move lookup_by_name_at_version into the macro
Instead of defining it separately in each of several different types,
just add this method to the macro. h/t @kantai's review suggestion.
2024-05-08 12:44:35 -04:00
Brice Dobry
a51579a1b2 Merge branch 'develop' into feat/stacks-block-height 2024-05-03 23:28:03 -04:00
Jude Nelson
88e821279f chore: cargo fmt 2024-04-29 21:48:43 -04:00
Jude Nelson
8c09cbd48d Merge branch 'develop' into feat/bitcoin-mev 2024-04-29 10:04:12 -04:00
Jude Nelson
2cf2fba065 feat: mining commit and frequency functions for epochs 2024-04-29 10:00:11 -04:00
Jude Nelson
275b200b82 chore: expose mining commit window constant 2024-04-29 09:59:50 -04:00
Brice Dobry
807d54c07a feat: add max version for builtins
In addition to specifying a minimum version, when a builtin is first
available, we can now also specify a maximum version, after which the
builtin is no longer available. This is needed for `block-height`, which
will not be available starting in Clarity 3.
2024-04-22 16:43:01 -04:00
Hank Stoever
72dd5a4443 feat: initialize BitVec with correct length and track next BitVec 2024-04-18 11:20:38 -07:00
Mårten Blankfors
952275aba6 feat: (Signer) Persist encrypted dkg shares in StackerDB 2024-04-08 22:10:04 +02:00
Aaron Blankstein
aab1ffb60c feat: more efficient tuple types, reduce type map tracking overhead 2024-04-02 11:45:00 -05:00
Aaron Blankstein
19a373f89a feat: remove missed-slot unlocks in 2.5
* test for the missed slots PoX behavior in 2.5
* test for *near* zero PoX participation behavior in 2.5
2024-03-21 12:50:41 -05:00
Aaron Blankstein
ac0c0873b2 cleanup sortdb invocations, remove unused structs, comments 2024-03-17 22:38:06 -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
wileyj
5ca35e866e Merge branch 'next' into ci/dry_x64_builds 2024-03-04 10:59:32 -08:00
wileyj
e00243f81f conditionally exclude some crates when target os is windows or macos 2024-02-29 11:42:26 -08:00
Jeff Bencin
3c8d656b44 chore: Remove imports already included by std::prelude 2024-02-28 11:05:56 -05:00
Jeff Bencin
16bd17cd43 chore: Address Brice's PR comment 2024-02-27 17:37:45 -05:00
Jeff Bencin
5a3b6f6895 chore: Address Brice's PR comments 2024-02-27 17:37:45 -05:00
Jeff Bencin
a6e3bedb21 chore: Minor performance tweaks 2024-02-27 17:37:45 -05:00
Jeff Bencin
29cfdb8620 chore: Undo flat_map() changes because this seems to optimize significantly worse than a for loop 2024-02-27 17:37:45 -05:00
Jeff Bencin
05c63dc3b2 chore(stacks-common): Clean up Vec operations in transaction.rs 2024-02-27 17:37:45 -05:00
Jeff Bencin
04ddd83192 chore(stacks-common): Use vec::with_capacity() when possible to allocate vectors 2024-02-27 17:37:45 -05:00
Jeff Bencin
384f7da64d Merge branch stacks/next into chore/fix-clippy-warnings 2024-02-20 11:22:15 -05:00
Jeff Bencin
f8c6760734 chore: Replace HashMap and HashSet with Hashbrown versions (skip ./stackslib and ./testnet/stacks-node) 2024-02-20 11:10:01 -05:00
Jeff Bencin
76fec5b6cb chore: Address Aaron's PR comments 2024-02-20 10:57:19 -05:00
Jeff Bencin
cde15364ae Merge branch stacks/next into chore/fix-clippy-warnings 2024-02-17 21:40:01 -05:00
Jude Nelson
2892f054e4 Merge branch 'next' into feat/nakamoto-inv-state-machine 2024-02-15 16:26:30 -05:00
Aaron Blankstein
41df072c8d chore: update ed25519-dalek and rand libraries, use workspace versioning 2024-02-15 13:32:56 -06:00
Jude Nelson
842ff83f84 Merge branch 'feat/nakamoto-inv-state-machine' of https://github.com/stacks-network/stacks-blockchain into feat/nakamoto-inv-state-machine 2024-02-14 17:17:46 -05:00
Jude Nelson
357d41ab7c chore: address PR feedback 2024-02-14 17:17:24 -05:00
Jeff Bencin
d42a5767d4 Merge branch stacks/next into chore/fix-clippy-warnings 2024-02-14 14:21:46 -05:00
Jeff Bencin
895bd86123 Merge branch 'next' into test/replay-block 2024-02-12 12:51:10 -05:00
Jeff Bencin
60d02d906a Merge branch stacks/next into chore/fix-clippy-warnings 2024-02-10 11:04:29 -05:00
Jude Nelson
33280f36b8 Merge branch 'next' into feat/larger-stackerdb 2024-02-09 11:49:54 -05:00
saralab
a301cc3be0 Merge branch 'next' into chore/fix-clippy-warnings 2024-02-08 21:07:28 -05:00
Jeff Bencin
91cb7d88c6 Merge stacks/test/replay-block into jbencin/test/replay-block 2024-02-08 17:16:10 -05:00
Jude Nelson
def1a1cf57 fix: signer slots per user is now 12 2024-02-06 13:10:58 -05:00