Jude Nelson
32d8a83ae7
Merge branch 'develop' into rft_vec_to_sli
2023-02-02 19:01:17 +00:00
Jude Nelson
e2ef0e1691
fix: add test coverage for Uint256 increment()
2023-01-30 17:46:43 -05:00
Asim Mehmood
f850916760
fix: stacks/common
2023-01-27 19:05:44 +05:00
Asim Mehmood
9fcf33ce3d
refactor: replace vec references with slices
2023-01-27 13:00:37 +05:00
Jude Nelson
18b5fb5b84
fix: avoid integer add overflow
2023-01-24 10:31:15 -05:00
Brice Dobry
7f6dde98e5
chore: expose some of the hash functions as public
...
These changes are helpful for other users of stacks-common,
specifically, subnets.
2023-01-09 11:29:39 -05:00
Jude Nelson
147c72aecd
Merge branch 'next' into feat/check-pox-2-params
2022-12-21 19:03:36 +00:00
Jude Nelson
cb5e495ba1
Merge pull request #3449 from stacks-network/feat/old-type-checker
...
Use old type-checking while in epoch 2.05
2022-12-21 06:49:48 +00:00
Jude Nelson
dbbb67a063
Merge branch 'next' into feat/check-pox-2-params
2022-12-17 02:38:32 -05:00
Jude Nelson
0074f77b95
chore: debug sortition ID calculation
2022-12-16 02:02:32 -05:00
Brice Dobry
bbbe68875c
feat: initial attempt at bringing 2.05 type-checker back
...
This would utilize the 2.05 type-checker while in epoch 2.05, then
switch to the new behavior only once 2.1 is live in order to avoid
discrepancies with the old behavior before switching epochs.
2022-12-15 17:14:00 -05:00
Jude Nelson
29342a90a7
Merge branch 'develop' into chore/merge-develop-to-next
2022-12-15 16:34:18 -05:00
Mårten Blankfors
4fb8377f62
fix(test): Remove namespace information in function_names in tests
2022-12-15 18:02:27 +01:00
Jude Nelson
becc83ca91
feat: new method find_epoch_by_id() for a list of epochs
2022-11-18 18:39:39 -05:00
Jude Nelson
89e523fe01
chore: move STACKS_EPOCH_MAX into stacks-common
2022-11-18 18:39:25 -05:00
Jude Nelson
cced949991
Merge branch 'next' into fix/1805
2022-11-07 18:07:28 -05:00
Jude Nelson
e0bfc57d4a
Merge branch 'next' into feat/native-segwit
2022-11-01 15:55:21 -04:00
Jude Nelson
5a13b85c5a
fix: explicit thread name
2022-10-29 22:16:50 -04:00
Jude Nelson
fda096af89
Merge branch 'develop' into next
2022-10-27 11:17:22 -04:00
Jude Nelson
5123caa19b
chore: backport unit tests from 2.05.0.3.0
2022-10-18 10:47:22 -04:00
Jude Nelson
1813aba930
Merge branch 'next' into fix/1805 and address PR feedback
2022-10-13 21:53:41 -04:00
Jude Nelson
d3270775d1
Merge branch 'next' into feat/native-segwit
2022-09-27 20:22:50 +00:00
Brice
a1e1a50073
Merge branch 'next' into refactor/clarity-lib-merge
2022-09-14 14:14:24 -04:00
Jude Nelson
d9eeeb50d4
fix: fix bech32 doc test
2022-09-09 13:53:50 -04:00
Jude Nelson
33b79d0ddb
refactor: consolidate to_hex()
2022-09-08 14:59:14 -04:00
Jude Nelson
522c074487
chore: expand derives for u8 enums created by macro
2022-09-08 14:58:46 -04:00
Jude Nelson
a92f97e5d2
chore: export bech32
2022-09-08 14:58:32 -04:00
Jude Nelson
7b3dd80975
feat: add from_hex_le() for instantiating byte arrays from little-endian hash hex strings
2022-09-08 14:58:07 -04:00
Jude Nelson
435a50e30f
feat: implement enough of the sighash algorithm for segwit that we can use it to mine. Add test vectors.
2022-09-08 14:57:29 -04:00
Jude Nelson
7324ac5d68
docs: document purpose of AddressHashMode (w.r.t. segwit)
2022-09-08 14:57:08 -04:00
Jude Nelson
96d01fcf64
feat: vendor bech32 and bech32m encoding logic
2022-09-08 14:34:11 -04:00
Jude Nelson
1a34c11508
feat: release 2.05.0.3.0
2022-08-31 13:41:12 -04:00
Brice Dobry
9f27105f7a
feat: add codec errors types from clarinet
2022-08-24 13:05:36 -04:00
Brice Dobry
84c9101f11
refactor: changes to support clarinet
2022-08-24 13:05:36 -04:00
Aaron Blankstein
a464575876
first simple test for pox auto-unlock
2022-08-18 16:39:42 -05:00
Jude Nelson
6fb6529ce1
Merge branch 'next' into feat/get-pox-addrs
2022-08-09 15:01:57 -04:00
Jude Nelson
0d146052f0
chore: derive all the usual things for AddressHashMode to make it serializable and comparable
2022-08-09 14:53:56 -04:00
Jude Nelson
e65cced181
Merge branch 'develop' into next
2022-08-04 09:00:17 -04:00
Jude Nelson
6aea9bf291
Merge branch 'develop' into human-time
2022-08-01 15:49:53 +00:00
Igor
bc15aad528
update
2022-07-28 11:23:50 -05:00
Igor Sylvester
432425804e
update
2022-07-26 17:09:55 -05:00
Igor Sylvester
91f10b008a
Add BLOCKSTACK_FORMAT_TIME env var
2022-07-25 14:10:42 -05:00
Jude Nelson
5f633af111
Merge branch 'next' into fix/1805
2022-07-22 14:00:42 -04:00
Brice Dobry
9a69f6e0c6
feat: add new parser with fixes and improvements
...
Use of the new parser is gated on epoch 2.1 and the old parser is used
prior to then.
Resolves : #3124 , #3123 , #3128
2022-06-13 12:44:40 -04:00
Jude Nelson
9f510fd594
fix: use .saturating_sub() when determining the header range to copy over to the .reorg DB, and use K/V logging. Also, add multi-word test vectors to hex codec for uint256
2022-05-28 22:21:03 -04:00
Jude Nelson
7670d02acd
chore: add big-endian code for uint256, which is easier to read
2022-05-26 13:58:12 -04:00
Jude Nelson
e8b2cecee9
chore: add uint256 codec to/from hex strings
2022-05-26 00:13:45 -04:00
Jude Nelson
9425a39ff7
feat: add static method to convert a bitcoin target to a compact target, which is what gets used in the difficulty comparison
2022-05-26 00:13:24 -04:00
Jude Nelson
960ce54fc4
refactor: move the miner block reward maturity window so clarity can get at it
2022-05-19 13:24:47 -04:00
Jude Nelson
18e4e753fc
Merge branch 'next' into fix/1805
2022-04-29 09:51:19 -04:00