Aaron Blankstein
4270820f43
ci: use rust stable for code coverage tests (large genesis)
2022-09-12 11:05:41 -05:00
Aaron Blankstein
8ed1b36217
ci: use rust stable for code coverage tests
2022-09-12 10:56:59 -05:00
Aaron Blankstein
a5a5f94f5f
cargo fmt
2022-09-12 10:51:47 -05:00
Aaron Blankstein
5e71e468d0
Merge branch 'next' into feat/pox-2-unlock
2022-09-12 10:22:52 -05:00
Aaron Blankstein
daf57ba6ea
add comments for reward set handling
2022-09-09 14:36:37 -05:00
Aaron Blankstein
98298be54f
PR feedback: panicking subtraction
2022-09-09 10:00:12 -05:00
Aaron Blankstein
2e3f3336c8
Merge pull request #3280 from stacks-network/fix/chill-initial-header-sync
...
fix: avoid pegging system resources during initial header sync when bitcoind rpc isn't yet available
2022-09-07 14:01:27 -05:00
Matthew Little
923136bc39
fix: avoid pegging system resources during initial header sync when bitcoind rpc isn't yet available
2022-09-07 09:29:32 +02:00
Matthew Little
fd346fbfb6
Merge pull request #3277 from stacks-network/feat/configurable-pox
...
Feat/configurable pox
2022-09-07 08:30:16 +02:00
Matthew Little
ad30e130dd
fix: ensure epoch2.1 block height configuration is specified before possible pox_2_activation height
2022-09-06 23:12:36 +02:00
Matthew Little
38a95da576
Merge branch 'next' into feat/configurable-pox
2022-09-06 22:43:02 +02:00
Jude Nelson
9415d32b9a
Merge pull request #3276 from stacks-network/feat/sort-function-names
...
feat: Sort keywords and functions by name in the docs
2022-09-06 15:48:25 +00:00
Matthew Little
712099a46f
chore: PR feedback
2022-09-04 07:46:33 +02:00
Matthew Little
352de9f768
chore: lint
2022-09-03 18:29:41 +02:00
Matthew Little
e7c400777c
fix: use pox_2_activation configuration in a few more areas
2022-09-03 12:52:42 +02:00
Aaron Blankstein
e212b6d1e1
address PR feedback
2022-09-02 11:43:40 -05:00
Greg Coppola
3c07e23816
sort docs keywords and functions by name
2022-09-02 09:48:02 -05:00
Aaron Blankstein
266caf2ba2
make auto-unlocks free for block limit, more PR feedback
2022-08-31 16:26:13 -05:00
Aaron Blankstein
9d00a6cfd4
address PR feedback, use define-private method for handling unlock updates
2022-08-30 15:55:28 -05:00
Aaron Blankstein
9e676926c0
refactor: add SortitionHandle trait to capture tx+conn
2022-08-26 13:46:50 -05:00
Aaron Blankstein
b187870212
feat: add pox_2_activation configuration to burnchain config
2022-08-26 10:57:57 -05:00
Aaron Blankstein
10244bfa00
address PR feedback
2022-08-26 09:25:28 -05:00
Aaron Blankstein
e762a9c2f2
Merge remote-tracking branch 'origin/next' into feat/pox-2-unlock
2022-08-26 08:44:49 -05:00
Jude Nelson
7d960260b5
Merge pull request #3249 from stacks-network/docs-microstacks
...
docs: clarify amounts in microstacks
2022-08-25 23:38:29 +00:00
Aaron Blankstein
57557e7759
Merge remote-tracking branch 'origin/next' into feat/pox-2-unlock
2022-08-25 12:58:20 -05:00
Aaron Blankstein
0014b0f3f3
consolidate contributed stackers
2022-08-22 12:54:50 -05:00
Jude Nelson
c3a624f75b
Merge branch 'next' into docs-microstacks
2022-08-22 15:09:13 +00:00
Jude Nelson
357405b155
Merge pull request #3245 from stacks-network/feat/get-pox-addrs
...
Feat/get pox addrs
2022-08-22 01:42:33 +00:00
Jude Nelson
7f5af6b631
chore: add/expand rust docs and remove dead code
2022-08-19 10:51:40 -04:00
Aaron Blankstein
a464575876
first simple test for pox auto-unlock
2022-08-18 16:39:42 -05:00
Aaron Blankstein
b4b1f42b85
Merge remote-tracking branch 'origin/feat/get-pox-addrs' into feat/pox-2-unlock
2022-08-18 11:28:24 -05:00
Aaron Blankstein
6fff6197cd
update existing tests
2022-08-18 11:05:20 -05:00
Aaron Blankstein
7bc7bccdd5
implemented auto-unlock, now for testing...
2022-08-17 16:58:55 -05:00
Brice Dobry
2bb0ee182d
docs: address review comments
2022-08-17 13:41:00 -04:00
Aaron Blankstein
59b5c4bd6b
first pass at actually processing unlocks. fair amount of complexity here.
2022-08-16 19:31:08 -05:00
Jude Nelson
4d78bfcd2a
fix: update integration test to verify that 1 or 2 burn addresses get reported, and at the right time
2022-08-16 10:31:06 -04:00
Jude Nelson
0a49e0b149
fix: update test to verify that 1 or 2 burn addresses are reported, and at the right time
2022-08-16 10:30:46 -04:00
Jude Nelson
09ad07a566
fix: populate PoX addresses paid out with burn addresses, up to OUTPUTS_PER_COMMIT (in the reward phase) or 1 (in the prepare phase)
2022-08-16 10:30:17 -04:00
Jude Nelson
e0b342c3df
docs: indicate that burn addresses will be reported in pox-addrs
2022-08-16 10:29:57 -04:00
Brice Dobry
2116cdf677
docs: clarify amounts in microstacks
...
There is no mention of microstacks in this documentation, which could be
confusing for new developers. This commit specifies the units for the
amounts used in `stx-get-balance`, `stx-account`, `stx-transfer?` and
`stx-burn?`.
2022-08-12 15:12:57 -04:00
Jude Nelson
699a3c49c2
feat: query pox payouts from snapshots table, not the MARF
2022-08-12 12:36:04 -04:00
Jude Nelson
c9a3d03e0f
chore: store PoX payouts in the snapshots table instead of the MARF, since we'll have an entry for every sortition
2022-08-12 12:35:45 -04:00
Jude Nelson
2bb1c1ddbb
chore: return Clarity tuples not PoxAddresses
2022-08-12 12:35:31 -04:00
Jude Nelson
eb898ea70d
chore: revert changes to the MARF's read-only views (because YAGNI)
2022-08-12 12:34:28 -04:00
Aaron Blankstein
811257e69b
correlate non-delegated stack-stx lockups with stacker
2022-08-11 10:22:55 -05:00
Jude Nelson
49dea6ed73
refactor: move PoxAddress to src/chainstate/stacks/address.rs, and have BurnStateDB::get_pox_payout_addrs() return Option<Vec<TupleData>, u128> instead of Option<Vec<PoxAddress>, u128>. This makes more sense since the chainstate module depends on PoxAddress far more so than Clarity. So, have the BurnStateDB return the tuple representation of a PoxAddress, and have the chainstate module convert that tuple into a PoxAddress once needed.
2022-08-11 11:20:55 -04:00
Jude Nelson
d3716f3477
chore: log initial mining bonus
2022-08-10 11:47:48 -04:00
Jude Nelson
5742e37e16
docs: note that uncommitted writes are visible in get_indexed()
2022-08-10 11:47:34 -04:00
Jude Nelson
a529500741
fix: don't re-open a storage tx's underlying DB (since then uncommitted writes are not visible); instead, pass an immutable reference to the tx's db handle
2022-08-10 11:47:04 -04:00
Jude Nelson
a327c0a787
fix: no longer comparing address version, but hash mode
2022-08-10 11:46:48 -04:00