Commit Graph

18 Commits

Author SHA1 Message Date
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
Ludo Galabru
791b048180 fix: clean working_dir architecture 2021-02-05 13:32:32 -05:00
Reed Rosenbluth
4004da98af feat: benchmark for expensive contract 2021-01-22 13:28:48 -07:00
Reed Rosenbluth
79a6c52c55 fix: block_limits benchmarks 2021-01-22 13:03:20 -07:00
Ludo Galabru
a528a7078b chore: cargo fmt 2021-01-12 22:56:20 -05:00
Ludo Galabru
e4e1067b9b fix: hard-coded testnet boot_contract_id 2021-01-12 21:19:04 -05:00
Aaron Blankstein
ff9e1c451b add benchmarks used for measuring effective block limit. count metadata reads against contract load. fix runtime integration test. 2021-01-07 11:30:57 -06:00
Aaron Blankstein
7ffda102c8 formatting: cargo fmt --all + whitespace cleanup 2020-09-28 12:43:06 -05:00
Aaron Blankstein
823ebade68 Merge remote-tracking branch 'origin/master' into feature/initial-block-limit 2020-04-22 08:31:13 -05:00
Aaron Blankstein
a5b2991dc0 move sql functions into module. when known, pass block identifier to open_block 2020-04-16 14:13:47 -05:00
Aaron Blankstein
780931adb3 use blob interface for reading nodetypes 2020-04-15 13:06:57 -05:00
Aaron Blankstein
637a86eccf use configured block limit 2020-04-09 10:21:47 -05:00
Aaron Blankstein
63d441c14e commit initial work 2020-04-08 16:24:22 -05:00
Aaron Blankstein
5ad115ae3c feat: faster less mallocing to_hex() 2020-04-07 14:54:44 -05:00
Aaron Blankstein
6c0fc9c4f1 better comment, variable name 2019-09-24 12:55:03 -05:00
Aaron Blankstein
e039e9da22 use a vec of triehashes instead of extending vec<u8> 2019-09-21 17:08:50 -05:00
Aaron Blankstein
fb965783b3 some simple benchmarking. simple ancestor trie caching dramatically improves write performance (~40%). At this point, with a read/write mix of 2:1, this implementation is about 20% faster than the one with fork tables. Almost all of that is probably due to ancestor trie caching. 2019-09-21 13:02:44 -05:00
Aaron Blankstein
d53ad1b044 benchmark harnesses 2019-09-21 12:34:44 -05:00