1831 Commits

Author SHA1 Message Date
Aaron Blankstein
c671cba1b9 fix integration test 2021-05-12 11:58:38 -05:00
Ludo Galabru
0a4a62cd21 Add default balances for mocknet + expose mnemonics 2021-05-06 10:10:49 -04:00
Aaron Blankstein
092e1846fb chore: updates for latest bitcoind 2021-05-05 12:20:33 -05:00
Aaron Blankstein
46b87f7c7b chore: cleanup/refactor miner tenure information gathering 2021-05-04 10:39:12 -05:00
Pavitthra Pandurangan
14b10597d9 Setting up burnchain pox constants in now 2021-04-30 10:47:46 -06:00
Jude Nelson
e074d6cbd2 Merge branch 'develop' into feat/clarity-cli-costs-json 2021-04-29 12:56:02 -04:00
Jude Nelson
39b5fc8dab DRY up HELIUM_BLOCK_LIMIT 2021-04-29 12:55:09 -04:00
Jude Nelson
2d1dd2835a fix merge artifacts, again 2021-04-27 21:56:56 -04:00
Jude Nelson
1d00ef6e4d Merge branch 'feat/merge-develop-to-next' into feat/stacks-2.1-epoch-change 2021-04-27 21:20:59 -04:00
Jude Nelson
f076893dcd fix merge artifact 2021-04-27 21:19:58 -04:00
Jude Nelson
897349ec65 Merge branch 'feat/merge-develop-to-next' into feat/stacks-2.1-epoch-change 2021-04-27 19:47:10 -04:00
Jude Nelson
3180cef073 Merge branch 'develop' into feat/merge-develop-to-next 2021-04-27 19:44:20 -04:00
Jude Nelson
b916c92dc8 cargo fmt 2021-04-27 16:29:48 -04:00
Jude Nelson
e25eafc2b6 plumb through STACKS_EPOCH_MAX 2021-04-27 16:29:24 -04:00
pavitthrap
5b70deffb4 Merge branch 'develop' into feat/events-for-microblocks 2021-04-27 09:05:12 -06:00
Jude Nelson
56a0fdbfd9 Merge branch 'develop' into feat/stacks-2.1-epoch-change 2021-04-27 01:11:15 -04:00
Jude Nelson
b991c58d6d fix compile bugs from merge; plumb through epochs into tests 2021-04-27 01:10:33 -04:00
Jude Nelson
28de5afd81 typo 2021-04-27 00:49:11 -04:00
Pascal
74d3595dbb rebase and fix nonces 2021-04-26 18:07:38 -07:00
Pascal
68bc4a6ac2 3 characters too long 2021-04-26 18:00:06 -07:00
Pascal
215819b2bd address review feedback 2021-04-26 18:00:06 -07:00
Pascal
be29cd8995 chore: rustfmt 2021-04-26 18:00:06 -07:00
Pascal
80d246d667 try readonly and fail if it wrote instead 2021-04-26 18:00:06 -07:00
pavitthrap
1caf53d179 Merge branch 'develop' into feat/events-for-microblocks 2021-04-26 16:47:21 -06:00
Pavitthra Pandurangan
35f0170374 Fixed import issues 2021-04-26 15:16:18 -06:00
pavitthrap
ca14a0e9e2 Merge branch 'develop' into feat/events-for-microblocks 2021-04-26 14:34:20 -06:00
pavitthrap
0f3addfddf Merge branch 'develop' into fix/mempool-walk-order 2021-04-26 10:40:50 -06:00
Jude Nelson
e47c097980 Merge branch 'develop' into feat/stacks-2.1-epoch-change 2021-04-23 15:30:52 -04:00
Reed Rosenbluth
1cdff84d58 refactor: initial vm decoupling (#2589)
* refactor: create vmlib module and move clarity.rs into it

* refactor: ClarityBackingStore get_with_proof method returns serialized hex string

* refactor: move stacks specific code from vm::database to vmlib

* refactor: rename vmlib -> clarity_vm

* refactor: hoist various types out of chainstate into new types module, rename vm::database::marf.rs -> clarity_store.rs

* refactor: more hoisting, removed unnecessary imports

* refactor: fix tests

* style: rustfmt

* refactor: update use statements in testnet

* style: testnet rustfmt

* refactor: fix comment refactor mistake

* docs: add doc comments

* refactor: split MarfTrieId into two traits

* refactor: fix missed atlas dependency after rebase

* style: rustfmt

* refactor: create types::proof and move proof related types from types::chainstate
2021-04-23 14:03:47 -04:00
Aaron Blankstein
532fd34822 better error log for event dispatcher 2021-04-21 11:24:11 -05:00
Aaron Blankstein
be5ab12d4f fix: #2599 - trait rpc lookups for implicitly implemented traits 2021-04-21 11:05:27 -05:00
Jude Nelson
a4950e0159 Merge branch 'develop' into next 2021-04-21 10:11:12 -04:00
Pavitthra Pandurangan
a317ed9082 Get chain tip differently in relayer thread, avoid cloning event value in event dispatcher code 2021-04-20 14:11:32 -06:00
pavitthrap
45860713ce Merge branch 'develop' into feat/events-for-microblocks 2021-04-20 12:29:32 -04:00
Jude Nelson
8029c8f7a7 flat_map 2021-04-16 22:27:27 -04:00
Jude Nelson
13961352bc fix failing test 2021-04-16 17:14:06 -04:00
Jude Nelson
9ded3ba3f6 address feedback 2021-04-16 17:13:56 -04:00
Jude Nelson
a1062f332c fix compile bug 2021-04-16 03:56:43 -04:00
Jude Nelson
479cd78fb8 Merge branch 'develop' into fix/atlas-replication-retry 2021-04-16 03:53:15 -04:00
Jude Nelson
a2ac514c4e add a couple of microblock mining tests:
* verify that the miner won't produce too-long of a microblock stream even if given the chance to mine _many_ microblocks
* use the fault-injection logic to force the microblock miner to mine a too-long stream, and verify that the anchored block miner truncates it to the longest-possible stream to mine
2021-04-16 03:13:21 -04:00
Jude Nelson
9a567e9639 plumb through microblock chain counter 2021-04-16 03:12:59 -04:00
Jude Nelson
a8835b1c21 Fix a few bugs in the microblock tenure logic:
* if we try to mine an anchored block whose microblock stream is too long, then try again, but using the microblock prefix that is short enough
* make sure to reset the microblock miner state when we discover a new anchored block
* coalesce repeated requests to run tenure for blocks and microblocks, in case they happen faster than we can act on them
* implement a "number of unconfirmed microblocks" block counter, for use in testing
2021-04-16 03:07:38 -04:00
Jude Nelson
170ddcd6dc plumb through new config option max_rbf 2021-04-16 03:07:05 -04:00
Jude Nelson
7eb8da9186 make it possible to set the maximum RBF ratio beyond 1.5x, so the miner can attempt to mine many anchored blocks 2021-04-16 03:06:17 -04:00
pavitthrap
b42cb5c138 Merge branch 'develop' into fix/updated-bitcoind 2021-04-15 12:22:42 -04:00
pavitthrap
a8ad7b6902 Merge branch 'develop' into fix/mempool-walk-order 2021-04-15 12:21:55 -04:00
Pavitthra Pandurangan
6c1803b842 Less convoluted way to map receipts to a specific microblock sequence number 2021-04-14 18:04:08 -04:00
Pavitthra Pandurangan
0fde36f125 Moved default wallet creation to so it is constrained to test code 2021-04-14 12:28:06 -04:00
Pavitthra Pandurangan
bbf4f9bb33 Remove new_bytes change (will be addressed in alternate PR), added randomness to version number in test 2021-04-13 19:39:20 -04:00
Jude Nelson
80128c8bb7 only sync the last few reward cycles on mainnet by default 2021-04-13 18:38:22 -04:00