Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

report block extensions_type contents in RPC and eosio-blocklog tool - 2.0 #8091

Merged
merged 1 commit into from
Oct 17, 2019

Conversation

brianjohnson5972
Copy link
Contributor

@brianjohnson5972 brianjohnson5972 commented Oct 17, 2019

Change Description

Added support in abi_serializer to print out the contents of a block's header_extensions and block_extensions and a transaction's transaction_extensions. #8080

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

This will affect how the new extensions_type attributes are reported for signed_block, or block when represented in json. This will affect the following endpoint:
/v1/chain/get_block

The block json object will have an optional:

  • "new_protocol_features" array of objects with a field of "feature_digest" which reports the feature's digest value (the same digest that is reported in logging when nodeos is started)
  • "new_producer_schedule" object with:
    • "version" number for the new schedule
    • "producers" array of objects with:
      • "producer_name" name of the producer
      • "authority" block signing authority for the producer
  • "additional_signatures" array of additional signatures provided on the block

This will also affect how the new extensions_type attributes are reported for transactions (but not signed_transactions) when represented in json. This will affect the following endpoint:
/v1/chain/get_scheduled_transactions

The transaction json object will have an optional:

  • "deferred_transaction_generation" object with:
    • "sender_trx_id" sender transaction id
    • "sender_id" id of the sender
    • "sender" sender account name

Documentation Additions

  • Documentation Additions

…io-blocklog json output. For release/2.0.x
@arhag arhag merged commit c0c0984 into release/2.0.x Oct 17, 2019
@arhag arhag deleted the 8080-extensions-type-support_2.0 branch October 17, 2019 15:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants