Exemplo n.º 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] );
 }
Exemplo n.º 2
0
void database_fixture::sign(signed_transaction& trx, const fc::ecc::private_key& key)
{
   trx.sign( key, db.get_chain_id() );
}
Exemplo n.º 3
0
void database_fixture::sign(signed_transaction& trx, const fc::ecc::private_key& key)
{
  trx.sign( key );
}
Exemplo n.º 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 );
}