Skip to content

Conversation

@attogram
Copy link
Owner

Draft

google-labs-jules bot and others added 20 commits November 16, 2025 10:59
Updated the checkpoints in `include/checkpoints.php` to the current block height.

Enhanced the error messages in `include/init.inc.php`, `include/class/Block.php`, and `include/class/NodeSync.php` to provide more detailed information when a checkpoint fails. The error messages now include the checkpoint height, the expected block ID, and the actual block ID.

Also formatted the 'Future block' error message to display the date in 'YYYY-MM-DD HH:MM:SS' format.
Creates a comprehensive guide for building smart contracts on the PHPCoin platform.

The guide covers:
- Structural rules
- State management
- Annotations
- Core transaction templates
- Built-in utilities
- ERC20 token templates
- Deployment
- Command-line tools
- A series of examples from "Hello, World!" to a "Wrapped PHPCoin" token.
Creates a comprehensive guide for building smart contracts on the PHPCoin platform.

The guide covers:
- Structural rules
- State management
- Annotations
- Core transaction templates
- Built-in utilities
- ERC20 token templates
- Deployment
- Command-line tools
- A series of examples from "Hello, World!" to a "Wrapped PHPCoin" token.
Adds a new section to the smart contract developer guide that explains the fixed fee for deploying a smart contract.

- Specifies the cost for both mainnet (1000 PHPCoin) and testnet (100 PHPCoin).
- Points to the `getSmartContractCreateFee()` method in `include/class/Blockchain.php` as the source of this value.
- Updates `include/checkpoints.php` with a comprehensive list of checkpoints, each including a timestamp comment. The comments are now correctly aligned for readability.
- Improves the error message for the genesis block check in `include/init.inc.php` to provide more specific details.
- Enhances the log message in `include/class/NodeSync.php` to give a more detailed output for checkpoint validation.
- Updates `include/checkpoints.php` with a comprehensive list of checkpoints up to height 1,240,000.
- Adds a formatted timestamp comment to every checkpoint entry for clarity.
- Aligns all comments in `checkpoints.php` for improved readability.
- Improves the error message for the genesis block check in `include/init.inc.php` to provide more specific details.
- Enhances the log message in `include/class/NodeSync.php` to give a more detailed output for checkpoint validation.
I will integrate this docs into official docs
Update checkpoints
Fix undefined var error - phpcoinn#18
- added sanitize id
- psr12 style
- update viewer
- update docs with breadcrumbs header
- fix bad markdown in few files: empty [links]
Comment out debug print statements in shutdown_handler.
Let there be docs - update #1
CommonSessionHandler :: read - fix / refactor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants