-
Notifications
You must be signed in to change notification settings - Fork 27
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
API+ features for Mandel 3.1 #61
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…eduplication cache handling
…-plugin-config-expire-trx
…pire-trx net_plugin transaction dedup cache handling
heifner
changed the title
Eventual merge of 4 features for Mandel 3.0
WIP: Eventual merge of 4 features for Mandel 3.0
Mar 17, 2022
brianjohnson5972
changed the title
WIP: Eventual merge of 4 features for Mandel 3.0
WIP: Eventual merge of 4 features for Mandel 3.1
Mar 23, 2022
…saction_resource_cost Transaction Resource Cost Estimation Docs Update
…_size_variant Update memory_size() calculation for tracked_transaction
Update finality status to have timestamps and trx expiration Enable trx finality status processing feature Update test Update chain_plugin to make use of actual chain_state and trx_state Fix unit tests
…ilure-traces Implement return failure traces.
Callback registration lambdas are now wired fully from the initial stubs. Updated docs with example transaction status output
…billing-test Added integration tests for subjective billing
Remove enabling transaction finality status feature from previous feature testing effort.
…t-return-failure-traces Revert "Implement return failure traces."
…nsaction-status Add get_transaction_status to chain_plugin
Merge main 04 27 2022
brianjohnson5972
changed the title
WIP: Eventual merge of 4 features for Mandel 3.1
API+ features for Mandel 3.1
Apr 27, 2022
heifner
approved these changes
Apr 28, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Each individual PRs approved as they went into feature/oci_api_phase1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Transaction Retry.
When transaction retry is enabled on an API node, it will monitor incoming API transactions and ensure they are resubmitted additional times into the P2P network until they expire or are included in a block.
New configuration args for nodeos
New command line options for cleos
New chain_api_plugin endpoint
Transaction Finality Status
When transaction finality status is enabled, the status of a transaction in the node, as well as a snapshot of the current chain state, can be queried. If a transaction is not found for the given transaction id, only the chain status fields and a status of "UNKNOWN" will be provided.
New configuration args for nodeos
New command line options for cleos
get transaction-status <id (required)>
New chain_api_plugin endpoint
PRs
Transaction Resource Cost Estimation
Transactions sent to this endpoint will be executed and create a transaction trace, including resource usage, and then will revert all state changes and will not contribute to the subjective billing for the account. If the transaction has signatures, they will be processed, but any failures will be ignored.
Users with exposed nodes who have enabled the compute_transaction endpoint should implement some sort of throttling to protect from Denial of Service attacks.
New command line options for cleos
New chain_api_plugin endpoint
PRs
compute_transaction
, to the Chain API Plugin. (Added capability for read-only txns / added compute_transaction to chain api #86)send_transaction2
to Chain API Plugin, which provides transaction retry support.(Transaction retry feature #79, Many Transaction Long Running Test #88, Add new transaction retry integration test #89, Add docs for transaction retry #116)Subjective Billing Improvements
Account max failures: During block production, accounts are permitted a set number of failures before their additional transactions are dropped for a given block. This previously hard-coded limit of 3 is now configurable. Also, disable-subjective-account-billing accounts are no longer subjected to this limit.
Decay time: Users are prevented from abuse of transactions by tracking an account's subjective CPU budget. The budget is returned to an account over a period of time known as subjective account decay. This previously hard-coded decay of 24 hours is now configurable.
New configuration args for nodeos
PRs