142 Commits

Author SHA1 Message Date
Brice Dobry
75ce11ce89 doc: update tutorial for latest changes 2023-03-16 20:54:13 -04:00
Aaron Blankstein
59aff38ff8 update clarity/stacks-common libs to 2.1.0.0.0 tag 2023-03-08 19:05:19 -06:00
Aaron Blankstein
06cbffdf00 feat: initial outline of an optimistic fork handling db using hashmap 2023-02-02 14:05:27 -06:00
Brice Dobry
8b5207cc48 Merge branch 'master' into draft/merge-stacks21-v3-merge-master-v2 2023-01-19 19:29:44 -05:00
Brice Dobry
9a0ce1f37f chore: update stacks-blockchain version 2023-01-19 17:05:09 -05:00
Brice Dobry
e3eb846d5d refactor: use standard clarity and stacks-common lib
Instead of copying these libraries from stacks-blockchain, this
refactoring just pulls in the crate. This allows us to avoid regularly
merging in changes to keep them in sync.

The side-effect of this change is that the subnet Clarity can no longer
support custom built-in methods for withdrawals. Instead, a new L2 boot
contract, `subnet.clar`, defines functions for withdrawing from the L2
and uses print events instead of new custom events.
2023-01-19 17:05:09 -05:00
Scott A
7beb401104 build(deps): Update secp256k1 to 0.24.2 2022-12-07 15:49:23 -05:00
Aaron Blankstein
43ecf31cab Merge stacks-network/stacks-blockchain@master 2022-05-11 10:22:26 -05:00
Aaron Blankstein
12539ae78f Merge remote-tracking branch 'stacks-blockchain/feat/develop-libclarity-separation' into feat/merge-libclarity-sep 2022-02-08 09:41:16 -06:00
Aaron Blankstein
2a13d6a6ed Merge remote-tracking branch 'origin/master' into feat/develop-libclarity-separation 2022-02-07 14:41:28 -06:00
Pavitthra Pandurangan
59a4429015 Merge branch 'master' into release-2.05.0.1.0-merge 2022-02-07 10:50:52 -05:00
Aaron Blankstein
55918469c0 Merge remote-tracking branch 'origin/develop' into feat/develop-libclarity-separation 2022-02-03 11:20:07 -06:00
Aaron Blankstein
5a3be195e8 add events parsing to burnchains 2022-02-01 15:44:56 -06:00
Reed Rosenbluth
3088e75417 build: update criterion 2022-01-28 16:29:00 -05:00
Aaron Blankstein
4558b72da8 chore: update async-h1 to resolve #2990 2022-01-12 10:06:33 -06:00
Aaron Blankstein
faf1bc35dc Merge remote-tracking branch 'origin/develop' into feat/develop-libclarity-separation 2022-01-07 09:03:27 -06:00
Aaron Blankstein
618767a1c8 feat: re-enable poison microblock processing, working builds for blockstack_cli, clarity_cli, main 2021-12-23 09:25:16 -06:00
Aaron Blankstein
4df70c29a3 cargo test --lib builds, but work needs to be done to get to passing 2021-12-23 09:22:45 -06:00
Aaron Blankstein
6a31126f60 feat: first pass at extricating libclarity, libcommon and blockstack_lib 2021-12-23 09:06:39 -06:00
Jude Nelson
7e43d526e7 Merge branch 'develop' into feat/mempool-sync 2021-11-29 15:43:35 -05:00
Jude Nelson
d202d26b84 feat: add nix crate (to support vendored ctrlc package) and add the ctrlc crate's platform-specific deps 2021-10-25 22:16:48 -04:00
Jude Nelson
279b6c132f feat: add siphasher dependency from rust. This gets used to build hash functions in the bloom filter. It used to be in std::hash, and still is, but is deprecated. So, just require it directly. 2021-10-15 22:03:20 -04:00
Reed Rosenbluth
e1f6efe1c5 build: add Clarity workspace member (#2744)
* build: add libvm workspace member

* chore: skip lib-clarity-vm in circleci

* refactor: address pavi's comment

* refactor: naming

* fix: update lib name

* refactor: rename, drop the lib suffix

* refactor: address Greg's comments

* style: rustfmt

Co-authored-by: Aaron Blankstein <aaron@blockstack.com>
2021-08-19 13:10:36 -07:00
Aaron Blankstein
b076b8c95b chore: remove tini dependency 2021-06-14 11:02:51 -05:00
Aaron Blankstein
63d7497e88 fix: temporarily remove criterion dependency due to rustc regression in nightly 2021-03-03 16:15:07 -06:00
Aaron Blankstein
f7ee765237 Merge remote-tracking branch 'origin/develop' into feat/runtime-tx-log 2021-02-10 11:37:49 -06:00
Aaron Blankstein
224fc8ff11 Merge branch 'master' into develop 2021-02-03 17:04:21 -06:00
Aaron Blankstein
531a21af35 fix: use stacker for serde_json deserializer 2021-02-03 15:57:01 -06:00
Aaron Blankstein
a54b9f3717 runtime tx log 2021-01-27 11:31:38 -06:00
Ludo Galabru
6149762616 feat: something old, something new 2021-01-19 18:18:00 -05:00
Ludo Galabru
a8be30cb35 feat: use isatty 2021-01-13 13:03:51 -05:00
Ludovic Galabru
269dbcbd08 Merge branch 'master' into feat/logs 2021-01-08 22:13:14 -05:00
Ludovic Galabru
a8bf857a4f Merge branch 'master' into feat/logs
# Conflicts:
#	src/chainstate/stacks/db/mod.rs
#	src/chainstate/stacks/db/transactions.rs
2021-01-08 13:00:54 -05:00
Ludo Galabru
9be216432c Merge branch 'master' into chore/update-rusqlite 2021-01-07 23:55:15 -05:00
Ludovic Galabru
1ddbac2191 chore: update rusqlite dep + freeze version 2021-01-07 23:23:45 -05:00
Diwaker Gupta
9e3fa8788c Upgrade time crate to version 0.2.23.
Addresses the following from `cargo audit`:

ID:       RUSTSEC-2020-0071
Crate:    time
Version:  0.2.16
Date:     2020-11-18
URL:      https://rustsec.org/advisories/RUSTSEC-2020-0071
Title:    Potential segfault in the time crate
Solution:  upgrade to >= 0.2.23
Dependency tree:
time 0.2.16
2021-01-07 12:01:44 -05:00
Ludovic Galabru
fd449845e1 Merge branch 'master' into feat/logs
# Conflicts:
#	src/chainstate/stacks/db/mod.rs
#	testnet/stacks-node/src/run_loop/neon.rs
2020-12-31 09:36:59 -05:00
Ludovic Galabru
4daa47e4e5 feat: improve logs readability 2020-12-29 23:57:57 -05:00
Ludovic Galabru
0170c77cd6 test: add coverage for genesis consistency 2020-12-16 22:04:35 -05:00
Matthew Little
3a27c63fe3 feat: import STX balances & vesting into Stacks 2.0 2020-12-05 01:43:49 +01:00
Aaron Blankstein
59d27502d1 Merge remote-tracking branch 'origin/next' into next-costs 2020-12-01 13:23:19 -06:00
Diwaker Gupta
5693e7f71e Revert package name change.
Breaks a lot of things.
2020-11-23 16:10:25 -06:00
Diwaker Gupta
8d1739a03a Use stacks-blockchain as the package name. 2020-11-23 16:10:25 -06:00
Diwaker Gupta
a7719f0ce7 Trivial updates to the cargo manifest. 2020-11-23 16:10:25 -06:00
Aaron Blankstein
dfe010a4b7 first pass at loading cost contract data from chainstate 2020-11-10 17:33:55 -06:00
Aaron Blankstein
341c3d2f60 fix: enable debug logs in release build 2020-10-26 14:15:57 -05:00
Aaron Blankstein
99a0b8f6d6 make slog_json compile-time feature 2020-10-16 15:31:36 -05:00
Aaron Blankstein
f3b676d601 remove slog-async, format term output like prior formatting 2020-10-16 11:34:18 -05:00
Aaron Blankstein
078f13e936 initial pass on porting macros to slog 2020-10-02 16:51:58 -05:00
Aaron Blankstein
511f3aea27 feat: log all transactions as they are processed for debugging 2020-09-25 14:27:14 -05:00