larafale / bip39-solver-server

A server to orchestrate the distribution of work when solving for a BIP39 mnemonic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BIP39 Solver Server

This project was used to help orchestrate the distribution of work for a pool of GPU workers. It logs work in batches as they are distributed and then updates the batch status once we a notification from the worker that it is complete. It allows for fetching the status, updating the mnemonic, and updating the batch size. One piece of missing functionality is to automatically serve batches that have status=0 and are older than some threshold age. Workers would fail sometimes in the middle of a batch and without this functionality the batch would never get completed. I ended up manually querying and starting a worker specifically to handle these failed batches but could easily be fixed in the server itself. This is not high quality production ready code, it was thrown together as quickly as possible. Read more here: .

About

A server to orchestrate the distribution of work when solving for a BIP39 mnemonic


Languages

Language:JavaScript 100.0%