Bitcoin Forum
July 30, 2026, 12:02:28 PM *
News: Latest Bitcoin Core release: 31.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Updated Genesis Block – Looking for Technical Feedback  (Read 71 times)
Francesco Ferraro (OP)
Newbie
*
Offline

Activity: 20
Merit: 0


View Profile
July 25, 2026, 04:43:14 PM
 #1

Hello everyone,

Thank you again for all the feedback from my previous post.

I updated several parts of my experimental Python blockchain project before continuing.

Changes made:

- Increased the address length.
- Address separators (-) are now only for display in the wallet.
- Previous block hash is now stored as a full 64-character hash.
- UTXO structure has been updated.
- Added block_height metadata to UTXOs.
- Added spent status handling for UTXOs.
- Mined a new Genesis block after these changes.

Mining result:

Difficulty : 5
Hashrate   : ~241 H/s (Android / Termux)
Nonce      : 307744

Updated Genesis Block:

{
  "block": 0,
  "timestamp": 1778196203,
  "difficulty": 5,
  "merkle_root": "8a4f6ab388e92a5850e1c6b5894faab842b1370e5912b6e9309e17d018108065",
  "transactions": [
    {
      "version": 1,
      "inputs": [],
      "outputs": [
        {
          "address": "F369-2581-9979-5926-4742-2943-7487-3933-4097-1442",
          "amount": 2050000000,
          "currency": "Ferraro"
        }
      ],
      "timestamp": 1778196203,
      "message": "BLOCK REWARD",
      "txid": "8a4f6ab388e92a5850e1c6b5894faab842b1370e5912b6e9309e17d018108065"
    }
  ],
  "Francesco Ferraro": "Why?",
  "message": "Reuters 06/May/2026 Global debt hits record of near $353 trillion",
  "previous_chain": "0000000000000000000000000000000000000000000000000000000000000000",
  "nonce": 307744,
  "chain": "00000eed0da7650ba11c5e340795ee76fe0ed740da7bdf40a26d6f2c92dbaa2b"
}

I'd really appreciate any feedback on the updated Genesis block structure.

Are there any obvious design mistakes or improvements you would recommend before I continue with transaction validation, networking, and mining optimization?

Thank you for taking the time to review it.
Francesco Ferraro (OP)
Newbie
*
Offline

Activity: 20
Merit: 0


View Profile
July 26, 2026, 03:16:07 PM
 #2

I read your updated genesis block post. Since the genesis identity, initial parameters and launch assumptions may become the reference point for every future release, do you plan to maintain a permanent public history of all consensus decisions, corrections and launch commitments?

Git can preserve source changes, but explanations, announcements and roadmap statements can still be edited or disappear. How will a future node operator verify exactly what the project originally stated at launch?


Thanks! I appreciate your feedback.

I'm building this project step by step and learning as I go. I'll keep posting updates here whenever I complete a milestone or improve something.
Francesco Ferraro (OP)
Newbie
*
Offline

Activity: 20
Merit: 0


View Profile
July 28, 2026, 12:37:09 AM
 #3

# Ferraro Development Log

---

# Genesis Block V2

Status

✅ Genesis Block V2 Successfully Mined

---

## Mining Information

Algorithm : Ferraro CPU Algorithm

Consensus : Proof of Work (CPU)

Difficulty : 5

Nonce : 1206848

Hashrate : ~73 H/s

Platform : Android (Termux)

CPU Buffer : 2 MB

CPU Rounds : 2

---

## CPU Usage

```
800%cpu   0%user   0%nice   0%sys
800%idle  0%iow    0%irq    0%sirq

PID USER         PR  NI VIRT  RES  SHR S %CPU %MEM     TIME+ ARGS
7733 u0_a289      20   0  63M 7.8M 3.0M R 95.6   0.2  37:45.07 python
```

---

## Mining Engine

```python
CPU_BUFFER_SIZE = 2 * 1024 * 1024
CPU_ROUNDS = 2
```

Mining Loop

```python
start = time.time()
last_print = time.time()
hashes = 0

clean = dict(block)
clean.pop("chain", None)
clean.pop("nonce", None)

header = blockchain.serialize(clean).encode()

seed = blockchain.dsha256_bytes(header)

buffer = blockchain.build_cpu_buffer(seed)

while True:

    h = blockchain.cpu_algorithm(
        buffer,
        seed,
        block["nonce"]
    )

    hashes += 1

    if h.startswith("0" * difficulty):

        block["chain"] = h

        break

    block["nonce"] += 1
```

---

## Genesis Block JSON

```json
[
  {
    "block": 0,
    "timestamp": 1778196203,
    "difficulty": 5,
    "merkle_root": "65ff7c35d69a79f173723a370cdf132f358883f5439d2f2595dc77f4e3b38f38",
    "transactions": [
      {
        "version": 1,
        "inputs": [],
        "outputs": [
          {
            "address": "F369077297756330555934711364126937148742295398586755",
            "amount": 2050000000,
            "currency": "Ferraro"
          }
        ],
        "timestamp": 1778196203,
        "Francesco Ferraro": "Why?",
        "message": "Reuters 06/May/2026 Global debt hits record of near $353 trillion",
        "txid": "65ff7c35d69a79f173723a370cdf132f358883f5439d2f2595dc77f4e3b38f38"
      }
    ],
    "previous_chain": "0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": 1206848,
    "chain": "000006f97607ae15640fb107597046ff1e727d283af86396d1b6c08036906231"
  },
  {
    "block": 1,
    "timestamp": 1785176691,
    "difficulty": 5,
    "merkle_root": "bd72b859232a177bba9dd6a61c88f58fc21032181729c84d2ff717f974d64aad",
    "transactions": [
      {
        "version": 1,
        "inputs": [],
        "outputs": [
          {
            "address": "F369077297756330555934711364126937148742295398586755",
            "amount": 2050000000,
            "currency": "Ferraro"
          }
        ],
        "timestamp": 1785176691,
        "message": "BLOCK REWARD",
        "txid": "bd72b859232a177bba9dd6a61c88f58fc21032181729c84d2ff717f974d64aad"
      }
    ],
    "previous_chain": "000006f97607ae15640fb107597046ff1e727d283af86396d1b6c08036906231",
    "nonce": 772963,
    "chain": "000005f4bb32bf6c428378f36237980b43a921e334b5fe2dd054aac6ee92f0c5"
  }
]
```

---

## Notes

Genesis reward is permanently locked.

Genesis exists only as the origin of the blockchain.

Spendable coins begin from Block #1.

---

## Next Development

- CPU Mining Engine
- First Transaction (Block #2)
- UTXO Validation
- Peer-to-Peer Broadcast
- Network Synchronization

One Vote = One CPU.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!