OpenCyber Academy
Technical · Chapter 13 · English
Course code: OCA-055Chapter 13: OCA-055-C013

Chapter 13 — Web3, blockchain and cryptoasset security: troubleshooting

Open, free learning for anyone who wants to protect people and technology. No account is required to read this text or its worked answers.

Lesson map

Lesson 13 published. Map, example, EX049.

flowchart TD
  N0["Learning outcomes"]
  N1["13.1 A reported problem"]
  N2["13.2 Testing hypotheses"]
  N3["13.3 Recording and solving"]
  N4["Synthesis"]
  N0 --> N1 --> N2 --> N3 --> N4
  N4 --> EX["Worked example"]
  EX --> Q["Exercise EX049"]

Logical drawing

flowchart LR
  N0["Learning outcomes"]
  N1["13.1 A reported problem"]
  N2["13.2 Testing hypotheses"]
  N3["13.3 Recording and solving"]
  N4["Synthesis"]
  N0 --> N1 --> N2 --> N3 --> N4 --> Q["EX049"]
[Learning outcomes]
    |
    v
[13.1 A reported problem]
    |
    v
[13.2 Testing hypotheses]
    |
    v
[13.3 Recording and solving]
    |
    v
[Synthesis]
    |
    v
[Worked example] --> [Exercise EX049]

Learning outcomes

You will (1) troubleshoot methodically; (2) use telemetry to test hypotheses; (3) record solutions.

13.1 A reported problem

Counter staff report that returned tools sometimes take more than ten minutes to show a released deposit, while it usually takes under one. Aiko defines the symptom precisely: delays occur only for some returns, mostly in the afternoon. She gathers telemetry for the affected period: block production, node heights, deposit service logs and database timings. A precise symptom narrows the search. Mr Kowal reminds her to change nothing until she has data, because changes made in a hurry can hide the real cause and create new problems.

13.2 Testing hypotheses

Aiko lists hypotheses: a slow node, a stalled deposit service queue, database locking or slow signer approvals for releases above the threshold. Telemetry shows nodes healthy and blocks regular. Deposit service logs show releases above the threshold waiting for staff multisig approval, while small releases are quick. Afternoon delays match times when only one signer is on duty. The cause is process, not technology: large releases need two signers and only one is present. Testing each hypothesis against data avoids blaming the ledger for a staffing pattern.

13.3 Recording and solving

The manager adjusts rosters so two signers are available during opening hours, and the threshold for multisig release is reviewed and kept, since it protects larger deposits. Aiko records the symptom, hypotheses, evidence, cause and solution in the troubleshooting log, with a summary line for quick searching. Delays drop to under a minute for all but a few cases. She notes that many technical-looking problems have human or process causes, and good troubleshooting follows the evidence wherever it leads, even away from the technology.

Worked example

Delayed releases are traced to large releases waiting for a second signer in the afternoon, solved by rostering two signers during opening hours.

Synthetic case. The problem and solution are synthetic.

Errors and limits

Assuming a technical cause can hide a process problem such as signer availability.

Exercises

Synthesis

Methodical troubleshooting follows evidence to the real cause, technical or not.

Continue studying — chapter 13 of 18

← Chapter 12 (draft) · Course chapter index · Chapter 14 (draft) →

Worked answers

EX049. Some released deposits take over ten minutes, mostly in the afternoon.

EX050. Slow node, stalled queue, database locking or slow signer approvals.

EX051. Large releases needed two signers but only one was on duty.

EX052. It was reviewed and kept, since it protects larger deposits.