forked from lthn/blockchain
Moved tor lib to latest commit(added sending data bigger then 117 bytes)
This commit is contained in:
parent
3c9901f68a
commit
70a991d6f7
3 changed files with 4 additions and 1 deletions
|
|
@ -77,6 +77,8 @@ namespace levin
|
|||
|
||||
int invoke(int command, const std::string& in_buff, std::string& buff_out);
|
||||
int notify(int command, const std::string& in_buff);
|
||||
|
||||
transport_t& get_transport() {return this->m_transport;}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 4d614c0a6fcca5dcf646706e396025031fa5a3ce
|
||||
Subproject commit c980970bece66ef469ac8931ffa5ccac9264437d
|
||||
|
|
@ -4595,6 +4595,7 @@ void wallet2::send_transaction_to_network(const transaction& tx)
|
|||
//epee::net_utils::levin_client2 p2p_client;
|
||||
tools::levin_over_tor_client p2p_client;
|
||||
if (!p2p_client.connect("144.76.183.143", 2121, 10000))
|
||||
// if (!p2p_client.connect("144.76.183.143", 1001, 10000))
|
||||
{
|
||||
THROW_IF_FALSE_WALLET_EX(false, error::no_connection_to_daemon, "Failed to connect to TOR node");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue