Commit Graph

16813 Commits

Author SHA1 Message Date
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
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
Jude Nelson
37a1b5bbb5 fix: don't consider cases where there are no txids 2022-04-19 11:43:21 -04:00
Matthew Little
6355b76066 chore: expand doc string for c32 table normalization rules 2022-04-19 17:43:20 +02:00
Jude Nelson
7b6e7bba4c Merge branch 'develop' into feat/analyze-fees.patch 2022-04-19 11:42:24 -04:00
Matthew Little
5ccbee42c1 chore: only compile c32_old in test builds 2022-04-19 17:40:48 +02:00
Matthew Little
ed71280d62 Merge branch 'develop' into feat/c32-optimizations 2022-04-19 17:24:19 +02:00
Jude Nelson
041e1ef1a0 chore: add #3048 to changelog 2022-04-19 11:06:34 -04:00
Jude Nelson
90c86bdea4 Merge branch 'develop' into fix/changelog-2.05.0.2.0-rc1 2022-04-19 11:05:26 -04:00
Jude Nelson
b5cad79ddb Merge pull request #3104 from stacks-network/feat/small-default-max-block-assembly-time
fix: set the default subsequent-attempt time to 30s
2022-04-19 15:01:36 +00:00
Jude Nelson
f40729945e fix: set the default subsequent-attempt time to 30s, based on new benchmarks from the MARF performance improvements 2022-04-18 13:49:10 -04:00
Jude Nelson
71213af783 fix: update changelog with new version 2022-04-18 13:15:46 -04:00
Jude Nelson
1a731591a2 Merge pull request #3091 from stacks-network/fix/fix-always-allowed-walks
Fix: vary between always-allowed and random initial neighbors when not in IBD
2022-04-18 17:06:29 +00:00
Jude Nelson
67ea9f82a4 Merge branch 'develop' into fix/fix-always-allowed-walks 2022-04-18 14:12:34 +00:00
Jude Nelson
9dd09ab7dd Merge pull request #3044 from stacks-network/feat/marf-node-cache
MARF Performance Improvements
2022-04-13 19:07:30 +00:00
Jude Nelson
e4b600e225 fix: don't unconditionally connect to always-allowed neighbors when not in IBD -- they may be offline 2022-04-13 14:14:29 -04:00
Jude Nelson
9ae7bb1c0f chore: remove commented code block 2022-04-13 13:17:09 -04:00
Jude Nelson
ed3ba907c0 feat: add get-tenure and analyze-fees utility commands to (a) print out all txs and fees in a given tenure, and (b) analyze the tx fee distribution for all non-empty sets of transactions grouped by how long they stayed in the mempool (in number of blocks). Part (b) is meant to help provide insights into how high the fee should be to get included in the _Nth_ block from now, given a sample of the last _B_ blocks. 2022-04-13 13:04:54 -04:00
Jude Nelson
c155e038e9 fix: clean up imports for rust 2018 rules for unit tests 2022-04-09 17:40:08 -04:00
Jude Nelson
abc9b11870 fix: move to rust 2018 standards for explicit crate:: 2022-04-09 11:37:25 -04:00
Jude Nelson
2e30732636 Merge branch 'develop' into feat/marf-node-cache 2022-04-09 11:37:08 -04:00
Jude Nelson
4ccaf546e0 Merge branch 'develop' of https://github.com/blockstack/stacks-blockchain into develop 2022-04-09 00:23:31 -04:00
Jude Nelson
6e1346c5b4 feat: add marf hash and cache options to [node] directive in config file, and use them to create a MARFOpenOpts to pass into the StacksChainState 2022-04-08 23:39:58 -04:00
Jude Nelson
f06db72a89 refactor: plumb through marf opts 2022-04-08 23:39:44 -04:00
Jude Nelson
0842bac7cc refactor: plumb through marf opts 2022-04-08 23:39:32 -04:00
Jude Nelson
7e647bbb59 fix: address feedback from PR review 2022-04-08 23:39:17 -04:00