Open plebhash opened 5 months ago
Current Status:
there's a draft of Sv1MiningChannelService
inside src/pool/service/sv1_mining_channel_service.rs
(ln-pool-tower
branch).
the idea there is to get the TcpListener
to receive and decode Sv2Frame
objects.
development is being driven around
RUST_LOG=debug cargo watch -c -x t
while unit tests leverage tower_test
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