Jude Nelson
f076893dcd
fix merge artifact
2021-04-27 21:19:58 -04:00
Jude Nelson
f02fa45c82
cargo fmt
2021-04-27 19:51:25 -04:00
Jude Nelson
3180cef073
Merge branch 'develop' into feat/merge-develop-to-next
2021-04-27 19:44:20 -04:00
pavitthrap
ba2aeefba4
Merge pull request #2571 from blockstack/feat/events-for-microblocks
...
Feat: Added event for new microblocks
2021-04-27 14:08:15 -04:00
pavitthrap
5b70deffb4
Merge branch 'develop' into feat/events-for-microblocks
2021-04-27 09:05:12 -06:00
Jude Nelson
f6697f3317
Merge pull request #2527 from psq/feat/rpc-call-read-1641-v2
...
Implement #1641 rpc call public functions as read-only - take 2
2021-04-27 05:14:02 +00: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
d871d65b02
make sure write_count and write_length are set to 0
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
pavitthrap
148dbd68e0
Merge pull request #2514 from blockstack/fix/mempool-walk-order
...
Fix/mempool walk order
2021-04-26 15:20:46 -06:00
Pavitthra Pandurangan
0b66a0dd58
Fixed rustfmt issue
2021-04-26 15:20:26 -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
Pavitthra Pandurangan
22d4216822
Fix redundant import
2021-04-26 13:56:54 -06:00
pavitthrap
0f3addfddf
Merge branch 'develop' into fix/mempool-walk-order
2021-04-26 10:40:50 -06:00
Jude Nelson
c35ea3ca1b
fix import
2021-04-23 15:31:14 -04: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
dbfbe639eb
Merge pull request #2602 from blockstack/fix/trait-rpc
...
Fix : #2599 - trait rpc lookups for implicitly implemented traits
2021-04-21 12:06:41 -05: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
Aaron Blankstein
78760e615c
Merge pull request #2598 from blockstack/feat/2.0.11.0.0-changelog
...
2.0.11.0.0 changelog
2021-04-21 10:07:55 -05:00
Jude Nelson
b0b4081584
fix build/merge issues
2021-04-21 10:35:01 -04:00
Jude Nelson
a4950e0159
Merge branch 'develop' into next
2021-04-21 10:11:12 -04:00
Jude Nelson
0e5f48aa35
2.0.11.0.0 changelog entries from PR #2590
2021-04-20 21:43:07 -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
Jude Nelson
7ba919a52d
Merge pull request #2590 from blockstack/fix/atlas-replication-retry
...
Fix/atlas replication retry
2.0.11.0.0-rc5
2021-04-20 19:03:58 +00:00
pavitthrap
45860713ce
Merge branch 'develop' into feat/events-for-microblocks
2021-04-20 12:29:32 -04:00
Jude Nelson
9bd50a34dd
fix inv-sync bug that was causing the antientropy test to time out
2021-04-19 01:07:38 -04:00
Jude Nelson
8029c8f7a7
flat_map
2021-04-16 22:27:27 -04:00
Jude Nelson
a3f8c93c81
activate new integration tests
2021-04-16 22:27:10 -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
b564c6cb93
address feedback (comments and structure)
2021-04-16 17:13:41 -04:00
Jude Nelson
59a9c22213
clarify that mine_next_microblock_from_txs() is *only* for testing
2021-04-16 17:13:25 -04:00
Jude Nelson
5e9ecad657
log block budgets when processing streams
2021-04-16 17:12:55 -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
Jude Nelson
c6f6d785e7
initialize the attachment downloader on p2p network initialization
2021-04-16 03:05:48 -04:00
Jude Nelson
6b4f828d2d
add fault-injection check and constants
2021-04-16 03:05:33 -04:00
Jude Nelson
32535c2292
add fault injection to the microblock miner, in order to force it to mine a microblock stream that is too big or costly to confirm
2021-04-16 03:05:08 -04:00