示例#1
0
 void wallet::sign_transaction( signed_transaction& trx, const bts::address& addr )
 {
    ilog( "Sign ${trx}  ${addr}", ("trx",trx.id())("addr",addr));
    auto priv_key_idx = my->_my_addresses.find(addr);
    FC_ASSERT( priv_key_idx != my->_my_addresses.end() );
    trx.sign( my->_data.extra_keys[priv_key_idx->second] );
 }
示例#2
0
void database_fixture::sign(signed_transaction& trx, const fc::ecc::private_key& key)
{
   trx.sign( key, db.get_chain_id() );
}
void database_fixture::sign(signed_transaction& trx, const fc::ecc::private_key& key)
{
  trx.sign( key );
}
示例#4
0
void database_fixture::sign(signed_transaction& trx, const fc::ecc::private_key& key)
{
   trx.sign( key, db->get_chain_id(), default_sig_canon );
}