Commit Graph

115 Commits

Author SHA1 Message Date
Jude Nelson
4efec5d5ae refactor: MemPoolSyncData codec lives in the mempool modules 2023-10-02 15:53:24 -04:00
Jude Nelson
e663ebd94b chore: clean up compiler warnings 2023-10-02 15:53:14 -04:00
Jude Nelson
046d386432 refactor: use new StacksHttpRequest and StacksHttpResposne types 2023-10-02 15:52:59 -04:00
Jude Nelson
898aeba937 refactor: put Atlas HTTP response types into the Atlas system 2023-10-02 15:52:35 -04:00
Jude Nelson
07cf31430a refactor: use new StacksHttpRequest HTTP request constructors 2023-10-02 15:52:08 -04:00
Jude Nelson
49b4594191 chore: cargo fmt 2023-10-02 15:51:45 -04:00
Jude Nelson
6ac7ae4e38 chore: remove dead import 2023-10-02 15:51:25 -04:00
Jude Nelson
0a97fac687 chore: API sync 2023-10-02 15:51:16 -04:00
Jude Nelson
cd716fe1df chore: API sync 2023-10-02 15:51:05 -04:00
Jude Nelson
fcd364e0ef refactor: remove dead unit tests 2023-10-02 15:50:54 -04:00
Jude Nelson
6c98cd6056 refactor: put MemPoolSyncData into the mempool module, and remove transaction streaming code 2023-10-02 15:50:30 -04:00
Jude Nelson
2bd674f879 fix: use to_owned() 2023-10-02 15:50:14 -04:00
Jude Nelson
f9b3f01c51 fix: use to_owned() 2023-10-02 15:49:59 -04:00
Jude Nelson
9edec34c6e feat: helper to create a test microblock with a given number of txs 2023-10-02 15:49:40 -04:00
Jude Nelson
ba30d82308 feat: destruct TrieFileStorage into its inner connection (i.e. for purposes of reopening it) 2023-10-02 15:49:16 -04:00
Jude Nelson
ac0187ea7b feat: destruct a MARF into its Sqlite connection (i.e. for purposes of re-opening a StacksChainState) 2023-10-02 15:48:46 -04:00
Jude Nelson
8750d467fd refactor: put ExtendedStacksHeader into Stacks chainstate module hierarchy 2023-10-02 15:48:25 -04:00
Jude Nelson
5b4ca5865e refactor: remove all streaming code, since we don't need it anymore 2023-10-02 15:48:01 -04:00
Jude Nelson
a6586502e0 fix: compiler warning: use to_owned() 2023-10-02 15:47:44 -04:00
Jude Nelson
d95340877b fix: compiler warning: use to_owned() 2023-10-02 15:47:31 -04:00
Jude Nelson
be79b1a265 refactor: move all remaining vendored deps into stacks_common, since signers will need them too 2023-08-28 11:04:10 -04:00
Jude Nelson
4f53702e32 Merge branch 'feat/stackerdb-event-observer' into feat/stacks-signer 2023-08-25 15:29:44 -04:00
Jude Nelson
8d9ef90468 fix: API sync with unit tests 2023-08-25 15:29:11 -04:00
Jude Nelson
f50a49a91e Merge branch 'feat/stackerdb-event-observer' into feat/stacks-signer 2023-08-25 14:42:05 -04:00
Jude Nelson
9c4e540250 fix: the stackerdb event observer now sends chunks over the event observer, not just chunk metadata 2023-08-25 14:40:32 -04:00
Jude Nelson
2ade75e291 chore: cargo fmt 2023-08-22 23:59:14 -04:00
Jude Nelson
54d66d847b chore: cargo fmt 2023-08-22 23:58:43 -04:00
Jude Nelson
739c085b0d fix: API sync with unit tests 2023-08-22 23:54:36 -04:00
Jude Nelson
944d3a50c8 fix: fix compile-time error in unit tests due to new API 2023-08-22 23:53:59 -04:00
Jude Nelson
95ab139aff Merge branch 'feat/stackerdb-event-observer' into feat/stacks-signer 2023-08-22 21:34:53 -04:00
Jude Nelson
57919d985b feat: StackerDBEventObserver trait 2023-08-22 17:43:05 -04:00
Jude Nelson
395effe57c feat: POST /v2/stackerdb/... will now report the chunk to the HTTP server to it'll get captured in NetworkResult (thereby exposing it to the Relayer thread) 2023-08-22 17:42:29 -04:00
Jude Nelson
6a87551b25 feat: unify MemPoolEventDispatcher and StackerDBEventDispatcher behind a composite trait RelayEventDispatcher, and provide explicit upcasts to each constituent trait to preserve compatibility. Use this to implement relay logic for reporting stackerdb events from network results. 2023-08-22 17:41:20 -04:00
Jude Nelson
d18ef3a331 feat: track uploaded stackerdb chunks in the network result 2023-08-22 17:40:59 -04:00
Jude Nelson
08e876a66c chore: update imports 2023-08-18 16:14:20 -04:00
Jude Nelson
0dbe22e643 refactor: put httparse into stacks-common so it can be used in other projects (like the signer binaries) 2023-08-18 16:11:44 -04:00
Jude Nelson
5b14fce2dd chore: cargo fmt and fix compile error 2023-08-18 15:36:54 -04:00
Jude Nelson
ee7cc503e0 chore: address all PR feedback, and address a bug in which we accidentally expected a SIP-003 length prefix in chunks that we parsed 2023-08-18 13:57:15 -04:00
Jude Nelson
b42d3127bd chore: remove ContractId and use QualifiedContractIdentifier pervasively 2023-08-15 22:38:26 -04:00
Jude Nelson
7547a6060f chore: remove dead files 2023-08-15 22:38:05 -04:00
Jude Nelson
4eab26b7a5 chore: move stackerdb RPC structs into their own crate 2023-08-15 21:28:52 -04:00
Jude Nelson
9b85505928 fix: compile-time merge errors 2023-08-15 16:57:23 -04:00
Jude Nelson
39ac9c60e9 Merge branch 'feat/stackerdb-config' into feat/stackerdb-rpc 2023-08-15 16:53:50 -04:00
Jude Nelson
09e955d4f3 fix: don't enforce write rate-limiting in the DB 2023-08-15 16:49:07 -04:00
Jude Nelson
a28812b505 fix: return stacker DBs as a string 2023-08-15 16:48:53 -04:00
Jude Nelson
49fb7a99ee fix: API sync 2023-08-15 16:48:18 -04:00
Jude Nelson
977fef2897 fix: API sync 2023-08-15 16:48:06 -04:00
Jude Nelson
6b795f1125 fix: send chunks as "text" (no SIP-003 length prefix) 2023-08-15 16:47:47 -04:00
Jude Nelson
bb67412c48 chore: API sync 2023-08-15 16:47:37 -04:00
Jude Nelson
45e840d98f feat: post-stackerdb helper 2023-08-15 16:47:16 -04:00