We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
plebpool leverages the tower crate and its ecosystem.
plebpool
tower
tower-test crate is used to assert Towers work as expected.
tower-test
main.rs is responsible for waiting on these two tokio::task::JoinHandle handles:
main.rs
tokio::task::JoinHandle
LnTower::serve()?
PoolTower::serve()?
All plebpool logic is handled asyncrhonously inside these two main tasks.
struct LnChannelManagerService { ... } struct LnPaymentService { ... } impl tower::Service<LnChannelManagerRequest> for LnChannelManagerService { ... } impl tower::Service<LnPaymentRequest> for LnPaymentService { ... } struct LnTower { ln_channel_manager_service: LnChannelManagerService, ln_payment_service: LnPaymentService, }
struct Sv1MiningChannelService { ... } struct Sv2MiningChannelService { ... } struct JobDeclaratorService { ... } struct TemplateReceiverService { ... } impl tower::Service<Sv1MiningChannelRequest> { ... } impl tower::Service<Sv2MiningChannelRequest> { ... } impl tower::Service<JobDeclarationRequest> { ... } impl tower::Service<TemplateReceiverRequest> { ... } struct PoolTower { sv1_mining_channels_service: Sv1MiningChannelService, sv2_mining_channels_service: Sv2MiningChannelService, job_declarator_service: JobDeclaratorService, template_receiver_service: TemplateReceiverService }
The text was updated successfully, but these errors were encountered:
Current Status:
there's a draft of Sv1MiningChannelService inside src/pool/service/sv1_mining_channel_service.rs (ln-pool-tower branch).
Sv1MiningChannelService
src/pool/service/sv1_mining_channel_service.rs
ln-pool-tower
the idea there is to get the TcpListener to receive and decode Sv2Frame objects.
TcpListener
Sv2Frame
development is being driven around
RUST_LOG=debug cargo watch -c -x t
while unit tests leverage tower_test
tower_test
Sorry, something went wrong.
SetupConnection
No branches or pull requests
Tower
plebpool
leverages thetower
crate and its ecosystem.tower-test
crate is used to assert Towers work as expected.main.rs
is responsible for waiting on these twotokio::task::JoinHandle
handles:LnTower::serve()?
PoolTower::serve()?
All
plebpool
logic is handled asyncrhonously inside these two main tasks.LN Service Tower
Pool Service Towers
The text was updated successfully, but these errors were encountered: