This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial attempt at restructuring transaction traces #6897
- Loading branch information
Showing
11 changed files
with
214 additions
and
115 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* @file | ||
* @copyright defined in eos/LICENSE | ||
*/ | ||
#include <eosio/chain/trace.hpp> | ||
|
||
namespace eosio { namespace chain { | ||
|
||
action_trace::action_trace( | ||
const transaction_trace& trace, const action& act, account_name receiver, bool context_free, | ||
int32_t action_ordinal, int32_t creator_action_ordinal, int32_t parent_action_ordinal | ||
) | ||
:action_ordinal( action_ordinal ) | ||
,creator_action_ordinal( creator_action_ordinal ) | ||
,parent_action_ordinal( parent_action_ordinal ) | ||
,receiver( receiver ) | ||
,act( act ) | ||
,context_free( context_free ) | ||
,trx_id( trace.id ) | ||
,block_num( trace.block_num ) | ||
,block_time( trace.block_time ) | ||
,producer_block_id( trace.producer_block_id ) | ||
{} | ||
|
||
action_trace::action_trace( | ||
const transaction_trace& trace, action&& act, account_name receiver, bool context_free, | ||
int32_t action_ordinal, int32_t creator_action_ordinal, int32_t parent_action_ordinal | ||
) | ||
:action_ordinal( action_ordinal ) | ||
,creator_action_ordinal( creator_action_ordinal ) | ||
,parent_action_ordinal( parent_action_ordinal ) | ||
,receiver( receiver ) | ||
,act( std::move(act) ) | ||
,context_free( context_free ) | ||
,trx_id( trace.id ) | ||
,block_num( trace.block_num ) | ||
,block_time( trace.block_time ) | ||
,producer_block_id( trace.producer_block_id ) | ||
{} | ||
|
||
} } // eosio::chain |
Oops, something went wrong.