-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ticking function to get blocks #52
Comments
We need to discuss that further before going to far with this :) |
Sure, agreed. |
…er-with-network-layer Merge BlockSyncer with NetworkLayer
lgtm 👍
It seems that it is really not a lot of effort to also be able to connect from wallet to staging (as cardano-http-bridge seems to offer that as well): |
Context
We have:
cardano-http-bridge
subprocess (Spawn http bridge and a wallet server from specified options #8 -- in progress)The ticking function should call the function to get blocks.
Decision
Add a function to get blocks every tick and log them.
This function will be called from
main
and won't normally return.Acceptance Criteria
Development Plan
startBlockSyncer
startBlockSyncer from
main`Addiohk-monitoring-framework
and use the basic set up which they have documented. (Maybe not yet -- haven't decided)cardano-http-bridge
Reflect upon design of the receive and process blocks feature, and propose then implement changes.PR
master
master
master
master
QA
Okay, we do now connect and receives blocks from the http bridge, pretty much epoch per epoch. Note that this is very very rudimentary for now and we are missing quite a few features coming soon:
Still, this can be manually tested by starting the current "wallet server" alongside the http bridge. Provided you've installed in cardano-http-bridge (
cargo install https://github.com/input-output-hk/cardano-http-bridge.git
):This should print all blocks received from the http bridge, until the tip block is reached, whereupon a network block should be printed every 20 seconds.
The text was updated successfully, but these errors were encountered: