cli_wallet: Show txid's for transactions in blocks

This commit is contained in:
theoreticalbts 2015-10-23 14:27:56 -04:00
parent f8b8f01a78
commit 57969d5018
2 changed files with 5 additions and 1 deletions

View file

@ -230,6 +230,7 @@ struct signed_block_with_info : public signed_block
block_id_type block_id;
public_key_type signing_key;
vector< transaction_id_type > transaction_ids;
};
struct vesting_balance_object_with_info : public vesting_balance_object
@ -1449,7 +1450,7 @@ FC_REFLECT( graphene::wallet::worker_vote_delta,
)
FC_REFLECT_DERIVED( graphene::wallet::signed_block_with_info, (graphene::chain::signed_block),
(block_id)(signing_key) )
(block_id)(signing_key)(transaction_ids) )
FC_REFLECT_DERIVED( graphene::wallet::vesting_balance_object_with_info, (graphene::chain::vesting_balance_object),
(allowed_withdraw)(allowed_withdraw_time) )

View file

@ -3937,6 +3937,9 @@ signed_block_with_info::signed_block_with_info( const signed_block& block )
{
block_id = id();
signing_key = signee();
transaction_ids.reserve( transactions.size() );
for( const processed_transaction& tx : transactions )
transaction_ids.push_back( tx.id() );
}
vesting_balance_object_with_info::vesting_balance_object_with_info( const vesting_balance_object& vbo, fc::time_point_sec now )