# secretadmirere/cudacyclone-secretadmirere architecture

> Architecture diagram of the GitHub repository secretadmirere/cudacyclone-secretadmirere, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/secretadmirere/cudacyclone-secretadmirere
- Repository: https://github.com/secretadmirere/cudacyclone-secretadmirere

## Overview

CUDACyclone is a CUDA tool for randomized searches over deliberately bounded Bitcoin puzzle key ranges. Its workflow accepts a range and address or public key, partitions the range, prepares stride and jump tables, launches GPU searches, checks derived public-key hashes, and reports a match. The README documents these stages; the excerpts show some host-side utilities and cryptographic operations in CUDAUtils.h, but do not show the main CUDA implementation or its call sites, so those links are documented workflow relationships rather than source-verified calls.

Main entry points: [`CUDACyclone.cu`](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu) (Randomized key search), [`CUDAUtils.h`](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDAUtils.h) (Hash comparison)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Search inputs"]
  node_cli["Search options<br/>[CUDACyclone.cu]"]
  node_target["Target address or key<br/>[CUDACyclone.cu]"]
  node_range["Key range<br/>[CUDACyclone.cu]"]
end

subgraph group_planning["Search planning"]
  node_range_split["Range sections<br/>[CUDAUtils.h]"]
  node_stride_table["Stride point table<br/>[CUDACyclone.cu]"]
  node_jump_table["Random step table<br/>[CUDAUtils.h]"]
end

subgraph group_execution["GPU search"]
  node_thread_starts["Thread starting keys<br/>[CUDACyclone.cu]"]
  node_random_search["Randomized key search<br/>[CUDACyclone.cu]"]
end

subgraph group_verification["Key verification"]
  node_pubkey["Public-key derivation<br/>[CUDACyclone.cu]"]
  node_hash_check["Hash comparison<br/>[CUDAUtils.h]"]
  node_match["Matching key report<br/>[CUDACyclone.cu]"]
end

node_user(("Operator"))
node_gpu["NVIDIA GPU"]

node_user -->|"supplies options"| node_cli
node_cli -->|"selects target"| node_target
node_cli -->|"sets range"| node_range
node_range -->|"divides range"| node_range_split
node_cli -->|"sets stride"| node_stride_table
node_range_split -->|"allocates threads"| node_thread_starts
node_jump_table -->|"provides jumps"| node_random_search
node_thread_starts -->|"places threads"| node_random_search
node_stride_table -->|"guides key checks"| node_random_search
node_random_search -->|"runs on"| node_gpu
node_random_search -->|"derives candidate keys"| node_pubkey
node_target -->|"provides comparison target"| node_hash_check
node_pubkey -->|"hashes candidate"| node_hash_check
node_hash_check -->|"reports match"| node_match
node_match -->|"displays result"| node_user

click node_cli "https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu"
click node_target "https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu"
click node_range "https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu"
click node_range_split "https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDAUtils.h"
click node_stride_table "https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu"
click node_jump_table "https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDAUtils.h"
click node_thread_starts "https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu"
click node_random_search "https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu"
click node_pubkey "https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu"
click node_hash_check "https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDAUtils.h"
click node_match "https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_cli,node_target,node_range toneBlue
class node_range_split,node_stride_table,node_jump_table toneAmber
class node_thread_starts,node_random_search toneMint
class node_pubkey,node_hash_check,node_match toneRose
class node_user,node_gpu toneIndigo
```

## Components

### Search inputs

- [Search options](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu): `CUDACyclone.cu`
- [Target address or key](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu): `CUDACyclone.cu`
- [Key range](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu): `CUDACyclone.cu`

### Search planning

- [Range sections](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDAUtils.h): `CUDAUtils.h`
- [Stride point table](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu): `CUDACyclone.cu`
- [Random step table](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDAUtils.h): `CUDAUtils.h`

### GPU search

- [Thread starting keys](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu): `CUDACyclone.cu`
- [Randomized key search](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu): `CUDACyclone.cu`

### Key verification

- [Public-key derivation](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu): `CUDACyclone.cu`
- [Hash comparison](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDAUtils.h): `CUDAUtils.h`
- [Matching key report](https://github.com/secretadmirere/cudacyclone-secretadmirere/blob/main/CUDACyclone.cu): `CUDACyclone.cu`

### Other components

- **Operator**
- **NVIDIA GPU**

## Connections

- Operator → Search options: supplies options (evidence: `README.md`)
- Search options → Target address or key: selects target (evidence: `README.md`)
- Search options → Key range: sets range (evidence: `README.md`)
- Key range → Range sections: divides range (evidence: `README.md`)
- Search options → Stride point table: sets stride (evidence: `README.md`)
- Range sections → Thread starting keys: allocates threads (evidence: `README.md`)
- Random step table → Randomized key search: provides jumps (evidence: `README.md`)
- Thread starting keys → Randomized key search: places threads (evidence: `README.md`)
- Stride point table → Randomized key search: guides key checks (evidence: `README.md`)
- Randomized key search → NVIDIA GPU: runs on (evidence: `README.md`)
- Randomized key search → Public-key derivation: derives candidate keys (evidence: `README.md`)
- Target address or key → Hash comparison: provides comparison target (evidence: `README.md`)
- Public-key derivation → Hash comparison: hashes candidate (evidence: `README.md`)
- Hash comparison → Matching key report: reports match (evidence: `README.md`)
- Matching key report → Operator: displays result (evidence: `README.md`)
