Reduce security deposit to make testing cheaper on IRC accountmodel

This commit is contained in:
Manfred Karrer 2014-11-18 17:11:10 +01:00
parent cbcab9e5aa
commit ee310fc4ae
2 changed files with 5 additions and 1 deletions

View file

@ -197,7 +197,7 @@ class IrcAccountModel extends UIModel {
Arbitrator.ID_TYPE.REAL_LIFE_ID, Arbitrator.ID_TYPE.REAL_LIFE_ID,
languages, languages,
new Reputation(), new Reputation(),
Coin.parseCoin("0.1"), Coin.parseCoin("0.001"),
arbitrationMethods, arbitrationMethods,
idVerifications, idVerifications,
"http://bitsquare.io/", "http://bitsquare.io/",

View file

@ -221,6 +221,10 @@ class BootstrappedPeerFactory {
@Override @Override
public void operationComplete(BaseFuture future) throws Exception { public void operationComplete(BaseFuture future) throws Exception {
if (future.isSuccess()) { if (future.isSuccess()) {
// We are well connected so we can offer our capabilities as relay node for other peers
new PeerBuilderNAT(peer).start();
if (useManualPortForwarding) { if (useManualPortForwarding) {
setState(BootstrapState.MANUAL_PORT_FORWARDING_SUCCESS, setState(BootstrapState.MANUAL_PORT_FORWARDING_SUCCESS,
"We use manual port forwarding and are visible to other peers."); "We use manual port forwarding and are visible to other peers.");