Commit Graph

20003 Commits

Author SHA1 Message Date
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
bf60466773 chore: use libstackerdb instead of stackslib for stackerdb RPC 2023-08-15 21:29:19 -04:00
Jude Nelson
4eab26b7a5 chore: move stackerdb RPC structs into their own crate 2023-08-15 21:28:52 -04:00
Jude Nelson
c85b0d7265 chore: depend on libstackerdb 2023-08-15 21:28:36 -04:00
Jude Nelson
79b7092dec chore: add libstackerdb to cargo.lock and cargo.toml 2023-08-15 21:06:28 -04:00
Jude Nelson
08d9adfea7 feat: factor out StackerDB client logic into its own crate 2023-08-15 20:44:32 -04:00
Jude Nelson
4c10f7d2ca fix: stacker_dbs is optional 2023-08-15 17:22:30 -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
022c60c34d feat: test for load/store chunks in stackerdb 2023-08-15 16:50:42 -04:00
Jude Nelson
2a6db51b09 fix: API sync 2023-08-15 16:50:15 -04:00
Jude Nelson
c85083b0d1 feat: load up stackerdbs from config file when instantiating peerdb and peernetwork 2023-08-15 16:49:57 -04:00
Jude Nelson
62e04362d4 feat: configurable stackerdbs 2023-08-15 16:49:46 -04:00
Jude Nelson
ed19283716 fix: use bitcoind v0.25 descriptors for importing an address 2023-08-15 16:49:27 -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
Jude Nelson
71aaa87cf9 Merge branch 'feat/stackerdb-sync' into feat/stackerdb-config 2023-08-15 12:36:23 -04:00
Jude Nelson
008c352cc4 chore: cargo fmt 2023-08-15 12:34:11 -04:00
Jude Nelson
8cb3e0a370 chore: address PR feedback 2023-08-15 12:31:13 -04:00
Jude Nelson
837c402022 chore: expose stream module 2023-08-15 00:51:16 -04:00
Jude Nelson
8c21dd2348 chore: if pushing a chunk leads us to discover newer chunks, then proceed directly to chunk-get 2023-08-15 00:50:50 -04:00
Jude Nelson
c8ec97237f chore: remove unnecessary write timestamp check on chunk receipt; instead, do this to throttle senders 2023-08-15 00:50:19 -04:00
Jude Nelson
6ecb4c75a6 feat: add DB method for querying the whole DB's metadata 2023-08-15 00:49:59 -04:00
Jude Nelson
961e900d7b feat: propagate the reason for an error in querying the stackerdb smart contract 2023-08-15 00:49:40 -04:00
Jude Nelson
4b20a598b3 chore: constructor for unsigned chunk metadata 2023-08-15 00:49:22 -04:00
Jude Nelson
d28715e923 chore: update copyright 2023-08-15 00:49:05 -04:00
Jude Nelson
d79f412d8b feat: add handlers for getting chunks, storing chunks, and listing chunk metadata in stackerdb 2023-08-15 00:48:46 -04:00
Jude Nelson
068c8d0df2 chore: update copyright 2023-08-15 00:48:34 -04:00
Jude Nelson
3fe02b9c19 chore: update copyright 2023-08-15 00:48:24 -04:00
Jude Nelson
2f7d93403d chore: update copyright 2023-08-15 00:48:12 -04:00
Jude Nelson
24984c3b89 feat: process stackerdb reconfiguration every Bitcoin block 2023-08-15 00:47:56 -04:00
Jude Nelson
2721efbe89 feat: message structs for getting, loading, and querying metadada in stackerdb 2023-08-15 00:47:37 -04:00
Jude Nelson
be593f3e2b chore: update copyright 2023-08-15 00:47:25 -04:00
Jude Nelson
53a2fe7233 feat: transport-layer implementation for getting chunks, storing chunks, and listing chunk metadata in a stackerdb 2023-08-15 00:47:03 -04:00
Jude Nelson
04f7470a96 chore: update copyright 2023-08-15 00:46:49 -04:00
Jude Nelson
dd3545d694 chore: update copyright 2023-08-15 00:46:38 -04:00
Jude Nelson
b4876e8127 chore: update copyright 2023-08-15 00:46:13 -04:00
Jude Nelson
78e618af5d chore: update copyright 2023-08-15 00:46:00 -04:00
Jude Nelson
4e66c42370 chore: update copyright 2023-08-15 00:45:48 -04:00
Jude Nelson
8aa654cda6 chore: update copyright 2023-08-15 00:45:36 -04:00
Jude Nelson
b024638732 chore: update copyright 2023-08-15 00:45:23 -04:00
Jude Nelson
626587a9cf chore: refactor stream move 2023-08-15 00:45:07 -04:00