Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor: Add documentation to generate_block to warn against misusing parameters #1277

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

TheQuantumPhysicist
Copy link
Collaborator

No description provided.

blockprod/src/rpc.rs Outdated Show resolved Hide resolved
/// If the transactions are not valid, the block will be rejected and will not be included in the blockchain.
/// It's preferable to use `transaction_ids` instead, where the mempool will ensure that the transactions are valid
/// against the current state of the blockchain.
/// - `transaction_ids`: The transaction IDs of the transactions to be included in the block from the mempool.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDs -> Ids

blockprod/src/rpc.rs Outdated Show resolved Hide resolved
@TheQuantumPhysicist TheQuantumPhysicist merged commit 481696a into master Oct 17, 2023
31 checks passed
@TheQuantumPhysicist TheQuantumPhysicist deleted the fix/generate_block_docs branch October 17, 2023 14:31
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.

None yet

4 participants