dwave-examples / dwave-examples/quantum-blockchain
Multiple parallel runs possible (with interference in graphics, and potential for crashes)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 2
Description
It is possible to run multiple blockchains simultaneously within a single window - blockchain execution does not terminate when the associated browser window is closed.
Simplest example:
- Run a blockchain
- Close the browser window (which would be expected to terminate the operation).
- Reopen a new browser window
- Run another blockchain
The blockchain initiated in 1. continues to run and update the within the new window 3, alongside the independent run 4.
Similar issues exists with multiple windows open in parallel.
Suggested fix:
Terminate the blockchain execution when windows are closed, or prevent more than one blockchain being executed (by e.g. locking the start button). Perhaps raise errors or reboot when unexpected background processes are found.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the listed sequence of closing and reopening browser windows, then trace the blockchain execution lifecycle and how it is associated with each window. Done means closing a window terminates its blockchain or prevents conflicting runs, and parallel windows no longer interfere or cause crashes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blockchain, python
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100