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
|
5e68d0d855
|
fix: 'hex' not 'sha256d' for hex error message
|
2023-10-02 15:47:09 -04:00 |
|
Jude Nelson
|
a10bf55d9c
|
chore: fix compiler warning
|
2023-10-02 15:46:51 -04:00 |
|
Jude Nelson
|
ab329b6943
|
feat: get_chunk_size() helper
|
2023-10-02 15:46:39 -04:00 |
|
Jude Nelson
|
e3f61b88f0
|
chore: expose net module
|
2023-10-02 15:46:18 -04:00 |
|
Jude Nelson
|
e5ab7e9697
|
refactor: put PeerHost and PeerAddress into stacks-common
|
2023-10-02 15:45:18 -04:00 |
|
Jude Nelson
|
501352f5d8
|
docs: update docs with event observer changes
|
2023-08-28 11:58:20 -04:00 |
|
Jude Nelson
|
26e12d7a99
|
fix: include demo target
|
2023-08-28 11:54:21 -04:00 |
|
Jude Nelson
|
8a0173304a
|
chore: vendored ctrlc deps live in stacks_common
|
2023-08-28 11:07:21 -04:00 |
|
Jude Nelson
|
a773687a60
|
refactor: use libsigner
|
2023-08-28 11:07:12 -04:00 |
|
Jude Nelson
|
199d5ed47f
|
chore: libsigner is now a compilation unit
|
2023-08-28 11:06:58 -04:00 |
|
Jude Nelson
|
29543fc6e7
|
chore: update Cargo.lock with refactored vendored deps
|
2023-08-28 11:06:44 -04:00 |
|
Jude Nelson
|
21144daba6
|
chore: update cargo deps with new vendored deps' needs
|
2023-08-28 11:06:27 -04:00 |
|
Jude Nelson
|
4e306ce17c
|
feat: new libsigner implementation. Stacker signers and sBTC signers would use this crate to implement a Stacks event receiver and a runloop.
|
2023-08-28 11:05:34 -04:00 |
|
Jude Nelson
|
ea67dc0fad
|
refactor: HTTP code will be moved to a separate libsigner crate
|
2023-08-28 11:04:52 -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
|
1f3bd2e7b4
|
fix: use Bitcoin 25 for all CI tests
|
2023-08-23 13:40:01 -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
|
7b7b032371
|
Merge branch 'feat/stackerdb-rpc' into feat/stackerdb-event-observer
|
2023-08-22 23:21:50 -04:00 |
|
Jude Nelson
|
2a3ce4ff42
|
fix: use Bitcoin 0.25 for integration tests
|
2023-08-22 21:36:45 -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
|
765dc617a7
|
fix: use Bitcoin 0.25 for integration tests
|
2023-08-22 21:18:08 -04:00 |
|
Jude Nelson
|
1276dcbb6e
|
docs: describe /stackerdb_chunks endpoint for event observer
|
2023-08-22 17:59:15 -04:00 |
|
Jude Nelson
|
f890c6ec10
|
feat: integration test for stackerdb event observer
|
2023-08-22 17:46:24 -04:00 |
|
Jude Nelson
|
13884dca50
|
feat: add event handler for stackerdb events to test observer
|
2023-08-22 17:46:10 -04:00 |
|
Jude Nelson
|
d5ea39eeb0
|
feat: push stackerdb events to observers with the "stackerdb" or "any" concern
|
2023-08-22 17:45:32 -04:00 |
|
Jude Nelson
|
6640032ef0
|
feat: "stackerdb" event key
|
2023-08-22 17:45:19 -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
|
469ab962a6
|
fix: remove commented-out code
|
2023-08-21 17:31:04 -04:00 |
|
Jude Nelson
|
0c203ca46a
|
chore: fix failing test case
|
2023-08-21 17:29:22 -04:00 |
|
Jude Nelson
|
a79124847c
|
chore: fix failing test case
|
2023-08-21 17:27:00 -04:00 |
|
Jude Nelson
|
8b22d19d2b
|
feat: prototype stacks-signer daemon (just a CLI front-end to stackerdb for now)
|
2023-08-18 16:15:45 -04:00 |
|
Jude Nelson
|
de927bda9d
|
fix: clear bootstrap nodes for tests so we don't fail due to a lack of DNS
|
2023-08-18 16:15:18 -04:00 |
|
Jude Nelson
|
555c19f789
|
fix: clear bootstrap node in testnet so we don't fail a test due to DNS not being available
|
2023-08-18 16:14:44 -04:00 |
|