Skip to content

small bugs in the JDS mempool #784

@lorbax

Description

@lorbax

Here
https://github.com/stratum-mining/stratum/blob/main/roles/jd-server/src/lib/mempool/mod.rs#L85
there is a tokio task that is awaited, which does not make any sense. Since the function update_mempool is already an async method, I think that the generation of a new task can be definitely can be avoided without any substantial work.

Also the rpc method get_raw_mempool_verbose should be renamed with get_raw_mempool, as at the end the rpc call is getrawmempool without verbose.

good for first issue!

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done ✅

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions