Commit Graph

16842 Commits

Author SHA1 Message Date
Aaron Blankstein
ce2c228633 Merge branch 'develop' into zone117x-patch-2 2022-05-31 09:12:41 -05:00
Ludo Galabru
0fc9c3ee49 Merge pull request #3151 from stacks-network/fix/update-clarinet-test
fix: use latest clarinet test lib
2022-05-25 22:28:48 -04:00
Ludo Galabru
e570d394ec fix: use latest clarinet test lib 2022-05-25 16:57:27 -04:00
Matthew Little
eb8f237c0c chore: update vscode rust-analyzer extension ID
The `matklad.rust-analyzer` vscode rust extension changed to `rust-lang.rust-analyzer` in Feb 2022, see https://blog.rust-lang.org/2022/02/21/rust-analyzer-joins-rust-org.html -- this fixes the vscode error prompt due to the no longer existent plugin ID being specified
2022-05-24 17:29:21 +02:00
Jude Nelson
584a7fe87b Merge pull request #2858 from stacks-network/feat/clarinet-setup
Leveraging Clarinet for core contracts
2022-05-05 14:12:35 +00:00
Aaron Blankstein
75c266563f oops, fix pathing change 2022-05-04 14:13:41 -05:00
Aaron Blankstein
199017a7f8 feat: add gh action for clarinet tests, move clarinet definitions to contrib/ 2022-05-04 12:13:01 -05:00
Aaron Blankstein
3713fba802 Merge branch 'develop' into feat/clarinet-setup 2022-05-04 12:07:28 -05:00
pavitthrap
d38f7f2328 Merge pull request #3119 from stacks-network/cleanup/clarity-fns
cleanup: added tests + updated docs for burn-related Clarity functions
2022-05-04 11:14:57 -04:00
pavitthrap
706eedbf09 Merge branch 'develop' into cleanup/clarity-fns 2022-05-03 17:43:59 -04:00
Pavitthra Pandurangan
141840871a update test assertion 2022-05-03 15:05:29 -04:00
Jude Nelson
46410014cc Merge pull request #3122 from stacks-network/fix/vacuum-on-migrate
fix: incrementally vacuum the MARF DB when migrating
2.05.0.2.0
2022-05-03 15:27:06 +00:00
Jude Nelson
e09bd5c04d fix: keep a separate "migrated_version" table to track whether or not a migration was completed or not -- the schema version gets set *before* migration, and the migrated version gets set *after.* If no migration happens -- i.e. the schema version didn't change in the act of migrating -- and there's no evidence of a partial migration, then assume that no migration was ever needed (i.e. it's a fresh DB). 2022-05-02 19:58:21 -04:00
Jude Nelson
fb3e548de4 chore: set MARF as migrated once it's actually done 2022-05-02 19:57:58 -04:00
Jude Nelson
5bd47724b4 chore: update changelog 2022-05-02 14:19:28 -04:00
Jude Nelson
e49babe279 feat: add a method to detect partial migration to a .blobs file 2022-05-02 14:15:33 -04:00
Jude Nelson
762a5e9903 fix: panic if we detect a failed migration -- i.e. there are some tries with offset=0, length=0, and others that are not 2022-05-02 14:15:14 -04:00
Jude Nelson
fe7431a3c9 chore: only vacuum once, when we're done, and put the vacuum code into its own method 2022-05-02 14:14:43 -04:00
Pavitthra Pandurangan
4271ea1593 Changed BurnTokenErrorCodes to avoid consensus-breaking issue 2022-05-02 10:49:42 -04:00
Jude Nelson
71ad8954eb fix: don't unset SQLITE_TMPDIR until end of the loop; vacuum every 1024 tries; also set TMPDIR for good measure 2022-05-01 20:51:19 -04:00
Jude Nelson
246d626568 fix: use SQLITE_TMPDIR to control where temporary vacuum state gets stored, so we don't OOM nodes that keep chainstate on a separate volume in the expectation that they can keep using a small root (or, specifically, /tmp) volume 2022-05-01 09:21:50 -04:00
Jude Nelson
c90dfb5774 fix: when migrating MARF tries to a .blobs file, periodically vacuum the marf.sqlite file to reclaim the now-unused space. 2022-04-30 20:05:38 -04:00
Aaron Blankstein
258a3bde0a Merge pull request #3120 from stacks-network/fix/mocknet-events
Fix mocknet events in RC
2.05.0.2.0-rc3
2022-04-28 17:30:29 -05:00
Aaron Blankstein
3f3ff1280c fix: duplicate event broadcasts in mocknet node 2022-04-28 15:14:37 -05:00
Aaron Blankstein
e9065472ef Merge branch 'develop' into fix/mocknet-events 2022-04-28 15:13:54 -05:00
Aaron Blankstein
870089f261 Merge branch 'master' into fix/mocknet-events 2022-04-28 15:13:46 -05:00
Pavitthra Pandurangan
b32d1b98ca cleanup: added tests + updated docs for burn-related Clarity functions 2022-04-28 15:22:25 -04:00
Aaron Blankstein
16fe381b0e Merge pull request #3113 from stacks-network/feat/rename-core
Feat: rename blockstack-core to stacks-inspect
2022-04-26 09:36:34 -05:00
Aaron Blankstein
1d46436179 fix: update build scripts, etc. with stacks-inspect 2022-04-25 12:56:41 -05:00
Aaron Blankstein
906130a9f6 feat: rename blockstack-core to stacks-inspect 2022-04-25 10:24:36 -05:00
Jude Nelson
118187d8c1 Merge pull request #3112 from stacks-network/fix/first-block-header
Bootup fixes for 2.05.0.2.0-rc1
2.05.0.2.0-rc2
2022-04-25 15:16:46 +00:00
Jude Nelson
8f472cf8c1 fix: if the chainstate DBs exist already, then they must be migrated to the latest schema before header sync 2022-04-22 11:38:14 -04:00
Jude Nelson
889bc9bd6c fix: update the public key of an always-allowed peer on boot-up, as well as the allowed column 2022-04-22 11:37:03 -04:00
Jude Nelson
32741c81a5 chore: add OldSchema(..) and TooOldForEpoch error variants for schema migrations 2022-04-22 11:36:40 -04:00
Jude Nelson
dfc4c4984e fix: an always-allowed peer is already authenticated since we have its public key, so also make sure that the last contact time is positive when considering timeouts 2022-04-22 11:36:05 -04:00
Jude Nelson
485e450b34 feat: add function to check and migrate chainstate DBs if they exist 2022-04-22 11:35:49 -04:00
Jude Nelson
cb6861de70 fix: add separate DB migration function so the chains coordinator can do it on node boot-up. Also, downgrade the tx type for migraiton to DBTx so we don't accidentally depend on the first block header information (which we might not have) 2022-04-22 11:35:00 -04:00
Matthew Little
d2f31ca39c Merge pull request #3075 from stacks-network/feat/c32-optimizations
Feat/c32 optimizations
2.05.0.2.0-rc1
2022-04-20 14:41:29 +02:00
Matthew Little
b1061ef34c Merge branch 'develop' into feat/c32-optimizations 2022-04-20 09:32:26 +02:00
Matthew Little
1e0b80b769 Merge pull request #3109 from stacks-network/fix/dist-ci
fix: CI error while building dist files
2022-04-20 09:30:06 +02:00
Jude Nelson
c34b6429f0 Merge branch 'develop' into fix/dist-ci 2022-04-19 23:04:19 +00:00
Jude Nelson
9b11527ab2 Merge pull request #3090 from stacks-network/feat/analyze-fees.patch
Utility commands to analyze fees and get tenure transactions
2022-04-19 22:07:30 +00:00
Jude Nelson
e08fe74192 Merge branch 'develop' into feat/analyze-fees.patch 2022-04-19 19:20:53 +00:00
Jude Nelson
266df59d0c Merge pull request #3103 from stacks-network/fix/changelog-2.05.0.2.0-rc1
Fix/changelog-2.05.0.2.0-rc1
2022-04-19 19:20:37 +00:00
Matthew Little
9ae00d3e41 fix: CI error while building dist files 2022-04-19 20:17:24 +02:00
Matthew Little
773026eaeb chore: preserve array indexer unwrap 2022-04-19 19:53:15 +02:00
Jude Nelson
caaec488e7 fix: new API for StacksChainState::open() 2022-04-19 13:35:15 -04:00
Matthew Little
e2563fa58e chore: cargo fmt 2022-04-19 19:34:05 +02:00
Matthew Little
5fcdb07314 chore: use Option<u8> for c32 table rather than i8 2022-04-19 19:31:11 +02:00
Matthew Little
b4919704de chore: docstring for c32_old module purpose 2022-04-19 17:44:13 +02:00