Commit Graph

17 Commits

Author SHA1 Message Date
0aa58b137b Fix a bug that prevented the blockchain to sync
Blocks with reveal transactions that were loaded from disk could not be
distributed to other nodes before. This prevented new nodes with an old
blockchain state from synchronizing the blockchain.

This bug has now been fixed.
2026-03-22 17:47:42 +01:00
872e44e317 Implement gambling 2025-12-13 23:41:07 +01:00
3d239a7526 Fix a bug that caused the node to crash 2024-03-25 21:53:42 +01:00
2f3216a0c4 Implement mining task request/response 2024-03-23 18:57:57 +01:00
54c81810ee Allow clients to transmit payments 2024-03-20 22:59:44 +01:00
c6394d2ca1 Implement exchange of open transactions 2024-03-20 22:23:26 +01:00
0218e34787 Do not rewrite the blockchain file at startup 2024-03-17 18:56:56 +01:00
1d627a83cb Fix a bug during initial blockchain check
An invalid block in the locally stored blockchain caused
the node to crash.
2024-03-17 18:49:22 +01:00
833a300611 Fix a bug during transaction validation
Missing method call - caused an exception
2024-03-17 18:35:13 +01:00
05881a9450 Persist blocks locally in a file 2024-03-17 17:43:59 +01:00
e1fe8b0958 Reorder field in the block
Miners should choose a transaction from the network based on its reward,
not as part of the mining variability.
That's why it's a bad idea to place the transaction as last block element.

Reorder the fields to make less room for harmful mining optimization.
2024-03-17 09:54:00 +01:00
f41710c3dd Implement block transfer logic 2024-03-16 21:56:12 +01:00
44598fc030 Implement blockchain logic 2024-03-16 17:10:03 +01:00
9204f87c56 Plan the carrotcoin launch 2024-03-16 15:56:52 +01:00
53e659fc9d Fill computed fields during validation 2024-03-16 15:20:46 +01:00
c48d2d8e0d method get_block_raw 2024-03-04 18:42:17 +01:00
f57eab2e3e Create a first draft of the blockchain class 2024-02-25 16:29:05 +01:00